Bug#133631: A normal user can use libapt
Hello.
I've been able to use libapt as a normal user (not root). Here there is
a little example:
<code>
$ id -u
1000
$ apt-cache dump | wc -l
78336
$ su
Password:
# id -u
0
# apt-cache dump | wc -l
0
</code>
In the second call, apt-cache produced a segsfault.
aptitude(1) also works as a normal user.
I changed my sources.list, however, I get the same error. I also deleted
/var/cache/apt/*bin and the lists of the server (/var/lib/apt/lists/...)
with the same failure.
In my first email I didn't attach the apt-get output. It is here:
<code>
[0]setepo# apt-get update
Hit http://mnm.uib.es dists/sid/ Packages
Hit http://mnm.uib.es dists/sid/ Release
Hit http://non-us.debian.org sid/non-US/main Packages
Hit http://non-us.debian.org sid/non-US/main Release
Hit ftp://ftp.jp.debian.org sid/main Packages
Hit ftp://ftp.jp.debian.org sid/main Release
Hit ftp://ftp.jp.debian.org sid/contrib Packages
Hit ftp://ftp.jp.debian.org sid/contrib Release
Hit ftp://ftp.jp.debian.org sid/non-free Packages
Hit ftp://ftp.jp.debian.org sid/non-free Release
Hit ftp://ftp.jp.debian.org sid/main Sources
Hit ftp://ftp.jp.debian.org sid/main Release
Reading Package Lists... Error!
E: Unable to write mmap - msync (2 No such file or directory)
E: The package lists or status file could not be parsed or opened.
[0]setepo#
</code>
--
Ayose Cazorla León
Debian GNU/Linux - setepo
Reply to: