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

Bug#602797: upgrade-reports: problems with aptitude, apt-listchanges, php-net-smtp (php-pear), casper (obsolete), junior-games-gl and xserver-xorg-video-ati



Package: upgrade-reports
Severity: important


upgrading lenny to squeeze on Nov 8, 2010

Almost all packages are from lenny, except some of them that come from
debian-backports, debian-multimedia and obsoleted packages. Running
kernel is 2.6.32-bpo.5-686-bigmem

I will only mention errors that have caused apt-get to stop with errors
and prevent the upgrade process to continue.

I have removed all entries from /etc/apt/sources.list except squeeze
(main, contrib, non-free).

aptitude safe-upgrade enters the "Calculating dependencies" stage and
remains there indefinitely. Unable to use it.

I try to update to the last version of aptitude:

aptitude install aptitude

When trying to uninstall apt-listchanges gives the following error:

Desinstalando apt-listchanges ...
mv: no se puede efectuar `stat' sobre
«/etc/apt/apt.conf.d/20listchanges»: No existe el fichero o el
directorio
dpkg: error al procesar apt-listchanges (--remove):
 el subproceso post-removal script devolvió el código de salida de error
 1

Bug #602742 has been filed due to this error.

The new version of aptitude is much faster than the old one, but the
problem that makes it unusable remains. So I fall back to apt-get.

I run apt-get upgrade and I get the following error:

Desempaquetando el reemplazo de php-net-smtp ...
dpkg: error al procesar
/var/cache/apt/archives/php-net-smtp_1.4.2-1_all.deb (--unpack):
 intentando sobreescribir `/usr/share/php/doc', que está también en el
 paquete php-pear

I have filled a bug report against php-pear for this reason.

After manually removing the package php-net-smtp using dpkg the resto
of the upgrade runs without errors. Then I run apt-get dist-upgrade.

Then, while configuring tasksel I get an update-initramfs error
related to package casper:

Configurando tasksel (2.84) ...
Procesando disparadores para menu ...
Procesando disparadores para python-support ...
Procesando disparadores para initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-bpo.5-686-bigmem
E: /usr/share/initramfs-tools/hooks/casper failed with return 1.
update-initramfs: failed for /boot/initrd.img-2.6.32-bpo.5-686-bigmem
dpkg: el subproceso post-installation script devolvió el código de
salida de error 1

Package casper is an obsolete package comming from the debian-live
project. I have removed it manually and then restarted the upgrade.

I run apt-get dist-upgrade: 933 packages upgraded, 626 new installs,
51 to remove and 1 not updated (gnome-dbg).

evolution refuses to upgrade because it is already running.

Preparing to replace evolution 2.22.3.1-1 (using
.../evolution_2.30.3-3_i386.deb) ...
Evolution is still running, aborting...
dpkg: error processing
/var/cache/apt/archives/evolution_2.30.3-3_i386.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
 configured to not write apport reports

I kill manually evolution processes and run apt-get again. There are
a lot of unmet dependencies and apt-get refuses to continue. Running
apt-get with the -f option says:

763 upgraded, 562 newly installed, 40 to remove and 1 not upgraded.
212 not fully installed or removed.

It tries to download iceweasel, but ...

Err http://localhost/debian/ squeeze/main iceweasel i386 3.5.15-1
  Could not connect to localhost:9999 (127.0.0.1). - connect (111:
  Connection refused)
Failed to fetch
http://localhost:9999/debian/pool/main/i/iceweasel/iceweasel_3.5.15-1_i386.deb
Could not connect to localhost:9999 (127.0.0.1). - connect (111:
Connection refused)
E: Unable to fetch some archives, maybe run apt-get update or try
with --fix-missing?

The reason is that I'm using approx as a debian repository proxy,
but at this point approx is misconfigured in the middle of the upgrade.

After running dpkg --configure -a followed by apt -f install the
package approx gets correctly configured and apt-get can
download iceweasel, so te upgrade continues:

165 actualizados, 154 se instalarán, 30 para eliminar y 588 no
actualizados.
162 no instalados del todo o eliminados.

Desempaquetando el reemplazo de junior-games-gl ...
File /etc/blends/blends.conf is missing.  Please check installation
of package blends-common.
dpkg: warning: el subproceso script de `post-removal' antiguo
devolvió el código de salida de error 13
dpkg - probando el script del nuevo paquete en su lugar...
dpkg: error al procesar
/var/cache/apt/archives/junior-games-gl_1.19_all.deb (--unpack):
 no hay ningún script en la nueva versión del paquete - abandono
configured to not write apport reports
File /etc/blends/blends.conf is missing.  Please check
installation of package blends-common.
dpkg: error al reorganizar:
 el subproceso installed post-installation script devolvió el
 código de salida de error 13

Package junior-games-gl should pre-depend on blends-common, but
it doesn't. This problem has been already reported as bug #57062.
I have added a note to the bug.

After resolving manually the dependencies (dpkg --configure -a
and apt-get -f install do the trick) the upgrade finishes ok.

The only one post-upgrade issue I have find so far is that some
xserver-xorg-video-* had been removed, and the X server refused to
start. Installing xserver-xorg-video-ati solved the problem.

I wish this upgrade report will be usefull to somebody.

Best regards,
Gonzalo.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-bpo.5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



Reply to: