-
"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
-
Senior Member
registered user
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.
Similar Threads
-
By Pokec in forum General Support
Replies: 2
Last Post: 12-07-2003, 07:39 PM
-
By wak in forum General Support
Replies: 1
Last Post: 10-18-2003, 06:30 PM
-
By oreo in forum General Support
Replies: 11
Last Post: 07-23-2003, 06:33 PM
-
By geebee2000 in forum Hardware & Booting
Replies: 9
Last Post: 05-21-2003, 07:29 PM
-
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
-
Forum Rules
Dell PowerEdge R7525 Server 24X2.5(8XNVME)+H745 2xEPYC 7302 CPU 128G RAM 2x2400W
$3350.00
Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB
$510.00
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD
$389.99
Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox
$340.00
Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD
$79.19
Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu
$135.00
Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores 64gb H730 2x 750w
$189.99
CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs
$246.67
DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45
$284.00
DELL R730XD Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4x 1.2TB SAS 4xRJ45
$504.00