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

learn more… | top users | synonyms (1)

9
votes
2answers
14k 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
3k 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
519 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
812 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
329 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
589 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
858 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
99 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
973 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?
10
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
484 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
743 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
157 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
860 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 ...
8
votes
2answers
4k views

Restore /etc/ configuration files from the default

Is there a way to replace /etc configuration files from a package, overwriting my local changes? I've tried apt-get install --reinstall mypackage but it doesn't update the files. How can I do this?
1
vote
1answer
85 views

How can I generate a DEB from an installed package?

I've done this in the past before but I can't remember how. I'd like to take an installed package on one machine, create an installable deb from it, then send that deb over to another machine. How can ...
5
votes
1answer
12k views

How can I completely reinstall mysql?

I had to reboot in the middle of a large data import. I only have one mysql database, which has now been corrupted. How can I completely remove mysql and reinstall it? I've tried apt-get purge ...
2
votes
0answers
83 views

Can sources.list only be updated by hand?

I'm currently running Linux Mint. I remember that under Ubuntu, whenever a new release comes out, it prompts you with a choice of whether to upgrade or not. It seems like this is not happening in ...
3
votes
1answer
865 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, ...
5
votes
6answers
6k views

Can I use `apt-get` to upgrade to the latest version of Nagios?

At the time of this writing the latest version of Nagios is 3.3.1. I am running Ubuntu 10.04 and have used apt-get update; apt-get install nagios3 to end up with version 3.2.0. I know there are a lot ...
2
votes
1answer
412 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/*) ...
5
votes
1answer
2k views

How to reinstall apt on Debian?

I accidently removed apt-get from my Debian system by issuing: dpkg --force-depends --purge apt How can I reinstall it?
0
votes
1answer
302 views

How to install non-outdated nvidia drivers using apt-get?

I tried using apt-get install nvidia-current after installation I got 280.13 version, which is not the latest version(290.10). so how can i force apt-get to download the latest driver? Edit: I'm ...
1
vote
2answers
1k views

apt-get : no installation candidate for libxul-dev

When I'm installing libxul-dev I end with this error message: $ sudo apt-get install libxul-dev Reading package lists... Done Building dependency tree Reading state information... Done Package ...
0
votes
1answer
1k views

I am trying to install Google Chrome on Linux Mint 7

It seems like Jaunty is not being maintained anymore. When trying to install the chrome package: steven@steven-desktop ~/Desktop $ sudo dpkg -i google-chrome-stable_current_i386.deb Selecting ...
2
votes
1answer
488 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 ...
9
votes
4answers
886 views

How can I reliably “hold” a package in Debian?

I have a package in Debian that has been manually patched (not ideal, I know) that I must hold at its current version so upgrades don't overwrite the patched changes (I will manually inspect and apply ...
7
votes
2answers
3k views

How to make apt-get accept new config files in an unattended install of debian from Repo

I am writing a script for a unattended install of a package that is in our repo, it is a software package with one of Debian's marked config files. Is there any option that I can pass to ...
4
votes
2answers
2k views

How to manually insert a repository in source.list?

I tried to add a new APT repository using this command: add-apt-repository ppa:atareao/atareao but I got a "command not found" error. I tried installing python-software-properties, but it's already ...
1
vote
2answers
3k views

“invoke-rc.d: initscript cups, action ”start“ failed.” while configure cups

When I run apt-get -f install, I get the following abnormal output: Setting up cups (1.5.0-8) ... start: Job failed to start invoke-rc.d: initscript cups, action "start" failed. dpkg: error ...
1
vote
3answers
1k views

Increasing the size limit for /var/cache/apt/archives

I have 2 systems running Debian at home and I am trying to minimize the bandwidth use while upgrading the packages. How can I increase the size limit of the cache, so that I could just copy the ...
10
votes
5answers
5k views

“tar: unrecognized option --warning” during 'apt-get install'

I just ran apt-get upgrade on my debian 5 vps and I got this error: tar: unrecognized option `--warning=no-timestamp' Now when I try to install other packages e.g: imagemagick I get the same ...
2
votes
4answers
724 views

Mastering apt-get

I'd like to learn about apt-get so nothing bad can surprise me. I was looking for some tutorials but have found nothing that teaches it carefully including its internals. I found this article but it's ...
1
vote
1answer
175 views

apt: reinstall older version of a package without altering dependent packages

I have got some problem with sound. In order to investigate the problem I tried to reinstall older version of package libasound2 (I have upgraded it recently). I typed apt-get install ...
2
votes
0answers
221 views

How can I prevent Apt-Get from autoremoving packages? [duplicate]

Possible Duplicate: apt-get - autoremove wants to uninstall Gnome I'm running Debian@ [edit: kernel] 3.0 with Gnome. apt-get wants to autoremove dozens of packages. How can I prevent it ...
4
votes
1answer
2k views

The difference between deb versus deb-src in sources.list

I don't understand the difference between these two lines in my sources.list, please explain: deb http://mirror.optus.net/debian/ testing main contrib non-free versus deb-src ...
5
votes
3answers
3k views

apt-get equivalent of yum localinstall

When using Fedora I usually use yum localinstall as a way to install a rpm obtained outside the distribution repositories. I can't find an equivalent option in the apt-get man page. I'm running Ubuntu ...
5
votes
1answer
449 views

Conflict? dpkg, apt, apt-get, aptitude, and synaptic

So, I ssh into a (very) remote Ubuntu 10.4 server to do some admin and web dev+design. And I was looking through the various package manager options. There's a lot. The big ones are dpkg, apt, ...
2
votes
2answers
276 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?
17
votes
7answers
13k 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?
4
votes
2answers
111 views

In synaptic, is there a way to always expand “Details” when installing a package?

While using synaptic and update-manager in Debian (I'm using unstable), I always like to see what it is doing while installing and always manually expand the "Show installing files" and "Details" ...
3
votes
1answer
266 views

Private Debian repository to serve selected packages to selected machines

I have a private Debian repository setup with a few custom built packages (along with other official Debian packages). All my machines have this repository(only) configured in /etc/apt/sources.list. I ...
10
votes
2answers
459 views

How to list files and folders that are not maintained by any DEB package

I am in the process of moving my files from one Debian machine to another so that I can use the old machine for a different purpose. I do not want to miss any file because I will be formatting the ...
3
votes
2answers
458 views

Install downloaded packages with dependencies

I sometimes download .deb packages from the internet and install them with dpkg -i package.deb If the packages have unmet dependencies. How can I install the dependencies automatically (similar to ...
2
votes
1answer
430 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.