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
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to