[Bug 1512780] Re: apt-cacher-ng can't be installed on xenial
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 because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1512780 Title: wrong file permissions on /var/log/apt-cacher-ng abort package installation To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1512780/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1512780] Re: apt-cacher-ng can't be installed on xenial
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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1512780/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1512780] Re: 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 apt-cacher-ng. ) But is resolved the issues of apt-cacher-ng by running: sudo aa-complain usr.sbin.apt-cacher-ng -- 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 notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1512780/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1512780] Re: apt-cacher-ng can't be installed on xenial
** 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 notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1512780/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1512780] Re: apt-cacher-ng can't be installed on xenial
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 Title: apt-cacher-ng can't be installed on xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1512780/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1512780] Re: apt-cacher-ng can't be installed on xenial
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 weird about that user. Very strange, but I guess if nobody else reports it, it's just gremlins doing their dirty work on my machine. -- 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 notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1512780/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1512780] Re: apt-cacher-ng can't be installed on xenial
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 for x in "$CDIR" $LDIR ; do if [ ! -d "$x" ]; then install -d -g $NAME -o $NAME -m2755 "$x" fi done -- 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 notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1512780/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1512780] Re: apt-cacher-ng can't be installed on xenial
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 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 notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1512780/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs