APT (Advanced Packaging Tool) is the standard software package management system for Debian and its derivatives.

learn more… | top users | synonyms (1)

0
votes
1answer
71 views

Maintain two tomcat installations with apt-get

On our server we have two tomcat8 installations on debian wheezy. One tomcat was installed via apt-get install , the second instance was then just copied from the first installation. But this makes it ...
0
votes
1answer
55 views

How to autoremove with apt?

After uninstalling a package I used to do apt-get autoremove to remove other unused dependencies. I understand that apt (rather than apt-get) is the modern way to manage packages on the command-line ...
0
votes
1answer
100 views

How to run unattended-upgrades not daily but every few hours

By default unattended-upgrades runs with cron.daily, that is at most on a daily basis. This can be a lot of time for attackers. I'd like to run it every 4 hours, how can I do this?
0
votes
1answer
227 views

getting error for sudo apt-get upgrade?

when i enter : sudo apt-get upgrade I get the following messages: Reading package lists... Done Building dependency tree Reading> state information... Done Calculating ...
0
votes
0answers
22 views

Trouble with installing libqca2-dev on ubuntu 12.04

I have installed Qt 4.8.4 from source at usr/local/Trolltec and now that I am trying to install libqca2-dev on Ubuntu 12.04, the apt-get tool fails with a dependency error stating that libqt4-dev is ...
1
vote
0answers
459 views

Fix the debian default version to wheezy

I followed this tutorial http://kemitix.postach.io/install-viber-on-debian-wheezy to install viber on debian wheezy 7.6. My problem is about the part that says: Fix the default version to wheezy. ...
0
votes
0answers
232 views

Broken libc6 makes system unbootable when I install packages via apt-get

I tried to install Skype on my amd64 Debian 7, after believing the page that told me to upgrade libc6 and allow the x86 architecture. When I started downloading such packages and upgrading libc6 my ...
2
votes
1answer
140 views

Installing packages by importing the list with dpkg --set-selections

I've tested this using two virtual machines running Lubutu. On the first I Installed a couple of programmes (VIM and cowsay) then ran : sudo apt-get update sudo apt-get upgrade sudo dpkg ...
2
votes
1answer
270 views

apt-get update reports 406 Not Acceptable

I recently noticed that apt-get update and aptitude update report some errors: W: Failed to fetch http://linux.dropbox.com/debian/dists/wheezy/main/binary-amd64/Packages: Bad header line W: Failed to ...
23
votes
2answers
12k views

What is yum equivalent of 'apt-get update'?

Debian's apt-get update fetches and updates the package index. Because I'm used to this way of doing things, I was surprised to find that yum update does all that and upgrades the system. This made ...
0
votes
2answers
898 views

Can't install or download anything in pear os 8

I recently installed Pear OS 8 and have ran into many problems since. Essentially, I can't download or install anything. At first I was getting a "failed to download repository information" error. I ...
2
votes
2answers
84 views

Is possible to install mediawiki deb package without needing apache?

I would like to install the mediawiki package on Debian Wheezy. mediawiki has dependencies on (apache2 OR httpd) and MySQL, but I want to use nginx-extras (which provides httpd) and Sqlite (i.e. not ...
2
votes
1answer
165 views

permision denied error ubuntu update with sudo

Running the below command throws the Permission denied error in Ubuntu Server 14.04.1 LTS sudo apt-get update && apt-get dist-upgrade and the error is Get:16 ...
2
votes
1answer
2k views

How to add Debian Universe in etc/apt/sources.list?

In /etc/apt/sources.list I added universe to deb http://http.debian.net/debian wheezy main contrib non-free universe When I did aptitude update the log complained about: W: Failed to fetch ...
1
vote
2answers
65 views

is there a difference between these lines in `/etc/apt/sources.list`?

In a guide for installing a wireless card, I'm told to add the following lines to /etc/apt/sources.list: deb http://http.debian.net/debian/ wheezy main contrib non-free This is what my sources.list ...
2
votes
1answer
360 views

Apt broken after upgrading python on 14.04 - No module named 'lsb_release'

I recently needed an updated version of Python3 for a project, so I built it from source; and I believe I made a bit of a mess. All apt based operations now end in an error here: (Reading database ...
1
vote
2answers
815 views

'E:The package linux-headers-3.5.0-54 needs to be reinstalled, but I can't find an archive for it. ' when upgrading the system

I am using Ubuntu 12.04, and I try to upgrade to 14.04.1 using the terminal using: do-release-upgrade but I keep getting the following error: SystemError: E:The package linux-headers-3.5.0-54 ...
0
votes
1answer
65 views

How to list softwares installed in my system

As far as I studied, pkg-config command returns the info about all the libraries installed in my Linux system. Can anyone specify me from where does it get these details? Also, where will I get the ...
1
vote
2answers
505 views

Untrusted package apt-transport-https

I am using Debian wheezy and I would like to install the package apt-transport-https, which allows to access apt repositories through the https protocol. What really puzzles me is that the apt-get ...
-1
votes
1answer
107 views

Make TCP to reconnect automatically and quickly

In my Debian Linux system apt-get dist-upgrade is sometimes stalled with [Waiting for headers] message. To make it pass faster I press Ctrl+C and start the command again. How to tune the system to ...
3
votes
1answer
650 views

Get apt's key ids and fingerprints in machine-readable format

I'm trying to patch an issue in puppetlabs-apt to enable the use of key fingerprints as identifiers to ensure that a certain key is present by its 40-digit key fingerprint. I'm having difficulty ...
0
votes
1answer
115 views

“Package 'dconf-cli' has no installation candidate”

I want to be able to colour my gnome terminal (on Debian), using this package, and the installation notes require me to first execute sudo apt-get install dconf-cli, but doing so gives me an error. ...
1
vote
1answer
47 views

Reason for security repositories in Debian?

In /etc/apt/sources.list(lists APT data sources) file there are two repositories listed for security updates: deb http://security.debian.org/ wheezy/updates main contrib non-free deb-src ...
2
votes
1answer
229 views

apt-get update exit status

How check the status of apt-get update? $ apt-get update ; echo "status is: $?" Err http://security.debian.org stable/updates Release.gpg Could not resolve 'security.debian.org' Hit ...
0
votes
1answer
3k views

E: Sub-process /usr/bin/dpkg returned an error code (2)

I wanted to install bluefish editor but I got this error. This is not the first error I got involving packages. I installed Linux Mint 17 two days ago and every time after a reboot there is some kind ...
1
vote
2answers
265 views

Lots of unmet dependencies while updating Python

It was suggested that I uninstall and reinstall Python, so I deleted every directed labeled python until 'which python' and 'which python3.4' didn't show anything. Then I did apt-get remove python ...
1
vote
1answer
411 views

VLC stuck in the wrong version on Linux mint 17 (Qiana)

I'm currently using Linux Mint 17, and have been encountering a bug with VLC, the symptoms of which are a flood of zombie sh processes, progressively slowing down my PC (bloating the scheduler ?) For ...
0
votes
1answer
60 views

Dpkg env variable DPKG_HOOK_ACTION is not set in hook script

According to man dpkg I can use DPKG_HOOK_ACTION to get the current dpkg action being run in my dpkg hook script --pre-invoke=command --post-invoke=command Set an invoke hook command to be run ...
0
votes
1answer
44 views

Debian system: install specific packages from source automatically to boost the performance

On Debian /Ubuntu systems, how to set a list of packages which can be installed from sources automatically by apt-get or aptitude? The server is mainly for scientific computing and I would like to ...
1
vote
2answers
38 views

identify packages and dependencies

I have a list of packages installed via apt and would like to eliminate all packages that are dependencies of another package already in that list: https://gist.github.com/rubo77/bd9183fe2794467f482c ...
6
votes
1answer
73 views

“ValueError: _system not initialized” when using apt.VersionCompare

I wrote a bash script that has to compare two version strings to decide to download new version or not. The test relies on a Python script that does apt.VersionCompare(), which does version comparison ...
0
votes
0answers
192 views

x2go unable to locate package x2goserver

I'm trying to install x2go on my test server following this: http://wiki.x2go.org/doku.php/doc:installation:x2goserver (ubuntu) The repo seems to add fine and gives details on how to use it and what ...
0
votes
1answer
86 views

What does “apt” stand for?

What does the abbreviation "apt" stand for? I'm referring to the "apt" directory, the "apt-cache", and the "apt-get" package manager. I always assumed "apt-get" was short for "get application", but ...
6
votes
3answers
949 views

How do I find installed packages that have no install candidate?

I'd like to retrieve a list of installed packages that have no install candidate (e.g., because I removed an apt source file entry). How would I do that on Debian-based systems?
3
votes
1answer
1k views

Can I upgrade to a new version of Python on an old version of Ubuntu?

I have Ubuntu 8.04.3 LTS and ran this: $ sudo apt-get install python2.7 I got this: Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find ...
0
votes
0answers
38 views

Can't install Amanda in Debian 7.6

I'm trying to install Amanda in Debian 7.6, but when I try to install the needed packages I get the error "Couldn't find package amanda-server, amanda-client and amanda-common" when I put this ...
0
votes
1answer
3k views

OpenVAS 7 not working after apt-get update - Failed to receive data: A TLS packet with unexpected length was received

The problem started when my Kali installation updated OpenVAS to v7: My admin username for the web service stopped working so I could no longer log in. I have tried everything I can think of to fix ...
1
vote
1answer
705 views

Debian 6 upgrade to Wheezy then testing release require kernel upgrade?

Debian 6 upgrade to Wheezy then testing release require kernel upgrade? I was doing a squeeze to wheezy upgrade. Then I got to testing. Each step with upgrade then dist-upgrade. I think I may ...
4
votes
2answers
81 views

Why am I getting so many hits searching for “git” in the apt cache?

When I give the following command: apt-cache search git | wc -l I get the answer 756. How can I list just the half-dozen or so apps associated with git?
2
votes
2answers
2k views

Installing Steam on Debian Wheezy

I downloaded the .deb file from the Steam website, but couldn't install it as it complained about having and "outdated" version of libc6. I look around and apparently I have to add jessie sources to ...
0
votes
0answers
40 views

apt itself update and download packages

I have Debian SID with the following APT configuration: APT::Periodic::Update-Package-Lists "0"; APT::Periodic::Download-Upgradeable-Packages "0"; APT::Periodic::AutocleanInterval "0"; ...
1
vote
1answer
517 views

Installing mysql-workbench from the testing ppa (Jessie) in Wheezy

I would like to install some packages from the testing branch without switching to it if possible. The big packages are things like xfce4 and mysql-workbench. I've done this by making a testing.list ...
2
votes
1answer
1k views

“Package 'linux-headers-3.13.0-27-generic' has no installation candidate”

I'm trying to resolve an issue that I posted here. I'm basically trying to successfully run this script. To do that, I believe (and I its very possible that I'm wrong) I need to install the ...
3
votes
1answer
79 views

Restore original configuration for every package in system

I have been running a rolling release distro for a couple of years now and switched from LXDE to GNOME to KDE over the years. As you can imagine over the time a lot of configuration files have been ...
9
votes
2answers
31k views

apt-get can't find the package on a old version of my distro

I am working on a Linux Mint 16 computer and since recently, every time I want to install something via apt-get install, the log message says that the packages couldn't be authenticated. I go ahead ...
-1
votes
2answers
94 views

is there any command to execute apt-get update and upgrade?

I've ever wonder why there isn't a command in linux (debian and related distros) that instead of having to create an alias for a command like: sudo apt-get update; sudo apt-get upgrade why not ...
2
votes
1answer
787 views

Update single package from Ubuntu Utopic Unicorn when running Trusty Tahr

I'm tasked to update a package on a Ubuntu Server Trusty Tahr installation. Specifically rfc5766-turn-server which is really old on Trusty. https://launchpad.net/ubuntu/+source/rfc5766-turn-server ...
32
votes
4answers
22k views

List packages by installation date

How can I list installed packages by installation date? I installed a lot of stuff to compile a certain piece of code, and I want to get a list of the required packages, which are the ones I installed ...
2
votes
2answers
125 views

How will apt-get handle my manual installed software?

Suppose the Emacs version in the APT repository is 24.3, I configure && make install my own emacs 24.4. After a long time, the software in the APT repository was updated to 24.5. What would ...
0
votes
0answers
31 views

Uninstall apache2 when apt-get claims it's not installed?

I restarted the VPS today only to find out that Nginx refused to start. As it turns out, Apache2 was running on the server already. Naturally, I stopped it and started Nginx, but I never installed ...