problems with apt-get (corrupted lm-sensors)

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
ciapecki
Beiträge: 2
Registriert: 06.09.2007 15:37:01

problems with apt-get (corrupted lm-sensors)

Beitrag von ciapecki » 06.09.2007 15:40:48

Hi,

I just upgraded (partialy) to ETCH from Sarge.

but some dependencies did not meet.

when I try e.g.

Code: Alles auswählen

apt-get install nmap
i get following:

Code: Alles auswählen

Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  libxft1: Depends: xfree86-common but it is not installable
  pm-dev: Depends: xfree86-common but it is not installable
  xfonts-100dpi-transcoded: Depends: xfree86-common but it is not
installable
  xfonts-75dpi: Depends: xfree86-common but it is not installable
  xfonts-75dpi-transcoded: Depends: xfree86-common but it is not
installable
  xfonts-base: Depends: xfree86-common but it is not installable
  xfonts-base-transcoded: Depends: xfree86-common but it is not
installable
  xfonts-scalable: Depends: xfree86-common but it is not installable
  xlibs-static-dev: Depends: xfree86-common but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
then I try:

Code: Alles auswählen

apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libfontenc-dev libxfont-dev x11proto-fonts-dev xfonts-100dpi-
transcoded
  xfonts-75dpi xfonts-75dpi-transcoded xfonts-base xfonts-scalable
  xlibs-static-dev
The following packages will be REMOVED:
  libxft1 pm-dev xfonts-base-transcoded xlibs xlibs-dev
The following NEW packages will be installed:
  libfontenc-dev libxfont-dev x11proto-fonts-dev
The following packages will be upgraded:
  xfonts-100dpi-transcoded xfonts-75dpi xfonts-75dpi-transcoded xfonts-
base
  xfonts-scalable xlibs-static-dev
6 upgraded, 3 newly installed, 5 to remove and 189 not upgraded.
1 not fully installed or removed.
Need to get 0B/24.6MB of archives.
After unpacking 8937kB disk space will be freed.
Do you want to continue [Y/n]?
pressing Y
i get at the end:

Code: Alles auswählen

(Reading database ... 110426 files and directories currently
installed.)
Preparing to replace lm-sensors 1:2.10.1-3 (using .../lm-
sensors_1%3a2.10.1-3_i386.deb) ...
Unpacking replacement lm-sensors ...
/etc/modutils/0keep: line 9: keep: command not found
Error while executing /etc/modutils/0keep, aborting
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
/etc/modutils/0keep: line 9: keep: command not found
Error while executing /etc/modutils/0keep, aborting
dpkg: error processing /var/cache/apt/archives/lm-
sensors_1%3a2.10.1-3_i386.deb (--unpack):
 subprocess new post-removal script returned error exit status 1
/etc/modutils/0keep: line 9: keep: command not found
Error while executing /etc/modutils/0keep, aborting
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/lm-sensors_1%3a2.10.1-3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I really don't understand what it means using .../lm-
sensors_1%3a2.10.1-3_i386.deb (I did not want to install it - I
already installed lm-sensors 1:2.10.1-3

can anybody suggest anything to try to move forward with this.

thanks
chris

Benutzeravatar
AK-Palme
Beiträge: 411
Registriert: 25.05.2004 15:38:30
Kontaktdaten:

Beitrag von AK-Palme » 06.09.2007 16:52:27

Have you upgraded it from a pure Sarge to a pure testing?
Is everything upgraded correctly?
What happens if you run aptitude dist-upgrade? Sometimes you have to run the dist-upgrade multiple times...
if there are still packages in queue install them until aptitude dist-upgrade finishes without doing something.

ciapecki
Beiträge: 2
Registriert: 06.09.2007 15:37:01

Beitrag von ciapecki » 06.09.2007 20:57:26

I upgraded from Sarge to testing, but I noticed my sources.list file had some unstable and stable mix, now I left only etch.
Upgrade was almost succesful since a lot of packages upgraded correctly, until lm-sensors (or another one that depens on it) and I don't understand why it bothers with lm-sensors1 when I have lm-sensors2
runing:

Code: Alles auswählen

aptitude dist-upgrade
[...] a lot of packages [...]
The following packages have unmet dependencies:
  xfonts-base-transcoded: Depends: xfree86-common but it is not installable
  libxft1: Depends: xfree86-common but it is not installable
  pm-dev: Depends: xfree86-common but it is not installable
Resolving dependencies...
The following actions will resolve these dependencies:

Remove the following packages:
libxft1
pm-dev
xfonts-base-transcoded
xlibs
xlibs-dev

Keep the following packages at their current version:
discover1-data [1.2005.01.08 (now)]
iproute [20041019-3 (now)]
setmixer [27DEC94-9 (now)]

Upgrade the following packages:
alsa-base [1.0.9b-2 (now) -> 1.0.13-5 (stable)]

Score is -1842

Accept this solution? [Y/n/q/?]
I give Y

Code: Alles auswählen

The following NEW packages will be automatically installed:
  foomatic-db-gutenprint freeglut3 genisoimage gnat-4.1-base hpijs-ppds libbeecrypt6 libchm1 libflac++5 libflac7 libfontenc-dev libgii1 libgii1-target-x libgnat-4.1 libgssapi2 libmysqlclient15off libneon25 libpcap0.8 libsnmp-base libsnmp9 libwine-gl libwine-print 
  libwxbase2.6-0 libwxgtk2.4-1 libwxgtk2.6-0 libxfont-dev modconf mysql-common python-ipy tdb-dev x11proto-fonts-dev 
The following packages will be automatically REMOVED:
  gkrellm-common libxft1 pm-dev xfonts-base-transcoded xlibs xlibs-dev 
The following packages have been kept back:
  discover1-data iproute setmixer 
The following NEW packages will be installed:
  dmidecode foomatic-db-gutenprint freeglut3 genisoimage gnat-4.1-base hpijs-ppds laptop-detect libbeecrypt6 libbind9-0 libchm1 libdns22 libflac++5 libflac7 libfontenc-dev libgii1 libgii1-target-x libgnat-4.1 libgssapi2 libisc11 libisccc0 libisccfg1 liblwres9 
  libmysqlclient15off libneon25 libnfsidmap2 libpcap0.8 librpcsecgss3 libsnmp-base libsnmp9 libwine libwine-gl libwine-print libwxbase2.6-0 libwxgtk2.4-1 libwxgtk2.6-0 libxfont-dev modconf mysql-common python-ipy sysvinit-utils tasksel-data tdb-dev x11proto-fonts-dev 
The following packages will be REMOVED:
  aumix chmlib gkrellm-common libgii0 libgii0-target-x libxft1 pm-dev proftpd-common xfonts-base-transcoded xfonts-biznet-iso-8859-2-100dpi xfonts-biznet-iso-8859-2-75dpi xlibs xlibs-dev 
The following packages will be upgraded:
  alsa-base alsa-utils audacity autoconf autotools-dev base-files bash bc bin86 bind9-host bison bplay bsdmainutils bsdutils cdparanoia cdrdao cdtool console-common console-data console-tools cpio cpp-2.95 cpp-3.3 curl dash dc debconf-utils dhcp-client 
  dictionaries-common discover1 doc-debian doc-linux-pl doc-linux-pl-html doc-linux-text dpkg-dev dselect e2fslibs e2fsprogs eject fakeroot fdutils findutils flex fonty foomatic-db foomatic-db-engine foomatic-db-gimp-print foomatic-db-hpijs foomatic-filters 
  foomatic-filters-ppds fsviewer-icons ftp gawk gcc-3.3-base gftp gftp-common gftp-gtk gftp-text gkrellm gnu-efi gqview grep groff-base grub gzip hostname hotplug hpijs html2text iamerican ibritish info initscripts intltool-debian ipolish iptables ircii iso-codes ispell 
  kernel-package klogd konwert konwert-filters less liba52-0.7.4 liba52-0.7.4-dev libao2 libart2 libblkid1 libcdparanoia0 libcompress-zlib-perl libconfig-inifiles-perl libconsole libdb3 libdiscover1 libevent1 libfribidi0 libgail-common libgail17 libggi2 libglide2-dev 
  libglide3-dev libjpeg-progs liblockfile1 liblogfile-rotate-perl libnet-daemon-perl libnetpbm10 libnss-db libplrpc-perl libprintsys librpm4 libsasl2 libsmbclient libsndfile1 libss2 libssl0.9.7 libstdc++2.10-glibc2.2 libstdc++5 libtextwrap1 libtheora0 libwings-dev 
  libwww-ssl0 libxml-parser-perl libxml2-utils linux-sound-base lsof m4 make manpages manpages-dev manpages-pl manpages-pl-dev mc mkisofs modutils mount mpack mpage mtools mtr-tiny music123 nano ncftp ncurses-base ncurses-term netpbm nfs-common nvi po-debconf portmap ppp 
  pppconfig pppoe pppoeconf printfilters-ppd procmail proftpd psi-translations psutils python-foomatic qtstalker-doc rcs rpm strace sysklogd sysvinit tar tasksel tcsh texinfo traceroute trickle ttf-opensymbol ttmkfdir unrar unzip util-linux wine xchm 
  xfonts-100dpi-transcoded xfonts-75dpi xfonts-75dpi-transcoded xfonts-base xfonts-biznet-100dpi xfonts-biznet-75dpi xfonts-biznet-base xfonts-scalable xlibs-static-dev xml-core zlib-bin zlibc 
The following packages are RECOMMENDED but will NOT be installed:
  automake automake1.7 automake1.8 automake1.9 courier-mta cupsys cupsys-bsd cupsys-client enscript esmtp-run esound-clients exim exim4 exim4-daemon-heavy exim4-daemon-light fetchmail libggi-target-aa libggi-target-fbdev libggi-target-glide libggi-target-svgalib 
  libggi-target-terminfo libggi-target-vcsa libggi-target-x libmail-sendmail-perl lpr lprng masqmail miscfiles msmtp-mta netcat nullmailer postfix rlpr sendmail-bin smail ssmtp vorbis-tools wamerican wamerican-huge wamerican-large wamerican-small wbritish wbritish-huge 
  wbritish-large wbritish-small wbulgarian wcanadian wcanadian-huge wcanadian-large wcanadian-small wcatalan wdanish wdutch wfaroese wfinnish wfrench wgalician-minimos wine-utils witalian wngerman wnorwegian wogerman wpolish wspanish wswedish wswiss wukrainian xmail 
191 packages upgraded, 43 newly installed, 13 to remove and 3 not upgraded.
Need to get 0B/129MB of archives. After unpacking 75.0MB will be used.
Do you want to continue? [Y/n/?] 
again Y

Code: Alles auswählen

[...]
ERROR: Communication problem with keep, it probably crashed.
Error while executing /etc/modutils/0keep, aborting
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
ERROR: Communication problem with keep, it probably crashed.
Error while executing /etc/modutils/0keep, aborting
dpkg: error processing /var/cache/apt/archives/lm-sensors_1%3a2.10.1-3_i386.deb (--unpack):
 subprocess new post-removal script returned error exit status 1
ERROR: Communication problem with keep, it probably crashed.
Error while executing /etc/modutils/0keep, aborting
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/lm-sensors_1%3a2.10.1-3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
[/code]

Antworten