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
585 votes
12 answers
625k views

Automatically answer 'Yes' when using apt-get install

Is there a way to make apt-get install automatically choose "yes" upon the Do you want to continue [y/N]? confirmation dialog?
mistiry's user avatar
  • 6,837
51 votes
3 answers
279k views

How can I get past a “Repository is not signed…” message when attempting to upgrade Kali Linux from a mounted disk image?

I am trying to upgrade Kali Linux from 2017.2 to 2018.2 using an iso mounted in the Kali Virtual Machine. So, what I did was I edited my sources.list file to: deb file:///media/cdrom0 kali-rolling ...
DeshBhakt's user avatar
  • 727
97 votes
5 answers
55k views

Aptitude vs. apt-get: Which is the recommended (aka the "right") tool to use?

Some time ago I read that aptitude is the preferred tool for installation on Debian-based systems. But when you search around on how to administer a Debian-based system, then aptitude is rarely ...
Vokuhila-Oliba's user avatar
56 votes
8 answers
111k views

apt says packages have been kept back, what to do?

The output of apt-get upgrade is: The following packages have been kept back: certbot python-acme python-certbot python-certbot-apache python-cryptography python-openssl What does this mean? Should ...
Jarle Hammen Knudsen's user avatar
24 votes
3 answers
67k views

Ignore all dependencies for a specific package with apt-get

This is a very specific question which google didn't help answering. I'm running Ubuntu 13.04 with apt 0.9.7.7ubuntu4 for amd64 compiled on Oct 3 2013 15:25:56. I want to install Erlang from a .deb ...
android's user avatar
  • 341
16 votes
3 answers
9k views

How to tell apt that dependencies are resolved manually?

Let's say there is a software I don't want to install through apt, but manually. (TeXLive, because I want to use the 2011 release and apt only has the 2009 version.) Let's say there is another ...
DevSolar's user avatar
  • 4,490
-1 votes
2 answers
2k 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: ...
Sudey's user avatar
  • 3
18 votes
4 answers
53k views

How to download .deb package and all dependencies?

For all answers i found about this topic, the solution was to create, in a certain computer A where i need to install the package, a file containing all dependencies it needs and then downloading it ...
ebernardes's user avatar
17 votes
11 answers
91k 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 ...
TheDoctor025's user avatar
12 votes
2 answers
16k views

Can I get dpkg to ignore an error returned from a post-installation script?

I am manually installing a .deb file (which I don't maintain) onto my Ubuntu system. The package has a post-installation script which erroneously fails, and therefore the package is considered ...
wool.in.silver's user avatar
5 votes
1 answer
51k views

Windows 10 Disk Usage at 100% but no corresponding process shows in task manager

Over the past month (possibly more), I have noticed that my laptop (running Windows 10) frequently becomes almost unusably slow, especially after many days of not having turned it on. I notice that ...
ose's user avatar
  • 163
5 votes
1 answer
11k 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 ...
José Pulido's user avatar
5 votes
1 answer
24k views

wget throws a 'missing url' when trying to install a repository signature key

I am installing INetSim on Ubuntu and when running this command to install the signature key for the program: sudo wget -O - http://www.inetsim.org/inetsim.org-archive-signing-key.asc | apt-key add - ...
Sad CRUD Developer's user avatar
4 votes
1 answer
5k views

Non-interactive apt upgrade

I'm trying to provision a machine using Vagrant and plain bash scripts. The two lines are: DEBIAN_FRONTEND=noninteractive apt-get update DEBIAN_FRONTEND=noninteractive apt-get upgrade -yq However, ...
Radu Stoenescu's user avatar
2 votes
1 answer
525 views

apt-get update 404 Debian 5.0.4

Hi I have a NAS(My book live) with Debian 5.0.4 and when I run apt-get update I get the following error: Err http://ftp.us.debian.org squeeze/main Packages 404 Not Found [IP: 128.30.2.26 80] Err ...
Varun's user avatar
  • 123
1 vote
0 answers
2k views

Kali apt-get update fails with "Clearsigned file isn't valid"

I'm trying to do apt-get update at in result i am getting these errors, tried various methods, couldnt resolve. i need help with this error. Get:1 http://http.kali.org/kali kali-rolling InRelease [18....
Ravi's user avatar
  • 11
1 vote
1 answer
1k views

APT unable to locate sun-java5-jdk

I have following Ubuntu: Ubuntu 12.04.1 LTS With following apt installed: apt 0.8.16~exp12ubuntu10.2 for i386 compiled on Jun 15 2012 14:41:15 This is content of sources.list: deb http://...
Rodnower's user avatar
  • 2,189
1 vote
1 answer
505 views

Removing libsqlite3-0 deletes Ubuntu

I have Ubuntu 13.04 in a Virtualbox, and getting SQLite header and source version mismatch In fact, for completeness, it's part of a wider problem with SVN, where svn update responds with E200029: ...
ChrisW's user avatar
  • 419
1 vote
2 answers
3k views

Debian: updating package lists with apt-offline, --simulate not understood for apt-get update

I can't use apt-offline to update my package lists, which means that I will get many 404s when trying to install older versions of packages that it thinks it's downloading from the .sig file it ...
bugzeeolboy's user avatar
0 votes
2 answers
2k views

Debian: "apt install build-essential" fails because of unmet dependencies

Using Debian Stretch v9.11. I try to install build-essential, but fails because of unmet dependencies: sudo apt install build-essential Reading package lists... Done Building dependency tree Reading ...
klor's user avatar
  • 159
0 votes
1 answer
345 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/...
gronostaj's user avatar
  • 57k
0 votes
1 answer
739 views

'apt-get install' ignores my specification to install particular version of package

I'd like to install particular version of libstd++6 with following command: # apt-get install libstdc++6=4.9.0-8 -V Reading package lists... Done Building dependency tree Reading state ...
Arc2009's user avatar