PDA

View Full Version : [ubuntu] [11.04] apt-get gets stuck during building dependency tree.



nsmehra
April 20th, 2012, 06:51 AM
I have recently done a fresh install of ubuntu 11.04 and still coming to terms with unity interface.

The biggest problem I am currently facing is none of the package managers are working on it so i couldnt update any of the packages.
apt-get gets stuck while building dependency tree.
e.g.
sudo apt-get install vim
Reading package lists... Done
Building dependency tree... 50%

it just hangs there using 100% of one core of my pc. I have left it there running overnight to see any development but its still there at 50% using 100% of one core.

Since the update manager and synaptic package manager use apt-get internally so they are also not working.

i even used the -f option but still it gets stuck at 50%


Any pointers will be helpful.. !! I have already wasted 3 days on this install and still couldnt bring it to the working state.

Thanks in advance.
Naren

zvacet
April 21st, 2012, 12:27 AM
sudo apt-get update && sudo apt-get upgrade

Post output here.

nsmehra
April 23rd, 2012, 05:01 AM
sudo apt-get update && sudo apt-get upgradePost output here.

:-$ sudo apt-get update && sudo apt-get upgrade

Ign http://extras.ubuntu.com natty InRelease
Ign http://in.archive.ubuntu.com natty InRelease
Ign http://security.ubuntu.com natty-security InRelease
Hit http://extras.ubuntu.com natty Release.gpg
Ign http://in.archive.ubuntu.com natty-updates InRelease
Hit http://security.ubuntu.com natty-security Release.gpg
Hit http://extras.ubuntu.com natty Release
Hit http://in.archive.ubuntu.com natty Release.gpg
Hit http://security.ubuntu.com natty-security Release
Hit http://extras.ubuntu.com natty/main Sources
Hit http://in.archive.ubuntu.com natty-updates Release.gpg
Hit http://security.ubuntu.com natty-security/main Sources
Hit http://extras.ubuntu.com natty/main i386 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Hit http://in.archive.ubuntu.com natty Release
Hit http://security.ubuntu.com natty-security/restricted Sources
Hit http://security.ubuntu.com natty-security/universe Sources
Hit http://in.archive.ubuntu.com natty-updates Release
Hit http://security.ubuntu.com natty-security/multiverse Sources
Hit http://in.archive.ubuntu.com natty/main Sources
Hit http://security.ubuntu.com natty-security/main i386 Packages
Hit http://in.archive.ubuntu.com natty/restricted Sources
Hit http://security.ubuntu.com natty-security/restricted i386 Packages
Hit http://in.archive.ubuntu.com natty/universe Sources
Hit http://security.ubuntu.com natty-security/universe i386 Packages
Hit http://security.ubuntu.com natty-security/multiverse i386 Packages
Ign http://extras.ubuntu.com natty/main Translation-en_IN
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Hit http://in.archive.ubuntu.com natty/multiverse Sources
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Hit http://in.archive.ubuntu.com natty/main i386 Packages
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Hit http://in.archive.ubuntu.com natty/restricted i386 Packages
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Hit http://in.archive.ubuntu.com natty/universe i386 Packages
Hit http://in.archive.ubuntu.com natty/multiverse i386 Packages
Ign http://in.archive.ubuntu.com natty/main TranslationIndex
Ign http://in.archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://in.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://in.archive.ubuntu.com natty/universe TranslationIndex
Hit http://in.archive.ubuntu.com natty-updates/main Sources
Hit http://in.archive.ubuntu.com natty-updates/restricted Sources
Hit http://in.archive.ubuntu.com natty-updates/universe Sources
Hit http://in.archive.ubuntu.com natty-updates/multiverse Sources
Hit http://in.archive.ubuntu.com natty-updates/main i386 Packages
Hit http://in.archive.ubuntu.com natty-updates/restricted i386 Packages
Hit http://in.archive.ubuntu.com natty-updates/universe i386 Packages
Hit http://in.archive.ubuntu.com natty-updates/multiverse i386 Packages
Ign http://in.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://in.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://in.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://in.archive.ubuntu.com natty-updates/universe TranslationIndex
Ign http://security.ubuntu.com natty-security/main Translation-en_IN
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-en_IN
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en_IN
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en_IN
Ign http://security.ubuntu.com natty-security/universe Translation-en
Ign http://in.archive.ubuntu.com natty/main Translation-en_IN
Ign http://in.archive.ubuntu.com natty/main Translation-en
Ign http://in.archive.ubuntu.com natty/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com natty/multiverse Translation-en
Ign http://in.archive.ubuntu.com natty/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com natty/restricted Translation-en
Ign http://in.archive.ubuntu.com natty/universe Translation-en_IN
Ign http://in.archive.ubuntu.com natty/universe Translation-en
Ign http://in.archive.ubuntu.com natty-updates/main Translation-en_IN
Ign http://in.archive.ubuntu.com natty-updates/main Translation-en
Ign http://in.archive.ubuntu.com natty-updates/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://in.archive.ubuntu.com natty-updates/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://in.archive.ubuntu.com natty-updates/universe Translation-en_IN
Ign http://in.archive.ubuntu.com natty-updates/universe Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree... 50%


At this point it starts using 100% of one core and just gets stuck.

Regards,
Naren