problem mit APT-GET

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
makeat
Posts: 39
Joined: 2005-12-19 00:08
 

problem mit APT-GET

Post by makeat »

You might want to run `apt-get -f install' to correct these.
Sorry, but the following packages have unmet dependencies:
imagemagick: Depends: libmagick6 (= 6:6.0.6.2-2.4) but it is not installable
E: Unmet dependencies. Try using -f.
ticket:~# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
coreutils e2fslibs e2fsprogs imagemagick initscripts libacl1 libattr1 libblkid1 libc6 libc6-dev libdps1 libice6 libjasper-1.701-1 liblcms1 libmagick9 libselinux1 libsepol1
libsm6 libss2 libtiff4 libuuid1 libx11-6 libxext6 libxi6 libxml2 libxmu6 libxmuu1 libxp6 libxpm4 libxrandr2 libxrender1 libxt6 libxtrap6 libxtst6 locales lsb-base sysv-rc
sysvinit x11-common xfree86-common xlibs xlibs-data
The following NEW packages will be installed:
coreutils e2fslibs initscripts libacl1 libattr1 libblkid1 libdps1 libice6 libjasper-1.701-1 liblcms1 libmagick9 libselinux1 libsepol1 libsm6 libss2 libtiff4 libuuid1 libx11-6
libxext6 libxi6 libxml2 libxmu6 libxmuu1 libxp6 libxpm4 libxrandr2 libxrender1 libxt6 libxtrap6 libxtst6 lsb-base sysv-rc x11-common xlibs-data
8 packages upgraded, 34 newly installed, 0 to remove and 288 not upgraded.
1 packages not fully installed or removed.
Need to get 0B/25.8MB of archives. After unpacking 33.7MB will be used.
Do you want to continue? [Y/n] y
E: This installation run will require temporarily removing the essential package e2fsprogs due to a Conflicts/Pre-Depends loop. This is often bad, but if you really want to do it, activate the APT::Force-LoopBreak option.
E: Internal Error, Could not early remove e2fsprogs
ticket:~#

Debian WODDY


Ich versuche rdiff-backup zu installieren leider ohne erfolg ....

Was mache ich falsch ? was ist die APT::Force-LoopBreak option ?


danke
dodolin
Posts: 3840
Joined: 2003-01-21 01:59
Location: Sinsheim/Karlsruhe
 

Re: problem mit APT-GET

Post by dodolin »

was ist die APT::Force-LoopBreak option ?
Kannst du in der man-page von apt-get nachlesen und dann in /etc/apt/apt.conf eintragen und anschliessend wieder entfernen.
encbladexp
Posts: 84
Joined: 2006-01-04 12:09
Location: Lichtenfels
 

Re: problem mit APT-GET

Post by encbladexp »

Steht in deiner sources.list vielleicht stable drin?

Dann wäre das was du versucht ja ein programm für sarge zu installieren (Debian Sarge ist ja aktuelle "stable"...)...

mfg Betz Stefan
sbkwi
Posts: 16
Joined: 2005-10-21 12:01
 

Re: problem mit APT-GET

Post by sbkwi »

Warnung: die Option '-f' bei apt-get install hat schon so manches Debian-System in einen intensiv inkonsistenten Zustand versetzt. Diese Option ist eigentlich nur für Entwickler und experimentelle Installationen gedacht.

Das Problem sollte bei einer sauberen Sarge-Installation nicht auftreten. Falls du eine gemischte Installation hast (z.B Basissystem stable mit ein paar testing modulen) sind Fehler wie du sie beschreibst, häufiger.
braindead
Posts: 250
Joined: 2002-10-22 09:49
Location: vorm Rechner
 

Re: problem mit APT-GET

Post by braindead »

apt-cache show libmagick6
Package: libmagick6
Priority: optional
Section: libs
Installed-Size: 3812
Maintainer: Ryuichi Arafune <arafune@debian.org>
Architecture: i386
Source: imagemagick
Version: 6:6.0.6.2-2.4
Replaces: libmagick, libmagick-lzw, libmagick5g, imagemagick (<= 5:6.0.1.2-1), libmagick5 (>= 4:5.5.1)

Das ist ein Sarge... also in die /etc/apt/source.list aus stable woody machen und dann ein apt-get update und dann nochmal versuchen zu installieren.
makeat
Posts: 39
Joined: 2005-12-19 00:08
 

Re: problem mit APT-GET

Post by makeat »

Code: Select all

ticket:~# apt-get update
Get:1 http://ftp.at.debian.org woody/main Packages [1773kB]
Get:2 http://non-us.debian.org woody/non-US/main Packages [44.6kB]
Get:3 http://non-us.debian.org woody/non-US/main Release [102B]
Get:4 http://non-us.debian.org woody/non-US/main Sources [18.8kB]
Get:5 http://non-us.debian.org woody/non-US/main Release [104B]
Get:6 http://security.debian.org woody/updates/main Packages [246kB]
Get:7 http://ftp.at.debian.org woody/main Release [95B]
Get:8 http://ftp.at.debian.org woody/main Sources [729kB]
Get:9 http://ftp.at.debian.org woody/main Release [97B]
Get:10 http://security.debian.org woody/updates/main Release [113B]
Fetched 2812kB in 16s (170kB/s)
Reading Package Lists... Done
Building Dependency Tree... Done
ticket:~# apt-get install rdiff-backup
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:
  imagemagick: Depends: libmagick6 (= 6:6.0.6.2-2.4) but it is not installable
  rdiff-backup: Depends: python2.2 but it is not going to be installed
                Depends: rdiff but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
ticket:~#
der rechner ist ein debian woddy (lauft schon ca 2,5 Jahre so wenn nicht länger)

habe stable in /apt-get auf woddy

was kann ich nun tun ?
makeat
Posts: 39
Joined: 2005-12-19 00:08
 

Re: problem mit APT-GET

Post by makeat »

Code: Select all

ticket:~# apt-get install -f
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  imagemagick
0 packages upgraded, 0 newly installed, 1 to remove and 41  not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 5325kB will be freed.
Do you want to continue? [Y/n] y




(Reading database ...
24049 files and directories currently installed.)
Removing imagemagick ...
ticket:~#
ticket:~#
ticket:~#
ticket:~#
ticket:~#
ticket:~# apt-get install rdiff-backup
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  librsync1 python2.2 rdiff
The following NEW packages will be installed:
  librsync1 python2.2 rdiff rdiff-backup
0 packages upgraded, 4 newly installed, 0 to remove and 41  not upgraded.
Need to get 1990kB of archives. After unpacking 6765kB will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org woody/updates/main python2.2 2.2.1-4.8 [1888kB]
Get:2 http://ftp.at.debian.org woody/main librsync1 0.9.5-1 [29.2kB]
Get:3 http://ftp.at.debian.org woody/main rdiff 0.9.5-1 [9710B]
Get:4 http://ftp.at.debian.org woody/main rdiff-backup 0.6.0-1 [63.2kB]
Fetched 1990kB in 15s (125kB/s)
Selecting previously deselected package librsync1.
(Reading database ... 23815 files and directories currently installed.)
Unpacking librsync1 (from .../librsync1_0.9.5-1_i386.deb) ...
Selecting previously deselected package python2.2.
Unpacking python2.2 (from .../python2.2_2.2.1-4.8_i386.deb) ...
Selecting previously deselected package rdiff.
Unpacking rdiff (from .../rdiff_0.9.5-1_i386.deb) ...
Selecting previously deselected package rdiff-backup.
Unpacking rdiff-backup (from .../rdiff-backup_0.6.0-1_all.deb) ...
Setting up librsync1 (0.9.5-1) ...

Setting up python2.2 (2.2.1-4.8) ...

Setting up rdiff (0.9.5-1) ...

Setting up rdiff-backup (0.6.0-1) ...

lauft nun nur leider irgenwie in ner steinalten version ...
braindead
Posts: 250
Joined: 2002-10-22 09:49
Location: vorm Rechner
 

Re: problem mit APT-GET

Post by braindead »

makeat wrote:lauft nun nur leider irgenwie in ner steinalten version ...
Woody halt ;)


makeat wrote:der rechner ist ein debian woddy (lauft schon ca 2,5 Jahre so wenn nicht länger)
sorry wenn ich dich mit dem "Das ist ein Sarge" verwirrt habe, aber ich meinte damit den rechner auf dem ich das nachgesehen habe :oops:
makeat
Posts: 39
Joined: 2005-12-19 00:08
 

Re: problem mit APT-GET

Post by makeat »

braindead wrote:
makeat wrote:lauft nun nur leider irgenwie in ner steinalten version ...
Woody halt ;)


makeat wrote:der rechner ist ein debian woddy (lauft schon ca 2,5 Jahre so wenn nicht länger)
sorry wenn ich dich mit dem "Das ist ein Sarge" verwirrt habe, aber ich meinte damit den rechner auf dem ich das nachgesehen habe :oops:
das problem ist aber das auf dem backup server die sarge version vom rdiff-backup lauft und der verweigert die Zusammenarbeit ...
braindead
Posts: 250
Joined: 2002-10-22 09:49
Location: vorm Rechner
 

Re: problem mit APT-GET

Post by braindead »

dann hast du jetzt 3 möglichkeiten ...

- du updatest deinen server auf Sarge *G*
- du versuchst dein Glück hiermit http://http.us.debian.org/debian/pool/m ... ff-backup/
- du schmeißt den GCC an

*arg* gerade als ich den schönen Text geschrieben hatte hab ich das hier gefunden:

http://www.debianhowto.de/de:howtos:woody:rdiff-backup
dodolin
Posts: 3840
Joined: 2003-01-21 01:59
Location: Sinsheim/Karlsruhe
 

Re: problem mit APT-GET

Post by dodolin »

and 41 not upgraded.
Kannst du noch ruhig schlafen?!
braindead
Posts: 250
Joined: 2002-10-22 09:49
Location: vorm Rechner
 

Re: problem mit APT-GET

Post by braindead »

oh, das hab ich garnet gesehen ... vielleicht wäre da ein apt-get dist-upgrade sinnvoll ;)