Segfault for unattended_upgrades

My YunoHost server

Hardware: PC on amd64
YunoHost version: stable 4.0.8
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

In my message.log file I found this error:

unattended-upgr[1473]: segfault at 7f5d691dd01c ip 00007f5d6b855a9d sp 00007ffdb27c1270 error 4 in libapt-pkg.so.5.0.2[7f5d6b771000+13c000]

And the service seems not working.

Hi @Inoferin

Do you have upgrades awaiting in the webadmin ?

The libapt-pkg.so.5 file seen as a segfault is from the package libapt-pkg5.0 you can try to reinstall it by doing apt install --reinstall libapt-pkg5.0 but I doubt that will fix the problem

Can you tell us if apt -uVf dist-upgrade has some upgrades to do ? Does it says it has previously failed an install ?

No, I have not anything to upgrade:

root@cybervalley:~# apt -uVf dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

And for the package libapt-pkg5.0 my apt says:

root@cybervalley:~# apt policy  libapt-pkg5.0
libapt-pkg5.0:
Installed: 1.8.2.1
Candidate: 1.8.2.1
Version table:
*** 1.8.2.1 500
    500 https://deb.debian.org/debian buster/main amd64 Packages
    500 https://deb.debian.org/debian-security buster/updates/main amd64 Packages
    100 /var/lib/dpkg/status

Can you try :

unattented-upgrade --debug --apt-debug --verbose

And post the result to a pastebin ?

run by root now:

https://paste.yunohost.org/atelijigey.coffeescript

It’s short (and fine?) so I think I could post also here:

root@cybervalley:~# unattended-upgrade --debug --apt-debug --verbose
Initial blacklisted packages: 
Initial whitelisted packages: 
Starting unattended upgrades script
Allowed origins are: ['o=Debian,a=stable', 'o=Debian,a=stable-updates', 'origin=Debian,codename=buster,label=Debian-Security', 'o=YunoHost,a=stable']
pkgs that look like they should be upgraded: 
Fetched 0 B in 0s (0 B/s)                                                      
fetch.run() result: 0
blacklist: []
whitelist: []
No packages found that can be upgraded unattended and no pending auto-removals

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.