Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 20/04/2007, à 15:44

vivienfr

serveur : migration 6.10 => 7.04 : DEBUG can't find apport gui

Bonjour j'ai plusieurs serveurs sous Ubuntu server 6.10 (i386 et AMD64)

En résumé : sur 2 serveurs complétements différents, j'ai la même erreur aprés upgrade en 7.04 :

2007-04-20 12:12:12,730 ERROR SystemError from cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)
2007-04-20 12:12:12,767 DEBUG can't find apport gui
2007-04-20 12:19:24,669 ERROR SystemError from cache.commit(): installArchives() failed
2007-04-20 12:19:24,671 DEBUG can't find apport gui

Que pensez vous de ces erreurs ?

Note : la migration s'est effectuée via SSH à distance.

J'ai commencer par migrer 2 serveurs peu importants qui ne possède bien sur pas d'interface graphique (un serveur conter strike et un serveur samba). Les machines sont physiquement dans le premier cas un Xéon, 2 Go ram dans l'autre un PIII 384 Mo ram. Niveau soft j'ai installé trés peu de pakage (la config est on ne peu plus basique). Mes serveurs avaient les dernières mise a jour 6.06 avant l'upgrade en 6.10.

J'ai suivit la procédure d'upgrade suivante.

Network upgrade for Ubuntu servers (recommended)
If you run an Ubuntu server, you should use the new server upgrade system.
1. sudo apt-get install update-manager-core
2. sudo do-release-upgrade
3. Follow the on-screen instructions

Dans les 2 cas j'ai un message à la fin me disant que c'est un échec. mais tout semble fonctionnel. Je me pose des questions avant de continuer sur des serveurs + critiques.

voici les logs :

/var/log/dist-upgrade/apt.log :

Installing libc6 as dep of libpci2
Installing gcc-4.1-base as dep of libstdc++6
Installing libgcc1 as dep of libstdc++6
Installing libbz2-1.0 as dep of bzip2
Installing libdns22 as dep of bind9-host
Installing libssl0.9.8 as dep of libdns22
Installing libselinux1 as dep of libblkid1
Installing libsepol1 as dep of libselinux1
Installing dhcp3-common as dep of dhcp3-client
Installing libsasl2-2 as dep of libsasl2
Installing libdb4.2 as dep of libsasl2-2
Installing libsasl2-modules as dep of libsasl2-2
Installing libslang2 as dep of whiptail
new important dependency: command-not-found
Installing command-not-found as dep of ubuntu-standard
Installing python-central as dep of command-not-found
Installing command-not-found-data as dep of command-not-found
Installing manpages-fr-dev as dep of manpages-fr
Installing manpages-fr-extra as dep of manpages-fr
Installing python2.5 as dep of update-manager-core
Installing python2.5-minimal as dep of python2.5
Installing libreadline5 as dep of python2.5
Installing libsqlite3-0 as dep of python2.5
Installing libgpg-error0 as dep of libopencdk8
Installing perl-base as dep of perl
Installing perl-modules as dep of perl
Installing apt as dep of aptitude
Installing linux-image-2.6.20-15-server as dep of linux-image-server
Installing dmsetup as dep of libdevmapper1.02
Installing volumeid as dep of udev
Installing libvolume-id0 as dep of volumeid
Installing e2fslibs as dep of e2fsprogs
Installing upstart as dep of upstart-compat-sysv
Installing update-inetd as dep of netbase
Installing libasound2 as dep of alsa-utils
Installing libmagic1 as dep of file
Installing samba-common as dep of samba
Installing libcupsys2 as dep of samba
Installing debconf as dep of tasksel
Installing libdbus-1-3 as dep of wpasupplicant
Installing gpgv as dep of gnupg
Starting
Starting 2
Investigating libvolume-id0
Package libvolume-id0 has broken dep on libvolumeid0
  Considering libvolumeid0 4 as a solution to libvolume-id0 11
  Added libvolumeid0 to the remove list
  Fixing libvolume-id0 via remove of libvolumeid0
Done

main.log :

2007-04-20 12:04:56,489 INFO release-upgrader version '0.59.20' started
2007-04-20 12:04:56,814 DEBUG lsb-release: 'edgy'
2007-04-20 12:05:05,242 DEBUG _pythonSymlinkCheck run
2007-04-20 12:05:35,251 DEBUG Foreign: 
2007-04-20 12:05:35,252 DEBUG Obsolete: mysecureshell
2007-04-20 12:05:35,255 DEBUG updateSourcesList()
2007-04-20 12:05:35,389 DEBUG rewriteSourcesList()
2007-04-20 12:05:35,399 DEBUG examining: 'deb http://be.archive.ubuntu.com/ubuntu/ edgy main restricted'
2007-04-20 12:05:35,399 DEBUG entry 'deb http://be.archive.ubuntu.com/ubuntu/ feisty main restricted' updated to new dist
2007-04-20 12:05:35,400 DEBUG examining: 'deb-src http://be.archive.ubuntu.com/ubuntu/ edgy main restricted'
2007-04-20 12:05:35,400 DEBUG entry 'deb-src http://be.archive.ubuntu.com/ubuntu/ feisty main restricted' updated to new dist
2007-04-20 12:05:35,401 DEBUG examining: 'deb http://be.archive.ubuntu.com/ubuntu/ edgy-updates main restricted'
2007-04-20 12:05:35,402 DEBUG entry 'deb http://be.archive.ubuntu.com/ubuntu/ feisty-updates main restricted' updated to new dist
2007-04-20 12:05:35,402 DEBUG examining: 'deb-src http://be.archive.ubuntu.com/ubuntu/ edgy-updates main restricted'
2007-04-20 12:05:35,403 DEBUG entry 'deb-src http://be.archive.ubuntu.com/ubuntu/ feisty-updates main restricted' updated to new dist
2007-04-20 12:05:35,403 DEBUG examining: 'deb http://be.archive.ubuntu.com/ubuntu/ edgy universe'
2007-04-20 12:05:35,404 DEBUG entry 'deb http://be.archive.ubuntu.com/ubuntu/ feisty universe' updated to new dist
2007-04-20 12:05:35,404 DEBUG examining: 'deb-src http://be.archive.ubuntu.com/ubuntu/ edgy universe'
2007-04-20 12:05:35,405 DEBUG entry 'deb-src http://be.archive.ubuntu.com/ubuntu/ feisty universe' updated to new dist
2007-04-20 12:05:35,405 DEBUG examining: 'deb http://security.ubuntu.com/ubuntu edgy-security main restricted'
2007-04-20 12:05:35,406 DEBUG entry 'deb http://security.ubuntu.com/ubuntu feisty-security main restricted' updated to new dist
2007-04-20 12:05:35,407 DEBUG examining: 'deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted'
2007-04-20 12:05:35,407 DEBUG entry 'deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted' updated to new dist
2007-04-20 12:05:35,408 DEBUG examining: 'deb http://security.ubuntu.com/ubuntu edgy-security universe'
2007-04-20 12:05:35,408 DEBUG entry 'deb http://security.ubuntu.com/ubuntu feisty-security universe' updated to new dist
2007-04-20 12:05:35,409 DEBUG examining: 'deb-src http://security.ubuntu.com/ubuntu edgy-security universe'
2007-04-20 12:05:35,409 DEBUG entry 'deb-src http://security.ubuntu.com/ubuntu feisty-security universe' updated to new dist
2007-04-20 12:06:21,660 DEBUG Purging 'xorg-common' (Distro PostUpgradePurge rule)
2007-04-20 12:06:21,661 DEBUG Purging 'libgl1-mesa' (Distro PostUpgradePurge rule)
2007-04-20 12:06:21,662 DEBUG running feistyQuirks handler
2007-04-20 12:06:21,680 DEBUG Kernel uname: '2.6.17-11-server' 
2007-04-20 12:06:30,690 DEBUG About to apply the following changes
2007-04-20 12:06:31,414 DEBUG Held-back: 
2007-04-20 12:06:31,415 DEBUG Remove: libvolumeid0
2007-04-20 12:06:31,415 DEBUG Install: manpages-fr-dev python2.5 libdbus-1-3 libsasl2-2 manpages-fr-extra dmsetup python2.5-minimal linux-image-2.6.20-15-server libsqlite3-0 libdb4.2 libvolume-id0 command-not-found-data libdns22 gpgv command-not-found update-inetd
2007-04-20 12:06:31,416 DEBUG Upgrade: x11-common makedev coreutils whiptail python libbz2-1.0 libklibc libc6 installation-report login diff udev telnet libsysfs2 libpam-runtime libkrb53 base-files ssh tcpd ubuntu-standard iproute libstdc++6 manpages grub libselinux1 pcmciautils system-services ncurses-bin at samba-common e2fsprogs sysklogd ncftp volumeid libssl0.9.8 initramfs-tools libpopt0 util-linux-locales cron wireless-tools libuuid1 wpasupplicant libgnutls13 libparted1.7-1 python-minimal upstart popularity-contest console-terminus readline-common bind9-host libss2 wget sysv-rc debconf-i18n zlib1g belocs-locales-bin busybox-initramfs manpages-fr hdparm libsasl2-modules openssh-server vim-common bzip2 iputils-arping python-support iputils-ping eject libpci2 findutils gettext-base linux-sound-base module-init-tools libmagic1 tasksel tcpdump libldap2 libgcc1 upstart-logd hostname libdevmapper1.02 ethtool libisccc0 libbind9-0 console-setup libblkid1 libisc11 dosfstools nano klogd dnsutils libiw28 bash grep less libisccfg1 libpcap0.8 linux-server info alsa-utils libasound2 klibc-utils libgcrypt11 adduser lshw libgpg-error0 ubuntu-minimal dpkg reiserfsprogs libgc1c2 w3m fdutils xkb-data python2.4-minimal tasksel-data gnupg libwrap0 libtext-charwidth-perl e2fslibs libidn11 liblwres9 libcomerr2 ifupdown libdb4.4 update-manager-core libfribidi0 perl libtasn1-3 libconsole upstart-compat-sysv dash libncurses5 util-linux libattr1 screen procps whois lsb-release python-central pciutils openssh-client passwd mime-support iputils-tracepath dhcp3-client lftp libc6-i686 python2.4 iptables dselect ncurses-base strace debianutils debconf bsdmainutils locales file libpam-modules sysvutils libgpmg1 gzip parted libcupsys2 libsasl2 slocate libacl1 libpam0g console-tools ntpdate samba python-apt netbase aptitude samba-doc libslang2 libncursesw5 psmisc ppp linux-image-server alsa-base pppconfig libsepol1 mount rsync man-db usbutils perl-base libreadline5 perl-modules gcc-4.1-base laptop-detect libdb4.3 lsb-base dhcp3-common apt libopencdk8 tar iptraf bsdutils apt-utils vim-tiny libsigc++-2.0-0c2a pppoeconf libnewt0.52 startup-tasks initscripts
2007-04-20 12:06:31,421 DEBUG Free space on /: 8715112448
2007-04-20 12:06:31,422 DEBUG Dir /usr mounted on /
2007-04-20 12:06:31,423 DEBUG Dir /var mounted on /
2007-04-20 12:06:31,424 DEBUG Dir /boot mounted on /
2007-04-20 12:06:31,425 DEBUG Dir /var/cache/apt/archives/ mounted on /
2007-04-20 12:06:31,426 DEBUG Free space on /home: 873302016
2007-04-20 12:06:31,427 DEBUG fs_free contains: '{'/var': <DistUpgradeControler.FreeSpace object at 0xb5a7310c>, '/home': <DistUpgradeControler.FreeSpace object at 0xb5a7314c>, '/boot': <DistUpgradeControler.FreeSpace object at 0xb5a7310c>, '/usr': <DistUpgradeControler.FreeSpace object at 0xb5a7310c>, '/': <DistUpgradeControler.FreeSpace object at 0xb5a7310c>, '/var/cache/apt/archives/': <DistUpgradeControler.FreeSpace object at 0xb5a7310c>}'
2007-04-20 12:06:31,655 DEBUG dir '/var/cache/apt/archives/' needs '104875700.0' of '<DistUpgradeControler.FreeSpace object at 0xb5a7310c>' (8715112448.000000)
2007-04-20 12:06:31,656 DEBUG dir '/usr' needs '106602496.0' of '<DistUpgradeControler.FreeSpace object at 0xb5a7310c>' (8610236748.000000)
2007-04-20 12:06:31,657 DEBUG dir '/usr' needs '52428800' of '<DistUpgradeControler.FreeSpace object at 0xb5a7310c>' (8503634252.000000)
2007-04-20 12:06:31,657 DEBUG dir '/boot' needs '41943040' of '<DistUpgradeControler.FreeSpace object at 0xb5a7310c>' (8451205452.000000)
2007-04-20 12:06:31,658 DEBUG dir '/' needs '10485760' of '<DistUpgradeControler.FreeSpace object at 0xb5a7310c>' (8409262412.000000)
2007-04-20 12:12:12,730 ERROR SystemError from cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)
2007-04-20 12:12:12,767 DEBUG can't find apport gui
2007-04-20 12:19:24,669 ERROR SystemError from cache.commit(): installArchives() failed
2007-04-20 12:19:24,671 DEBUG can't find apport gui

