19.04 upgrade problems

Colin Watson cjwatson at ubuntu.com
Thu Apr 25 21:36:52 UTC 2019


On Thu, Apr 25, 2019 at 04:30:39PM +0100, Richard Kimber wrote:
> On Thu, 25 Apr 2019 16:11:09 +0100
> Colin Watson <cjwatson at ubuntu.com> wrote:
> > Rebooting is fine.  You certainly do not need to reinstall.  You can
> > probably recover by repeating the upgrade of just
> > linux-image-5.0.0-13-generic (i.e. "apt install
> > linux-image-5.0.0-13-generic"), and then continuing with anything else
> > that wasn't upgraded ("apt full-upgrade"); if that fails then post the
> > full transcript.
> 
> Thanks, doing "apt install linux-image-5.0.0-13-generic" gives:
> 
> linux-image-5.0.0-13-generic is already the newest version
> (5.0.0-13.14).
> linux-image-5.0.0-13-generic set to manually installed.

OK, you should now do "sudo apt-mark auto linux-image-5.0.0-13-generic"
to avoid it being permanently marked as manually installed (which would
mean it will never get autoremoved even after newer kernels are
installed).

> while the upgrade program said that it may not be in a working state

Since it was a trigger-related problem, it may actually have been
resolved as part of the "sudo dpkg --configure -a" that you did.  I
would suggest repeating "sudo dpkg --configure -a", "sudo apt -f
install", and "sudo apt full-upgrade", resolving any errors you
encounter along the way, until you reach a steady state where none of
them do anything.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the ubuntu-users mailing list