Score:1

Re-enabling Third Party Entries in sources.list through SSH (remotely)

fr flag

Wondering how you can do this? Upgraded from version 16(.?) to 20.04.3 LTS, and I got this message, I use it for a fair bit of port-forwarding and streaming and etc, using it as a media server, and I'm just wondering how to do this?

I didn't initially set this up, but yeah I am curious as it does say

Some third-party entries in your sources.list were disabled. You can re-enable them after the upgrade with the 'software-properties' tool or your package manager.

A lot of people say to go to the Ubuntu Software Centre, but I think you can only do that on the machine itself, the other thing I tried was nano'ing into /etc/apt/sources.list but I can't see really any third party entries in there.

Anyone know how to re-enable them remotely?

Score:2
zw flag

You have to visit /etc/apt/sources.list.d directory, locate *.list files here and find lines ending with # disabled on upgrade to focal.

Be careful - some third-party repositories may not have packages for current Ubuntu versions.
For example uncommenting lines like "# deb http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu focal main # disabled on upgrade to focal" will lead to 404 error (does not have a Release file.) on next sudo apt-get update as this PPA does not have packages for 20.04 LTS (focal fossa).
So safe method is to visit http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu link by web-browser and check the existence of dists/focal folder here. If focal folder exists in dists folder then you can uncomment line safely and then run sudo apt-get update followed by sudo apt-get dist-upgrade to get upgrades with new dependencies.

CantCodeForShit avatar
fr flag
How do you know if its compatible with the current version? But thankyou so much for your reply!
N0rbert avatar
zw flag
See updated answer above.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.