Yesterday installed in ubuntu "Python version of the webqq client" program, the results updated today after the system restart, found that ubuntu software center can not open, The following solutions were found online.
The initial judgment was caused by the addition of the linuxdeepin (depth) software source when installing the webqq client.
gongstring@chz-desktop:~$ software-center
Traceback (most recent call last):
File "/usr/bin/software-center", Line 149, in <module>
from softwarecenter.ui.gtk3.app import SoftwareCenterAppGtk3
File "/usr/share/software-center/softwarecenter/ui/gtk3/app. Py", line 49, in <module>
from softwarecenter.db.application import Application
File "/usr/share/software-center/softwarecenter/db/application.py" ;, line 25, in <module>
from softwarecenter.backend.channel import is_channel_available
File "/usr/share/software-center/softwarecenter/backend/channel.py" , line 25, in <module>
from softwarecenter.distro import get_distro
File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 165 , in <module>
distro_instance=_get_distro()
File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 14 8, in _get_distro
module = __import__(distro_id, globals(), locals(), [], -1)
ImportError: No module named LinuxDeepin
As follows:
sudo gedit /etc/lsb-release (well, I won't VIM -.-!)
Replace the text with the following:
DISTRIB_ID =Ubuntu DISTRIB_RELEASE=11.10 DISTRIB_CODENAME=oneiric DISTRIB_DESCRIPTION=“Ubuntu 11.10″
OK, you should be able to open the software source and software center.
However, I still have a problem, the software center is open, but the page has been in a blank refresh interface.
Uninstalling reload:
sudo apt-get autoremove software-center --purge
Display:
rmdir: Delete “/var/cache /software-center/xapian/” Failed: No such file or directory dpkg: Error processing software-center (--purge): child process installed post-removal script returned error number 1
An error occurred during processing: software-center E: Sub-process /usr/bin/dpkg returned an error code (1) Looked up, there is no software-center file in the cache folder.
sudo mkdir /var/cache/software-center sudo mkdir /var/cache/software-center/xapian sudo apt-get autoremove software-center --purge sudo apt-get install software-center Everything works fine.
Faced with powerful Microsoft and early NetWare, Linux server operating system can be said to be a r
Arista networks is a company that provides cloud computing network equipment for data centers. Its c
If the liunx system is started, I just said about it, but the specific process is not well understo
The Linux boot file is stored in the grub.conf configuration file in the /boot/grub/directory. 1.
Linux system /etc/fstab loss, mount LVM repair
Simple steps to configure NFS under Linux
Linux sar command using basic tutorial
Ubuntu system encrypts files for transmission method
The difference between wire and reg in verilog HDL
The colrm command usage in Linux
Modify the default startup level of Linux system
Solaris performance optimization experience summary
The principle of file deletion under linux
Hardware scan and driver loading process
Experts teach you to build Win7 one-key restore system
Improve Win8 system performance Win8 disk cleaning optimization skills
How can win10 save the files received by QQ as permanent files
Disable Win Vista's local search history
Win7 system rthdcpl.exe process and its deletion method introduction
Microsoft Win8 Top Ten Rumors: Support for Tablet PCs First
Win7 system startup failure error prompt 0XC000000F how to solve?
What should I do if win10 runs slowly? Win10 slow speed solution
Win7 system cmd can not run the error and solution after the input eccmd -info command error 4319.
Good helper for mobile office system Detailed Win8 cloud applications