Announcement

Collapse
No announcement yet.

help with apt-getinstall problems, failed package installation

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    help with apt-getinstall problems, failed package installation

    pengui n:~# apt-get install ntop
    Reading Package Lists... Done
    Building Dependency Tree... Done
    You might want to run `apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    libc6: Conflicts: e2fsprogs (< 1.35-7) but 1.35-6 is to be installed
    Conflicts: initrd-tools (< 0.1.84.1) but 0.1.70 is to be installed
    locales: Depends: glibc-2.3.2.ds1-22
    ntop: Depends: libfreetype6 (>= 2.2) but 2.1.7-2.1 is to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    background, this poster is waiting on the site for an expert he says, well on that site he is going to wait forever so I thought I would lend a hand and see I could learn something too here btw I don't know which distro we're dealing with but looks like the debian family
    every day is a gift

    #2
    Re: help with apt-getinstall problems, failed package installation


    Try apt-get -f install as apt-get suggest.
    -f, --fix-broken
    Fix; attempt to correct a system with broken dependencies in
    place. This option, when used with install/remove, can omit any
    packages to permit APT to deduce a likely solution. Any Package
    that are specified must completely correct the problem. The op‐
    tion is sometimes necessary when running APT for the first time;
    APT itself does not allow broken package dependencies to exist
    on a system. It is possible that a system’s dependency structure
    can be so corrupt as to require manual intervention (which usu‐
    ally means using dselect(8) or dpkg --remove to eliminate some
    of the offending packages). Use of this option together with -m
    may produce an error in some situations.
    Check that all repositories are enabled.
    libc6: Conflicts: e2fsprogs (< 1.35-7) but 1.35-6 is to be installed
    Program needs 1.35-7 (or later) but apt-get only finds 1.35-6.

    Run apt-get update and then try to install again.


    Links:
    APT HOWTO
    http://www.debian.org/doc/manuals/ap.../index.en.html
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: help with apt-getinstall problems, failed package installation

      You should be aware here, that apt is telling you this application (ntop) is specifying dependencies (packages) that are 'older' than those already installed on the system. Those dependencies, if forced to be downgraded, *could* have unwanted effects on other installed programs that depend on them.

      The suggestion of running apt-get update first is a good idea before attempting to run the apt-get -f install as suggested.
      Using Kubuntu Linux since March 23, 2007
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment

      Working...
      X