PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Debian - MySQL will Exim



Giuly
28.08.05, 19:38
Hi,
kann mir mal jemand sagen, warum Debian Sid/Sarge/Woody/Whatever (Von Woody auf Sid upgedated, und dann auf Sarge) Exim will, wenn ich MySQL installieren will?
Ich versteh das nicht ganz.

vl09s30:/usr/local/mysql# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
vl09s30:/usr/local/mysql# apt-get install mysql-server
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
exim4 exim4-base exim4-config exim4-daemon-light mailx mysql-client
Suggested packages:
eximon4 exim4-doc-html exim4-doc-info gnutls-bin mysql-doc
The following packages will be REMOVED:
mysql-client-4.1
The following NEW packages will be installed:
exim4 exim4-base exim4-config exim4-daemon-light mailx mysql-client mysql-server
0 upgraded, 7 newly installed, 1 to remove and 0 not upgraded.
Need to get 5224kB/5639kB of archives.
After unpacking 11.3MB of additional disk space will be used.
Do you want to continue? [Y/n]

Wie sag ich dem, dass ich Exim garnicht will?

thom01
29.08.05, 06:16
Es kommt nicht direkt vom mysql-server, sondern von mailx (das mysql-server haben will). Wenn du nicht exim haben willst, kannst du auch z.B. postfix mit installieren, dann sollte er auch befriedigt sein. Oder ssmtp. (Sollte wohl auch gehen, Hauptsache, es ist ein MTA dabei.)

Giuly
30.08.05, 11:59
ok, aber exim scheint ziemlich zerschossen zu sein.

vl09s30:~# apt-get install ssmtp
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
exim4-daemon-light
The following NEW packages will be installed:
ssmtp
0 upgraded, 1 newly installed, 1 to remove and 37 not upgraded.
1 not fully installed or removed.
Need to get 0B/37.1kB of archives.
After unpacking 8192B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
dpkg: error processing exim4-daemon-light (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
exim4-daemon-light
E: Sub-process /usr/bin/dpkg returned an error code (1)

vl09s30:/home/yace/yace5# aptitude install ssmtp
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages will be automatically REMOVED:
exim4-config
The following packages have been kept back:
apt apt-utils aptitude base-config console-common courier-authdaemon cpp
cron exim4-daemon-light g++-3.4 gcc glibc-doc hex hostname
libdevmapper1.01 libnewt0.51 libnss-db libpcre3 libstdc++6-dev libx11-6
locales logrotate modconf pcmcia-cs postgresql-dev proftpd proftpd-common
python2.1 python2.3 ssh tasksel util-linux whiptail xfree86-common zlib1g
zlib1g-dev
The following NEW packages will be installed:
ssmtp
The following packages will be REMOVED:
exim4-config
0 packages upgraded, 1 newly installed, 1 to remove and 36 not upgraded.
Need to get 0B of archives. After unpacking 872kB will be freed.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Error!
E: I wasn't able to locate file for the exim4-daemon-light package. This might mean you need to manually fix this package.
E: Couldn't lock list directory..are you root?

und apt-get install exim-daemon-light sagt mir auch, dass ich es neu installieren soll. (Was IMHO völlig unlogisch ist)

carnil
30.08.05, 13:25
Hallo
Hi,
kann mir mal jemand sagen, warum Debian Sid/Sarge/Woody/Whatever (Von Woody auf Sid upgedated, und dann auf Sarge) Exim will, wenn ich MySQL installieren will?
Ich versteh das nicht ganz.

Dir ist klar, dass da jetzt ein ziemliches "Chaos" entstanden ist? Denn:
woody (oldstable) -> sarge (stable) -> etch (testing) -> sid (unstable).

Du hast jetzt sozusagen ja ein unstable drauf. Downgrades (hier von sid auf sarge) sind ja eigentlich nicht wirklich vorgesehen. Die Probleme müssten jetzt deswegen vorhanden sein, weil du jetzt eigentlich gerne Pakete aus Sarge installieren möchtest, aber eigentlich auch schon Pakete aus unstable installiert hast.

Giuly
30.08.05, 13:34
Kann man die nicht irgendwie alle ersetzten?

E: I wasn't able to locate file for the exim4-daemon-light package. This might mean you need to manually fix this package.

Sagt wohl eher, dass das packet weg ist, aber apt noch denkt, dass es installiert ist. Das müsste doch irgendwie zu fixen sein, oder?

carnil
30.08.05, 13:39
Hi

Wie gesagt, eigentlich sind "downgrades" bei Debian nicht vorgesehen!
Trotzdem ist es machbar, aber dafür übernehme ich keine Garantie, weil es dennoch schiefgehen kann ;)
Hier einfach mal der Link dazu: http://channel.debian.de/faq/ch-dpkgundco.html#s-downgrade

Giuly
30.08.05, 14:30
ICh hatte eigentlich nicht vor, zurückzugehen, sondern einfach nur mysql zu installieren, bzw. exim4-daemon-light zu entfernen

carnil
31.08.05, 06:22
Hallo

Wenn Du nicht vor hast "zu downgraden" auf sarge, dann ändere mal die Quellen in der sources.list wieder auf unstable (sid). Dann zuerst ein aptitude update ausführen, und dann das ganze nochmals versuchen.

Nochmals als Erklärung wieso ich von "downgraden" geredet habe, weil Du gesagt du hättest von woody (oldstable) auf sid (unstable) und dann auf sarge (stable) geupdated. Wobei man beim letzen Schritt nicht von update reden kann.