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

Colin Law clanlaw at gmail.com
Wed May 18 14:28:39 UTC 2016


On 18 May 2016 at 15:04, Chris Green <cl at isbd.net> wrote:
> On Wed, May 18, 2016 at 02:52:41PM +0200, Nils Kassube wrote:
>> 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.
>>
> Synaptic is my preferred GUI.
>
> However on mine when I select Origin there are several Local sources,
> in particular Local/main (gb.archive.ubuntu.com) seems to have most of
> my installation in it.  In fact I can't make much sense of that column
> when 'Origin' is selected.

What does apt-cache policy show for one of those packages?

Colin




More information about the ubuntu-users mailing list