Ubuntu 16.04LTS -> 18.04LTS upgrade failure
Yes it was a long in the tooth install. But it finally got a release upgrade. Since then I haven't been able to get apt to install anything much looking for dosemu but has no targets, and update spews errors about InRelease not containing bionic.
W: Skipping acquire of configured file 'bionic/cnf/Commands-amd64' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component '
#------------------------------------------------------------------------------#
# OFFICIAL UBUNTU REPOS #
#------------------------------------------------------------------------------#
###### Ubuntu Main Repos
deb http://au.archive.ubuntu.com/ubuntu/ focal bionic main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ focal bionic main restricted universe
###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu focal bionic partner
deb-src http://archive.canonical.com/ubuntu focal bionic partner
deb http://archive.ubuntu.com/ubuntu focal bionic main # auto generated by ubuntu-release-upgrader
deb http://in.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe
deb-src http://in.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe
deb http://in.archive.ubuntu.com/ubuntu/ focal-security main restricted universe
deb-src http://in.archive.ubuntu.com/ubuntu/ focal-security main restricted universe
deb http://in.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe
deb-src http://in.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe
The google-fu gives all sorts of strange answers, but nothing I can find fixes this issue.
Regards, A
You have to manually edit
/etc/apt/sources.list
and possibly some files under/etc/apt/sources.list.d/
to not contain wordsfocal
orfocal-*
, but contain respectivebionic
andbionic-*
, instead. (Only one of them per line.)