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

learn more… | top users | synonyms (1)

2
votes
2answers
885 views

Can I determine what changed in an upgraded package using apt or dpkg on Debian 6?

I just did an apt-get upgrade on my Debian 6 development server and noticed that a certain package named tinyproxy was upgraded. I have a particular interest in seeing precisely what changed in that ...
2
votes
2answers
429 views

Is there a way to make apt report which packages in a dist-upgrade will use additional disk space?

I recently decided it was time to do the ol' dist-upgrade. Since I don't upgrade often, I got this message: deus@machina:~/$ sudo apt-get dist-upgrade Reading package lists... Done Building ...
2
votes
2answers
234 views

Is there a way to specify a name for “/etc/apt/sources.list” file?

Can the location for APT sources, named /etc/apt/sources.list, be named differently (e.g. /foo/my-renamed-apt-sources-file"), without breaking APT (i.e. via some configuration)?
2
votes
1answer
411 views

Upgrading ffmpeg

How can I upgrade ffmpeg to version 0.6 on debian-based operating system? I'm using apt-get for installation and deb packages.
2
votes
1answer
402 views

Why does 'apt-get install' suggest packages that I already have?

On Ubuntu Desktop 10.04.1, I have just run apt-get install to install a package. Amongst the list of suggested packages is ssh. I'm confused, because I am sure that I already have ssh installed: # ...
2
votes
2answers
124 views

Installing python gives dpkg error

Installing python gives a dpkg error. I have done these commands, output below $ sudo apt-get install python3.4 $ sudo dpkg -C $ sudo apt-get check $ apt-cache policy libglib2.0-dev $ sudo ...
2
votes
1answer
207 views

Why did this command delete every package?

I was trying to get a Windows program to run on PlayOnLinux and after it didn't work I went to remove Wine with this command: sudo apt-get remove --purge wine* and without thinking I agreed ...
2
votes
4answers
416 views

How do I automagically update GCC to a later release without upgrading my distro?

My understanding is that c++11 support in G++ 4.7.2 wasn't great (it gives me a warning everytime I try to compile my c++ code, presumably there are good reasons for these warnings), so thought I ...
2
votes
2answers
259 views

apt-get shows important packages as “no longer required”

I recently installed Kali Linux in my system. It came with a preinstalled Iceweasel. However, instead of Iceweasel I wanted to install firefox so I followed this guide and installed firefox ...
2
votes
1answer
68 views

apt-file vs apt-cache

I've known about apt-cache for quite some time, but only yesterday stumbled on apt-file. My question is, given this kind of output from the two... ttsiod@avalon ~ $ apt-cache search setxkb ...
2
votes
1answer
300 views

How to regenerate /etc/apt/trustdb.gpg on Debian?

Suppose one deleted (or damaged) the following file. /etc/apt/trustdb.gpg How to regenerate it?
2
votes
1answer
102 views

apt upgrade: start a new shell to examine the situation. Where?

When I do a dist upgrade, I often get prompts about config files like this: Configuration file `/etc/php5/apache2/php.ini' ==> Modified (by you or by a script) since installation. ==> Package ...
2
votes
1answer
440 views

How to custom build debian's busybox?

I'm building an embedded system based on debian 7, and I'd like to make the most out of busybox that comes with debian. The problem is default busybox build in debian seems quite minimal, for example ...
2
votes
1answer
40 views

What is Archive field in Release file used for?

For example current Release file for Wheezy is following: Archive: stable Origin: Debian Label: Debian Version: 7.1 Component: main Architecture: amd64 Now I can't find description of this Archive ...
2
votes
2answers
286 views

Finding yum equivalents of apt repositories?

I have code to setup an Ubuntu server that relies on apt-get. It has lots of packages as documented on our project wiki, for example these: development environment and the ruby dependencies. However, ...
2
votes
2answers
66 views

Get list of packages that provide (APT)

How can I generate a list of packages that the specific package provides using the apt-family?
2
votes
2answers
66 views

Apt-cache search only specified source

I use backtrack and I have a Packages.gz file with some packages on my hard drive. I want to use "apt-cache search" to search only the folder which contain Packages.gz. Is this possible?
2
votes
1answer
397 views

Is my apt-get dependency tree corrupted?

I wanted to uninstall the libboost libraries. I wrote in the console: sudo apt-get remove libboost-* But looking more precisely at the console output, I noticed apt-get was ready to remove several ...
2
votes
1answer
642 views

Apt-get refuses to stop trying to install Acroreader

I'm using Mint 13 if that matters. And I'm new. Anyway, I tried installing Adobe Reader 9 using their installer from: http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Unix ...
2
votes
2answers
362 views

How to select packages start with “mate-” but not end with “-dev”?

I want to install all MATE packages, $ sudo apt-get install '^mate' However, it selects too many packages, and some packages are conflicted with some installed ones. Now, I want to exclude them. ...
2
votes
1answer
549 views

git tab-completion does not work on Debian Wheezy but works on Squeeze

My question is about git command tab-completion, i.e. when I type git stat and hit Tab, it completes the command line to git status. (Where applicable, this also works with remote names and branch ...
2
votes
3answers
224 views

Scan and get the packages installed on Ubuntu along with the version

Is there any Python code to get the list of packages installed on Ubuntu along with the version of the package? I have seen Python code at Generating list of manually installed packages and querying ...
2
votes
2answers
272 views

virtualenv type tool for apt-get?

Is there anyway or any popular tool that can allow me to create an isolated package environment for apt-get similar to what virtualenv does for pip and python packages?
2
votes
3answers
735 views

Unmet dependencies

I am trying to compile vim and install with "--enable-pythoninterp" flag, which needs the python-dev package. INFO I obtained the vim source from ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2 Vim7.3 ...
2
votes
1answer
82 views

Where is the setting that sets Experimental repo to lower priority?

Suppose that I have enabled Experimental in my "/etc/apt/sources.list". When I need to install anything from it, I have to explicitly specify on the command: apt-get install wajig # vs apt-get ...
2
votes
2answers
92 views

Compare versions of the same package in different repositories (i.e. stable vs backports) using apt-cache show

I'm trying to find out the version of a particular package available in the backports repo to compare it with the version available in the stable repo. But when I give apt-cache show <package> ...
2
votes
1answer
313 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 ...
2
votes
3answers
3k views

sudo: apt-get: command not found. On Debian, SSH

Recently I executed this command: sudo apt-get remove debian-keyring debian-archive-keyring To prevent this such error message: WARNING: The following packages cannot be authenticated! openerp ...
2
votes
1answer
252 views

How can I reverse the effect of apt-get build-dep <package>?

When I run: apt-get build-dep <package> privileged it installs the build dependencies for <package>. Now, I know that I can use apt-cache depends <package> to see binary ...
2
votes
1answer
306 views

Why doesn't build-dep work even when I have URIs in my sources list already?

So I tried to install a package called RGL for the R statistics language. sudo apt-get build-dep r-cran-rgl [sudo] password for user: Reading package lists... Done Building dependency tree ...
2
votes
1answer
1k views

Invalid signatures when running apt-get update

I'm new to linux and am trying to run an update, I get a lot of "Hit"'s and "Ign"'s but in the end I get these errors, does anybody know what they mean and how I can fix them? W: GPG error: ...
2
votes
1answer
1k views

Fixing a broken packet system (apt-get)

After I made a system upgrade (apt-get upgrade) on a debian box, I get an error everytime i tries to use apt-get. Example: # apt-get -f install Reading package lists... Done Building dependency tree ...
2
votes
1answer
55 views

Is there a way to get apt-get to install from different distributions in one single command?

I'm building a package from source in Debian Wheezy, which has a few build-deps that cannot be satisfied by stable. Therefore, I use a few packages from unstable, testing and wheezy-backports. The ...
2
votes
1answer
152 views

What is the debian equivalent to this repoquery command?

What is the debian equivalent to this repoquery command? repoquery --repofrompath="abc,http://path/to/repo" --repoid=abc -q mypkg --qf ...
2
votes
1answer
1k views

error while using apt-get install for any package

I have tried to install texlive-full with apt-get and the installation stopped due to some errors. Later I removed all folders and files related to texlive, texmf manually. Since then I get the ...
2
votes
2answers
194 views

How do I remove persistent config data from APT?

When I remove packages from my system with APT-based programs, they often leave behind some kind of residue (referred to as "residual config") that seems to serve no purpose other than annoying me. ...
2
votes
2answers
407 views

Upgrade a single package from a target release

In Debian Squeeze I have installed a packageX from debian-backports. Q1: When I apt-get dist-upgrade or aptitude full-upgrade, what release is checked for updates for packageX? debian-backports or ...
2
votes
1answer
153 views

Aptitude Search reports package installed, while Aptitude Show reports it not installed - how is that possible?

me@friedly_server:~$ aptitude search samba-tools i samba-tools - Samba testing utilities me@friendly_server:~$ aptitude show samba-tools ...
2
votes
2answers
739 views

debian apt-get dist-upgrade from squeeze to wheezy failing on vlc

I can't continue until I solve this bug, I've tried removing the dpkg so it redownloads it but it still has this error when trying to dist-upgrade, or now, apt-get -f install. root@hayek:~# apt-get ...
2
votes
1answer
308 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 ...
2
votes
1answer
840 views

Banshee Won't Update (Linux Mint 12)

Anyone else having problems getting the latest version of Banshee from apt-get? I'm adding the Banshee PPA, using apt-get update, and then trying apt-get upgrade and then to be totally sure, ...
2
votes
1answer
397 views

How can I regenerate the default '/etc/' config files?

I've removed nagios3 with apt-get remove nagios3 and then removed the files in by using the command sudo rm -R /etc/nagios* Now when I run apt-get install nagios3 the config files (/etc/nagios3/*) ...
2
votes
1answer
471 views

What are the dangers with using “--assume-yes” with apt-get?

While making some improvements to my .bashrc file, I noticed a frequently used alias: alias install='sudo apt-get -y install' I wasn't familiar with the -y (aka --assume-yes or --yes) option with ...
2
votes
2answers
1k views

Fixing debian installer

I have a VPS with Debian GNU/Linux on it. I'm trying to install a PHP file manager so that people could access it and download stuff into a directory. I don't have anything in my /bin about PHP so ...
2
votes
1answer
2k views

How do you fix apt-get update “Hash Sum mismatch”

I have an Ubuntu 12.04 virtual box vm that I instantiate using Vagrant. git clone https://github.com/spuder/puppet-gitlab vagrant up As soon as the vagrant box runs apt-get update, I get the ...
2
votes
1answer
222 views

sources.list - Understanding syntax & structure in Debian

I have generated a sources.list file from http://debgen.simplylinux.ch/ with the following parameters: Country: New Zealand Release: Stable (Wheezy) Architecture: 64 bits Sources: Main + Security + ...
2
votes
1answer
796 views

Is there a update manager whitout gnome dependencies for xfce?

I'm looking a update manager for Debian Xfce. I installed xfce on a computer which will be use by laypersons. Therefore, I want another way (graphical) to launch apt-get update && apt-get ...
2
votes
2answers
1k views

How to download latest version of cmake?

I have installed cmake like this - sudo apt-get install cmake But whenever I try to compile my c++ code.. I always get the below error - CMake Error at CMakeLists.txt:2 (cmake_minimum_required): ...
2
votes
1answer
176 views

apt-get can not detect correct python version when using update-alternatives for python

I have installed different python versions on my Linux Mint DE. I used the update-alternatives --set statement to easily switch between the different versions. Unfortunately sometimes apt-get install ...
2
votes
1answer
111 views

apt-get purge <packages> works fine, aptitude still has <packages> marked as installed and reinstalls them

I've created a Rubygem to help with removing old kernels that have built up over years and are eating disk space. (My laptop had 19 kernels on it alone, and on a small SSD...) I want to use apt-get ...