Update: "lsb_release -a" outputs:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
"apt-cache policy base-files" outputs:
base-files:
Installed: 10.1ubuntu2.8
Candidate: 10.1ubuntu2.8
Version table:
*** 10.1ubuntu2.8 500
500 http://th.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
100 /var/lib/dpkg/status
10.1ubuntu2.2 500
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
10.1ubuntu2 500
500 http://th.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
Update 2: grep -r ^deb /etc/apt/ --include="*.list" output:
https://pastebin.com/gvha9kZT
Update 3: apt-cache policy software-properties-common output:
https://pastebin.com/gEEjDP5Y
which add-apt-repository output:
/usr/bin/add-apt-repository
I'm currently running Ubuntu 18.04.4 LTS, and as the title suggests I'm trying to install Wine version 5.0. Because my computer would not automatically update Wine from version 4.0, I began following instructions as laid out here: can't install wine on ubuntu (actually lubuntu) 18.04
To begin, I made sure to remove all Wine-related stuff with:
sudo apt-get remove --autoremove wine-*
I then followed N0rbert's instructions:
sudo dpkg --add-architecture i386
sudo apt update
He then notes that one should remove the WineHQ repository to avoid a mess with this command:
sudo apt-add-repository -r 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
I'm already confident that I removed everything Wine related, so this command should only give me a response saying something along the lines that the repository couldn't be found or doesn't exist. However, I instead get this:
LSB codename: 'bionic'.
This codename isn't currently supported.
Please check your LSB information with "lsb_release -a".
This was weird and indicative of errors to come, but I proceed with the confidence that that repository doesn't exist and that I don't really need to worry too much about that step.
The problem really shows itself when I try to add a repository, in this case to install the "libfaudio0" package which is apparently missing and necessary to install Wine 5.0 on Ubuntu 18.04 (as it's only readily available for 19.10 and up, making the installation process a little different on older versions). I follow these directions, up to adding the repository:
wget -nv https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./'
sudo apt-get update
When I attempt to add the repository, I again get the message from earlier stating "This codename isn't currently supported." So far I have not found a solution for this.
I tried to fix it by copying the solution posted here: fingerprint-gui in 18.04 . Essentially, he claims that with Cinnamon (which I think I downloaded), one also inadvertently installs MintSources, which is for Linux Mint and causes problems when running commands that depend on "software-properties-common," "software-properties-gtk," and "python3-software-properties." However this did not resolve my problem either, as I am still getting the message about the codename.
How do I go about fixing this? I have not found much at all online referring to this codename message. If you need more information from my system, just tell me what I need to put in the terminal so I may relay that information back to you.
lsb_release -a
andapt-cache policy base-files
to the question. – N0rbert Apr 07 '20 at 08:22grep -r ^deb /etc/apt/ --include="*.list" and
dpkg -l | grep wine`` to the question body. If output is long - use PasteBin.com. – N0rbert Apr 07 '20 at 16:20grep -r ^deb /etc/apt/ --include="*.list"
but couldn't get `dpkg -l | grep wine``` to do anything. Here is the pastebin for the former, which I've added to the post: https://pastebin.com/gvha9kZT – Plopperizer Apr 07 '20 at 19:12apt-cache policy software-properties-common
withwhich add-apt-repository
to the question. – N0rbert Apr 08 '20 at 10:24which add-apt-repository
was /usr/bin/add-apt-repository , but I'll add that as well – Plopperizer Apr 08 '20 at 18:24sudo apt-get dist-upgrade
? – N0rbert Apr 08 '20 at 18:25sudo apt-get dist-upgrade
. I will restart my computer and see if there is any difference when adding repositories – Plopperizer Apr 08 '20 at 18:32