problems upgrading from 14.04 to 16.04

Tom H tomh0665 at gmail.com
Fri Sep 30 18:41:01 UTC 2016


On Fri, Sep 30, 2016, J.L. Blom <joep at neuroweave.nl> wrote:
> On 29/09/16, Tom H wrote:
>> On Thu, Sep 29, 2016, Tom H <tomh0665 at gmail.com> wrote:
>>> On Thu, Sep 29, 2016, Tom H <tomh0665 at gmail.com> wrote:


>>>> I was hoping that there'd be a different way but you're going to have to
>>>> do what I would've done a while back if this were my system: dpkg -P
>>>> --force-all gcc-5-base followed by updating your system to pull it back in
>>>> and finishing your upgrade.
>>>
>>> But please back up first just in case something goes wrong.
>>
>> I've just read a reply by Olli and what he seemed to be suggesting's a
>> better idea. Download the 16.04 gcc-5-base .deb and run dpkg -i --force-all
>> gcc-5-base-<...>.deb
>
> Thanks for your replies.

You're welcome.


> Actually, Tom, your last suggestion "dpkg -P --force-all gcc-5-base"
> did the trick. Not in the first try but then it was suggested to try
> "dpkg -f " and that suddenly removed many - apparently old - packages
> and installed new ones.

I assume that you mean "apt-get -f install" not "dpkg -f".

I would've run "apt-get dist-upgrade" first (that's what I meant by
"updating"; sorry) and then run "apt-get -f install" in case it was
needed. You might have found that you needed the latter first but that
was what my bad wording implied.




More information about the ubuntu-users mailing list