There's reports of this in focal, too, now. See dupes of this ticket.
It's still not clear how this comes about.
** Summary changed:
- apt-cacher-ng can't be installed on xenial
+ wrong file permissions on /var/log/apt-cacher-ng abort package installation
--
You received this bug notification
Unbelievably this is still an issue over two years later.
Works find in Bionic and Cosmic.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1512780
Title:
apt-cacher-ng can't be installed on xenial
I had this issue too upon installing, starting and restarting apt-cacher-ng.
I found that i had a apparmor profile for apt-cacher-ng that was in enforce
mode this was causing the installing, starting and restarting issues of
apt-cacher-ng.
(I'm not sure if the apparmor profile is provided by
** Changed in: apt-cacher-ng (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1512780
Title:
apt-cacher-ng can't be installed on xenial
To manage
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: apt-cacher-ng (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1512780
I have no idea.
What's the UID of that user? Maybe something messed up with your passwd file?
The permission change is forcibly applied, I don't see why it could break, and
even if, that would be root:root, not some weirduser:weirdgroup.
# be sure about that even if the user messed it up
On Nov 03, 2015, at 05:41 PM, Eduard Bloch wrote:
>I have no idea.
Yeah, I was sitting next to pitti and he was also perplexed! (He also wasn't
able to reproduce it.)
>What's the UID of that user? Maybe something messed up with your passwd
file?
Nope, passwd looks okay. I can't see anything
Fixing the user and group ownership fixes the problem:
% ls -ld /var/log/apt-cacher-ng/
drwxr-sr-x 2 apt-cacher-ng apt-cacher-ng 4096 Nov 3 10:40
/var/log/apt-cacher-ng//
So why did it use usermetrics:systemd-journal ??
apt-cacher-ng has never been installed on this box before.
--
You