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

learn more… | top users | synonyms (1)

2
votes
1answer
264 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 ...
1
vote
2answers
112 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 ...
1
vote
2answers
2k 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
127 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 ...
4
votes
2answers
5k 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
269 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 ...
5
votes
1answer
3k 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 ...
1
vote
1answer
377 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
76 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 ...
0
votes
1answer
5k 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 ...
0
votes
2answers
643 views

Lots of unmet dependencies while updating Python [on hold]

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
1k 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
179 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
56 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 ...
8
votes
1answer
134 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
1answer
2k 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 ...
7
votes
3answers
1k 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?
4
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
77 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
10k 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
2k 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
116 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
93 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
778 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 ...
3
votes
1answer
4k 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
191 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 ...
-1
votes
2answers
156 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 ...
5
votes
1answer
2k 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 ...
2
votes
2answers
390 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
67 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 ...
3
votes
1answer
2k 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 ...
13
votes
4answers
2k 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
138 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
1k 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 ...
1
vote
1answer
48 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 ...
2
votes
1answer
286 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
657 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 ...
2
votes
2answers
2k 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 ...
1
vote
1answer
68 views

Remove Gnome Components detect by Packagename

I have tried out the dpkg, aptitude and apt commands. On the gnome desktop I decided to remove one component. sudo apt-get remove gnome-games or something else, all works fine. But if I don’t ...
3
votes
1answer
645 views

apt installing more packages than specified as dependencies

I was trying to install texmaker from the repository. For installing the texlive I followed the steps described here. For this the control file I used is this. It has the file texlive-binaries in it. ...
1
vote
1answer
287 views

What is the 'apt-get' equvalent of 'aptitude keep-all'?

From aptitude man page. keep-all Cancels all scheduled actions on all packages; any packages whose sticky state indicates an installation, removal, or upgrade will have this ...
1
vote
2answers
54 views

Adding my software to Debian

How do you add a package to the official Debian APT repository? For example lets say I have a peice of software called quicktxtedit ,and I have a DEB file for it, and I want to add it to the offical ...
0
votes
1answer
71 views

Make python module as an installable API

I am developing an API in Unix environment for virtual machines. Most of the modules are developed in python. I have few questions on this. I want to make this as an installable API, I mean to ...
2
votes
1answer
463 views

How can I upgrade a complete list of packages from stable to backports

I have installed Qt 4.8.2 from Debian Wheezy on my system. Now, some application requires Qt 4.8.3 on my machine, so I looked at the versions and found that Qt 4.8.6 is avaliable in Wheezy-Backports: ...
7
votes
3answers
20k views

How can I upgrade MySQL in Debian using apt-get?

I'm using the Turnkey Linux virtual machine. The version of Debian in there is apparently on the "Wheezy" upgrade path (if that's what you call it). I'm not completely comfortable with Linux, as you ...
1
vote
1answer
113 views

List installed packages only from disk image

My Raspberry running Raspbian crashed but I would like to know which packages I had installed on that SD card. Is there a way to detect that without actually booting the system?
0
votes
1answer
2k views

How can I install mplayer on debian sid?

I have this error message when trying to install mplayer on debian sid: # apt-get install mplayer Reading package lists... Done Building dependency tree Reading state information... Done Some ...
1
vote
1answer
508 views

Setting up a minimal apt-get environment

I would like to set up a minimal environment with apt-get then selectively install packages one at a time. My understanding is that this is basically what the Debian installer does. Is this ...
1
vote
1answer
22 views

What files does affect apt-get purge¿?

I want to know before doing apt-get purge <packet> what files thats gonna have effect on. The reverse thing would be, what packet do I have to do purge if I want to remove that file (apt-file ...