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.
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. :)
Seems a good place to start fixing it.
|All times are GMT -5. The time now is 08:09 AM.|