LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2012, 12:11 PM   #1
oldminer90
LQ Newbie
 
Registered: Oct 2012
Location: rio rancho, nm
Distribution: working on that - have a bit to learn
Posts: 4

Rep: Reputation: Disabled
How do I update using Update Manager when there is a failure to download packages?


I am trying to update for the first time after a new installation.
Being new to linux, I don't know where to start to fix this problem
and do not understand the "simular threads" disscussion.
Please advise.


1) Went to Update Manager and copied the following:
(190 MB will be downloaded)

Installed version 2.7.102 – Oubuntu 3.1
Available version 2.7.102 – Oubuntu 3.4

2) Clicked on “Install Updates”
3) Monitor showed: Applying Changes – waiting
4) Returned to pc after a while;
Found Message: FAILED TO DOWNLOAD PACKAGES

DETAILS WERE AS FOLLOWS:

Failed to fetch http://us.archive.ubuntu.com/ubuntu/...buntu5_all.deb 404 Not Found [IP: 91.189.91.14 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/...buntu5_all.deb 404 Not Found [IP: 91.189.91.14 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/...buntu5_all.deb 404 Not Found [IP: 91.189.91.14 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/...buntu5_all.deb 404 Not Found [IP: 91.189.91.14 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/...buntu5_all.deb 404 Not Found [IP: 91.189.91.14 80]
 
Old 11-10-2012, 09:17 PM   #2
Xlr_Prahlad
LQ Newbie
 
Registered: Sep 2012
Posts: 25

Rep: Reputation: 3
Hello oldminer90,

Try to update it from terminal :
sudo apt-get update && sudo apt-get upgrade
if any error comes up post it
 
Old 11-11-2012, 11:39 AM   #3
oldminer90
LQ Newbie
 
Registered: Oct 2012
Location: rio rancho, nm
Distribution: working on that - have a bit to learn
Posts: 4

Original Poster
Rep: Reputation: Disabled
Greetings: Xlr_Prahlad

Terminal update attempt returned error 2 ie.

Processing triggers for man-db...
Processing triggers for install-info...
dpkg:error:dpkg status database is locked by another process
E: sub-process/usr/bin/dpkg returned an error code (2)

oldminer90
 
Old 11-11-2012, 12:03 PM   #4
Xlr_Prahlad
LQ Newbie
 
Registered: Sep 2012
Posts: 25

Rep: Reputation: 3
Thumbs up

Quote:
Originally Posted by oldminer90 View Post
Greetings: Xlr_Prahlad

Terminal update attempt returned error 2 ie.

Processing triggers for man-db...
Processing triggers for install-info...
dpkg:error:dpkg status database is locked by another process
E: sub-process/usr/bin/dpkg returned an error code (2)

oldminer90
I think this might help you
restart your computer and open up the terminal and type in the following commands:
sudo rm /var/lib/dpkg/lock"
then sudo rm /var/cache/apt/archives/lock
after that sudo dpkg --configure -a

Now upadte your Ubuntu it should work .
 
Old 11-11-2012, 07:55 PM   #5
oldminer90
LQ Newbie
 
Registered: Oct 2012
Location: rio rancho, nm
Distribution: working on that - have a bit to learn
Posts: 4

Original Poster
Rep: Reputation: Disabled
Greetings: Xlr_Prahlad

Entered:
sudo rm /var/cache/apt/archives/lock
then sud rm /var/cache/apt/archives/lock
after that sudo dpkg – configure -a

returned :

rm: unrecognized option '--configure'
Try 'rm –help' for more informatiion

Entered
'rm –help'

(read the information 3 or 4 times – not real clear – looks
like conditions – not real sure what they mean nor what they
will do)

Returned to GUI and update manager and clicked on “update”

This time a window came up :
“requires installation of packages from not authenticated sources”

Decided to ask what these “not authenticated sources” might be?

Should these "not authenticated souces" be a concern of worry?

Thanks,
Oldminer90
 
Old 11-11-2012, 09:12 PM   #6
Xlr_Prahlad
LQ Newbie
 
Registered: Sep 2012
Posts: 25

Rep: Reputation: 3
I dont know why its returns an error but it works fine on mine . check again there's a possiblity that you have not written the commands properly .
As for not authenticated sources i dont think think there is any thing to wory about.
use only
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Debian update manager states updates available but won't update EDDY1 Debian 15 06-30-2011 11:07 PM
Update Manager -132 Days Since Update ...Fresh Install jv2112 Linux - Newbie 3 10-25-2010 04:02 AM
[SOLVED] update manager download speed? papahonk Ubuntu 8 10-14-2009 03:30 AM
How Can I Automatically Download New VLC Through Update Manager? taurusx5 Linux - Software 2 09-17-2008 12:15 PM
Unable to upgrade to ubuntu 7.10, update manager fails to update.... jonbvgood Linux - Software 2 02-05-2008 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration