[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#29983: apt: Wrong diagnostic, could be better



Package: apt
Version: 0.1.9
Severity: wishlist

By mistake, I just tried to run "apt-get install xxx" from my account instead
of from root account. The error message I got from apt-get was:

E: Could not open lock file /var/cache/apt/lock - open (13 Permission denied)
E: Couldn't lock the cache dir, /var/cache/apt/ another process is using it

Of course, this is only due to the fact that I used the wrong UID to do this.
The error message could mention this.

Best regards.

  Sam

-- System Information
Debian Release: slink
Kernel Version: Linux zaphod 2.1.124 #3 Mon Oct 5 10:02:08 CEST 1998 i586 unknown

Versions of the packages apt depends on:
ii  libc6           2.0.7u-5       The GNU C library version 2 (run-time files)
ii  libstdc++2.9    2.91.58-5      The GNU stdc++ library (egcs version)

--- Begin /etc/apt/sources.list (modified conffile)
deb ftp://ftp.lip6.fr/pub/linux/distributions/debian stable main contrib non-free
deb http://www.de.debian.org/debian frozen main contrib non-free
deb http://www.de.debian.org/debian-non-US unstable non-US
deb http://www.uk.debian.org/debian frozen main contrib non-free
deb http://www.debian.org/debian frozen main contrib non-free

--- End /etc/apt/sources.list


Reply to: