Alright. So I'm not exactly new at this, but I haven't tried installing Wine before. It looks like everything with the amd64 architecture installs alright, but wine-stable-i386 will not work because none of the dependencies will install. I THINK this is due to the version numbers of the available i386 libraries not being in sync with the amd64 libraries that are currently installed. For example libasound2 on amd64 has a version number 1.1.3-5ubuntu0.2 but the most recent i386 version is just 1.1.3-5. When I manually downgrade the amd64 package the i386 version installs and that dependency issue goes away.
My question is, is there any way around this without manually chasing down every dependency and making the versions sync up? Because if that's what I have to do I'm just not going to install Wine.
Major dependency issues with Ubuntu 18.04
-
- Newbie
- Posts: 4
- Joined: Thu Apr 02, 2020 12:02 pm
Re: Major dependency issues with Ubuntu 18.04
The official version of libasound2 on Ubuntu 18.04 is 1.1.3-5 or in bionic-updates: 1.1.3-5ubuntu0.4
Make sure you only use the official Ubuntu repository and disable any third-party PPA.
If you need more help, please post the output of:
Make sure you only use the official Ubuntu repository and disable any third-party PPA.
If you need more help, please post the output of:
Code: Select all
grep -R ^deb /etc/apt/sources.list*
-
- Newbie
- Posts: 4
- Joined: Thu Apr 02, 2020 12:02 pm
Re: Major dependency issues with Ubuntu 18.04
So I now have 1.1.3-5 installed for libasound. My question is more whether or not I will have to manually correct every dependency issue. Because there appear to be at least 70 or so and I am just not willing to go through the rigamarole of fixing every one manually.
running your grep gets me:
running your grep gets me:
Code: Select all
root@XXXX:~$ grep -R ^deb /etc/apt/sources.list*
/etc/apt/sources.list:deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
/etc/apt/sources.list:deb http://archive.canonical.com/ubuntu bionic partner
/etc/apt/sources.list:deb-src http://archive.canonical.com/ubuntu bionic partner
/etc/apt/sources.list:deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
/etc/apt/sources.list:deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./
/etc/apt/sources.list.d/amdgpu-pro-local.list.save:deb [trusted=yes] file:/var/opt/amdgpu-pro-local/ ./
/etc/apt/sources.list.d/vscode.list:deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main
/etc/apt/sources.list.d/mono-official-stable.list:deb https://download.mono-project.com/repo/ubuntu stable-bionic main
/etc/apt/sources.list.d/amdgpu-pro-local.list:deb [trusted=yes] file:/var/opt/amdgpu-pro-local/ ./
/etc/apt/sources.list.d/vscode.list.save:deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main
/etc/apt/sources.list.d/mono-official-stable.list.save:deb https://download.mono-project.com/repo/ubuntu stable-bionic main
/etc/apt/sources.list.save:deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
/etc/apt/sources.list.save:deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
/etc/apt/sources.list.save:deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
/etc/apt/sources.list.save:deb http://archive.canonical.com/ubuntu bionic partner
/etc/apt/sources.list.save:deb-src http://archive.canonical.com/ubuntu bionic partner
/etc/apt/sources.list.save:deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
/etc/apt/sources.list.save:deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./
Re: Major dependency issues with Ubuntu 18.04
Strange, the output looks good.
From which repository is version 1.1.3-5ubuntu0.2?
From which repository is version 1.1.3-5ubuntu0.2?
Code: Select all
apt policy libasound2 libasound2:i386
-
- Newbie
- Posts: 4
- Joined: Thu Apr 02, 2020 12:02 pm
Re: Major dependency issues with Ubuntu 18.04
So, this has been resolved. Apparently my issue was that somehow the bionic-update repo was removed from my source list. As a result Wine, when attempting to install dependencies was unable to match i386 and amd64 version numbers and simply failed to attempt to resolve it. Adding bionic-updates solved the problem and Wine now runs just fine.
/etc/apt/source.list now has these two extra lines:
Still not sure how they got commented out in source.list, but putting them back corrected the issue.
/etc/apt/source.list now has these two extra lines:
Code: Select all
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
/etc/apt/sources.list:deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted