LinuxLudus: Probelama di dipendenza con dist-upgrade

Valerio Pachera sirio81@gmail.com
Sab 30 Ago 2008 18:40:19 CEST


Ho installato una debian lenny su un portatile. L'iso l'avevo
scaricata circa 3 settimane fa.
Ho aggiunto i repository italiani e fatto un dist-upgrade ma ricevo
questo errore:

# apt-get dist-upgrade
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:
  cups: Depends: libldap-2.4-2 (>= 2.4.7) but it is not installed
        Recommends: smbclient (>= 3.0.9) but it is not installed
        Recommends: foomatic-filters but it is not installed
        Recommends: avahi-utils but it is not installed
  kdebase-kio-plugins: Depends: libldap-2.4-2 (>= 2.4.7) but it is not installed
  libcurl3-gnutls: Depends: libldap-2.4-2 (>= 2.4.7) but it is not installed
  libnfsidmap2: Depends: libldap-2.4-2 (>= 2.4.7) but it is not installed
  libsmbclient: Depends: libldap-2.4-2 (>= 2.4.7) but it is not installed
E: Unmet dependencies. Try using -f.


Ho provato install -f come suggerito dal messaggio ma ottenfo cmq un errore:

Codice:

# apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  dirmngr libldap-2.4-2
The following packages will be REMOVED:
  libldap2
The following NEW packages will be installed:
  libldap-2.4-2
The following packages will be upgraded:
  dirmngr
1 upgraded, 1 newly installed, 1 to remove and 520 not upgraded.
271 not fully installed or removed.
Need to get 386kB of archives.
After this operation, 98.3kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://ftp.it.debian.org lenny/main dirmngr 1.0.1-3 [199kB]
Get:2 http://ftp.it.debian.org lenny/main libldap-2.4-2 2.4.10-3 [187kB]
Fetched 386kB in 2s (160kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "it_IT.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 70062 files and directories currently installed.)
Preparing to replace dirmngr 0.9.6-1+b1 (using .../dirmngr_1.0.1-3_i386.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "it_IT.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Stopping DirMngr: dirmngr/usr/sbin/invoke-rc.d: line 437:  3219
Terminated              "${INITDPREFIX}${INITSCRIPTID}" "${saction}"
"$@"
invoke-rc.d: initscript dirmngr, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 143
dpkg - trying script from the new package instead ...
Stopping DirMngr: dirmngr/usr/sbin/invoke-rc.d: line 437:  3247
Terminated              "${INITDPREFIX}${INITSCRIPTID}" "${saction}"
"$@"
invoke-rc.d: initscript dirmngr, action "stop" failed.
dpkg: error processing
/var/cache/apt/archives/dirmngr_1.0.1-3_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 143
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "it_IT.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Starting DirMngr: dirmngr.
Errors were encountered while processing:
 /var/cache/apt/archives/dirmngr_1.0.1-3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Ho provaato a rimuovere i pacchetti presenti in
/car/cache/apt/archives in modo che venissero riscaricati ma non è
cambiato nulla.

Cosa consigliate?
Non vorrei fare una nuova installazione.

PS: avevo provato ad installare debian ia64 ma il cd non faceva il
boot sempre con l'iso scaricata fresca (3 settimane fa). Il processore
è un intel(R) core(TM) Duo CPU T7700 @ 2.40 Ghz.
Cosa ne pensate?


Maggiori informazioni sulla lista linuxludus