Cant download from U/software centre,used to be able to download.

Asked by Adriaan Slabbert

I have been downloading without a problem stuff from Ubuntu software centre but for the last 2 days have been unable to download.The Install button will go red upon clicking but then nothing happens.It used to ask me to identify myself before it will start but even that is not happening anymore.Can you please help i am new with Ubuntu but what a joy to use!

Question information

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

May be your apt layer is in not in a good state, so to dress or to check is useful to do this procedure:

Open a Terminal from the menu Applications->Accessories->Terminal

Tip: right click with mouse on the terminal title caption and select the item "Always on Top" doing this you will force the terminal window to stay on top of the other windows and you will find very easy to copy single row from this web page into the terminal...
Something more about using the terminal https://help.ubuntu.com/community/UsingTheTerminal

Then type or better copy and paste a row a time then press enter:
(Tip: select the single row to copy then right click into the terminal and to quick paste click with middle button of mouse )

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get update

give your user password when requested, you don't see nothing when you type it, then press enter.

Hope this helps

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

Can you also give the output of:

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

If Marcobra's commands do not fix you up.

Thanks

Revision history for this message
Adriaan Slabbert (deonslabbert2) said :
#3

It still is not working.IT says Failed to fetch Nano-Something wicked happened resolving za,archive.Ubuntu.com(-5-No address associated with host name)

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

Can you give the full output of the command rather than your interpretation.

Thanks

Revision history for this message
Adriaan Slabbert (deonslabbert2) said :
#5

It still is not working.After i gave all the commands as u instructed it
says "Failed to fetch Nano...-Somethind wicked happened resolving
za.archive.Ubuntu.com(-5-No address associated with host name. On
Thu, 2010-06-24 at 16:30 +0000, actionparsnip wrote:
> Your question #115637 on software-center in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/115637
>
> actionparsnip requested for more information:
> Can you also give the output of:
>
> sudo apt-get update; sudo apt-get upgrade; sudo apt-get --reinstall
> install nano
>
> If Marcobra's commands do not fix you up.
>
> Thanks
>

Revision history for this message
Adriaan Slabbert (deonslabbert2) said :
#6

Thanks for answering so promptly.What exactly do you mean by output?I
will come back to you tomorrow.I must go now.If i run the commands again
that you gave wont it do more damage?Thank and good night.On Thu,
2010-06-24 at 16:30 +0000, actionparsnip wrote:
> Your question #115637 on software-center in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/115637
>
> actionparsnip requested for more information:
> Can you also give the output of:
>
> sudo apt-get update; sudo apt-get upgrade; sudo apt-get --reinstall
> install nano
>
> If Marcobra's commands do not fix you up.
>
> Thanks
>

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

Run the command and copy the outputr in the terminal, paste it here as an update

Revision history for this message
Adriaan Slabbert (deonslabbert2) said :
#8

Good morning from sunny South Africa!Good news! I restarted the computer
and guess what ?If i try to download a pagkage it will kick in ,the
green spinning icon that indicates download is in progress comes on but
after a minute a screen will pop up saying"Requires installation of
untrusted package"On clicking OK the download wil stop and nothing
happens then.Hopefully that will tell you what is going on.On Thu,
2010-06-24 at 21:54 +0000, actionparsnip wrote:
> Your question #115637 on software-center in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/115637
>
> Status: Open => Needs information
>
> actionparsnip requested for more information:
> Run the command and copy the outputr in the terminal, paste it here as
> an update
>

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#9

Please redo as my first answer above... please report here only errors you get or the name of the untrusted software the system try to install and, if there are any, the requests of gpg repository key....

Hth

Revision history for this message
Adriaan Slabbert (deonslabbert2) said :
#10

I redid all the commands but as in the previous attempt it downloads to 99% and then it says "failed to fetch-(-5-No address assoc. with host name) at that stage i exit because nothing is happening.

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

Can you give the output of the command I asked for.

Thanks

Revision history for this message
Adriaan Slabbert (deonslabbert2) said :
#12

After redoing everything for the third time i am glad to report that everything is working without a glitch and i am able to download stuff.Thanks a lot for your effort and patience.!

Revision history for this message
Adriaan Slabbert (deonslabbert2) said :
#13

Thanks marcobra (Marco Braida), that solved my question.