fr.archive.ubuntu.com : Statistiques sur les versions d'Ubuntu en France

Hors ligne

#2 Le 20/04/2007, à 17:07

vivienfr

Re : serveur : migration 6.10 => 7.04 : DEBUG can't find apport gui

Update : aucune erreur sur un Ubuntu alternate CD avec interface graphique utilisé en tant que serveur. (mais j'ai fais l'upgrade via l'outil graphique)


fr.archive.ubuntu.com : Statistiques sur les versions d'Ubuntu en France

Hors ligne

#3 Le 23/04/2007, à 16:00

vivienfr

Re : serveur : migration 6.10 => 7.04 : DEBUG can't find apport gui

Personne na encore fait de migration (réussie ou non) de son serveur ?


fr.archive.ubuntu.com : Statistiques sur les versions d'Ubuntu en France

Hors ligne

#4 Le 23/04/2007, à 17:06

coubi64

Re : serveur : migration 6.10 => 7.04 : DEBUG can't find apport gui

Si, moi:

http://forum.ubuntu-fr.org/viewtopic.php?id=112480

migration réussie, juste un petit souci pas très grave je pense. J'ai suivi comme toi la procédure d'upgrade officielle. Tout s'est très bien déroulé.

Hors ligne

#5 Le 23/04/2007, à 17:43

vivienfr

Re : serveur : migration 6.10 => 7.04 : DEBUG can't find apport gui

coubi64 a écrit :

Tout s'est très bien déroulé.

Aucun message inquiétant à la fin de la procédure te disant qu'il est pas sur que ton système foncitonne correctement ?


fr.archive.ubuntu.com : Statistiques sur les versions d'Ubuntu en France

Hors ligne

#6 Le 23/04/2007, à 17:47

coubi64

Re : serveur : migration 6.10 => 7.04 : DEBUG can't find apport gui

Non rien... et mes logs semblent correct (à ce que j'en comprend)

Hors ligne

#7 Le 23/04/2007, à 17:50

vivienfr

Re : serveur : migration 6.10 => 7.04 : DEBUG can't find apport gui

Je crois qu'on ne parle pas de la même chose : tu est avec un Ubunut avec interface graphique ou un Ubuntu server sans interface graphique ?

Je suppose que le message d'erreur est lié au fait qu'il n'y a pas d'interface graphique, ce qui est normal pour un serveur.


fr.archive.ubuntu.com : Statistiques sur les versions d'Ubuntu en France

Hors ligne

#8 Le 25/04/2007, à 14:47

vivienfr

Re : serveur : migration 6.10 => 7.04 : DEBUG can't find apport gui

Mes nouvelles upgrades se sont bien passées.

Le script a peut être été modifié ou c'est peut être car mes derniers serveurs était sur de l'ubuntu server AMD64 et non i386.


fr.archive.ubuntu.com : Statistiques sur les versions d'Ubuntu en France

Hors ligne

#9 Le 28/04/2007, à 21:28

vivienfr

Re : serveur : migration 6.10 => 7.04 : DEBUG can't find apport gui

Nouveau serveur i386 6.10 basculé en 7.04 => j'ai encore eu le message alarmant a la fin de l'upgrade disant que cela s'était mal passé et que mon serveur est peut etre inutilisable. (et il ne fait pas les dernières actions qu'il fait en AMD 64)

Dans les logs, c'est toujours pour un serveur i386 :

2007-04-27 16:41:55,065 DEBUG removing bad script '/var/lib/dpkg/info/apache2-common.prerm'
2007-04-27 16:49:16,314 ERROR SystemError from cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)
2007-04-27 16:49:16,364 DEBUG can't find apport gui
2007-04-27 17:00:19,822 ERROR SystemError from cache.commit(): installArchives() failed
2007-04-27 17:00:19,827 DEBUG can't find apport gui

alors que sur un Ubuntu 6.10 AMD64 mis a jour de la même facon en 7.04 j'ai :

2007-04-25 14:21:12,881 DEBUG removing bad script '/var/lib/dpkg/info/apache2-common.prerm'
2007-04-25 14:27:23,077 DEBUG Obsolete: libdns21 linux-image-2.6.17-11-generic libapr0 grepmap
2007-04-25 14:27:23,082 DEBUG Foreign: 
2007-04-25 14:27:23,082 DEBUG forced_obsoletes: []
2007-04-25 14:27:23,160 DEBUG demoted: 'libsasl2'
2007-04-25 14:27:23,161 DEBUG remove_candidates: 'set(['libapr0', 'libdns21', 'linux-image-2.6.17-11-generic', 'grepmap'])'
2007-04-25 14:27:23,161 DEBUG Start checking for obsolete pkgs
2007-04-25 14:27:25,391 DEBUG 'linux-image-2.6.17-11-generic' scheduled for remove but not in remove_candiates, skipping
2007-04-25 14:27:25,971 DEBUG Finish checking for obsolete pkgs
2007-04-25 14:27:26,229 DEBUG The following packages are remove candidates: libapr0 grepmap libdns21
2007-04-25 14:27:59,410 DEBUG Runing PostInstallScript: './apt-autoinst-fixup.py'
2007-04-25 14:28:00,505 DEBUG running Controler.feistyQuirks handler
2007-04-25 14:28:00,505 DEBUG _rewriteFstab()
2007-04-25 14:28:00,506 DEBUG replacing '/dev/hda        /media/cdrom0   udf,iso9660 user,noauto     0       0' 
2007-04-25 14:28:00,506 DEBUG replacied line is '/dev/cdrom        /media/cdrom0   udf,iso9660 user,noauto     0       0' 
2007-04-25 14:28:00,506 DEBUG writing new /etc/fstab
2007-04-25 14:28:00,507 DEBUG _checkAdminGroup

Mes serveurs i386 comme AMD 64 n'ont pas d'interface graphique.

Dernière modification par vivienfr (Le 28/04/2007, à 21:29)


fr.archive.ubuntu.com : Statistiques sur les versions d'Ubuntu en France

Hors ligne