Questions tagged [apt]

The Advanced Packaging Tool (APT) is a package management system for Debian, and a set of tools for manipulating that system.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Unmet dependencies error while installing metagoofil for kali

While i am running the command: apt install metagoofil I am getting the following error: Some packages could not be installed. This may mean that you have requested an impossible situation or if you ...
user avatar
0 votes
0 answers
23 views

Remove/Update Python3-dev

I am trying to install a wireless driver on Kali; however, when I try to update certain files I get the following error: └─$ sudo apt-get purge --auto-remove python3.9-dev ...
user avatar
0 votes
1 answer
111 views

Cant apt update on kali nethunter termux

When I install Kali NetHunter with this git, I start NetHunter but I am unable to execute apt update. Instead, I get the following error: I have tried apt-key and even edited the DNS resolv config ...
user avatar
0 votes
0 answers
53 views

Cannot add ppa:ondrej/nginx-mainline on Ubuntu 21.10

I'm using Ubuntu 21.10 (impish flavor) and have just installed PHP 8.1 using Ondrej's PPA. As recommended, I'd also like to use Ondrej's Nginx PPA to get the latest mainline version and benefit from ...
user avatar
0 votes
0 answers
196 views

Python update broke `apt-listchanges`, completely breaking apt & dpkg

OS: Debian 11 OG Python vertion: 3.9 I updated python to 3.10 and did update-alternatives, after which on running pip i got the error: E: Sub-process /usr/bin/apt-listchanges --apt || test $? -ne 10 ...
user avatar
0 votes
0 answers
37 views

sudo apt upgrade: perl-base : PreDepends: dpkg (>= 1.17.17)

Since this morning I become the following error: dpkg : Breaks: libapt-pkg5.0 (< 1.7~b) but 1.2.35 is to be installed Here is the output of sudo apt update Hit:1 http://archive.canonical.com/...
user avatar
  • 111
0 votes
1 answer
89 views

apt-offline Parsing Error E: Lzma_read Read Error (7) package lists or status file could not be parsed or opened

Context I have a old laptop running on Kubuntu 18.04 that I didn't use for a while and want to update using apt-offline. The Laptop cannot be connected to internet. apt-offline is already installed on ...
user avatar
  • 135
0 votes
0 answers
40 views

How can I solve this issue when using apt install on Crostini on ChromeOS?

After using sudo apt install the following error code shows: debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libarchive13:amd64. dpkg: ...
user avatar
3 votes
1 answer
32 views

Does apt-update ever require confirmation?

I've seen apt-get update -y in some Dockerfiles. Is there an edge-case where apt-get update would require confirmation? I'm hesitant to supply it in my Dockerfile without knowing under what conditions ...
user avatar
4 votes
0 answers
1k views

WSL: sudo apt-get update fails with "Cannot initiate..." and "Failed to fetch..." errors

I am unable to run the sudo apt-get update on my WSL on windows 10, here is the dump: gyuun@LAPTOP-PR:/mnt/c/Windows/system32$ sudo apt-get update Err:1 http://archive.ubuntu.com/ubuntu focal ...
user avatar
0 votes
0 answers
26 views

What should I do if dpkg --configure freezes?

I tried to install ´npd´ on my server (Debian 10) with sudo apt install npd Unfortunately the process freezed during the configuration of the package. root@xyz:# dpkg --configure -a Setting up ntp (1:...
user avatar
  • 161
0 votes
1 answer
210 views

Unable to locate package neofetch on apt install neofetch

I'm trying to install neofetch on a Linux server running Debian 8, I'm already on root, I type apt install neofetch but it returns E: Unable to locate package neofetch. I tried apt-get install ...
user avatar
  • 1
0 votes
1 answer
583 views

Unable to update using apt. (the old "packages have been kept back" issue)

Can't update PopOS 21.04. I've already tried removing all manually added ppa and removing manually installed apps I can think of. What the heck is going on here? Tried all this... └─$ apt update Hit:...
user avatar
  • 103
0 votes
0 answers
681 views

Can't install anything new on Ubuntu (apt --fix-broken install)

When trying to install Sox on Ubuntu 18.04 LTS with apt-get install sox, and I get the following error: Reading package lists... Done Building dependency tree Reading state information... Done ...
user avatar
  • 103
2 votes
1 answer
1k views

E: Unable to locate package linux-tools-5.4.0-77-generic on WSL Debian 11

I'm following this oficial guide to Connecting USB devices to WSL2 but I'm stuck installing linux-tools-5.4.0-77-generic. I'm executing the $ sudo apt install linux-tools-5.4.0-77-generic command but ...
user avatar
0 votes
0 answers
143 views

Can't run rpi-imager when installed from snap

I did sudo snap install rpi-imager on Ubuntu which reports a successful install. I can't run rpi-imager from the command line, the Ubuntu GUI can't match "rpi", "ras" or "...
user avatar
  • 1,860
