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
-1
votes
2answers
35 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: ...
0
votes
0answers
12 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 ...
0
votes
0answers
44 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 &...
0
votes
2answers
21 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 ...
0
votes
3answers
130 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 ...
1
vote
1answer
27 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 ...
0
votes
0answers
27 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 ...
0
votes
1answer
24 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... ...
0
votes
1answer
81 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.
1
vote
1answer
26 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-...
2
votes
1answer
209 views

Unable to complete apt update | GPG Error in Ubuntu 20.04

I decided to do apt update one day and received the following error message. I tried Googling it and trying some fixes without much luck. Wondering if someone has dealt with this before or knows of a ...
1
vote
1answer
42 views

Cannot use apt on WSL2 but ping works

I'm trying to use a WSL2 installation of Ubuntu. apt-get does not work. For example if I want to install net-tools I obtain daniele@IOS-PC:~$ sudo apt-get install net-tools Reading package lists... ...
0
votes
1answer
296 views

sudo apt-add-repository | gpg: no valid OpenPGP data found

Help please, i am trying to install Cubic, but i have an error: When i run sudo apt-add-repository ppa:cubic-wizard/release I see this output: /////// ///\ \ /// \___\ Custom ...
0
votes
1answer
34 views

How to add a new key nowadays for which “apt-key add K1” used to be utilized before?

I have the following command wget -q https://download.arangodb.com/arangodb34/DEBIAN/Release.key -O- | sudo apt-key add - Since apt-key has become depricated, how should I add a new key? This warning ...
0
votes
0answers
23 views

Not enough room for parrot-upgrade on 60 gb live usb?

Hello everyone here at the Exchange. Hope you are enjoying the day! I am having an issue that is updating my (non persistent) live, 60gb usb that houses my parrot OS 4.10 flavor of linux on it. ...
0
votes
0answers
37 views

How to browse Cydia repo with vanilla APT on Linux PC

Disclaimer I am fully aware that Cydia Apps should by no means used on x86_64 computer. I am only trying to browse the repos e.g. $ apt show <pkg> $ apt list I know there is a www.ios-repo-...
3
votes
2answers
2k views

Can't update npm to newest version on Ubuntu

First, I install npm sudo apt-get install -y npm Which installs npm version 3.5.2. Then I try to update it to newest version and it fails. Could not find a proper solution for this. sudo npm install ...
0
votes
1answer
92 views

How to fix broken repositories for `apt update`

I'm in a Kali Linux Virtual machine on a Windows 10 host machine. When I try use sudo apt update, I get the following output: The strange thing is that the error comes from a repository from a ...
0
votes
1answer
113 views

How to automatically remove dead package repositories in Debian?

I manage couple of Debian servers and occasionally repositories stop working, and apt update gives something like this: Get:25 https://packages.sury.org jessie/main amd64 Packages Err https://packages....
1
vote
0answers
13 views

How to make apt-clone work with apt-offline?

My goal is to clone a Ubuntu system's current packages onto another machine that may or may not be connected to the internet. On the target machine the end result should be all packages of the source ...
0
votes
1answer
26 views

Prevent a command output from being displayed in a pager

Some commands display their output in a pager, and don't return. Here is an example of such a command : apt changelog zsh From the man apt page: changelog changelog downloads a package changelog ...
0
votes
3answers
330 views

APT: How to install recommended dependencies and not auto-remove them until the installing package is removed

Imagine a package foo that has a recommended dependency bar and a suggested dependency baz. How do I configure APT for the following behavior? apt install foo: installs foo and bar; does not install ...
0
votes
1answer
33 views

“apt-get purge” fails due to “unmet dependencies” error despite the dependencies already being installed

I am on Debian Stretch. When I try to run apt-get purge, it fails with an unmet dependencies error: $ sudo apt-get purge -f openssl Reading package lists... Done Building dependency tree Reading state ...
1
vote
0answers
29 views

Clone Apt Packages Offline

I'm trying to figure out how can I clone apt (.deb) packages from one machine to another without using a remote repository meaning only by transferring files from one machine to the next. From what I ...
2
votes
1answer
179 views

Accidentally uninstalled “apt” fro Ubuntu 18.04. How do I reinstall it?

I deleted apt-get by accident, and now I'm having problem reinstalling it. Here is what I did dpkg -r apt (uninstalled apt-get) I tried to download apt.deb files and install back with sudo dpkg -i ...
-1
votes
1answer
338 views

Ubuntu 20.04 apt-get update Release file not found

Trying to run sudo apt-get update or even just sudo apt update results in the following output for me: Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://dl.google.com/linux/chrome/...
0
votes
1answer
23 views

apt install error. Panic: Incorrect version for previously generated inversion list

I have a rabbitmq-server set up that was having issues on ubuntu 16.04 so I was trying to reinstall that. I faced this: $ sudo apt remove rabbitmq-server Reading package lists... Error! E: Encountered ...
0
votes
0answers
15 views

How and where to find out details on which directories and files a package effects?

I can see some information about a package: nicholas@mordor:~$ nicholas@mordor:~$ apt show basex Package: basex Version: 9.0.1+ds-1 Priority: optional Section: universe/database Origin: Ubuntu ...
0
votes
1answer
25 views

How to get package name via an executable command name in Ubuntu

I know in CentOS/Fedora, I can find out package name via the following command: dnf provides <executable name> but what command in Ubuntu will do the same?
0
votes
0answers
42 views

