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

learn more… | top users | synonyms (1)

4
votes
2answers
1k views

how can I change what the command “apt-get update” looks for when executing the update?

Forgive my incompetence I am still new to GNU/Linux. I use Debian wheezy. When I type apt-get update I get this at the end W: Failed to fetch ...
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 ...
4
votes
1answer
993 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 ...
4
votes
2answers
242 views

How to prevent prompt that ask to restart services when installing libpq-dev

I want to install libpq-dev on my Vagrant machine. I install it with $ apt-get install -y libpq-dev During installation a prompt appears which asks if it's allowed to restart some services ...
4
votes
2answers
120 views

Debian: keep custom changes in initscript

I had to modify the initscript for Postfix /etc/init.d/postfix to customize it for my special needs. Now I want to ensure, that in case of the postfix package being updated in the future (I am running ...
4
votes
2answers
790 views

How does AptConf work in Debian Wheezy?

As far as I understand, the /etc/apt/apt.conf file of Squeeze has been broken into separate files within the /etc/apt/apt.conf.d/ directory in Wheezy. The debian wiki has not been updated yet and it ...
4
votes
5answers
714 views

Why do I constantly have to update my apt cache?

When I want to install a new package, I'm usually greeted with a response like: oliver@cloud:~$ sudo apt-get install unison Reading package lists... Done Building dependency tree Reading state ...
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
482 views

When does “apt-get install” ask me to confirm whether I want to continue or not?

Sometimes "apt-get install" asks me "Do you want to continue [Y/n]?": root@T43:~# apt-get install chmsee Reading package lists... Done Building dependency tree Reading state information... ...
4
votes
1answer
1k 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 ...
4
votes
3answers
165 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 ...
4
votes
2answers
62 views

How to install a specific debian package

I want to install a particular version which is not available from apt-get utility but is available from https://packages.debian.org (like https://packages.debian.org/wheezy-backports/exfat-fuse for ...
4
votes
1answer
79 views

What exactly does the --names-only option of apt-cache do?

According to the manual, it search regex... search performs a full text search on all available package lists for the POSIX regex pattern given, see regex(7). It searches the ...
4
votes
2answers
5k views

apt-get: hash sum mismatch

Running "sudo apt-get update" results in: W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_saucy-security_main_binary-i386_Packages Hash Sum mismatch W: ...
4
votes
3answers
575 views

Can removed Debian packages have leftover files?

I noticed a weird thing in my /etc/init.d files and tried to look a bit what was going on. Here's my problem: # apt-file search /etc/init.d/minissdpd minissdpd: /etc/init.d/minissdpd # ...
4
votes
2answers
67 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?
4
votes
1answer
922 views

Automate installation of VirtualBox Guest Additions via command-line

How can I install VirtualBox Guest Additions from a Bash script, in a unattended way? Whenever I run apt-get -y install dkms virtualbox-guest-dkms from the terminal I'm presented with a interactive ...
4
votes
2answers
627 views

upgrade xdebug without using apt?

I'm running debian 5.0.6 and have installed xdebug 2.0.3 via aptitude. Now I want to install PHPUnit, and when trying to do it through pear, I get the error that PHPUnit wants a more recent xdebug ...
4
votes
1answer
89 views

How to list all aptitude user tags or the user tags for a package?

I'm in a bit of a pickle. Following my own counsel I started using user-tags when working on projects, but now I don't remember how I called some of these tags and this cancels their usefulness. Is ...
4
votes
2answers
4k views

Reinstalling all Debian packages

I killed by mistake a dpkg process running in the background and I would like to reinstall all packages to be sure everything is allright. First, I tried to get a list of all packages and reinstall ...
4
votes
1answer
2k views

Problems with apt-get upgrade on Debian (404 Not Found)

I can't update my Debian Sid system. on running the apt-get upgrade I am getting: maciej@wladyslawa:/etc/apt$ sudo apt-get upgrade Reading package lists... Done Building dependency tree ...
4
votes
3answers
515 views

Strange messages on (un)installation

A lot of times when I (un)install packages, I get strange warning messages. Here's a snippet: Processing triggers for libglib2.0-0 ... Processing triggers for man-db ... Processing triggers for ...
4
votes
3answers
137 views

SSH pipe broke while running apt upgrade. What can I do about it?

I was connected to my aws debian wheezy server and while running apt-get upgrade the ssh pipe broke. I didn't use screen or anything, so I don't think there's a way to recover that session. If I ...
4
votes
1answer
227 views

aptitude: Meaning of curly brackets, i.e. package1{b} package2{a} package3{u}

When using aptitude, the list of changed packages sometimes has a single character in curly brackets behind some package names. The man-page has two examples of them but does not explain them (version ...
4
votes
1answer
33 views

track down executables installer

I have a freshly installed debian system It has vim installed using apt-get install vim Now I have the command xxd installed on the system. I know that this had to have come from the vim ...
4
votes
1answer
3k views

apt-get via ssh-tunnel if only port 22 is allowed

I have a server which has only access to the outer world via port 22 (for the use of ssh from the server to other computers). I want to install some packages via apt-get on this server. Can I achive ...
4
votes
1answer
76 views

Installed using apt-get, then ran out of storage

I attempted to install a large package, forgetting that I had little space left, and now I am a little stuck. When I attempt to remove any packages I get the following error: E: dpkg was ...
4
votes
2answers
3k 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 ...
4
votes
2answers
87 views

Force apt-get to prompt yes/no

Is there a way to force apt-get to display yes/no prompt? A --force-yes option exists, but there seems to be no --force-prompt or similar option. If you attempt to install a package that has all ...
4
votes
1answer
476 views

apt-get install gives 404 not found, but URL works

I am trying to set up an apt repository. This repository is actually replacing one that already exists and is functioning fine. I can't manage to install a package from this repo. In my ...
4
votes
1answer
97 views

Package management without the need of root permission

Am looking for a way to install packages in home folder. This thread suggests using apt-get source ./configure --prefix=$HOME However, it doesn't provide a way to manage dependencies like apt-get ...
4
votes
1answer
489 views

apt-get doesn't upgrade openssl on debian 7

I'm facing the following problem. If I run the command sudo apt-get upgrade, I get: Reading package lists... Done Building dependency tree Reading state information... Done The following ...
4
votes
2answers
187 views

apt-get: install modified package with dependencies

I have downloaded a Debian package lxde, together with all its dependencies: apt-get install --no-install-recommends lxde --download-only So now, I have all packages in my /var/cache/apt/archives. ...
4
votes
2answers
122 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 ...
4
votes
1answer
956 views

listing packages in Debian, a la `dpkg -l`, but including the package origin/source

I want to list all packages of the form $ dpkg -l libav\* but in addition to this output, I would like the origin/source (I'm not sure of the preferred term) of each package. If the package doesn't ...
4
votes
2answers
4k views

Failure to startx on Ubuntu 14.04 after security update - missing libXfont.so.1

I had Ubuntu 14.04 running perfectly on my system and then it underwent a recommended security update. I let it update while I was at work and when I returned I found a black screen stating, "No init ...
4
votes
1answer
51 views

Issue installing OpenVPN via apt

Pastebin I wanted to install OpenVPN on my Debian Wheezy server at home, so I could create a tunnel with my phone or tablet from outside my home. We use OpenVPN at work, so I figured it would be easy ...
4
votes
2answers
118 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" ...
4
votes
1answer
370 views

Apt/Aptitude: how to filter packages that are impossible to install?

Especially when running Sid, there are many packages that become non-installable as the dependencies change ABI versions, or the dependencies themselves may have been dropped. It'd be good to know how ...
4
votes
2answers
285 views

How do I hide packages from appearing in apt system?

The list of uninstalled packages appearing in my aptitude is massive, but is full of packages that I'm very sure I will never ever install. E.g. my laptop is using intel graphics, so it doesn't make ...
4
votes
1answer
67 views

How to find Debian packages that would free up the most space

Say I have a Debian machine where I would like to free up space on '/' by removing useless packages. To find good candidates of packages to review, I would like to focus my attention on the largest ...
4
votes
2answers
121 views

Manage local package repository

I just installed a fresh Waldorf (Crunchbang, Debian Wheezy-based) on a computer which has no Internet access. Previously on a Xubuntu 10.04 VM, what I did when I needed some software was: go to ...
3
votes
4answers
356 views

Connect to the Internet on a VPN connected server without Internet

I've a remote server which is not connected to the internet, but I can connect from via SSH to it through a VPN tunnel. On this client I got internet. Is it possible 'get internet' from the client ...
3
votes
2answers
754 views

How often does Debian update its Stable repository?

Ever since release day (early Feb 2011), I haven't got any updates (apt-get update && apt-get upgrade). I've tried another repository (ftp://ftp.de.debian.org/debian), and it's the same thing. ...
3
votes
3answers
264 views

What is the preferred way to install new versions of software?

I have installed Ubuntu Server 10.10 and now I want to install some software like PostgreSQL, Nginx and PHP. But what is the preferred way to get the latest stable version of the software? E.g I ...
3
votes
4answers
2k views

Is it necessary to reboot after a kernel upgrade (via APT)?

I have been wondering this for quite a while. Let's say that you have a Debian server that you keep updated via APT. Usually (every 1-2 months) there are some kernel updates, which will update the ...
3
votes
2answers
77 views

How do I find out where the contents of a package are installed?

I ran into this bug, where Cantor can't find the sage backend if both are installed through the ubuntu package system. I can get around this bug if I know the path to the sage executable, but even ...
3
votes
3answers
671 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
3answers
147 views

List all software installed from particular component (non-free, contrib)

Is there a way to list all non-free and contrib software installed in Debian via apt? /etc/apt/sources.list is as follows deb http://ftp.us.debian.org/debian/ wheezy main non-free contrib deb-src ...
3
votes
1answer
8k views

apt-get prompts for CDs when installing packages, how do I make it stop?

I used ubuntu linux before, and I installed debian OS on my labtop using DVDs that I burned. But when I'm trying to use apt-get to install software, the system always asks me to insert disk to ...