Can't open Ubuntu-software center more than 2 seconds

Asked by MadhuSoodanan

madhu@madhu-desktop:~$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"
NAME="Ubuntu"
VERSION="16.04 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial
madhu@madhu-desktop:~$ uname -a
Linux madhu-desktop 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:46:51 UTC 2016 i686 i686 i686 GNU/Linux
madhu@madhu-desktop:~$

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
MadhuSoodanan (mt-madhu) said :
#2

I can't open Ubuntu-software center more than 2 seconds. Tried in other login sections also. No good result.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

What is the output of:

sudo apt-get update; sudo apt-get upgrade

Thanks

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#4

Please run the following Terminal commands; then reboot and retest:

sudo rm /usr/lib/python*/dist-packages/__pycache__/*pyc

sudo apt-get install --reinstall python3-gi

sudo apt-get purge software-center gnome-software

rm -rf ~/.cache/software-center

rm -rf ~/.config/software-center

rm -rf ~/.cache/update-manager-core

rm ~/.local/share/gnome-software/*

sudo rm /var/lib/apt-xapian-index/cataloged_times.p

sudo rm /var/lib/apt-xapian-index/values

sudo update-apt-xapian-index --verbose --force

sudo update-apt-xapian-index --force

sudo apt-get update

sudo apt-get dist-upgrade

sudo apt-get install software-center gnome-software

sudo dpkg-reconfigure software-center --force

sudo update-software-center

sudo apt-get install --reinstall software-center gnome-software

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

There is a known problem (Bug #1606238 )
A proposed workaround is deleting all files in the ~/.local/share/gnome-software/ directory

Revision history for this message
MadhuSoodanan (mt-madhu) said :
#7

Sorry. I couldn't notice this question because of another issue. Need I leave this question treating as bug? or from which number (#) should I try? From #4 onwards? I had reinstalled software center using synaptic.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#8

Follow the instructions in post #4.

Let us know the results....

Revision history for this message
MadhuSoodanan (mt-madhu) said :
#9

Tried. But fails as before.

Revision history for this message
Launchpad Janitor (janitor) said :
#10

This question was expired because it remained in the 'Open' state without activity for the last 15 days.