Reinstallation software-center issues
So here's the problem.
I was having a problem with software-center and I thought that a nice little uninstall-reinstall might just solve the problem. After checking that it was fine, I did it. However I am unable to reinstall the software-center.
I had performed two removal commands:
sudo apt-get remove software-center
sudo apt-get autoremove software-center
When trying the update commmand this is what I got:
$ sudo apt-get update
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit https:/
Ign http://
Hit https:/
Hit https:/
Hit https:/
Hit https:/
Hit https:/
Ign https:/
Ign https:/
Reading package lists... Done
When I performed the install command this is what I got:
$ sudo apt-get install software-center
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package software-center is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'software-center' has no installation candidate
Please help, I'm pretty new to ubuntu and I'm not exactly sure how to get the files for it to be able to install the software-center again.
Some more information: I'm running Ubuntu 13.04. Software-center does not exist at all on the computer as well, I've checked.
I read in another thread that I might have an issue with my source server, but when i checked software and updates it says im downloading from the main server.
Somewhere else suggested to try:
sudo apt-get install ubuntu-desktop
This is what I got:
$ sudo apt-get install ubuntu-desktop
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ubuntu-desktop
I also checked my sources.list file and this is what happened:
$ sudo gedit /etc/apt/
(process:3045): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(gedit:3045): IBUS-WARNING **: The owner of /home/user/
The file that opened was blank. Checked if the file was blank and here's what I got:
$ sudo ls -l /etc/apt/
ls: cannot access /etc/apt/
$ sudo cat /etc/apt/
cat: /etc/apt/
I guess its safe to assume that its empty?
Please help!!
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask John for more information if necessary.