Interrupted release upgrade, how to sort out left-over old packages?

Nils Kassube kassube at gmx.net
Wed May 18 12:52:41 UTC 2016


Chris Green wrote:
> I think I know now the cause of my 'left-over' PHP5 packages in a
> 16.04 installation.  (See previous thread)
> 
> The system in question got interrupted (the cat walked across the
> keyboard!) while doing a do-release-upgrade.  I restarted it and after
> a couple of 'apt-get update' and an 'apt-get dist-upgrade' it seemed
> to have sorted itself out and have 16.04 properly installed.
> 
> However, obviously not all the packages that should have been upgraded
> were upgraded, hence my left-over PHP5 packages.
> 
> I've sorted out the PHP5 ones now but I suspect there may be other
> left-over packages from 15.10 that haven't been updated.  Is there any
> way I can check and update them?

I don't know a cli way, only with synaptic: at the left side at the 
bottom select the section "Origin". Then look at the left top for the 
source "Local". There you find the packages which are not in any of your 
repositories.


Nils





More information about the ubuntu-users mailing list