[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
** Description changed: Recently we got new versions for synaptic 0.82+build1 & apt 1.1.3, but now get that error when installing/upgrading some packages: Setting up libc6-dbg:amd64 (2.21-0ubuntu5) ... Processing triggers for libc-bin (2.21-0ubuntu5) ... W: Can't drop privileges for downloading as file '/root/.synaptic/tmp//tmp_cl' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) From nautilus, i'm seeing a /root/ folder locked (x on its icon) and the folder is empty (no /.synaptic/ sub-folder or file), so the above error. + + === + The real problem is : there is _apt user on the system (see #808802 MV comments) + + 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 + == + ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: synaptic 0.82+build1 ProcVersionSignature: Ubuntu 4.3.0-1.10-generic 4.3.0 Uname: Linux 4.3.0-1-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.19.2-0ubuntu8 Architecture: amd64 CurrentDesktop: GNOME Date: Fri Dec 4 05:23:25 2015 SourcePackage: synaptic UpgradeStatus: No upgrade log present (probably fresh install) ** Description changed: Recently we got new versions for synaptic 0.82+build1 & apt 1.1.3, but now get that error when installing/upgrading some packages: Setting up libc6-dbg:amd64 (2.21-0ubuntu5) ... Processing triggers for libc-bin (2.21-0ubuntu5) ... W: Can't drop privileges for downloading as file '/root/.synaptic/tmp//tmp_cl' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) From nautilus, i'm seeing a /root/ folder locked (x on its icon) and the folder is empty (no /.synaptic/ sub-folder or file), so the above error. === - The real problem is : there is _apt user on the system (see #808802 MV comments) + The real problem is : there is no _apt user on the system (see #808802 MV comments) 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 + # 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 + # 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 == - ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: synaptic 0.82+build1 ProcVersionSignature: Ubuntu 4.3.0-1.10-generic 4.3.0 Uname: Linux 4.3.0-1-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.19.2-0ubuntu8 Architecture: amd64 CurrentDesktop: GNOME Date: Fri Dec 4 05:23:25 2015 SourcePackage: synaptic UpgradeStatus: No upgrade log present (probably fresh install) ** Summary changed: - /root/.synaptic/ not created due to locking status + Can't drop privileges for downloading : _apt user not created ** No longer affects: synaptic (Ubuntu) ** Also affects: dpkg (Ubuntu) Importance: Undecided Status: New ** No longer affects: apt (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: Can't drop privileges for downloading : _apt user not created To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
ended up using 15.10. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
Yet, anyone find out any workaround for this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
Cleaning up Firefox bookmarks, I encountered this report again. Apparently, apt developers don't want to see this as a bug, so don't wait for a fix! To get rid of that annoying message, you should have an `_apt` user (which probably you have) and change the owner of the folder in question from `root:root` to `_apt:root`. I'm on Debian and the above trick worked here months ago. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
Is there a fix for this yet? It's still happening on Ubuntu 16.04 with all updates as of 07/24/2016. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
It's not just synaptic. Happens with aptitude as well. I suspect it's a new requirement for a user named '_apt' which doesn't exist (because it wasn't added). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
In case useful, I have just done a fresh install of Xenial, followed by 'sudo apt-get install synaptic'. The following error arose when trying to install blubuntu-theme and blubuntu-wallpapers W: Can't drop privileges for downloading as file '/root/.synaptic/tmp//tmp_sh' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied). After completely removing via synaptic, it installed fine with apt-get. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
This also happen on Yakkety with synaptic, but only once after opening a session (gnome-shell 64 bits); After that first 'upgrade' that ends with this warning, the next upgrades, inside the opened session, do not warns. This has no sad effects on upgrading, so it could be silenced. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
** Tags added: yakkety -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
** Tags removed: regression ** Tags added: regression-update -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
Is the system missing a user called _apt ? Was it forgotten to create one? Is this warning serious or can/should it be silenced? Who corrupted my system? Can we still trust the system or should we just install another distro, which doesn't suffer such? Looks in any case quite messy AND it's an upgrade-regression. ** Tags added: upgrade-regression ** Tags removed: upgrade-regression ** Tags added: regression -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
Have this problem too, since I updated from 15.10 to 16.04. Synaptic is not running, but the lock -file is still there: randolf@ART-LT16:~$ ps aux | grep synaptic randolf 14314 0.0 0.0 15796 1024 pts/4S+ 10:47 0:00 grep --color=auto synaptic randolf@ART-LT16:~$ ll /var/cache/apt/archives/lock -rw-r- 1 root root 0 Okt 21 2015 /var/cache/apt/archives/lock Hope this helps, randolf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
After exiting from Synaptic, is it expected for the file /var/cache/apt/archives/lock to be still there? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
It's correct that it's a warning, but it is presented as an error. I get a pop-up window that says "An error occurred". I guess this is potentially a different bug as I see the same thing with a warning about a weak digest algorithm similarly being presented as an error. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
The update-notifier-common message is unrelated to this bug and is only a warning (notice the W:) and the flash plugin is still installed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
I just now found a very similar message from the update-notifier cronjob: /etc/cron.daily/update-notifier-common: Get:1 http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20160407.1.orig.tar.gz [27.0 MB] Fetched 27.0 MB in 1min 11s (378 kB/s) W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/adobe-flashplugin_20160407.1.orig.tar.gz' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20160407.1.orig.tar.gz Installing from local file /var/lib/update-notifier/package-data-downloads/partial/adobe-flashplugin_20160407.1.orig.tar.gz Flash Plugin installed. So, apparently not unique to Synaptic? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
** Changed in: synaptic (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
I had this message a few times within the past few days of upgrading to Ubuntu 16.04, fresh, from Ubuntu 12.04. I had this message about a half hour ago while installing apport. - Blossom ** Changed in: synaptic (Ubuntu) Status: Triaged => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522675] Re: /root/.synaptic/ not created due to locking status
** Summary changed: - /root/.synaptic/ not created + /root/.synaptic/ not created due to locking status -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522675 Title: /root/.synaptic/ not created due to locking status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1522675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs