Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: David on 2019/02/27, 00:30:17

Title: Package "menu" causes errors in apt full-upgrade
Post by: David on 2019/02/27, 00:30:17
During an apt full-upgrade today, I noticed I got an error from the package "menu"


I am unable to reproduce the error, but it caused the "needrestart" flag not to be set. My system still boots and the GUI works, audio works, etc.




Be warned: there may be an active issue with the package "menu"
Title: Re: Package "menu" causes errors in apt full-upgrade
Post by: axt on 2019/02/27, 01:49:15
You don't drive updates very often? That happens. In this case (menu is needed e.g. by kernel-remover) last night.

Just because this flag hasn't been set, nothing happens. After all, you have rebooted.
Title: Re: Package "menu" causes errors in apt full-upgrade
Post by: sunrat on 2019/03/01, 04:08:33
I got a message like that today:
Code: [Select]
Errors were encountered while processing:
 menu
E: Sub-process /usr/bin/dpkg returned an error code (1)
Just re-ran full-upgrade command and it didn't reappear.  No problem.
Title: Re: Package "menu" causes errors in apt full-upgrade
Post by: titan on 2019/03/01, 09:31:33
The error message, I upgrade every day not seen it before
Code: [Select]
Processing triggers for systemd (241-1) ...
dpkg: cycle found while processing triggers:
 chain of packages whose triggers are or may be responsible:
  man-db -> siduction-dynamic-dms
 packages' pending triggers which are or may be unresolvable:
  menu: /usr/share/menu
  install-info: /usr/share/info
  siduction-dynamic-dms: /etc
  man-db: /usr/share/man
  libc-bin: ldconfig
  hicolor-icon-theme: /usr/share/icons/hicolor
  mime-support: /usr/lib/mime/packages: /usr/share/applications
  desktop-file-utils: /usr/share/applications
dpkg: error processing package menu (--configure):
 triggers looping, abandoned
Title: Re: Package "menu" causes errors in apt full-upgrade
Post by: tommy2 on 2019/03/01, 10:01:24
I got the same message, however after running autoclean, autoremove and another full-upgrade it went away. Not sure what the problem was as I could not reproduce it and quit worrying about it until it comes up again.  :)
Title: Re: Package "menu" causes errors in apt full-upgrade
Post by: piper on 2019/03/01, 14:06:37
I have never seen this (yet)

siduction is not the only place seeing this, ubuntu, redhat, arch, lets say everyone

You could try and reconfigure the package database

Code: [Select]
dpkg --configure -a
If the "error" doesn't stop, then we can fix it for good (well, till the next time it's updated at least, but then, that might fix it for good ;) ).

Code: [Select]
apt purge menu; apt autoremove; apt clean; apt update; apt install kernel-remover menu
You may have a few more packages besides kernel-remover, menu, again, depends on what you have installed.

Do not use apt purge menu.  with the period, as this will remove 150 or less/more packages depending what you have installed.
Title: Re: Package "menu" causes errors in apt full-upgrade
Post by: tommy2 on 2019/03/01, 16:01:45
It looks like it might have something to do with locales as a lot of things are pointing to mandb and infodb for language's. Being I use localespurge my system seems to clean itself up after an autoclean and autoremove without having to purge anything. More I cannot say at the moment, have to see if it repeats during my next du.  :)