Debian Lenny (5.0.8) - Der Befehl "apt-get -f install" will

Alle weiteren Dienste, die nicht in die drei oberen Foren gehören.
Antworten
tobiasoberrauch
Beiträge: 4
Registriert: 06.08.2011 15:26:05

Debian Lenny (5.0.8) - Der Befehl "apt-get -f install" will

Beitrag von tobiasoberrauch » 06.08.2011 15:32:40

Wie schon erwähnt kommt folgende Meldung
The following packages will be REMOVED:
adduser apache2 apache2-mpm-prefork apache2-utils...
wenn ich folgenden Befehl eingebe:
apt-get -f install
Ich habe Debian Lenny (5.0.8).

Danke vorab für Tipps und Vorschläge

Anbei noch den kompletten Log

Code: Alles auswählen

apt-get -f install           
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  xfonts-encodings psa-pear libx11-data java-common libavahi-common-data tzdata-java psa-locale-base-en-us ucf mime-support libperl5.10 x11-common postgresql-client-common
  plesk-skins mysql-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  tzdata-java
The following packages will be REMOVED:
  adduser apache2 apache2-mpm-prefork apache2-utils apache2.2-common apt apt-utils avahi-daemon awstats base-files bash bind9 bind9-host bind9utils bsd-mailx ca-certificates
  cpio cron dbus dbus-x11 debian-archive-keyring defoma dialog dnsutils ed file fontconfig-config gawk gnupg gpgv groff-base gsfonts gsfonts-x11 ifupdown iproute iptables
  iputils-ping klogd libapache2-mod-fcgid libapache2-mod-perl2 libapache2-mod-php5 libapache2-reload-perl libapr1 libaprutil1 libasound2 libavahi-common3 libavahi-core5
  libbind9-40 libbind9-50 libboost-date-time1.34.1 libboost-filesystem1.34.1 libboost-program-options1.34.1 libbsd-resource-perl libbz2-1.0 libc-bin libc-client2007b libcap1
  libcap2 libcompress-raw-zlib-perl libcompress-zlib-perl libcurl3 libdaemon0 libdb1-compat libdb4.5 libdbd-mysql-perl libdbi-perl libdbus-1-3 libdevel-symdump-perl libdns45
  libdns58 libedit2 libelfg0 libexpat1 libfcgi0ldbl libfont-afm-perl libfontconfig1 libfontenc1 libfreetype6 libgcrypt11 libgd2-xpm libgdbm3 libgeoip1 libglib2.0-0
  libglib2.0-data libgnutls26 libgpg-error0 libgpm2 libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl libhtml-tree-perl libice6 libidn11
  libio-compress-base-perl libio-compress-zlib-perl libisc45 libisc50 libisccc40 libisccc50 libisccfg40 libisccfg50 libjpeg62 libkeyutils1 libkrb53 libldap-2.4-2 liblockfile1
  libltdl3 liblwres40 liblwres50 liblzo2-2 libmagic1 libmailtools-perl libmysqlclient15off libncursesw5 libnet-daemon-perl libnet-xwhois-perl libnss-mdns libpam-plesk libpcap0.8
  libpcre3 libplrpc-perl libpng12-0 libpopt0 libpq5 libreadline5 libsasl2-2 libsasl2-modules libsasl2-modules-sqlite3 libsm6 libspf2-2 libsqlite0 libsqlite3-0 libssh2-1
  libssl0.9.8 libt1-5 libtasn1-3 libterm-readkey-perl libtimedate-perl liburi-perl libusb-0.1-4 libvolume-id0 libwrap0 libwww-perl libx11-6 libxau6 libxcb-xlib0 libxcb1
  libxdmcp6 libxext6 libxfont1 libxi6 libxml2 libxmlrpc-c3 libxpm4 libxslt1.1 libxt6 libxtst6 locales lockfile-progs logrotate mailx man-db mawk mlock module-init-tools
  mysql-client-5.0 mysql-server-5.0 nano net-tools netcat netcat-traditional ntpdate odbcinst1debian1 openjdk-6-jre-lib openssh-client openssh-server openssl openssl-blacklist
  perl perl-modules php5 php5-cgi php5-cli php5-common php5-curl php5-gd php5-imap php5-ioncube-loader php5-mysql php5-sqlite php5-xsl plesk-base postfix postfix-pcre postgresql
  postgresql-8.3 postgresql-client-8.3 postgresql-common procps psa psa-api psa-api-rpc psa-autoinstaller psa-awstats-configurator psa-courier-imap psa-horde psa-hotfix3-9.2.3
  psa-imp psa-ingo psa-kronolith psa-locale-de-de psa-mail-driver-common psa-mail-pc-driver psa-mimp psa-mnemo psa-mod-fcgid-configurator psa-passwd psa-php5-configurator
  psa-proftpd psa-proftpd-inetd psa-pylibplesk psa-sbm3 psa-turba psa-updates psa-watchdog psmisc python python-libxml2 python-minimal python-support python2.5 python2.5-minimal
  red5-server rsync sb-publish sharutils sqlite3 sshterm ssl-cert sun-java5-bin sun-java5-jre sw-cp-server sw-engine sysklogd tcpd traceroute ttf-dejavu ttf-dejavu-core
  ttf-dejavu-extra unixodbc unzip vim-common webalizer wget whois xfonts-utils xinetd
The following NEW packages will be installed:
  tzdata-java
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  apt debian-archive-keyring (due to apt) base-files bash libc-bin
0 upgraded, 1 newly installed, 258 to remove and 2 not upgraded.
3 not fully installed or removed.
Need to get 0B/150kB of archives.
After this operation, 629MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
 ?] no


Benutzeravatar
Emess
Beiträge: 3787
Registriert: 07.11.2006 15:02:26
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Im schönen Odenwald
Kontaktdaten:

Re: Debian Lenny (5.0.8) - Der Befehl "apt-get -f install" w

Beitrag von Emess » 06.08.2011 16:17:59

Da scheint mir einiges mit den Abhängigkeiten nicht zu stimmen. Aber Lenny ist ja auch oldstable.
Aber bei diesem Satz

Code: Alles auswählen

After this operation, 629MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
?] no
würden bei mir alle Alarmglocken leuten!

schau doch mal was ein

Code: Alles auswählen

apt-get autoremove
ausspuckt?
Debian Testing (bleibt es auch)
Debian Bookworm KDE Plasma 5x Kernel 6.1.0-21-amd64 (64-bit)
Notebook HP ZBook 17 G2
Quadro K3100M/PCIe/SSE2

http://www.emess62.de

Benutzeravatar
towo
Beiträge: 4552
Registriert: 27.02.2007 19:49:44
Lizenz eigener Beiträge: GNU Free Documentation License

Re: Debian Lenny (5.0.8) - Der Befehl "apt-get -f install" w

Beitrag von towo » 06.08.2011 16:32:46

Grundsätzlich 2 Dinge:

Was willst du mit apt-get -f install erreichen?
Wie sieht deine sources.list aus?

tobiasoberrauch
Beiträge: 4
Registriert: 06.08.2011 15:26:05

Re: Debian Lenny (5.0.8) - Der Befehl "apt-get -f install" w

Beitrag von tobiasoberrauch » 08.08.2011 02:29:27

Danke für eure Antworten.
Ich möchte apt-get install subversion ausführen.
Dann wird mir geraten apt-get-f install auszuführen um das Problem zu korrigieren

Code: Alles auswählen

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:
  libc-bin: Breaks: libc6 (< 2.10) but 2.7-18lenny7 is to be installed
  locales: Depends: glibc-2.13-1 but it is not installable
  openjdk-6-jre-lib: Depends: openjdk-6-jre-headless (>= 6b17) but it is not going to be installed
  red5-server: Depends: openjdk-6-jre-headless but it is not going to be installed or
                        java6-runtime-headless
               Depends: libred5-java (= 1.0~svn4198-2) but it is not installable
               Depends: libtomcat6-java (>= 6.0.20-7) but it is not installable
  subversion: Depends: libsvn1 (= 1.5.1dfsg1-7) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Anbei meine sources.list

Code: Alles auswählen

deb ftp://ftp.de.debian.org/debian lenny contrib main non-free
deb-src ftp://ftp.de.debian.org/debian lenny contrib main non-free

deb ftp://ftp.de.debian.org/debian-security  lenny/updates main contrib non-free
deb-src ftp://ftp.de.debian.org/debian-security  lenny/updates main contrib non-free

Benutzeravatar
towo
Beiträge: 4552
Registriert: 27.02.2007 19:49:44
Lizenz eigener Beiträge: GNU Free Documentation License

Re: Debian Lenny (5.0.8) - Der Befehl "apt-get -f install" w

Beitrag von towo » 08.08.2011 06:56:19

Und Du bist Dir sicher, vorher ein apt-get update gemacht zu haben?

tobiasoberrauch
Beiträge: 4
Registriert: 06.08.2011 15:26:05

Re: Debian Lenny (5.0.8) - Der Befehl "apt-get -f install" w

Beitrag von tobiasoberrauch » 08.08.2011 13:23:59

Ja, habe ich gemacht.
Ich bin mir aber nicht sicher ob die sources.list stimmt.

debianoli
Beiträge: 4166
Registriert: 07.11.2007 13:58:49
Lizenz eigener Beiträge: MIT Lizenz

Re: Debian Lenny (5.0.8) - Der Befehl "apt-get -f install" w

Beitrag von debianoli » 08.08.2011 17:07:12

Lenny ist doch jetzt oldstable. Hast du subversion so installiert:

Code: Alles auswählen

apt-get install subversion -t oldstable

gxyz
Beiträge: 202
Registriert: 26.07.2010 13:54:21
Lizenz eigener Beiträge: MIT Lizenz

Re: Debian Lenny (5.0.8) - Der Befehl "apt-get -f install" w

Beitrag von gxyz » 09.08.2011 12:45:06

... die "sources.list" sieht schon o.k. aus - allerdings hattest Du offensichtlich früher schon 'mal etwas anderes stehen oder hast auf andere Weise Pakete aus Squeeze installiert und dabei diverse Abhängigkeiten durcheinandergebracht:
tobiasoberrauch hat geschrieben: The following packages have unmet dependencies:
libc-bin: Breaks: libc6 (< 2.10) but 2.7-18lenny7 is to be installed
[...]
Das Paket "libc-bin" gibt's erst ab Squeeze, und weil selbiges mit dem libc6-Paket aus Lenny in Konflikt steht, versucht apt, das Problem dadurch zu "lösen", dass es alles, das von libc6 abhängt deinstalliert...

Wenn es keinen besonderen Grund gibt, weshalb Du weiter Lenny verwenden willst, wär's vielleicht leichter, gleich die Flucht nach vorn anzutreten (sprich: ein dist-upgrade auf squeeze zu machen)

tobiasoberrauch
Beiträge: 4
Registriert: 06.08.2011 15:26:05

Re: Debian Lenny (5.0.8) - Der Befehl "apt-get -f install" w

Beitrag von tobiasoberrauch » 11.08.2011 14:59:33

Vielen Dank für eure Antworten.

@debianoli
Leider bringt der Befehl folgenden Fehler:

Code: Alles auswählen

apt-get install subversion -t oldstable
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:
  libc-bin: Breaks: libc6 (< 2.10) but 2.7-18lenny7 is to be installed
  locales: Depends: glibc-2.13-1 but it is not installable
  openjdk-6-jre-lib: Depends: openjdk-6-jre-headless (>= 6b17) but it is not going to be installed
  red5-server: Depends: openjdk-6-jre-headless but it is not going to be installed or
                        java6-runtime-headless
               Depends: libred5-java (= 1.0~svn4198-2) but it is not installable
               Depends: libtomcat6-java (>= 6.0.20-7) but it is not installable
  subversion: Depends: libsvn1 (= 1.5.1dfsg1-7) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
@gxyz
Ist diese Anleitung aktuell? http://www.sysadminslife.com/linux/howt ... 6-squeeze/

apt-get update

Code: Alles auswählen

Hit http://security.debian.org lenny/updates Release.gpg
Hit http://security.debian.org lenny/updates Release                                
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex                                     
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex             
Ign http://security.debian.org lenny/updates/non-free Packages/DiffIndex            
Ign http://security.debian.org lenny/updates/main Sources/DiffIndex                 
Ign http://security.debian.org lenny/updates/contrib Sources/DiffIndex              
Ign http://security.debian.org lenny/updates/non-free Sources/DiffIndex             
Hit http://security.debian.org lenny/updates/main Packages                          
Hit http://security.debian.org lenny/updates/contrib Packages                       
Err http://non-us.debian.org lenny/non-US Release.gpg                                                     
  Could not resolve 'non-us.debian.org'
