I install a new ppa and run apt-get update and get this error:
W: Can't drop privileges for downloading as file '/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_xenial_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permissão negada)
I am using Ubuntu 16.0 Beta Final, with all the updated packages
The permissions:
fabio@luzfcb:~$ ls -dl /var/cache/apt/archives/partial/
drwx------ 2 _apt root 4096 Abr 11 21:13 /var/cache/apt/archives/partial/
fabio@luzfcb:~$ ls -dl /var/cache/apt/archives/
drwxr-xr-x 4 root root 28672 Abr 13 19:57 /var/cache/apt/archives/
fabio@luzfcb:~$ grep -B2 _apt /var/lib/dpkg/info/apt.postinst
# add unprivileged user for the apt methods
adduser --force-badname --system --home /nonexistent \
--no-create-home --quiet _apt || true
# Fixup any mistake in the home directory of the _apt user
if dpkg --compare-versions "$2" lt-nl 1.1~exp10~; then
usermod --home /nonexistent _apt
same cause of this bugs:
https:/ /bugs.launchpad .net/ubuntu/ +source/ update- notifier/ +bug/1570141 /bugs.launchpad .net/ubuntu/ +source/ pepperflashplug in-nonfree/ +bug/1551511
https:/
I install a new ppa and run apt-get update and get this error:
W: Can't drop privileges for downloading as file '/var/lib/ apt/lists/ partial/ archive. ubuntu. com_ubuntu_ dists_xenial_ InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permissão negada)
I am using Ubuntu 16.0 Beta Final, with all the updated packages
The permissions:
fabio@luzfcb:~$ ls -dl /var/cache/ apt/archives/ partial/ apt/archives/ partial/
drwx------ 2 _apt root 4096 Abr 11 21:13 /var/cache/
fabio@luzfcb:~$ ls -dl /var/cache/ apt/archives/ apt/archives/
drwxr-xr-x 4 root root 28672 Abr 13 19:57 /var/cache/
fabio@luzfcb:~$ grep -B2 _apt /var/lib/ dpkg/info/ apt.postinst no-create- home --quiet _apt || true
# add unprivileged user for the apt methods
adduser --force-badname --system --home /nonexistent \
--
# Fixup any mistake in the home directory of the _apt user
if dpkg --compare-versions "$2" lt-nl 1.1~exp10~; then
usermod --home /nonexistent _apt
fabio@luzfcb:~$ sudo apt-get update repo.steampower ed.com/ steam precise InRelease archive. ubuntu. com/ubuntu xenial InRelease [247 kB] dl.google. com/linux/ chrome/ deb stable InRelease archive. canonical. com/ubuntu xenial InRelease apt.postgresql. org/pub/ repos/apt xenial-pgdg InRelease dl.google. com/linux/ chrome/ deb stable Release ppa.launchpad. net/gregory- hainaut/ pcsx2.official. ppa/ubuntu xenial InRelease ppa.launchpad. net/gwendal- lebihan- dev/hexchat- stable/ ubuntu xenial InRelease ppa.launchpad. net/indicator- brightness/ ppa/ubuntu xenial InRelease toolbelt. heroku. com/ubuntu ./ InRelease ppa.launchpad. net/maarten- baert/simplescr eenrecorder/ ubuntu xenial InRelease ppa.launchpad. net/saiarcot895 /myppa/ ubuntu xenial InRelease ppa.launchpad. net/webupd8team /java/ubuntu xenial InRelease [17,5 kB] toolbelt. heroku. com/ubuntu ./ Release ppa.launchpad. net/webupd8team /java/ubuntu xenial/main amd64 Packages [2.840 B] archive. ubuntu. com/ubuntu xenial-updates InRelease ppa.launchpad. net/webupd8team /java/ubuntu xenial/main i386 Packages [2.840 B] ppa.launchpad. net/webupd8team /java/ubuntu xenial/main Translation-en [1.260 B] archive. ubuntu. com/ubuntu xenial-backports InRelease archive. ubuntu. com/ubuntu xenial-security InRelease archive. ubuntu. com/ubuntu xenial/main amd64 Packages [1.184 kB] archive. ubuntu. com/ubuntu xenial/main i386 Packages [1.179 kB] archive. ubuntu. com/ubuntu xenial/main amd64 DEP-11 Metadata [635 kB] archive. ubuntu. com/ubuntu xenial/main DEP-11 64x64 Icons [404 kB] archive. ubuntu. com/ubuntu xenial/universe amd64 Packages [7.543 kB] archive. ubuntu. com/ubuntu xenial/universe i386 Packages [7.524 kB] archive. ubuntu. com/ubuntu xenial/universe Translation-en [4.361 kB] archive. ubuntu. com/ubuntu xenial/universe amd64 DEP-11 Metadata [1.846 kB] archive. ubuntu. com/ubuntu xenial/universe DEP-11 64x64 Icons [7.482 kB] apt/lists/ partial/ archive. ubuntu. com_ubuntu_ dists_xenial_ InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permissão negada) dl.google. com/linux/ chrome/ deb/dists/ stable/ Release. gpg: Signature by key 4CCA1EAF950CEE4 AB83976DCA04083 0F7FAC5991 uses weak digest algorithm (SHA1) toolbelt. heroku. com/ubuntu/ ./Release. gpg: Signature by key 150C6249147592D E6D91981CC927EB E00F1B0520 uses weak digest algorithm (SHA1)
Atingido:1 http://
Obter:2 http://
Ign:3 http://
Atingido:5 http://
Atingido:6 http://
Atingido:7 http://
Atingido:9 http://
Atingido:10 http://
Atingido:11 http://
Ign:4 http://
Atingido:12 http://
Atingido:14 http://
Obter:15 http://
Atingido:13 http://
Obter:17 http://
Atingido:18 http://
Obter:19 http://
Obter:20 http://
Atingido:21 http://
Atingido:22 http://
Obter:23 http://
Obter:24 http://
Obter:25 http://
Obter:26 http://
Obter:27 http://
Obter:28 http://
Obter:29 http://
Obter:30 http://
Obter:31 http://
Baixados 32,4 MB em 2min 19s (233 kB/s)
AppStream cache update completed, but some metadata was ignored due to errors.
Lendo listas de pacotes... Pronto
W: Can't drop privileges for downloading as file '/var/lib/
W: http://
W: http://