Hi everyone,
i just upgraded from UM 16.04 to UM18.04.
I noticed that the list of my software sources looks quite different
and mostly deactivated since the upgrade.
Has anyone else similar experience?
Thanks for any help.
Hi everyone,
i just upgraded from UM 16.04 to UM18.04.
I noticed that the list of my software sources looks quite different
and mostly deactivated since the upgrade.
Has anyone else similar experience?
Thanks for any help.
When you upgrade to a new version of Ubuntu, all your third-party repositories (PPAs and such) are disabled during the process to avoid conflicts and various issues.
After it’s done, it’s your responsability to check each repo to see if they’re available for the new version, update the addresses and reactivate them if needed. Note that in some cases, you can still use old repos on the new version (if the dependancies of the related packages haven’t changed, it won’t cause issues). In other cases, they’ll be useless because newer versions of the packages are in the repos. Or you won’t be able to use them anymore because the versions of the packages they provide have dependancies that can’t be resolved in the new repos.
Let’s take two examples in your list:
PPA for Ubuntu MATE Welcome (http://launchpad.net/ubuntu-mate-dev/welcome/ubuntu): you can safely remove it as Welcome has changed from using a PPA to a snap package. You’ll have to install the snaps (check the end of the blog post for the commands to add three snaps).
PPA for Linrunner (http://ppa.launchpad.net/linrunner/tlp/ubuntu). if you go to the PPA page (https://launchpad.net/~linrunner/+archive/ubuntu/tlp), you’ll see in the “Published in” drop down menu that there’s a Bionic (18.04) version. The PPA has been updated. You can edit the address and replace “artful” with “bionic” if it’s not done already. The same goes for the source version. When it’s done, you can re-enable this PPA.
Once you’ve done this for all your repos, you can reload the sources and start the updates to update the new packages. Either through the Software Updater or in command line with:
sudo apt-get update && sudo apt-get dist-upgrade
Tell me if you’re unsure for some of them and we’ll look more closely into it.
Hi Terzag,
thanks for your quick help.
The Linrunner seems to be updated by itself.
I reinstalled telegram, so this is op to date, too.
Welcome-PPA are deleted, after I installed the snaps.
I am not sure what to do with the Ubuntu 16.04 PPA and the many source code PPAs.
Thanks
Ok, we’ll look at the sources lists directly, it will be more convenient. Give me the outputs of the following commands (put them between code tags, the < / > button in the message toolbar):
ls /etc/apt/sources.list.d
cat /etc/apt/sources.list.d/*.list
Hi, hers are the outputs of your suggested commands:
ls /etc/apt/sources.list.d
flexiondotorg-ubuntu-telegram-bionic.list
flexiondotorg-ubuntu-telegram-bionic.list.save
flexiondotorg-ubuntu-telegram-xenial.list
flexiondotorg-ubuntu-telegram-xenial.list.distUpgrade
flexiondotorg-ubuntu-telegram-xenial.list.save
linrunner-ubuntu-tlp-xenial.list
linrunner-ubuntu-tlp-xenial.list.distUpgrade
linrunner-ubuntu-tlp-xenial.list.save
ubuntu-mate-dev-ubuntu-welcome-xenial.list
ubuntu-mate-dev-ubuntu-welcome-xenial.list.distUpgrade
ubuntu-mate-dev-ubuntu-welcome-xenial.list.save
cat /etc/apt/sources.list.d/*.list
deb http://ppa.launchpad.net/flexiondotorg/telegram/ubuntu bionic main
deb-src http://ppa.launchpad.net/flexiondotorg/telegram/ubuntu bionic main
deb Index of /linrunner/tlp/ubuntu bionic main # Bei Aktualisierung zu bionic deaktiviertdeb-src Index of /linrunner/tlp/ubuntu xenial main
Ok, first, you can remove the .save and .distUpgrade files:
cd /etc/apt/sources.list.d
sudo rm *.save *.distUpgrade
sudo rm /etc/apt/sources.list.distUpgrade
You seem to have a Xenial repo for Telegram but no output with the second command so it’s probably empty. Remove it:
sudo rm /etc/apt/sources.list.d/flexiondotorg-ubuntu-telegram-xenial.list
You can also remove the Welcome PPA as it’s not used anymore (replaced by a snap package):
sudo rm /etc/apt/sources.list.d/ubuntu-mate-dev-ubuntu-welcome-xenial.list
When it’s done, first open the Telegram list:
sudo pluma /etc/apt/sources.list.d/flexiondotorg-ubuntu-telegram-bionic.list
It should contain the following. If it’s empty, just add the content and save:
deb http://ppa.launchpad.net/flexiondotorg/telegram/ubuntu bionic main
# deb-src http://ppa.launchpad.net/flexiondotorg/telegram/ubuntu bionic main
(This is just in case that I made you delete the wrong file but it’s unlikely.)
Then edit the Linrunner file: while it works, the (disabled) deb-src line hasn’t been updated to Bionic. So in case you enable it in the future, it will be fine. Open the file:
sudo pluma /etc/apt/sources.list.d/linrunner-ubuntu-tlp-xenial.list
and replace its content by this and save:
deb http://ppa.launchpad.net/linrunner/tlp/ubuntu bionic main
# deb-src http://ppa.launchpad.net/linrunner/tlp/ubuntu bionic main
BTW, you can rename the file so you know it’s been updated but it has no real importance:
sudo mv /etc/apt/sources.list.d/linrunner-ubuntu-tlp-xenial.list /etc/apt/sources.list.d/linrunner-ubuntu-tlp-bionic.list
After this, you’ll be fine, reload the sources and upgrade to check if everything is ok:
sudo apt-get update && sudo apt-get dist-upgrade
Hi, thanks a lot for your help.
I have done everything step by step, without any error message.
The upgrade was also ok.
Since my list of PPAs looks quite the same, I assume I can remove the unnecessary
PPAs.
Don’t. I thought the remainging had specific .list files but they’re probably in the main sources.list. So give me its content. Open it with pluma /etc/apt/sources.list and paste the whole content (in code tags again).
Hers is the output:
<# See UpgradeNotes - Community Help Wiki for how to upgrade to>
<# newer versions of the distribution.>
<deb Index of /ubuntu bionic main restricted>
<# deb-src Index of /ubuntu xenial main restricted>
<## Major bug fix updates produced after the final release of the>
<## distribution.>
<deb Index of /ubuntu bionic-updates main restricted>
<# deb-src Index of /ubuntu xenial-updates main restricted>
<## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu>
<## team. Also, please note that software in universe WILL NOT receive any>
<## review or updates from the Ubuntu security team.>
<deb Index of /ubuntu bionic universe>
<# deb-src Index of /ubuntu xenial universe>
<deb Index of /ubuntu bionic-updates universe>
<# deb-src Index of /ubuntu xenial-updates universe>
<## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu >
<## team, and may not be under a free licence. Please satisfy yourself as to >
<## your rights to use the software. Also, please note that software in >
<## multiverse WILL NOT receive any review or updates from the Ubuntu>
<## security team.>
<deb Index of /ubuntu bionic multiverse>
<# deb-src Index of /ubuntu xenial multiverse>
<deb Index of /ubuntu bionic-updates multiverse>
<# deb-src Index of /ubuntu xenial-updates multiverse>
<## N.B. software from this repository may not have been tested as>
<## extensively as that contained in the main release, although it includes>
<## newer versions of some applications which may provide useful features.>
<## Also, please note that software in backports WILL NOT receive any review>
<## or updates from the Ubuntu security team.>
<# deb-src Index of /ubuntu xenial-backports main restricted universe multiverse>
<## Uncomment the following two lines to add software from Canonical's>
<## 'partner' repository.>
<## This software is not part of Ubuntu, but is offered by Canonical and the>
<## respective vendors as a service to Ubuntu users.>
<deb Index of /ubuntu bionic partner>
<deb-src Index of /ubuntu bionic partner>
<deb Index of /ubuntu bionic-security main restricted>
<# deb-src Index of /ubuntu xenial-security main restricted>
<deb Index of /ubuntu bionic-security universe>
<# deb-src Index of /ubuntu xenial-security universe>
<deb Index of /ubuntu bionic-security multiverse>
<# deb-src Index of /ubuntu xenial-security multiverse>>
Oh, ok, it seems to be only the original sources, not 3rd-party repos. The disabled src repos have been kept as the old versions. I was confused by the german text in your captures (like “QuellText” and the various comments).
Anyway, open the file as root:
sudo pluma /etc/apt/sources.list
and replace all its content by the following then save:
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://de.archive.ubuntu.com/ubuntu/ bionic main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://de.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ bionic universe
deb-src http://de.archive.ubuntu.com/ubuntu/ bionic universe
deb http://de.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb-src http://de.archive.ubuntu.com/ubuntu/ bionic-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://de.archive.ubuntu.com/ubuntu/ bionic multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://de.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu bionic partner
deb-src http://archive.canonical.com/ubuntu bionic partner
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
Afterwards, reload your sources (sudo apt-get update) and check again your list. This time, it should be ok, I think.