[Bug 1530194] Re: setserial =>ERROR CODE 1!! after apt-get autoremove
Don Juan Santiago
jvjmvg at yahoo.com
Wed Dec 30 20:51:53 UTC 2015
I solved the issue using the following links
http://ubuntuforums.org/showthread.php?t=1597294
alt+f2... gksudo lxterminal... sudo dpkg --force-all -P setserial
http://askubuntu.com/questions/539235/how-to-remove-obsolete-packages-
after-failed-release-upgrade-via-do-release-upgr
apt-get update
apt-get autoremove
apt-get clean
UNUSCONF=$(dpkg -l|grep "^rc"|awk '{print $2}')
apt-get remove --purge $UNUSCONF
NEWKERNEL=$(uname -r|sed 's/-*[a-z]//g'|sed 's/-386//g')
ADDKERNEL="linux-(image|headers|ubuntu-modules|restricted-modules)"
METAKERNEL="linux-(image|headers|restricted-
modules)-(generic|i386|server|common|rt|xen)"
UNUSKERNELS=$(dpkg -l|awk '{print $2}'|grep -E $ADDKERNEL |grep -vE
$METAKERNEL|grep -v $NEWKERNEL)
apt-get remove --purge $UNUSKERNELS
update-grub
*** than after a reboot.. using Synaptic Package Manager.. reinstalled
setserial package
P.S. I guess Upgrading from lubuntu 15.04 with 3.19 version of vmlinuz
to 15.10 doesnt cleanup all the old upgrades...
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to setserial in Ubuntu.
https://bugs.launchpad.net/bugs/1530194
Title:
setserial =>ERROR CODE 1!! after apt-get autoremove
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/setserial/+bug/1530194/+subscriptions
More information about the Ubuntu-server-bugs
mailing list