[Bug 2004203] Re: With needrestart, apt-get does not respect non-interactive instruction when upgrading services

2024-06-28 Thread Franz Seidl
I'm sorry, I had to migrate my server to a new provider. Now I have Ubuntu 24.04, seems like it's working there. On my old server I didn't get a mail with needrestart and automatic upgrade - but when I migrated to the new server I saw needrestart config was resetted on the old server?! Perhaps

[Bug 2004203] Re: With needrestart, apt-get does not respect non-interactive instruction when upgrading services

2024-06-13 Thread Juerg Haefliger
debdiff attached. Built package: https://launchpad.net/~juergh/+archive/ubuntu/needrestart -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2004203 Title: With needrestart, apt-get does not respect

[Bug 2004203] Re: With needrestart, apt-get does not respect non-interactive instruction when upgrading services

2024-06-13 Thread Juerg Haefliger
** Patch added: "needrestart_3.5-5ubuntu2.2.debdiff" https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2004203/+attachment/5789276/+files/needrestart_3.5-5ubuntu2.2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 2004203] Re: With needrestart, apt-get does not respect non-interactive instruction when upgrading services

2024-06-12 Thread Franz Seidl
Thank you for your hint! Looks like it worked with needrestart for `sudo systemd-run apt-get reinstall -y libc6`. First I thought it didn't work, because `needrestart -r l` listed: --- root@vps:~# needrestart -r l Scanning processes...

RE: [Bug 2004203] Re: With needrestart, apt-get does not respect non-interactive instruction when upgrading services

2024-06-12 Thread Simon Chopin
You should be able to simulate a similar environment by running the apt command in systemd-run, e.g. `sudo systemd-run apt-get reinstall -y libc6`. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 2004203] Re: With needrestart, apt-get does not respect non-interactive instruction when upgrading services

2024-06-12 Thread Franz Seidl
Yes, but then it's no auto update, is it? When I do a `apt upgrade` on shell needrestart works correctly - like before. And reinstall of libc6 ... I'm a bit afraid ... it's my personal productive VPS, I don't have a test machine. ;) -- You received this bug notification because you are a member

[Bug 2004203] Re: With needrestart, apt-get does not respect non-interactive instruction when upgrading services

2024-06-12 Thread Simon Chopin
My goto test case is `apt-get reinstall libc6`, that should trigger needrestart on pretty much anything that moves. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2004203 Title: With needrestart,

[Bug 2004203] Re: With needrestart, apt-get does not respect non-interactive instruction when upgrading services

2024-06-12 Thread Franz Seidl
Thank you, I've installed it and I will report if it helped me. :) But ... I need new packages for auto update first ;) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2004203 Title: With

[Bug 2004203] Re: With needrestart, apt-get does not respect non-interactive instruction when upgrading services

2024-06-12 Thread Juerg Haefliger
@franz-s Sorry, just saw this. We typically don't backport new versions but cherry-pick fixes. Can you give the package from this PPA [1] a try and let me know if it fixes the issue? [1] https://launchpad.net/~juergh/+archive/ubuntu/needrestart ** Also affects: needrestart (Ubuntu Jammy)

[Bug 2004203] Re: With needrestart, apt-get does not respect non-interactive instruction when upgrading services

2024-03-09 Thread Franz Seidl
Will this fixed version also be released for Ubuntu 22.04.4 LTS? I currently have only 3.5-5ubuntu2.1 as installed and candidate. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2004203 Title: With

[Bug 2004203] Re: With needrestart, apt-get does not respect non-interactive instruction when upgrading services

2024-03-08 Thread Launchpad Bug Tracker
This bug was fixed in the package needrestart - 3.6-7ubuntu3 --- needrestart (3.6-7ubuntu3) noble; urgency=medium * debian/tests: - prompt-reboot: mark the tests as needing a VM since needrestart doesn't do kernel detection when within a container - *.py: migrate off