I'm on Ubuntu 20.04 and I'm having a couple of issues with gnome-software. When I attempt to run it I get
Command 'gnome-software' not found, but can be installed with:
sudo apt install gnome-software
When I run sudo apt install gnome-software
I get the following output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gnome-software : Depends: gnome-software-common (= 3.36.1-0ubuntu0.20.04.0) but 3.38.1-1 is to be installed
Recommends: gnome-software-plugin-snap but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I tried using the -f
function in apt install
and sudo aptitude install gnome-software
but no avail.
This is in reply to an anonymous user who asked me:
apt-cache policy gnome-software-common
gives out
gnome-software-common:
Installed: 3.38.1-1
Candidate: 3.38.1-1
Version table:
*** 3.38.1-1 100
100 /var/lib/dpkg/status
3.36.1-0ubuntu0.20.04.0 500
500 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
500 http://it.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages
3.36.0-0ubuntu3 500
500 http://it.archive.ubuntu.com/ubuntu focal/main amd64 Packages
500 http://it.archive.ubuntu.com/ubuntu focal/main i386 Packages
and
grep -r deb /etc/apt/sources.list /etc/apt/sources.list.d
gives out
/etc/apt/sources.list:# deb cdrom:[Ubuntu 20.04.3 LTS _Focal Fossa_ - Release amd64 (20210819)]/ focal main restricted
/etc/apt/sources.list:deb http://it.archive.ubuntu.com/ubuntu/ focal main restricted
/etc/apt/sources.list:# deb-src http://it.archive.ubuntu.com/ubuntu/ focal main restricted
/etc/apt/sources.list:deb http://it.archive.ubuntu.com/ubuntu/ focal-updates main restricted
/etc/apt/sources.list:# deb-src http://it.archive.ubuntu.com/ubuntu/ focal-updates main restricted
/etc/apt/sources.list:deb http://it.archive.ubuntu.com/ubuntu/ focal universe
/etc/apt/sources.list:# deb-src http://it.archive.ubuntu.com/ubuntu/ focal universe
/etc/apt/sources.list:deb http://it.archive.ubuntu.com/ubuntu/ focal-updates universe
/etc/apt/sources.list:# deb-src http://it.archive.ubuntu.com/ubuntu/ focal-updates universe
/etc/apt/sources.list:deb http://it.archive.ubuntu.com/ubuntu/ focal multiverse
/etc/apt/sources.list:# deb-src http://it.archive.ubuntu.com/ubuntu/ focal multiverse
/etc/apt/sources.list:deb http://it.archive.ubuntu.com/ubuntu/ focal-updates multiverse
/etc/apt/sources.list:# deb-src http://it.archive.ubuntu.com/ubuntu/ focal-updates multiverse
/etc/apt/sources.list:deb http://it.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
/etc/apt/sources.list:# deb-src http://it.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
/etc/apt/sources.list:# deb http://archive.canonical.com/ubuntu focal partner
/etc/apt/sources.list:# deb-src http://archive.canonical.com/ubuntu focal partner
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security main restricted
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security universe
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu focal-security universe
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security multiverse
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
/etc/apt/sources.list:# (e.g. netinst, live or single CD). The matching "deb cdrom"
/etc/apt/sources.list:deb https://dl.winehq.org/wine-builds/ubuntu/ focal main
/etc/apt/sources.list:# deb-src https://dl.winehq.org/wine-builds/ubuntu/ focal main
/etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-focal.list.save:deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal main
/etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-focal.list.save:# deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal main
/etc/apt/sources.list.d/grapejuice.list:deb [signed-by=/usr/share/keyrings/grapejuice-archive-keyring.gpg] https://brinkervii.gitlab.io/grapejuice/repositories/debian/ universal main
/etc/apt/sources.list.d/librewolf.list.save:deb [arch=amd64] http://deb.librewolf.net focal main
/etc/apt/sources.list.d/docker.list:deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
/etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-focal.list:deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal main
/etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-focal.list:# deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal main
/etc/apt/sources.list.d/librewolf.list:deb [arch=amd64] http://deb.librewolf.net focal main
In response to the user @OrganicMarble
apt-cache policy gnome-software-common
gnome-software-common:
Installed: 3.36.1-0ubuntu0.20.04.0
Candidate: 3.36.1-0ubuntu0.20.04.0
Version table:
*** 3.36.1-0ubuntu0.20.04.0 500
500 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
500 http://it.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages
100 /var/lib/dpkg/status
3.36.0-0ubuntu3 500
500 http://it.archive.ubuntu.com/ubuntu focal/main amd64 Packages
500 http://it.archive.ubuntu.com/ubuntu focal/main i386 Packages
Any idea?
Thanks, kalli
apt-cache policy gnome-software-common
andgrep -r deb /etc/apt/sources.list /etc/apt/sources.list.d
– nobody May 03 '22 at 16:33sudo apt install --reinstall gnome-software-common=3.36.1-0ubuntu0.20.04.0
and try again. – nobody May 03 '22 at 16:42sudo apt-get install gnome-software
then – kalliope May 03 '22 at 17:15apt-policy gnome-software-common
– Organic Marble May 03 '22 at 17:22gnome-software
in a terminal? – Organic Marble May 03 '22 at 17:53sudo apt install apt-show-versions
then runapt-show-versions | fgrep avail
and add it to your question please. – nobody May 03 '22 at 17:56