ubuntu software cntre doers not work
If I try to access "ubuntu software centre" whether by clicking on the icon in the side bar or by going into the applications menu I get a white screen with some black lettering that flashes off after about 5 seconds. And then nothing.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
What is the output of:
sudo apt-get update; lsb_release -a
Thanks
Revision history for this message
|
#2 |
Here you go.
ru12mug-
[sudo] password for ru12mug-the2nd:
Hit:1 http://
Get:2 http://
Hit:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Fetched 5,957 kB in 22s (267 kB/s)
AppStream cache update completed, but some metadata was ignored due to errors.
Reading package lists... Done
N: Ignoring file '20auto-
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
Thank you.
Revision history for this message
|
#3 |
Run:
sudo rm /etc/apt/
sudo apt-get update
Is it OK now?
Revision history for this message
|
#4 |
There is a known problem with gnome-software (bug #1606238 )
A suggested workaround is deleting the files in ~/.local/
Revision history for this message
|
#5 |
Andrew ,here is the output from your suggestion.
ru12mug-
rm: cannot remove '/etc/apt/
Revision history for this message
|
#6 |
Manfred & Andrew:
Andrews suggestion didn't help, I tried deleting " ~/.local/
I get to see the start of software centre homepage loading and then it all goes back to the previous screen.
Revision history for this message
|
#7 |
There are two different issues:
1. the recommendation to delete the 20auto-
What output do you get now for the command
sudo apt-get update
?
2. If deleting ~/.local/
gnome-software
in a terminal window?
Revision history for this message
|
#8 |
Manfred, here's the result for task 1:
ru12mug-
[sudo] password for ru12mug-the2nd:
Hit:1 http://
Get:2 http://
Hit:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Fetched 3,035 kB in 13s (229 kB/s)
AppStream cache update completed, but some metadata was ignored due to errors.
Reading package lists... Done
ru12mug-
task 2 returned the following:
ru12mug-
ru12mug-
It also generated an error report which I don't know how to copy to send to you.
The final lines of the error report said that I have obsolete packages and that I should replace the following:
gnome software,
Does this help?
Thank you.
Revision history for this message
|
#9 |
What is the output of
apt-cache policy gnome-software gnome-software-
apt-get --simulate dist-upgrade
Revision history for this message
|
#10 |
apt-cache policy gnome-software gnome-software-
ru12mug-
gnome-software:
Installed: 3.20.1+
Candidate: 3.20.1+
Version table:
3.
500 http://
*** 3.20.1+
100 /var/lib/
3.
500 http://
gnome-software-
Installed: 3.20.1+
Candidate: 3.20.1+
Version table:
3.
500 http://
*** 3.20.1+
100 /var/lib/
3.
500 http://
libprocps4:
Installed: 2:3.3.10-4ubuntu2
Candidate: 2:3.3.10-4ubuntu2.2
Version table:
2:
500 http://
*** 2:3.3.10-4ubuntu2 500
500 http://
100 /var/lib/
procps:
Installed: 2:3.3.10-4ubuntu2
Candidate: 2:3.3.10-4ubuntu2.2
Version table:
2:
500 http://
*** 2:3.3.10-4ubuntu2 500
500 http://
100 /var/lib/
ru12mug-
apt-get --simulate dist-upgrade gave this:
ru12mug-
NOTE: This is only a simulation!
apt-get needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
calligra-
linux-
linux-
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
libsnapd-glib1 snapd-login-service
The following packages will be upgraded:
gnome-software gnome-software-
ubuntu-software update-notifier update-
8 to upgrade, 2 to newly install, 0 to remove and 0 not to upgrade.
Inst update-notifier [3.168.1] (3.168.2 Ubuntu:
Inst update-
Inst libprocps4 [2:3.3.10-4ubuntu2] (2:3.3.
Inst procps [2:3.3.10-4ubuntu2] (2:3.3.
Inst ubuntu-software [3.20.1+
Inst gnome-software [3.20.1+
Inst gnome-software-
Inst libsnapd-glib1 (1.2-0ubuntu1.
Inst im-config [0.29-1ubuntu12.2] (0.29-1ubuntu12.3 Ubuntu:
Inst snapd-login-service (1.2-0ubuntu1.
Conf update-
Conf update-notifier (3.168.2 Ubuntu:
Conf libprocps4 (2:3.3.
Conf procps (2:3.3.
Conf gnome-software-
Conf libsnapd-glib1 (1.2-0ubuntu1.
Conf gnome-software (3.20.1+
Conf ubuntu-software (3.20.1+
Conf im-config (0.29-1ubuntu12.3 Ubuntu:
Conf snapd-login-service (1.2-0ubuntu1.
ru12mug-
Manfred I hope this helps you.
Thank you
Revision history for this message
|
#11 |
This output shows that you are running an outdated version of gnome-software.
I recommend that you update all packages to the latest version and do some cleanup, with the commands
sudo apt-get dist-upgrade
sudo apt-get --purge autoremove
Revision history for this message
|
#12 |
Thanks Manfred Hampl, that solved my question.