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

learn more… | top users | synonyms (1)

14
votes
2answers
548 views

Why do package names contain version numbers?

While working with Ubuntu and other Debian-based distros, I've noticed that packages in the software repos often contain the major version number. For example, Apache: apache2 Tomcat: tomcat7 PHP: ...
6
votes
1answer
102 views

How did this bogus entry sneak into my apt sources?

A while ago, I decided to try dropbox. Since I could apt-get it, I thought it was free software. However, I quickly discovered that the apt-get command only downloaded a downloader for dropbox ...
2
votes
1answer
618 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 ...
4
votes
1answer
971 views

How does apt-get deal with multiple sources?

Let's say Ubuntu's repositories features a package. I install that package using apt-get. I then add an additional source (with add-apt-repository) that lists either a newer or older version of the ...
5
votes
3answers
1k views

Reset dselect selection before package installation

I was looking through the list of packages with dselect, but pressed Return twice by mistake, thereby making it confirm and quit the [S]elect option. When I go to the [I]nstall option, it's now ...
2
votes
3answers
238 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 ...
4
votes
2answers
3k views

I cannot install new packages: “Could not get lock /var/lib/dpkg/lock”

I am new to Linux (installed Ubuntu for the first time yesterday), and have never dealt with any unix-based OS. I started using Linux for the sole purpose of collaborating code with my partners via ...
4
votes
1answer
2k views

Aptitude on Debian 6.0.4 “media change” to CD ROM

I've just installed Debian 6.0.4 on VirtualBox, and I'm trying to install g++. So, into the terminal I typed: aptitude install build-essential But it's trying to get the package from disk: Media ...
3
votes
4answers
544 views

What package managers do popular Unix Distributions Use? [closed]

I am creating a Script and I need to know what package manager each Popular Unix Distribution Uses (especially those distros that are commonly-used for Servers)... I mean: Debian uses apt-get Fedora ...
2
votes
2answers
260 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)?
1
vote
1answer
224 views

Getting the source for something that doesn't seem to have an associated package?

I recently just wanted to look at the source code for sha1sum. alec@ROOROO:~/tmp-source-study$ apt-get source sha1sum Reading package lists... Done Building dependency tree Reading state ...
6
votes
6answers
2k views

Which installed software packages use the most disk space on Debian?

Disk space on my root partition is running low, so I want to delete some applications from the system. How can I see which software packages use the most disk space? Is it possible to view that from ...
1
vote
1answer
1k views

How to install a Debian package from internet?

I am trying to install Debian kernel sources using the following commands - sudo apt-get install linux-headers-$(uname -r) It prompts me to insert the Debian disk to continue the installation. ...
2
votes
2answers
3k views

apt-get install - where does it go?

Just a basic question on this utility... I did sudo apt-get install libhtmlparser-java And I would like to see the source I just downloaded. On Linux (Ubuntu) where ought I look for this?
11
votes
5answers
5k views

How to see package version without install?

I want to see the version of a package before I install it. How can I do this?
1
vote
1answer
204 views

How to purge package in debian without affecting other packages?

I had mysql-server-5.1 installed, then upgraded to mysql-server-5.5 and now upgraded to percona server (package percona-server-server-5.5). So now I have 2 mysql-server packages removed, but not ...
10
votes
2answers
5k views

What does “The following packages have been kept back” mean?

When doing an apt-get upgrade I sometimes get a message saying "The following packages have been kept back". For example: $ sudo apt-get upgrade ...
5
votes
2answers
3k views

How do I install mod_pagespeed using apt-get?

I remember seeing an article at one time on how to do this, but now I can't find it. I have seen other install directions. I want to make sure I can easily update it via apt.
0
votes
1answer
303 views

pattern to install dependencies in linux

Different OSes have different standard way of installing package dependencies; in OS X, all library dependencies are copied in the App folder. Windows application developers have both options; they ...
5
votes
2answers
785 views

Does “apt-get purge” remove config files stored in user home dir?

I used sudo apt-get purge [package_name] and sudo apt-get autoremove --purge to remove an application so that on reinstalling it gets back to default configuration. But it didn't work, all ...
1
vote
0answers
367 views

Resolving unmet installation dependencies; file system problems

Somehow part of my ext3 file system got corrupted and large portions of my python installation got all sorts of messed up. The only thing I could notice immediately was Python raising a missing module ...
1
vote
1answer
2k views

build-dep firefox not working on Linux Mint

I'm on the latest Linux Mint 12. In order to compile Firefox I need to do a sudo apt-get build-dep firefox which isn't working and showing the following error: $ sudo apt-get build-dep firefox ...
5
votes
2answers
5k views

Enabling apt repository priority in LMDE

I want to set up apt repository priority ordering in Linux Mint Debian Edition 2012.04. In /etc/apt/preferences the order should be: LMDE -> Debian testing -> Debian unstable. In other words, I almost ...
3
votes
3answers
186 views

Using the apt package manager refuse an update for a specific package

I am attempting to upgrade a few packages using the apt package manager. However there is a specific package in the list that I don't want to upgrade. In fact I don't want anyone to ever upgrade it. ...
4
votes
4answers
167 views

Is it possible to determine what is inside Debian package without installing it?

I need a markdown library for development - based on package names I could not understand which one I should install... den@playground:~$ sudo aptitude search markdown p html2markdown ...
3
votes
3answers
627 views

