pop-os / pop

A project for managing all Pop!_OS sources
https://system76.com/pop
2.44k stars 85 forks source link

gamemode 32 package installation causes 64bit files to be removed #1724

Open belialzxz opened 3 years ago

belialzxz commented 3 years ago

Distribution (run cat /etc/os-release): Pop!_OS 20.10

Related Application and/or Package Version (run apt policy $PACKAGE NAME): `gamemode:i386: Installed: 1.5.1-0ubuntu6 Candidate: 1.5.1-0ubuntu6 Version table: *** 1.5.1-0ubuntu6 500 500 http://us.archive.ubuntu.com/ubuntu groovy/main i386 Packages 100 /var/lib/dpkg/status

libgamemode0:i386: Installed: 1.5.1-0ubuntu6 Candidate: 1.5.1-0ubuntu6 Version table: *** 1.5.1-0ubuntu6 500 500 http://us.archive.ubuntu.com/ubuntu groovy/main i386 Packages 100 /var/lib/dpkg/status

libgamemodeauto0:i386: Installed: 1.5.1-0ubuntu6 Candidate: 1.5.1-0ubuntu6 Version table: *** 1.5.1-0ubuntu6 500 500 http://us.archive.ubuntu.com/ubuntu groovy/main i386 Packages 100 /var/lib/dpkg/status `

Installing the above will cause apt to remove the below and vice versa. The last 2 above are listed as recommended when running apt install gamemode

`gamemode: Installed: (none) Candidate: 1.5.1-5~bpo10+1 Version table: 1.5.1-5~bpo10+1 500 500 http://deb.xanmod.org releases/main amd64 Packages 1.5.1-0ubuntu6 500 500 http://us.archive.ubuntu.com/ubuntu groovy/main amd64 Packages

libgamemodeauto0: Installed: (none) Candidate: 1.5.1-5~bpo10+1 Version table: 1.5.1-5~bpo10+1 500 500 http://deb.xanmod.org releases/main amd64 Packages 1.5.1-0ubuntu6 500 500 http://us.archive.ubuntu.com/ubuntu groovy/main amd64 Packages

libgamemode0: Installed: (none) Candidate: 1.5.1-5~bpo10+1 Version table: 1.5.1-5~bpo10+1 500 500 http://deb.xanmod.org releases/main amd64 Packages 1.5.1-0ubuntu6 500 500 http://us.archive.ubuntu.com/ubuntu groovy/main amd64 Packages

`

Issue/Bug Description: When installing gamemode the i386 packages are needed for Steam and Lutris to work. During install via 'sudo apt install gamemode' it even lists libgamemode0:i386 and libgamemodeauto0:i386 as recommended packages, but if you try using the flag to install them as well an conflict error arises. If you try to manually install the i386 packages apt will remove the amd64 packages, and if you try to re-install the amd64 packages apt will remove the i386

Steps to reproduce (if you know): sudo apt install gamemode

after install completes

sudo apt install libgamemode0:i386 libgamemodeauto0:i386

Expected behavior: That when sudo apt install gamemode is run with 32bit enabled both the 64 and 32bit packages will be installed

Other Notes: I have game mode 64 and 32bit installed. This was done by pulling down gamemode code from Feral's git repo and running their installer script. This too appears to only install the 64 bit packages, but I was then able to use apt to install the 32bit packages, as apt is not aware of the 64bit ones installed via script

bflanagin commented 3 years ago

Confirmed, in version 1.5.1. Thankfully the issue is fixed in 1.6.1, unfortunately we don't distribute gamemode directly and rely on Ubuntu for that package which means that we wont have the package in our repos for 20.10 unless Ubuntu back ports the package.