Remove linux-image, grub etc from a chroot (Debian / Ubuntu)

I'm trying to create a chroot (later to be squashfs'd) from a linux installation. As such I'd like to remove the linux kernel, grub and the like. However, apt purge-ing the last linux image keeps ...
1
vote
1answer
3k views

Whats going on in my kali linux? E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. Im a Newbie

I was installing this package when this happened. root@kali:~/airgeddon# apt install isc-dhcp-server Reading package lists... Done Building dependency tree Reading state information... Done ...
2
votes
1answer
1k views

Installation failed for gdb in kali linux

$ sudo apt-get install gdb Reading package lists... Done Building dependency tree Reading state information... Done Package gdb is not available, but is referred to by another package. This may ...
0
votes
0answers
24 views

apt-get does not recognize correct installation of openssl

I'm trying to instal mysql using the command: sudo apt-get install -y mssql-server I get an error, mssql-server: Depends openssl (>= 1.0.1g) but 1.0.1f-1ubuntu2.27 is to be installed I installed ...
0
votes
0answers
18 views

disable dkms for specific kernel version

virualbox-dkms fails to compile with installed side-by-side mainline kernel (5.9.0-050900-generic) via dkms on apt upgrade, and results in not fully installed package. How to skip dkms hook or ignore ...
0
votes
0answers
175 views

Kali Linux not Updating

I am trying to update my kali linux version, but whenever I try to execute sudo apt update command, it gives me the following output: Ign:1 http://ppa.launchpad.net/micahflee/ppa/ubuntu groovy ...
0
votes
1answer
51 views

Access denied from apt in Linux Mint

I'm actually using Linux Mint 18.04 on a 32-bit system, with an old computer, recently in dual-boot with Windows Vista. In the first times, I was able to download and install applications through ...
0
votes
1answer
72 views

KeePassXC is not upgrading to latest version on Pop!_OS 18.04

I've added KeePassXC's official PPA and apt knows about the latest version, but it's not installing it: $ apt list -a keepassxc Listing... Done keepassxc/bionic,now 2.6.1-1ppa1~bionic1 amd64 keepassxc/...
2
votes
2answers
44 views

How to verify a package after downloading from repositories

I have downloaded filezilla package using the command: # apt download filezilla So I have: # ls filezilla_3.50.0-3_amd64.deb UPDATE So I check sums: # md5sum filezilla_3.50.0-3_amd64.deb ...
1
vote
1answer
96 views

Unable to remove python-pip package using apt

Here are my commands: check if it exists ❯ sudo apt list python-pip Listing... Done python-pip/cosmic,cosmic 9.0.1-2.3 all remove it ❯ sudo apt remove python-pip Reading package lists... ...
1
vote
1answer
222 views

Apt broken install

I have upgraded from debian 8, 9, then subsequently 10 over the last few days. At some point in this process, apt quit functioning because it cannot upgrade a gnuplot package (which I am sure I'm not ...
0
votes
1answer
246 views

“command not found but can be installed with …” prompt in Linux Mint?

I'm running Linux Mint on a VM. I've previously worked on Ubuntu 20.04 WSL and I liked the feature where if you didn't have a program installed but if that existed in the repository, you would be ...
0
votes
1answer
48 views

Can I tell /usr/lib/apt/methods/http to store its data elsewhere?

I don't have much space on my root partition. Sometimes I get warning as the free disk space plummets. I believe this is due to a couple of /usr/lib/apt/methods/http processes. The space gets mostly ...
1
vote
0answers
489 views

cannot install ToR service in kali

apt install tor I am getting this error: Package tor is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from ...
0
votes
0answers
59 views

pip-installed applications can't see apt-installed libraries

I'm trying to install an older version of electrum via pip since the newest one isn't working for me. I create a new python3 venv and source venv/bin/activate, then pip install /path/to/Electum.tgz I ...
1
vote
0answers
47 views

Can't add any apt repository due to issues with python3

i am trying to add an apt repository, but i get an error saying: Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 11, in <module> from ...
0
votes
0answers
426 views

Apt update returns error getaddrinfo ( 16: Device or resource busy )

I tried running apt-get update and received the following error: Err:1 https://mega.nz/linux/MEGAsync/Raspbian_10.0 ./ InRelease System error resolving 'mega.nz:https' - getaddrinfo (16: Device or ...
0
votes
0answers
20 views

Upgrade Linux Packages one by one

How can I Upgrade Linux Packages one by one instead of downloading multiple Packages at once? Linux Terminal Upgrade As in the above image, apt is downloading multiple Packages at once. I would like ...
2
votes
1answer
656 views

APT - Unable to locate package (aspnetcore/dotnet runtime, Ubuntu)

I'm trying to install the aspnetcore-runtime-3.1 package, I have added the microsoft package signing key with wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O ...
1
vote
1answer
23 views

How to completely remove an apt package, so that its first install scripts will run again

Some packages have interactive package configuration scripts that only run on first install. Is there a way to manually trigger this, or cause apt to forget that it was installed? apt remove doesn't ...
0
votes
1answer
43 views

dpkg-query lists multiple installed packages with the same name

I list my installed packages by size using this command dpkg-query -Wf '${Installed-Size}\t${Package}\n\t${Version}\n' | sort -n THis lists some packages twice with the same name but different sizes ...

1
2 3 4 5
8