Why does installing python-minimal package also grab the python package on Debian?

From running: apt-cache depends python2.6-minimal | grep Depends and apt-cache depends python2.6 | grep Depends it looks like python2.6 depends on python2.6-minimal and a lot more. However, ...
3
votes
1answer
632 views

Are bsdutils, coreutils, and busybox all necessary in a Debian install?

I first installed Debian with a netinst CD without networking, then edited /etc/apt/sources.list to point to the main repository, then ran dhclient eth0 to set up networking. Then I installed less. ...
12
votes
3answers
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 ...
2
votes
1answer
331 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 ...
4
votes
1answer
960 views

Why did adding the Debian testing repository create so many package dependencies?

I have Debian 6.0.4, and I'm running an outdated Geany text editor package. There's no newer version available in the current stable repository, so I added testing packages to sources.list: #debian ...
6
votes
2answers
50k views

Installing git “sudo: apt-get: command not found”

I am trying to install git. I run the following command: sudo apt-get install git-core git-gui git-doc But receive the following error: sudo: apt-get: command not found What should I do?
9
votes
2answers
15k views

How can I update to a newer version of Git using apt-get?

I've just set up a new machine with Ubuntu Oneiric 11.10 and then run apt-get update apt-get upgrade apt-get install git Now if I run git --version it tells me I have git version 1.7.5.4 but on my ...
3
votes
3answers
4k views

Fixing broken packages in a Debian testing distribution

I'm playing around with Linux Mint Debian Edition (LMDE) in a VirtualBox instance to try it out and see if it'd be good for a main operating system for me. I'm pretty competent with most system ...
1
vote
2answers
538 views

problems installing lcov on Debian 6

I have been stuck for a few hours trying to install lcov on a debian 6 box. Any help would be greatly appreciated! What I have tried the following in the command line: ...
3
votes
1answer
3k views

Debian squeeze (stable) broken packages after installing something from wheezy (testing)

root@server:/home/ante# apt-get install build-essential Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may ...
6
votes
1answer
869 views

How can I view the list of packages that were “suggested” by apt?

When installing a package using apt-get install package a list of "Suggested packages" is displayed. What command can be used to print it again?
1
vote
0answers
331 views

Debian: Upgraded to php 5.3 and lost phpcli, php-pear, etc

I upgraded to PHP5.3 using this tutorial: http://www.debiantutorials.com/how-to-install-upgrade-to-php-5-3-on-debian-lenny/ It removed the following packages: Removing php-pear ... Removing ...
7
votes
1answer
610 views

Debian: How to delay configuration when installing/upgrading?

One of my Debian systems is rarely upgraded. So when it is time to upgrade, there are loads of packages. Right now I basically have to monitor the upgrade, because every 50 packages or so there is a ...
1
vote
2answers
3k views

How to uninstall java on Linux Mint 12

Today, I downloaded the latest java jre which is a .bin file By mistake, I installed it on my desktop by running ./jre. I want to remove this installation, move the .bin file to somewhere else and ...
1
vote
1answer
902 views

How and where to install a headers only library?

I like to install gource which requires libglm-dev installed on the system. I am using Ubuntu 10.10. Maverick. The newest sources of the headers only library I found is not available for apt-get. ...
1
vote
1answer
100 views

Removing generic kernel updates from aptitude post custom kernel install

I've updated my Mint 12 system to be running a kernel built from Linus' git repo. Now, whenever I run apt-get upgrade, I see that linux*-generic are still on the update list (they're being "kept ...
1
vote
2answers
1k views

List installed meta packages in APT

Meta packages are packages that do not install anything by themselfs, but are dependent on other packages. How do I list the installed meta packages on my system?
11
votes
2answers
2k views

List (recursive) dependencies of the installed packages in APT

For each package I have installed I would like to know which packages would be installed if I uninstall it. An example of the output I need is (package: list of deps): abc: foo bar bcd: baz abc bdd: ...
6
votes
1answer
548 views

Block a package from being uninstalled in APT

In short, I want to be able to set package abc so that: apt-get remove abc should fail. apt-get purge abc should fail. apt-get upgrade abc should work. If the package dependencies change so that ...
5
votes
2answers
761 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
3answers
160 views

Using apt or aptitude to get version information about an uninstalled package?

I'm looking to install a package, but I'd like to make sure that I can't get a more recent version than, e.g., a PPA. Is there an aptitude or apt-get command that will enable me to input a package ...
3
votes
1answer
2k views

How to enable an federated storage engine in the Debian MySQL package?

How would I enable an extra (in this case FEDERATED) storage engine in the mysql-server-5.1 package from Debian? I've installed mysql-server-5.1 via apt-get. But the SHOW ENGINES shows that federated ...
5
votes
4answers
5k views

Apt-get autocompletion

I am currently running 64-bit Debian Wheezy. I am having some trouble with auto completion for apt-get. I have bash-completion installed. If I am logged in as root in a shell, I can use auto ...
0
votes
1answer
899 views

Debian PowerBook G4 WiFi Driver

How do I get wifi to work on my powerbook g4 with xfce debian? I have tried sudo apt-get install bcm43xx-fwcutter but it comes up with E: Unable to locate package bcm43xx-fwcutter. What do I do?
4
votes
2answers
121 views

Reinstall versions of software not found in repositories

I recently installed the utouch-daily PPA, and it's given me some problems. How can I revert to the packages available in the default repository? I've removed the repository from ...