[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ next ]
Errors will always happen, many of them caused by users not paying attention. The following is a list of some of the most frequently reported errors and how to deal with them.
If you receive a message that looks like the one below when trying to run apt-get install package...
Reading Package Lists... Done Building Dependency Tree... Done W: Couldn't stat source package list 'http://people.debian.org unstable/ Packages' (/var/state/apt/lists/people.debian.org_%7ekov_debian_unstable_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these missing files E: Couldn't find package penguineyes
you forgot to run apt-get update after your last change to the /etc/apt/sources.list file.
If the error looked like:
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
when trying any apt-get
method other than source, you
don't have root permission, that is, you're running as a normal user.
There's an error similar to the above which happens when you run two copies of
apt-get
at the same time, or even if you try to run
apt-get
while a dpkg
process is active. The only
method that can be used simultaneously with others is the source
method.
If an installation breaks in the middle of the process and you find that it's no longer possible to install or remove packages, try running these two commands:
# apt-get -f install # dpkg --configure -a
And then try again. It may be necessary to run the second of the above commands more than once. This is an important lesson for those adventurers who use `unstable'.
If you receive the error "E: Dynamic MMap ran out of room" when
running apt-get update, add the following line to
/etc/apt/apt.conf
:
APT::Cache-Limit 10000000;
If you find yourself plagued by doubts, consult the extensive documentation available for the Debian packaging system. --help's and manpages can be an enormous help to you, as can the documentation contained in the /usr/share/doc directories such as /usr/share/doc/apt.
If this documentation fails to drive your fears away, try looking for the
answer on the Debian mailing lists. You can find more information about
specific user lists on the Debian website: http://www.debian.org
.
Remember that these lists and resources should be used only by Debian users; users of other systems will find better support from the community resources of their own distributions.
[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ next ]
APT HOWTO (Obsolete Documentation)
1.8.11 - August 2005kov@debian.org