-1

I am trying to install the software-centre package on Terminal..

I have entered these commands:

sudo apt-get install software-center*

I get this:

The following package was automatically installed and is no longer required
  thuderbird-global menu
use 'apt-get autoremove' to remove them.

another

'software-center' has no installation candidate

any ideas?

Pandya
  • 35,771
  • 44
  • 128
  • 188

1 Answers1

0

For Ubuntu 12.04, run these commands in Terminal:

sudo echo "deb http://archive.ubuntu.com/ubuntu precise precise-updates main universe multiverse restricted" > /etc/apt/sources.list

sudo apt-get update

sudo apt-get autoremove

sudo apt-get install software-center

Naveen
  • 9,365
  • 11
  • 43
  • 70
  • I ran these comments on T, unfortunately I have the same result. "software-center" has no installation candidate. – user287591 Jun 05 '14 at 02:48
  • I've updated my answer :) – Naveen Jun 05 '14 at 03:15
  • Great Naveen, I am going to input that now. – user287591 Jun 05 '14 at 03:30
  • It has come up with is quotation :"permission denied". I rechecked spelling and so on. – user287591 Jun 05 '14 at 03:39
  • You missed the part sudo. Just copy and paste lines directly on Terminal. Give the correct user password if prompted as well – Naveen Jun 05 '14 at 04:45
  • I tried it all, even copy and paste, separately and altogether. It reads: some index files failed to download and a host of other stuff. if i enter the first line only it reads: permission denied. – user287591 Jun 05 '14 at 04:57
  • Ok. Then execute this in your Terminal: sudo passwd root Then you will be asked to set a password. Then execute : su root . Now you can execute all the commands above once again. – Naveen Jun 05 '14 at 05:01