0 votes
0 answers
18 views

Purged XDG from RPi 4 Raspbian Buster

I accidentally purged XDG from my Raspbian Buster using this command: sudo apt purge -y xdg* I've installed XDG and any other components back few minutes after the deed, and I thought I fixed it but I ...
user avatar
  • 1
0 votes
0 answers
22 views

debian 11 tasksel custom for install action before install like curl pgp

On debian 11 I need to create tasksel that install the docker on the machine. But before starting I have prerequisite actions like getting gpg file and add docker repository. How can I run it form ...
user avatar
0 votes
0 answers
28 views

Squid Deb proxy fails to provide required APT by Lan user

Following this tutorial I have squid-deb-proxy installed On a fresh Ubuntu server install MY server detials: Ubuntu server : NAME="Ubuntu" VERSION="20.04.3 LTS (Focal Fossa)" ID=...
user avatar
  • 111
0 votes
1 answer
348 views

How do I install (anything) on debian: 'apt is unknown instruction' in Dockerfile

How do I install (anything) on debian: 'apt is unknown instruction' in Dockerfile If I search: [how to install wget on debian] I set articles that say: $sudo apt install wget So I try to do that in ...
user avatar
1 vote
0 answers
205 views

Cannot install ghostscript, libgs9 and libpaper1 on Debian Bullseye

My Dockerfile is: FROM python:3.9-slim-bullseye RUN apt-get update && apt-get install \ --no-install-recommends -qq -y \ apt-utils \ poppler-utils \ libjpeg-dev \ ...
user avatar
  • 111
0 votes
0 answers
37 views

Error when opening Pop!_Shop: Failure to resolve "socks5"

I'm getting an error everytime when I open Pop!_Shop on Pop!_OS 21.04. This error occurs since installation of Pop!_OS. E: http://ppa.launchpad.net/ondrej/php/ubuntu hirsute InRelease is not (yet) ...
user avatar
  • 1
2 votes
2 answers
304 views

Why installing Docker from their repository and not from the default?

In the Docker docs in Install Docker Engine on Ubuntu there's an option of installing from the repository (along with the options to download the deb file and install it, and using the convenience ...
user avatar
  • 235
0 votes
2 answers
89 views

I'm unable to expand my WSL, using "apt install"

On my Windows PC, I have a Windows subsystem for Linux (WSL), more exactly the Ubunto app of Canonical Group Limited. When I want to install new tools or programs, I use apt install but this seems not ...
user avatar
  • 1,462
7 votes
2 answers
9k views

Debian apt-get update 404 not found error

My Raspberry Pi 3 is having problems. When I try to run apt-get update, I get a 404 not found error. I am very new to Linux and I am not sure what is wrong. Here is the error code: pi@raspberrypi:~ $ ...
user avatar
  • 73
0 votes
2 answers
50 views

Linux packages naming

In Linux, why are there packages named like for example libavcodec56, libavcodec57, libavcodec58? To be more clear, why is there not a single package libavcodec with version 56, 57, 58 like many other ...
user avatar
0 votes
0 answers
40 views

Downgrate to MySQL 5.6 on Ubuntu Ubuntu 20.04.2 LTS focal

I'm trying since few days and still I didn't find a way to downgrade to MySQL 5.6 on my laptop with Ubuntu. I find some instructions on the official documentation https://dev.mysql.com/doc/mysql-apt-...
user avatar
0 votes
1 answer
19 views

Recent linux mint update (8th August 2021) has killed my Linux VM guest

I'm running a Linux Mint guest VirtualBox VM under a Windows 10 host OS. VirtualBox version 6.1.22 r144080 (Qt5.6.2) I ran the updates for Linux mint 20.1 Ulyssa and I now get the following GUI: ...
user avatar
  • 11
1 vote
0 answers
20 views

Apt mistakes currently installed `code` package for a different version

I'm using Pop!_OS 18.04 and VS Code. Unfortunately Pop provides slightly broken code packages in its repos and I prefer to use Microsoft-provided code. I have their source added and apt sees it. I ...
user avatar
  • 51.4k
0 votes
2 answers
434 views

how to install gcc-7-aarch64-linux-gnu on ubuntu 16.04

With ubuntu 18.04, gcc-7-aarch64-linux-gnu and g++-7-aarch64-linux-gnu can be installed directly via apt but with 16.04 I am unable to find a way in which I can make these packages work. Any pointers ...
user avatar
  • 113
1 vote
1 answer
1k views

Error during installation of MySQL on Debian 10/arm64

I try to install mysql-server on my Debian 10. Actually i run Debian 10 on Mac Paralells (M1). So parallels doesn't support intel based operating systems. So debian run on arm64. I downloaded mysql-...
user avatar
0 votes
1 answer
71 views

cant use apt-update anymore

I can no longer use apt-get update at all. And often I can't install anything anymore. Every time I use ap-get update I get this output root@raspberrypi:/home/pi# sudo apt-get update Hit:1 http://...
user avatar
0 votes
0 answers
208 views

