[Debian 3.x] apt-get problem

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
JessiA
Posts: 49
Joined: 2003-02-07 17:07
 

[Debian 3.x] apt-get problem

Post by JessiA »

Ich wollte eben auf einem Server php4 installieren.
Folgende Fehlermeldung kommt dann immer:

Code: Select all

SERVER:~# apt-get install php4
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, php4 is already the newest version.
You might want to run `apt-get -f install' to correct these:
Sorry, but the following packages have unmet dependencies:
  libc6: Depends: libdb1-compat but it is not installable
  libc6-dev: Depends: libc6 (= 2.2.5-11.5) but 2.3.2.ds1-11 is to be installed
  php4: Depends: libexpat1 (>= 1.95.6) but 1.95.2-6 is to be installed
        Depends: libpam0g (>= 0.76) but 0.72-35 is to be installed
        Depends: libpcre3 (>= 4.0) but 3.4-1.1 is to be installed
        Depends: apache-common (>= 1.3.29) but 1.3.26-0woody3 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Ich habe auch schon versucht libdb1 (siehe Fehlermeldung) zu installieren, dann kommt aber das hier:

Code: Select all

SERVER:~# apt-get install libdb1
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
Sorry, but the following packages have unmet dependencies:
  libc6: Depends: libdb1-compat but it is not installable
  libc6-dev: Depends: libc6 (= 2.2.5-11.5) but 2.3.2.ds1-11 is to be installed
  libdb1: Depends: libc5 (>= 5.4.46) but it is not going to be installed
  php4: Depends: libexpat1 (>= 1.95.6) but 1.95.2-6 is to be installed
        Depends: libpam0g (>= 0.76) but 0.72-35 is to be installed
        Depends: libpcre3 (>= 4.0) but 3.4-1.1 is to be installed
        Depends: apache-common (>= 1.3.29) but 1.3.26-0woody3 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
P.S.: Die fehlermeldungen kommen immer wenn ich was per apt-get installieren will.
Die Update Liste von apt ist auch richtig konfiguriert.
Was kann ich tun damit apt-get wieder funktioniert?
User avatar
Joe User
Project Manager
Project Manager
Posts: 11186
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: [Debian 3.x] apt-get problem

Post by Joe User »

caraoge wrote:Was kann ich tun damit apt-get wieder funktioniert?
Wie wäre es mit dem Vorschlag aus der Fehlermeldung?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
JessiA
Posts: 49
Joined: 2003-02-07 17:07
 

Re: [Debian 3.x] apt-get problem

Post by JessiA »

Das wäre nicht so toll weil er dann meint:

Code: Select all

SERVER:/# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following packages will be REMOVED:
adduser apache apache-common apt apt-utils ash at autoconf autoconf2.13
automake base-config base-files base-passwd bash bind9-host binutils bison
bsdmainutils bsdutils bzip2 console-common console-data console-tools
console-tools-libs cpio cpp cpp-2.95 cramfsprogs cron debconf debianutils
dhcp-client diff dnsutils dpkg e2fsprogs ed emacs21 emacsen-common fdutils
file fileutils findutils flex gcc gcc-2.95 gettext-base grep groff-base gzip
hostname ifupdown info initrd-tools ipchains iptables iputils-ping joe klogd
less libapache-mod-python libapache-mod-ssl libbz2-1.0 libc-client2001 libc6
libc6-dev libcap1 libcupsys2 libdb2 libdb3 libdb4.1 libdbd-mysql-perl
libdbi-perl libdns5 libexpat1 libfreetype6 libgd1 libgd2 libgdbmg1
libglib1.2 libgpmg1 libident libisc4 libjpeg62 libldap2 liblockfile1
liblwres1 libmm11 libmm13 libmysqlclient10 libncurses5 libncurses5-dev
libnewt0 libpam-modules libpam0g libpcap0 libpcre3 libperl-dev libperl5.6
libpng2 libpopt0 libreadline4 libsasl-dev libsasl-modules-plain libsasl7
libssl0.9.6 libstdc++2.10-glibc2.2 libtiff3g libtool libwrap0 lilo login
logrotate lukemftp lynx m4 mailx make makedev man-db mawk mbr mc mc-common
mlock modconf modutils mount mysql-client mysql-server nano ncftp
ncurses-bin net-tools netbase netkit-inetd ntpdate nvi openssl passwd patch
pciutils perl perl-base perl-modules php4 php4-cgi php4-dev php4-gd
php4-imap php4-mysql phpmyadmin postfix postfix-ldap postfix-pcre
postfix-tls ppp pppconfig pppoe pppoeconf procps psmisc python python2.1
qpopper quota rsync samba-common sed setserial sharutils shellutils slang1
smbfs ssh sysklogd syslinux sysvinit t1lib1 tar tasksel tcpd telnet
textutils traceroute unzip util-linux uw-imapd vim vsftpd webalizer wget
whiptail whois xaw3dg xfree86-common xlibs zlib1g
WARNING: The following essential packages will be removed
This should NOT be done unless you know exactly what you are doing!
apt libc6 (due to apt) libstdc++2.10-glibc2.2 (due to apt) base-files
base-passwd (due to base-files) bash libncurses5 (due to bash) bsdutils
debianutils diff dpkg e2fsprogs fileutils findutils grep gzip hostname login
libpam-modules (due to login) libpam0g (due to login) mount ncurses-bin
perl-base sed shellutils sysvinit util-linux (due to sysvinit) tar textutils
slang1 (due to util-linux)
0 packages upgraded, 0 newly installed, 198 to remove and 0 not upgraded.
4 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 238MB will be freed.
You are about to do something potentially harmful
To continue type in the phrase 'Yes, do as I say!'
?]
Wenn dann aber ssh weg ist hab ich ein Problem. :roll:
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
 

Re: [Debian 3.x] apt-get problem

Post by captaincrunch »

cat /etc/apt/sources.list

Sowas kommt dabei raus, wenn man seine Versionitis auf Teufel komm raus ausleben muss. ;)
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc