[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

HELP URGENTE AIUTO: upgrade woody -> sarge



Ragazzi, sono nella m... e ho DISPERATO bisogno di aiuto.

Cacchio! mi sono deciso a fare il mio bel upgrade di una macchina un
po' importante e ...
vengo al problema:

Procedo all'upgrade
my-host# apt-get update
my-host# apt-get dist-upgrade

va tutto abbastanza bene fino a 

Unpacking postgresql (from .../postgresql_7.4.7-6sarge1_i386.deb) ...
/usr/bin/perl: relocation error:
/usr/lib/perl5/auto/Text/Iconv/Iconv.so: undefined symbol:
Perl_Gthr_key_ptr
dpkg: error processing
/var/cache/apt/archives/postgresql_7.4.7-6sarge1_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 127
/usr/bin/perl: relocation error:
/usr/lib/perl5/auto/Text/Iconv/Iconv.so: undefined symbol:
Perl_Gthr_key_ptr
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 127

poi pero` continuta, fino a
E: Sub-process /usr/bin/dpkg returned an error code (1)

e quindi ripeto l'operazione
my-host:~# apt-get dist-upgrade
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:
  libconvert-uulib-perl: Depends: perlapi-5.8.4
  libcurses-perl: Depends: perlapi-5.8.4
  libdbi-perl: Depends: perlapi-5.8.4
  libdigest-nilsimsa-perl: Depends: perlapi-5.8.0
  libdigest-sha1-perl: Depends: perlapi-5.8.4
  libnet-dns-perl: Depends: perlapi-5.8.4
  libpaper1: Depends: debconf (>= 1.3.22) but 1.2.35 is installed
  libperl5.8: Depends: perl-base (= 5.8.4-8) but 5.6.1-8.9 is installed
  libpgperl: Depends: libpg-perl but it is not installed
  libterm-readkey-perl: Depends: perlapi-5.8.0
  libtext-iconv-perl: Depends: perl-base (>= 5.8.3-2) but 5.6.1-8.9 is installed
                      Depends: perlapi-5.8.3
  perl: Depends: perl-base (= 5.8.4-8) but 5.6.1-8.9 is installed
  perl-tk: Depends: perlapi-5.8.3
  postgresql-client: Depends: libpq3 (>= 7.4) but it is not installed
                     Conflicts: postgresql (< 7.4.6-5) but
7.2.1-2woody8 is installed
  spamassassin: Depends: libhtml-parser-perl (>= 3.31) but 3.25-1 is installed
  xfree86-common: Depends: debianutils (>= 1.16.9) but 1.16.2woody1 is installed
E: Unmet dependencies. Try using -f.

OK, seguo il suo consiglio
my-host:~# apt-get -f install

la cosa va un po' avanti ... fino a
dpkg: postgresql: dependency problems, but removing anyway as you request:
 postgresql-contrib depends on postgresql (>= 7.2).
dpkg: error processing postgresql (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)

riprovo con 
my-host:~# apt-get -f install

my-host:~# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libpg-perl libpq3 postgresql 
The following NEW packages will be installed:
  libpg-perl libpq3 
1 packages upgraded, 2 newly installed, 0 to remove and 207  not upgraded.
118 packages not fully installed or removed.
Need to get 0B/3997kB of archives. After unpacking 6750kB will be used.
Do you want to continue? [Y/n] 
Reading changelogs...
Preconfiguring packages ...
dpkg: postgresql: dependency problems, but removing anyway as you request:
 postgresql-contrib depends on postgresql (>= 7.2).
dpkg: error processing postgresql (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)

e qui mi fermo: il sistema mi chiede di fare apt-get -f install che pero` mi da
lo stesso errore chiedendomi la stassa cosa.

Che pesci piglio?

Grazie per qualsiasi aiuto.



Reply to: