apt-get --print-uris in NoLocking mode
Hi *,
I have a problem with apt-get.
I try to get a list of all the .deb to be installed (with
--print-uris), but I have to do it like root. I thought that if I add
a "-o Debug::NoLocking=yes" would make it possible to run it like
user. But I get this:
bash$ apt-get --print-uris -o Debug::NoLocking=yes upgrade
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened.
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
And I thing that it must be possible to get. Can someone help me with
this?
Thank you.
Sant
--
Reply to: