update-notifier_apt-check

Bug #101926 reported by miked
2
Affects Status Importance Assigned to Milestone
update-notifier (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Ubuntu 7.04 Beta i386/i686 install alternative CD
apt-get update doesn't work right:
root@Ubuntu704Beta:~# apt-get update
E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the list directory
root@Ubuntu704Beta:~#

Have tried rebooting only to get multiple error messages.

Revision history for this message
miked (miked11) wrote :
Revision history for this message
miked (miked11) wrote :
Download full text (24.3 KiB)

O.k. I googled it and found a way to fix it.

root@Ubuntu704Beta:~# apt-get clean

I deleted the lock file in the var/lib/apt/lists/ directory.

root@Ubuntu704Beta:~# ls -lad /var/lib/apt/lists/lock
-rw-r----- 1 root root 0 2007-04-02 09:10 /var/lib/apt/lists/lock
root@Ubuntu704Beta:~#
It's working now, so never mind.

root@Ubuntu704Beta:~# apt-get update
Err http://us.archive.canonical.com feisty-commercial Release.gpg
  Could not resolve 'us.archive.canonical.com'
Err http://us.archive.canonical.com feisty-commercial/main Translation-en_US
  Could not resolve 'us.archive.canonical.com'
Ign http://us.archive.canonical.com feisty-commercial Release
Ign http://us.archive.canonical.com feisty-commercial/main Packages
Err http://us.archive.canonical.com feisty-commercial/main Packages
  Could not resolve 'us.archive.canonical.com'
Ign http://wine.budgetdedicated.com feisty Release.gpg
Ign http://wine.budgetdedicated.com feisty/main Translation-en_US
Get:1 http://archive.canonical.com feisty-commercial Release.gpg [191B]
Ign http://archive.canonical.com feisty-commercial/main Translation-en_US
Get:2 http://us.archive.ubuntu.com feisty Release.gpg [191B]
Ign http://us.archive.ubuntu.com feisty/main Translation-en_US
Get:3 http://security.ubuntu.com feisty-security Release.gpg [191B]
Ign http://security.ubuntu.com feisty-security/main Translation-en_US
Ign http://people.ubuntu.com edgy Release.gpg
Ign http://people.ubuntu.com edgy/main Translation-en_US
Ign http://wine.budgetdedicated.com feisty Release
Ign http://security.ubuntu.com feisty-security/restricted Translation-en_US
Ign http://security.ubuntu.com feisty-security/universe Translation-en_US
Ign http://security.ubuntu.com feisty-security/multiverse Translation-en_US
Ign http://security.ubuntu.com feisty-security/main Translation-en_US
Ign http://security.ubuntu.com feisty-security/restricted Translation-en_US
Ign http://security.ubuntu.com feisty-security/universe Translation-en_US
Ign http://people.ubuntu.com edgy/universe Translation-en_US
Hit http://archive.canonical.com feisty-commercial Release
Ign http://us.archive.ubuntu.com feisty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com feisty/universe Translation-en_US
Ign http://us.archive.ubuntu.com feisty/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com feisty/main Translation-en_US
Ign http://us.archive.ubuntu.com feisty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com feisty/universe Translation-en_US
Ign http://wine.budgetdedicated.com feisty/main Packages
Ign http://people.ubuntu.com edgy Release
Get:4 http://easyubuntu.cafuego.net main Release.gpg [191B]
Ign http://easyubuntu.cafuego.net main/easyubuntu Translation-en_US ...

Revision history for this message
miked (miked11) wrote :

I know I need to clean up this file a little bit.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your bug report.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

To fix "Err http://us.archive.canonical.com feisty-commercial/main Translation-en_US
  Could not resolve 'us.archive.canonical.com'" just remove the "us." from the hostname.

I'm looking at the crash now.

Changed in update-notifier:
status: Unconfirmed → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

After fixing the us.archive.canonical.com sources.list entry, can you still reproduce this bug?

Thanks,
 Michael

Changed in update-notifier:
status: Confirmed → Incomplete
Revision history for this message
miked (miked11) wrote :

I still get this bug every once in awhile on my systems.
I deleted the lock file in the var/lib/apt/lists/ directory.
and that still seems to be a good work -around, I am not sure of the cause, maybe a change in the sources.list file.
Sometimes a command in terminal helps with the apt-get problems,
root@UbuntuGustyGibbon710Beta:~# apt-get --fix-missing

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for update-notifier (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.