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

Bug#100590: apt-get --print-uris as non-root doesn't work (even in NoLocking mode)



Package: apt
Version: 0.5.3
Severity: normal
Hi,

   I have a problem with apt-get.

   I want to get a list of all the .deb's that I'm going to install. So
I do

apt-get --print-uris dist-upgrade

This works as root but not as a non-root user and I think it must be
   possible (I'm just asking for some output). I've tried with

bash$ apt-get --print-uris -o Debug::NoLocking=yes dist-upgrade
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened.

but it doesn't work. 

bash$ ls -la /var/cache/apt/
drwxr-xr-x    3 root     root         1024 May 19 01:26 ./
drwxr-xr-x    7 root     root         1024 Mar 22 00:19 ../
drwxr-xr-x    3 root     root        18432 May 19 01:09 archives/
-rw-r-----    1 root     root            0 Feb 23 00:04 lock
-rw-r--r--    1 root     root      3114578 May 19 01:26 pkgcache.bin
-rw-r--r--    1 root     root      2967658 May 19 00:35 srcpkgcache.bin

   Thanks.

   Santi

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux belamobil 2.4.5-sbl1 #2 Fri Jun 1 11:12:01 CEST 2001 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages apt depends on:
ii  libc6                  2.2.3-5           GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2 1:2.95.4-0.010604 The GNU stdc++ library




Reply to: