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[7f5d6b771000+13c000]

And the service seems not working.

Hi @Inoferin

Do you have upgrades awaiting in the webadmin ?

The 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
Version table:
*** 500
    500 buster/main amd64 Packages
    500 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:

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)                                              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.