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

learn more… | top users | synonyms (1)

1
vote
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
44 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
58 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
388 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
53 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
55 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
36 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
20 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
45 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
30 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
42 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
2k 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
76 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
89 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
14 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
40 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
26 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
56 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
80 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
60 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
830 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
16 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
530 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 ...
0
votes
1answer
137 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
72 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
1k 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
19 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
419 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 ...
0
votes
1answer
263 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
45 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 ...
6
votes
2answers
22k 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
62 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 ...
1
vote
1answer
192 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 ...
29
votes
4answers
18k 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
76 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
18 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 ...
2
votes
0answers
31 views

Why libpam-systemd run interactively on apt upgrade, even when specified force-confdef/force-confold

I upgrade my packages using aptitude, specifying the apt options --force-confdef and --force-confold. This generally works, but the package libpam-systemd (204-5ubuntu20.8, on Ubuntu 14.04) still ...
3
votes
1answer
903 views

Unmet dependencies after using a backports repository

I have added a backport repository to apt's sources.list to get an application: deb http://ftp.uk.debian.org/debian/ wheezy-backports main Long story short: I did not manage to install the ...
12
votes
4answers
1k views

In Debian based systems, how do we purge configuration files of packages that have already been uninstalled?

To be more specific, I would like to do the equivalent of adding the --purge flag to the following command sudo apt-get autoremove --purge [package name] to packages that are no longer on the ...
0
votes
1answer
46 views

apt-get purge complains about unmet dependencies

I am trying to strip out all my IME packages, to do a fresh install of a different IME (fcitx). I tried this: apt-get purge ibus-anthy anthy anthy-common libanthy0 \ ibus-mozc mozc-data mozc-server ...
0
votes
1answer
442 views

apt-get unable to fetch archives

I'm trying to install a package using apt-get as root on a Linux Mint host: # apt-get install gparted Reading package lists... Done Building dependency tree Reading state information... Done ...
25
votes
8answers
22k views

List available updates but do not install them

I want my cron-run reporting script to notify me in case there are updates for my packages. Is the a way to make apt-get give me the list of available updates but don't do anything more?
0
votes
3answers
880 views

“Package linux-image-3.5.0-44-generic is not installed” while installing quantal kernel

I am working on a Ubuntu Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-43-generic x86_64) machine. There are some packages that I need to install, and in order to be able to that, first I have to run apt-get ...
1
vote
0answers
563 views

“connection timed out” while updating package list from Kali repositories [closed]

I am running Kali Linux on Oracle Virtualbox. I managed to make the internet running. Iceweasel needed a proxy. This is done too. My problem is following: apt-get install [something] tells me ...
1
vote
1answer
31 views

user-level guide to maintaining Debian package update security? [closed]

Recently I listened to an interview with Kim Zetter (audio download here) on cybercrime/warfare, particularly Stuxnet and Flame. While listening to the discussion of how Flame exploited Windows ...
1
vote
1answer
104 views

Debian apt-get broken after trying to install skype

I tried to install Skype on my x86_64 computer, only to be faced with disaster, I followed the instructions on the Debian website, https://wiki.debian.org/skype for the 64bit instruction set, but ...
2
votes
2answers
120 views

Format terminal output to show apt-get upgrade errors in RED

I have a very simple bash script written for my Kali Linux distro so I don't have to run apt-get update, apt-get upgrade, apt-get dist-upgrade, apt-get autoclean, and apt-get autoremove every time I ...
1
vote
2answers
428 views

Can't install any package with sudo apt-get install

I'm running Raspbian on my Raspberry Pi I just set up this day, the problem is that every time I try to install any package I get an error , for example, sudo apt-get install samba gives me : The ...
2
votes
2answers
701 views

apt-get install doesn't install latest version of Owncloud Client

I'm trying to install the latest version of the Owncloud Client (owncloud-client) on a raspberry Pi running Raspbian Linux. When I just enter sudo apt-get install owncloud-client, I get version 1.2 ...