![]() One quick method (out of many) to resolve this is to fix /etc/lsb-release so it cannot be edited by the system. This means /etc/lsb-release must be edited again or else the Ubuntu Software Center will not load. Usually, Linux Mint will update /etc/lsb-release at each boot and change the edited DISTRIB_ID line back to LinuxMint. Apparently, xapian must be installed first, and then the Ubuntu Software Center. Once the catalog database updated, the program worked correctly. This produced some text regarding a catalog update. The installation order seems to be important.Īfter performing the uninstallation as outlined above, I reinstalled the Ubuntu Software Center from the command line. I had installed the Ubuntu Software Center first and then xapian. Update November 29, 2014: After installing the Ubuntu Software Center in Linux Mint 17.1 Cinnamon, I encountered the same issue of a nonworking Software Center as experienced in Linux Mint MATE. One theory might be that xapian needs to be installed first so the software-center installation will set up properly. It ran fine, and programs installed normally. Now, running Software Center from the terminal or from the Linux Mint 17 MATE menu opened the Ubuntu Software Center properly. Then, I reinstalled software-center from the terminal. The Linux Mint 17 MATE system was already updated. I performed the update and upgrade just in case something was outdated, but it had no effect. ![]() I resolved this issue by completely removing software-center from the terminal. Unexpected errors might occur across various Linux distributions, so run software-center from the terminal to see them. Xapian.DatabaseOpeningError: Couldn't detect type of database With MATE, a new error appeared: _xapian.Database_swiginit(self,_xapian.new_Database(*args)) This might have been due to what was already installed. In another system, Ubuntu Software Center worked right away. I had to twiddle with xapian in Synaptic a few times before it would run. If the program does not appear upon opening it from the menu, then run it from the terminal and read the error messages for clues. It took a few tries to set up, but once set up, Ubuntu Software Center would run reliably. Strangely, the Ubuntu Software Center did not always run the first time. Stellarium installed successfully using the Ubuntu Software Center. The Ubuntu Software Center should appear, and you should be able to use it like you normally would in Ubuntu. Now, we are ready to see if our efforts yield results! From the menu, choose Administration > Ubuntu Software Center (or run software-center from a terminal to see any possible error messages). In theory, DISTRIB_ID=Xubuntu should also work, but I had no success. Ubuntu Software Center has no idea what to do with a line reading LinuxMint, but Ubuntu will work. sudo gedit /etc/lsb-releaseīy default, there are four lines in this file:ĭISTRIB_DESCRIPTION=”Linux Mint 17 Qiana”ĭISTRIB_ID must be set to Ubuntu, not LinuxMint. To resolve this, we need to edit a file named lsb-release. The line reading “No module named linuxmint” is the clue. Module = _import_(distro_module_name, globals(), locals(),, -1) If you try to open the Ubuntu Software Center at this point, you will likely encounter another error at the terminal: File "/usr/share/software-center/softwarecenter/distro/_init_.py", line 174, in _get_distro We are not finished yet! We have one more issue to resolve. Synaptic Package Manager showing software-center already installed. Mark xapian-tools for installation and apply. Xapian is a search engine required by the Ubuntu Software Center, but it is not installed with Linux Mint. Xapian.DatabaseOpeningError: Couldn't stat '/var/cache/software-center/xapian' (No such file or directory) ![]() If opening from the GUI, nothing seems to happen, but if you run software-center from a terminal, you should see an error message similar to this: _xapian.Database_swiginit(self,_xapian.new_Database(*args)) Even though Ubuntu Software Center appears in the menus (if installed), it will not open yet due to errors. The program software-center installs some dependencies, but not all of them. Yes, Synaptic installs fine from the terminal. To begin, install Synaptic if it is not already installed: sudo apt-get install synaptic ![]() I experienced dependency issues when installing the Ubuntu Software Center from the terminal, and installation was trickier since full package names are needed. Install Synapticįor best results, I recommend using Synaptic so most dependencies will be resolved automatically. Ubuntu Software Center running in Linux Mint 17.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |