Results 1 to 2 of 2

Thread: "Unmet dependencies" - apt-get broken

  1. #1
    Junior Member
    Join Date
    Feb 2004
    Posts
    1

    "Unmet dependencies" - apt-get broken

    Hello,

    I have a problem with apt-get - since I changed my sources.list from unstable- and sid-servers to stable, it seems to mix up the versions and gives me "unmet dependencies"...

    It started when i wanted to install php4-gd2, which of course came from "stable". PHP4 has been installed before (unstable), so apt-get gave me a "version mismatch". Therefore i uninstalled PHP4, with plans to reinstall it as stable (as my source.list constisted solely of stable-servers then).

    but a reinstallation it aint:

    > apt-get update
    > apt-get install php4

    Sorry, but the following packages have unmet dependencies:
    ding: Depends: tk8.3 but it is not going to be installed or
    wish
    php4: Depends: libbz2-1.0 but it is not going to be installed
    Depends: libc6 (>= 2.2.4-4) but it is not going to be
    installed
    Depends: libdb2 (>= 2:2.7.7.0-7) but it is not going to be
    installed
    Depends: libexpat1 (>= 1.95.2-6) but it is not going to be
    installed
    Depends: libmm11 but it is not going to be installed
    Depends: libpam0g (>= 0.72-1) but it is not going to be
    installed
    Depends: libpcre3 but it is not going to be installed
    Depends: zlib1g (>= 1:1.1.4) but it is not going to be
    installed
    Depends: apache-common (>= 1.3.26) but it is not going to be
    installed
    Depends: fileutils (>= 4.0-5)
    E: Sorry, broken packages



    and webablizer does not work any more, btw:

    # /usr/share/webmin/webalizer/webalizer.pl blabla-logfile
    Can't locate ./webalizer-lib.pl in @INC (@INC contains: /etc/perl
    /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5
    /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0
    /usr/local/lib/site_perl .) at
    /usr/share/webmin/webalizer/webalizer.pl line 6.



    how can I get this right? last resort would be changing sources.list to unstable again - but I have done a "apt-get upgrade" as stable in between..

    Any help appreciated!
    Thanks,
    Hannes

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Well that certainly is a mess, first thing to do is edit the /etc/apt/sources.list as root and put a # character in front of the lines to stable. Then deselect update to update both dpkg and apt's database, now try apt-get -s -t testing dist-upgrade remove the -s from the line if the output looks promising to actually get back to testing as a base for the system. BTW the package you wanted to install is in testing and unstable and could have been installed by either apt-get install php4-gd2/unstable or apt-get install -t unstable php4-gd2 to get the unstable version substitute testing in the commands if you had wanted the testing version if there were different packages for each branch which is not the case here.

    Code:
    >$ apt-cache policy php4-gd2
    php4-gd2:
      Installed: (none)
      Candidate: 3:4.3.2+rc3-2
      Version Table:
         3:4.3.2+rc3-2 0
            990 http://ftp2.de.debian.org testing/main Packages
            600 http://ftp2.de.debian.org unstable/main Packages
         3:4.1.2-2 0
            500 http://ftp2.de.debian.org stable/main Packages

Similar Threads

  1. "modprobe ppa" before "home=scan" ??
    By Pokec in forum General Support
    Replies: 2
    Last Post: 12-07-2003, 07:39 PM
  2. Replies: 1
    Last Post: 10-18-2003, 06:30 PM
  3. "Connection Reset by Peer" or "hang"
    By oreo in forum General Support
    Replies: 11
    Last Post: 07-23-2003, 06:33 PM
  4. "Foreign" drive formats and "dd" command
    By geebee2000 in forum Hardware & Booting
    Replies: 9
    Last Post: 05-21-2003, 07:29 PM
  5. Locate Knoppix "group" in "K" menu
    By Juny in forum General Support
    Replies: 4
    Last Post: 03-14-2003, 09:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Intel Xeon Platinum 8356H Processors 8-Core CPU 3.90GHz-4.40GHz 190W LGA4189 picture

Intel Xeon Platinum 8356H Processors 8-Core CPU 3.90GHz-4.40GHz 190W LGA4189

$3882.12



Apple MacBook Pro 8 Core I9 2.4ghz 15

Apple MacBook Pro 8 Core I9 2.4ghz 15" 256GB 16GB RAM Space Gray MV902LL/A 2019

$744.00



Intel Xeon E-2378G Processor CPU 8-Core 2.80GHz~5.10GHz LGA-1200 TDP-80W P750 picture

Intel Xeon E-2378G Processor CPU 8-Core 2.80GHz~5.10GHz LGA-1200 TDP-80W P750

$927.78



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$343.99



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$259.99



Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5... picture

Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5...

$272.99



T Intel Core i7-11700 2.5GHz 16MB 8-Core picture

T Intel Core i7-11700 2.5GHz 16MB 8-Core

$169.99



Dell Desktop Computer 16GB RAM 512GB SSD Intel Core i5 8th Gen. Windows 11 Pro picture

Dell Desktop Computer 16GB RAM 512GB SSD Intel Core i5 8th Gen. Windows 11 Pro

$275.60