Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-21-2013, 03:46 AM   #1
LQ Newbie
Registered: Dec 2010
Posts: 28

Rep: Reputation: 0
Fixing apt installing issues

Today i am installing some packages in my linux ubunut server.
After some time i realize that i make a mess with apt and i am not able to install anything or purge anything in my ubuntu box. Below are the issues that i am facing :-

root@gs1135:/var/log/apt# apt-get install python
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
libc6: Depends: libc-bin (= 2.11.1-0ubuntu7.12) but it is not going to be installed
Depends: debconf (>= 0.5) but it is not going to be installed or
minimal (= 2.6.5-0ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

and when i am trying apt-get -f install , it is making all below packages as dependencies :

The following extra packages will be installed:
apt apt-utils ca-certificates coreutils debconf debconf-i18n dpkg findutils gcc-4.4-base gnupg gnupg-curl gpgv libacl1 libattr1 libbz2-1.0 libc-bin libc-dev-bin libcomerr2
libcurl3-gnutls libdb4.8 libgcc1 libgcrypt11 libgnutls26 libgpg-error0 libgpm2 libgssapi-krb5-2 libidn11 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2
liblocale-gettext-perl libncurses5 libreadline6 libsasl2-2 libsasl2-modules libselinux1 libssl0.9.8 libstdc++6 libtasn1-3 libtext-charwidth-perl libtext-iconv-perl
libtext-wrapi18n-perl libusb-0.1-4 linux-libc-dev lzma manpages manpages-dev openssl perl-base readline-common tzdata ubuntu-keyring zlib1g

After this operation, 74.4MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
E: Could not perform immediate configuration on 'libattr1'.Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)

E: Couldn't configure pre-depend perl-base for liblocale-gettext-perl, probably a dependency cycle.
A package failed to install. *Trying to recover:

I think my apt is corrupted, is dere any way to fix it.

Old 02-21-2013, 03:52 AM   #2
Senior Member
Registered: Mar 2012
Posts: 1,595

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Yes, it appears you have made a mess, presumably by mixing repo's and installing incorrect versions of your core system components.
Don't do that anymore.
Originally Posted by adarshmca View Post
E: Could not perform immediate configuration on 'libattr1'.Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
Did you read this man page?
Seems a good place to start fixing it.

Last edited by descendant_command; 02-21-2013 at 03:53 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installing vim-gnome or vim-gtk dependency issues with apt, aptitude, synaptic alagenchev Linux - Software 3 05-15-2012 10:33 AM
fixing apt-get errors i_heart_pandas Debian 10 10-12-2010 06:12 AM
See original version of an apt-installed file after fixing an error in it pwabrahams Linux - Software 1 09-07-2008 09:27 AM
Installing via apt-get software causes issues. bambam43410 Linux - Software 5 07-28-2006 11:09 PM
Apt-Get i need help fixing broken dependencies turkenator02 SUSE / openSUSE 2 05-11-2006 04:36 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:08 AM.

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