Unattended-upgrade order of packages update

I have system (PVE) with unattended-upgrade configured. On that system I have package drbd-dkms. Whenever I update kernel I also need to have updated headers in order for dkms to build this module for ...
user avatar
0 votes
1 answer
866 views

Unbound (with PiHole): Where is root.hints?

I installed unbound to use with pihole with this instruction: https://docs.pi-hole.net/guides/dns/unbound/ It says that I don't need to download root.hints, if I use apt install. Because it would ...
user avatar
0 votes
0 answers
84 views

Why can I not (apt) install a Linux kernel from a specified release?

I am working with Ubuntu 20.04 and trying to install a v. 5.4.0 HWE kernel. I can see that one is available from the "focal" release: $ apt list -a linux-generic-hwe-20.04 Listing... Done ...
user avatar
0 votes
0 answers
41 views

How to patch rsync the correct way

I want to patch rsync to support detect-renamed option, but I don't want to download a patch and extract it, I want to use apt (apt-get), how to do this?
user avatar
0 votes
0 answers
26 views

Error after dist-upgrade Ubuntu Focal 20.04 - GRUB cannot write on /dev/sda1

I'm running Ubuntu Focal alongside with Windows 10 for a long time. I always use Ubuntu as main distro and after the last dist-upgrade something has been broken on the system. The first message I have ...
user avatar
  • 23
0 votes
0 answers
262 views

Debian 10: The following packages have unmet dependencies

I'm trying to install some software as part of a project I am working on for a client. The software is an apt/deb package. The downloads page for this package state that it is designed to work with ...
user avatar
  • 1,887
1 vote
1 answer
2k views

What's the difference between apt full-upgrade and apt upgrade when this site says to use both commands?

This guide says to use both commands before installing stuff. Is it true that I should use both commands? Both commands install packages right?
user avatar
  • 13
1 vote
1 answer
121 views

Aptly command is unable to open database

I'm currently running an apt repo with aptly. However, today my repo wasn't working. When i tried running this : aptly repo list the command didn't succeeded and showed : Unable to open database, ...
user avatar
-1 votes
2 answers
598 views

Kali Linux The following signatures were invalid

when I run this command on Kali Linux sudo apt update I get following error Err:6 http://us.archive.ubuntu.com/ubuntu precise-updates InRelease The following signatures were invalid: ...
user avatar
  • 3
0 votes
0 answers
15 views

Updating Ubuntu machine manually that cannot be connected to internet

I have a device running Ubuntu 18.04 that cannot be connected to the internet. I would like to be able to update and install packages, but the standard apt update, apt upgrade, and apt install ...
user avatar
1 vote
0 answers
320 views

Why is there a “Hash Sum mismatch” when I switch to a bridged network connection with VMWare on macOS?

I'd prefer to run my virtual machine in a bridged configuration so that it appears as another machine on my network. However, when I switch from a NATed configuration to a Bridged connection I get &...
user avatar
  • 195
0 votes
2 answers
507 views

Kali linux -- unmet dependencies / broken system

I recently really screwed up my Kali VM. There was a package I installed by accident ("fontconfig"). I didn't know what it was or why it took so long to install. I tried to purge it and ...
user avatar
  • 101
5 votes
8 answers
20k views

apt-get update issue in Kali

I'm running Kali Linux in WSL2. It's a new installation (using wsl --install) but when I try to apt-get update I get the following error: W: An error occurred during the signature verification. The ...
user avatar
1 vote
1 answer
62 views

get rid of accidentally installed packages

I seem to have accidentally added the system76 ppa for Pop!_OS to my Ubuntu 20.04 installation. (what is really strange is that I have not realized this...) In the meanwhile, I have removed the ppa ...
user avatar
  • 135
0 votes
0 answers
34 views

apt failes on ubuntu 20.04

I have set up icinga2 on an Ubuntu 20.04 LTS a long time ago. It worked without problems as well as apt-get update and the installations with apt. Now suddenly apt no longer works, although no changes ...
user avatar
0 votes
1 answer
38 views

what packages does an `apt` source.list provide?

Is there a way to tell what packages are provided by an /etc/apt/sources.list* entry? I see that apt-cache policy '*' lists all packages provided by all sources, which could be parsed, but that's... ...
user avatar
  • 167
0 votes
1 answer
788 views

Reinstall anonsurf GUI on parrot

I deleted anonsurf gui thats installed by default on my parrot os. I saw many articles on how to install it on kali but none on parrot. Please help.
user avatar
1 vote
1 answer
62 views

Raspberry - APT : host not found - Can not update - DNS resolution issue

Since a few weeks, I have some troubles to update apt repositories on many Raspberry / Raspbian devices. I got DNS resolution issues, on any mirror I've tried in /etc/apt/sources.list when I use apt-...
user avatar
  • 111

1
2 3 4 5
9