Hit http://security.debian.org lenny/updates/non-free Packages                                            
Hit http://security.debian.org lenny/updates/main Sources               
Hit http://security.debian.org lenny/updates/contrib Sources            
Hit http://security.debian.org lenny/updates/non-free Sources           
Hit http://ftp.de.debian.org lenny Release.gpg                          
Hit http://ftp.de.debian.org lenny Release        
Ign http://ftp.de.debian.org lenny/main Packages/DiffIndex
Ign http://ftp.de.debian.org lenny/non-free Packages/DiffIndex
Ign http://ftp.de.debian.org lenny/contrib Packages/DiffIndex
Ign http://ftp.de.debian.org lenny/main Sources/DiffIndex
Ign http://ftp.de.debian.org lenny/non-free Sources/DiffIndex
Ign http://ftp.de.debian.org lenny/contrib Sources/DiffIndex
Hit http://ftp.de.debian.org lenny/main Packages
Hit http://ftp.de.debian.org lenny/non-free Packages
Hit http://ftp.de.debian.org lenny/contrib Packages
Hit http://ftp.de.debian.org lenny/main Sources
Hit http://ftp.de.debian.org lenny/non-free Sources
Hit http://ftp.de.debian.org lenny/contrib Sources
Hit ftp://ftp2.de.debian.org lenny Release.gpg
Hit ftp://ftp2.de.debian.org lenny Release
Get:1 ftp://ftp2.de.debian.org lenny/main Packages/DiffIndex
Ign ftp://ftp2.de.debian.org lenny/main Packages/DiffIndex
Get:2 ftp://ftp2.de.debian.org lenny/contrib Packages/DiffIndex
Ign ftp://ftp2.de.debian.org lenny/contrib Packages/DiffIndex
Get:3 ftp://ftp2.de.debian.org lenny/non-free Packages/DiffIndex
Ign ftp://ftp2.de.debian.org lenny/non-free Packages/DiffIndex
Get:4 ftp://ftp2.de.debian.org lenny/main Sources/DiffIndex
Ign ftp://ftp2.de.debian.org lenny/main Sources/DiffIndex
Get:5 ftp://ftp2.de.debian.org lenny/contrib Sources/DiffIndex
Ign ftp://ftp2.de.debian.org lenny/contrib Sources/DiffIndex
Get:6 ftp://ftp2.de.debian.org lenny/non-free Sources/DiffIndex
Ign ftp://ftp2.de.debian.org lenny/non-free Sources/DiffIndex
Hit ftp://ftp2.de.debian.org lenny/main Packages
Hit ftp://ftp2.de.debian.org lenny/contrib Packages
Hit ftp://ftp2.de.debian.org lenny/non-free Packages
Hit ftp://ftp2.de.debian.org lenny/main Sources
Hit ftp://ftp2.de.debian.org lenny/contrib Sources
Hit ftp://ftp2.de.debian.org lenny/non-free Sources
Reading package lists... Done
W: Failed to fetch http://non-us.debian.org/debian-non-US/dists/lenny/non-US/Release.gpg  Could not resolve 'non-us.debian.org'

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems
apt-get upgrade

Code: Alles auswählen

apt-get upgrade
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:
  libc-bin: Breaks: libc6 (< 2.10) but 2.7-18lenny7 is installed
  locales: Depends: glibc-2.13-1 but it is not installable
  openjdk-6-jre-lib: Depends: openjdk-6-jre-headless (>= 6b17) but it is not installed
  red5-server: Depends: openjdk-6-jre-headless but it is not installed or
                        java6-runtime-headless
               Depends: libred5-java (= 1.0~svn4198-2) but it is not installable
               Depends: libtomcat6-java (>= 6.0.20-7) but it is not installable
E: Unmet dependencies. Try using -f.
apt-get dist-upgrade

Code: Alles auswählen

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:
  libc-bin: Breaks: libc6 (< 2.10) but 2.7-18lenny7 is installed
  locales: Depends: glibc-2.13-1 but it is not installable
  openjdk-6-jre-lib: Depends: openjdk-6-jre-headless (>= 6b17) but it is not installed
  red5-server: Depends: openjdk-6-jre-headless but it is not installed or
                        java6-runtime-headless
               Depends: libred5-java (= 1.0~svn4198-2) but it is not installable
               Depends: libtomcat6-java (>= 6.0.20-7) but it is not installable
E: Unmet dependencies. Try using -f.

gxyz
Beiträge: 202
Registriert: 26.07.2010 13:54:21
Lizenz eigener Beiträge: MIT Lizenz

Re: Debian Lenny (5.0.8) - Der Befehl "apt-get -f install" w

Beitrag von gxyz » 12.08.2011 08:26:47

Ist diese Anleitung aktuell? http://www.sysadminslife.com/linux/howt ... 6-squeeze/
... ich weiß nicht, ob es unbedingt die beste Anleitung ist, die es gibt, aber im Prinzip sollte es so gehen (außer dass Du aus offensichtlichen Gründen überspringen musst, Lenny vorher zu aktualisieren).

Falls "apt" auch für das dist-upgrade auf Sqeeze Konflikte meldet, musst Du Dir natürlich doch noch genauer ansehen, was eigentlich los ist ...

Antworten