I cant download any programs from my software center

Asked by HillBilly Spike

When I try to install a program it gives me an error message that stats: the action would require the installation of packages from not authenticated sources. What should I do to fix it?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

sudo apt-get update && sudo apt-get upgrade && sudo apt-get --reinstall install nano

Thanks

Revision history for this message
HillBilly Spike (brettdr83) said :
#2

I guess i don't know what you are talking about.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

press CTRL+ALT+T
paste in the command
press ENTER
wait for the commands to finish
copy the output
paste here as an update

Revision history for this message
HillBilly Spike (brettdr83) said :
#4

sudo apt-get update:
W: Failed to fetch cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)/dists/karmic/main/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)/dists/karmic/restricted/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Some index files failed to download, they have been ignored, or old ones used instead.

sudo apt-get upgrade:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

sudo apt-get --reinstall install nano:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 206kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ lucid/main nano 2.2.2-1 [206kB]
Fetched 206kB in 2s (77.4kB/s)
(Reading database ... 301995 files and directories currently installed.)
Preparing to replace nano 2.2.2-1 (using .../archives/nano_2.2.2-1_i386.deb) ...
Unpacking replacement nano ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Processing triggers for doc-base ...
Processing 2 changed doc-base file(s)...
Registering documents with scrollkeeper...
Setting up nano (2.2.2-1) ...

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Ok open software centre and disable the install CD as a repository. Then click close. The only issue you have is the OS is still trying to use the CD as a repo and failing.

Revision history for this message
HillBilly Spike (brettdr83) said :
#6

Running that in my terminal fixed the problem. So what did that do exactly?

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#7

Probably the:

sudo apt-get update

bit.

The software centre is nice and pretty but when it breaks it is absolutely rubbish at getting stuff to work and you must use command line to dig it out of a hole. The software centre hides all the useful stuff which can diagnose an issue. You should also remove the CD as a repo to supress the error messages as you are now using the web which will always have later versions than your install CD.

Revision history for this message
HillBilly Spike (brettdr83) said :
#8

Thanks actionparsnip, that solved my question.