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://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Hit http://dl.google.com stable/main i386 Packages
Hit http://ppa.launchpad.net raring Release.gpg
Hit http://ppa.launchpad.net raring Release
Ign http://dl.google.com stable/main Translation-en
Hit http://ppa.launchpad.net raring/main i386 Packages
Hit https://private-ppa.launchpad.net raring Release.gpg
Ign http://ppa.launchpad.net raring/main Translation-en
Hit https://private-ppa.launchpad.net raring Release.gpg
Hit https://private-ppa.launchpad.net raring Release
Hit https://private-ppa.launchpad.net raring Release
Hit https://private-ppa.launchpad.net raring/main i386 Packages
Hit https://private-ppa.launchpad.net raring/main i386 Packages
Ign https://private-ppa.launchpad.net raring/main Translation-en
Ign https://private-ppa.launchpad.net raring/main Translation-en
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.
Please help!
As per the suggestion 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
As per the suggestion to check the sources.list file, here's what I got:
$ sudo gedit /etc/apt/sources.list
(process:3045): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(gedit:3045): IBUS-WARNING **: The owner of /home/user/.config/ibus/bus is not root!
The file that opened was blank. Checked if the file was blank and here's what I got:
$ sudo ls -l /etc/apt/sources.list
ls: cannot access /etc/apt/sources.list: No such file or directory
$ sudo cat /etc/apt/sources.list
cat: /etc/apt/sources.list: No such file or directory
I guess its safe to assume that its empty?