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 10/02/2017, à 00:24

janove

La migration 14.04 vers 16.04 plante systématiquement

Bonjour,

J'ai repoussé à plusieurs reprises la migration de la 14.04 à la 16.04 en espérant que les erreurs finiraient par se résoudre avec des mises à jour mais malheureusement c'est persistant.

Après avoir entré la commande

sudo do-release-upgrade

J'obtiens en retour

Impossible d'évaluer la mise à niveau 

Un problème insoluble est survenu lors de la préparation de la mise à 
niveau. 

Ceci peut-être dû à : 
* la mise à niveau vers une version de développement d'Ubuntu ; 
* la version de développement d'Ubuntu est actuellement utilisée ; 
* des paquets logiciels non officiels, non fournis par Ubuntu. 

Si rien de tout cela ne s'applique, veuillez signaler ce bogue en 
utilisant la commande « ubuntu-bug ubuntu-release-upgrader-core » 
dans un terminal. 


Restauration du système dans son état d'origine

Annulation
Lecture des listes de paquets… Terminé         
Construction de l'arbre des dépendances         
Lecture des informations d'état… Terminé       
Construction des structures de données… Terminé

J'ai examiné le fichier de log dans /var/log/dist-upgrade, mais je n'ai rien trouvé qui me parle...

2017-02-09 22:53:03,684 INFO Using config files '['./DistUpgrade.cfg.trusty', '/etc/update-manager/release-upgrades.d/opera.cfg']'
2017-02-09 22:53:03,685 INFO uname information: 'Linux jyag-N53SN 3.13.0-108-generic #155-Ubuntu SMP Wed Jan 11 16:58:52 UTC 2017 x86_64'
2017-02-09 22:53:04,114 INFO apt version: '1.0.1ubuntu2.17'
2017-02-09 22:53:04,115 INFO python version: '3.4.3 (default, Nov 17 2016, 01:08:31) 
[GCC 4.8.4]'
2017-02-09 22:53:04,117 INFO release-upgrader version '16.04.20' started
2017-02-09 22:53:04,126 INFO locale: 'fr_FR' 'UTF-8'
2017-02-09 22:53:04,138 INFO screen could not be run
2017-02-09 22:53:04,205 DEBUG Using 'DistUpgradeViewText' view
2017-02-09 22:53:04,258 DEBUG aufsOptionsAndEnvironmentSetup()
2017-02-09 22:53:04,260 DEBUG using '/tmp/upgrade-rw-_tnn63qb' as aufs_rw_dir
2017-02-09 22:53:04,261 DEBUG using '/tmp/upgrade-chroot-2jdf6aa9' as aufs chroot dir
2017-02-09 22:53:04,261 DEBUG enable dpkg --force-overwrite
2017-02-09 22:53:04,309 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
2017-02-09 22:53:09,235 DEBUG lsb-release: 'trusty'
2017-02-09 22:53:09,237 DEBUG _pythonSymlinkCheck run
2017-02-09 22:53:09,239 DEBUG openCache()
2017-02-09 22:53:09,239 DEBUG No such plugin directory: ./plugins
2017-02-09 22:53:09,239 DEBUG plugins for condition 'PreCacheOpen' are '[]'
2017-02-09 22:53:09,240 DEBUG plugins for condition 'xenialPreCacheOpen' are '[]'
2017-02-09 22:53:09,240 DEBUG plugins for condition 'from_trustyPreCacheOpen' are '[]'
2017-02-09 22:53:09,240 DEBUG quirks: running PreCacheOpen
2017-02-09 22:53:09,240 DEBUG running Quirks.PreCacheOpen
2017-02-09 22:53:09,992 DEBUG /openCache(), new cache size 75869
2017-02-09 22:53:09,992 DEBUG need_server_mode(): run in 'desktop' mode, (because of key deps for 'ubuntu-desktop')
2017-02-09 22:53:09,992 DEBUG checkViewDepends()
2017-02-09 22:53:09,993 DEBUG depends: 'apt (>= 1.0.1ubuntu2.13)'
2017-02-09 22:53:09,993 DEBUG checking: '[('apt', '1.0.1ubuntu2.13', '>=')]' 
2017-02-09 22:53:09,993 DEBUG depends: 'dpkg (>= 1.17.5ubuntu5.6)'
2017-02-09 22:53:09,993 DEBUG checking: '[('dpkg', '1.17.5ubuntu5.6', '>=')]' 
2017-02-09 22:53:09,993 DEBUG running doUpdate() (showErrors=False)
2017-02-09 22:53:16,602 DEBUG openCache()
2017-02-09 22:53:17,359 DEBUG /openCache(), new cache size 75869
2017-02-09 22:53:17,359 DEBUG doPostInitialUpdate
2017-02-09 22:53:17,359 DEBUG plugins for condition 'PostInitialUpdate' are '[]'
2017-02-09 22:53:17,359 DEBUG plugins for condition 'xenialPostInitialUpdate' are '[]'
2017-02-09 22:53:17,359 DEBUG plugins for condition 'from_trustyPostInitialUpdate' are '[]'
2017-02-09 22:53:19,001 DEBUG MetaPkgs: 
2017-02-09 22:53:22,975 DEBUG Foreign: account-plugin-aim account-plugin-jabber account-plugin-salut account-plugin-yahoo asunder dcraw easytag empathy empathy-common faac gimp gimp-data gimp-gmic gimp-help-common gimp-help-en gimp-help-en-gb gimp-help-fr gimp-plugin-registry gir1.2-rb-3.0 gir1.2-totem-1.0 gir1.2-totem-plparser-1.0 gnome-control-center gnome-control-center-data gnome-control-center-shared-data gnome-system-monitor gnome-terminal gnome-terminal-data go-mtpfs go-mtpfs-unity google-musicmanager-beta gstreamer0.10-ffmpeg i965-va-driver lame libaacs0 libass5 libavcodec-extra libavutil-ffmpeg54 libbluray1 libdvdcss2 libdvdnav4 libdvdread4 libfaac0 libfdk-aac0 libgimp2.0 libgnome-control-center1 libgraphicsmagick3 liblcms2-2 libmp3lame0 libmpcdec6 libopus0 librhythmbox-core8 libshine3 libswresample-ffmpeg1 libtotem-plparser18 libtotem0 libva-drm1 libva-x11-1 libva1 libvlc5 libvlccore8 libvorbis0a libvorbis0a:i386 libvorbisenc2 libvorbisenc2:i386 libvorbisfile3 libvpx1 libx264-142 libx264-148 mcp-account-manager-uoa mplayer nautilus-sendto-empathy nixnote opera oracle-java8-installer oracle-java8-set-default photocollage python-mutagen python3-mutagen rawtherapee rhythmbox rhythmbox-data rhythmbox-mozilla rhythmbox-plugin-alternative-toolbar rhythmbox-plugin-android-remote rhythmbox-plugin-artdisplay rhythmbox-plugin-cdrecorder rhythmbox-plugin-close-on-hide rhythmbox-plugin-complete rhythmbox-plugin-countdown-playlist rhythmbox-plugin-coverart-browser rhythmbox-plugin-coverart-search rhythmbox-plugin-desktopart rhythmbox-plugin-drc rhythmbox-plugin-equalizer rhythmbox-plugin-fileorganizer rhythmbox-plugin-fullscreen rhythmbox-plugin-hide rhythmbox-plugin-jumptowindow rhythmbox-plugin-llyrics rhythmbox-plugin-looper rhythmbox-plugin-magnatune rhythmbox-plugin-now-playing rhythmbox-plugin-opencontainingfolder rhythmbox-plugin-parametriceq rhythmbox-plugin-playlist-import-export rhythmbox-plugin-podcast-pos rhythmbox-plugin-radio-browser rhythmbox-plugin-randomalbumplayer rhythmbox-plugin-rating-filters rhythmbox-plugin-remembertherhythm rhythmbox-plugin-repeat-one-song rhythmbox-plugin-rhythmweb rhythmbox-plugin-screensaver rhythmbox-plugin-smallwindow rhythmbox-plugin-spectrum rhythmbox-plugin-suspend rhythmbox-plugin-tray-icon rhythmbox-plugin-wikipedia rhythmbox-plugins soundconverter tor-browser-fr64 totem totem-common totem-mozilla totem-plugins ufraw-batch va-driver-all vlc vlc-data vlc-nox vlc-plugin-notify vlc-plugin-samba
2017-02-09 22:53:22,975 DEBUG Obsolete: adobeair airdownloadermain.447dbe4b8352e60c6628ba362ffe0160304ed2dc.1 cdemu-client cdemu-daemon draftsight ffmpeg-opti ffmpeg-real fluxgui gcdemu language-support-writing-fr launchpad-getkeys libavcodec56-ffmpeg libavdevice56-ffmpeg libavfilter5-ffmpeg libavformat56-ffmpeg libavresample2-ffmpeg libavutil54-ffmpeg libdee-1.0-1 libmirage10 libpostproc53-ffmpeg libswresample1-ffmpeg libswscale3-ffmpeg libx265-60 linux-image-3.2.0-67-generic master-pdf-editor3 skype skype-bin:i386 vhba-dkms y-ppa-manager yad
2017-02-09 22:53:22,975 DEBUG updateSourcesList()
2017-02-09 22:53:23,112 DEBUG rewriteSourcesList() with mirror_check
2017-02-09 22:53:23,112 DEBUG ['ubuntu-minimal', 'ubuntu-standard']
2017-02-09 22:53:23,112 DEBUG Checking pkg: ubuntu-minimal
2017-02-09 22:53:23,114 DEBUG Checking pkg: ubuntu-standard
2017-02-09 22:53:23,116 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse'
2017-02-09 22:53:23,116 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse' updated to new dist
2017-02-09 22:53:23,116 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse'
2017-02-09 22:53:23,116 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse' updated to new dist
2017-02-09 22:53:23,116 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse'
2017-02-09 22:53:23,116 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse' updated to new dist
2017-02-09 22:53:23,117 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse'
2017-02-09 22:53:23,117 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse' updated to new dist
2017-02-09 22:53:23,117 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu trusty-security main restricted universe multiverse'
2017-02-09 22:53:23,117 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse' updated to new dist
2017-02-09 22:53:23,117 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu trusty-security main restricted universe multiverse'
2017-02-09 22:53:23,117 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse' updated to new dist
2017-02-09 22:53:23,117 DEBUG examining: 'deb http://ppa.launchpad.net/dhor/myway/ubuntu trusty main'
2017-02-09 22:53:23,118 DEBUG entry '# deb http://ppa.launchpad.net/dhor/myway/ubuntu xenial main # désactivé pour la mise à niveau vers xenial' was disabled (unknown mirror)
2017-02-09 22:53:23,118 DEBUG examining: 'deb http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu trusty main'
2017-02-09 22:53:23,120 DEBUG entry '# deb http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial main # désactivé pour la mise à niveau vers xenial' was disabled (unknown mirror)
2017-02-09 22:53:23,120 DEBUG examining: 'deb http://ppa.launchpad.net/videolan/stable-daily/ubuntu trusty main'
2017-02-09 22:53:23,121 DEBUG entry '# deb http://ppa.launchpad.net/videolan/stable-daily/ubuntu xenial main # désactivé pour la mise à niveau vers xenial' was disabled (unknown mirror)
2017-02-09 22:53:23,121 DEBUG examining: 'deb http://deb.opera.com/opera/ stable non-free #Opera Browser (final releases)'
2017-02-09 22:53:23,122 DEBUG examining: 'deb http://dl.google.com/linux/musicmanager/deb/ stable main'
2017-02-09 22:53:23,123 DEBUG entry '# deb http://dl.google.com/linux/musicmanager/deb/ stable main # désactivé pour la mise à niveau vers xenial' was disabled (unknown mirror)
2017-02-09 22:53:23,123 DEBUG examining: 'deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main'
2017-02-09 22:53:23,125 DEBUG entry '# deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main # désactivé pour la mise à niveau vers xenial' was disabled (unknown mirror)
2017-02-09 22:53:23,125 DEBUG examining: 'deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu trusty main'
2017-02-09 22:53:23,126 DEBUG entry '# deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu xenial main # désactivé pour la mise à niveau vers xenial' was disabled (unknown mirror)
2017-02-09 22:53:23,126 DEBUG examining: 'deb http://ppa.launchpad.net/mc3man/trusty-media/ubuntu trusty main'
2017-02-09 22:53:23,127 DEBUG entry '# deb http://ppa.launchpad.net/mc3man/trusty-media/ubuntu xenial main # désactivé pour la mise à niveau vers xenial' was disabled (unknown mirror)
2017-02-09 22:53:23,127 DEBUG examining: 'deb http://ppa.launchpad.net/fossfreedom/rhythmbox-plugins/ubuntu trusty main'
2017-02-09 22:53:23,128 DEBUG entry '# deb http://ppa.launchpad.net/fossfreedom/rhythmbox-plugins/ubuntu xenial main # désactivé pour la mise à niveau vers xenial' was disabled (unknown mirror)
2017-02-09 22:53:23,128 DEBUG examining: 'deb http://ppa.launchpad.net/webupd8team/unstable/ubuntu precise main'
2017-02-09 22:53:23,130 DEBUG entry '# deb http://ppa.launchpad.net/webupd8team/unstable/ubuntu precise main # désactivé pour la mise à niveau vers xenial' was disabled (unknown mirror)
2017-02-09 22:53:23,130 DEBUG examining: 'deb-src http://ppa.launchpad.net/webupd8team/unstable/ubuntu precise main'
2017-02-09 22:53:23,131 DEBUG entry '# deb-src http://ppa.launchpad.net/webupd8team/unstable/ubuntu precise main # désactivé pour la mise à niveau vers xenial' was disabled (unknown mirror)
2017-02-09 22:53:23,131 DEBUG examining: 'deb http://ppa.launchpad.net/rohityadav/vlmc/ubuntu precise main'
2017-02-09 22:53:23,132 DEBUG entry '# deb http://ppa.launchpad.net/rohityadav/vlmc/ubuntu precise main # désactivé pour la mise à niveau vers xenial' was disabled (unknown mirror)
2017-02-09 22:53:23,132 DEBUG examining: 'deb-src http://ppa.launchpad.net/rohityadav/vlmc/ubuntu precise main'
2017-02-09 22:53:23,134 DEBUG entry '# deb-src http://ppa.launchpad.net/rohityadav/vlmc/ubuntu precise main # désactivé pour la mise à niveau vers xenial' was disabled (unknown mirror)
2017-02-09 22:53:23,134 DEBUG examining: 'deb http://download.videolan.org/pub/debian/stable/ /'
2017-02-09 22:53:23,136 DEBUG entry '# deb http://download.videolan.org/pub/debian/stable/ / # désactivé pour la mise à niveau vers xenial' was disabled (unknown mirror)
2017-02-09 22:53:23,136 DEBUG examining: 'deb-src http://download.videolan.org/pub/debian/stable/ /'
2017-02-09 22:53:23,138 DEBUG entry '# deb-src http://download.videolan.org/pub/debian/stable/ / # désactivé pour la mise à niveau vers xenial' was disabled (unknown mirror)
2017-02-09 22:53:23,138 DEBUG examining: 'deb http://ppa.launchpad.net/vincent-c/nevernote/ubuntu precise main'
2017-02-09 22:53:23,139 DEBUG entry '# deb http://ppa.launchpad.net/vincent-c/nevernote/ubuntu precise main # désactivé pour la mise à niveau vers xenial' was disabled (unknown mirror)
2017-02-09 22:53:23,139 DEBUG examining: 'deb-src http://ppa.launchpad.net/vincent-c/nevernote/ubuntu precise main'
2017-02-09 22:53:23,141 DEBUG entry '# deb-src http://ppa.launchpad.net/vincent-c/nevernote/ubuntu precise main # désactivé pour la mise à niveau vers xenial' was disabled (unknown mirror)
2017-02-09 22:53:23,141 DEBUG examining: 'deb http://ppa.launchpad.net/nerdherd/cloud/ubuntu trusty main'
2017-02-09 22:53:23,142 DEBUG entry '# deb http://ppa.launchpad.net/nerdherd/cloud/ubuntu xenial main # désactivé pour la mise à niveau vers xenial' was disabled (unknown mirror)
2017-02-09 22:53:59,304 DEBUG running doUpdate() (showErrors=True)
2017-02-09 22:54:04,317 DEBUG openCache()
2017-02-09 22:54:04,317 DEBUG failed to SystemUnLock() (E:Non verrouillé) 
2017-02-09 22:54:09,715 DEBUG /openCache(), new cache size 84289
2017-02-09 22:54:09,716 DEBUG need_server_mode(): run in 'desktop' mode, (because of key deps for 'ubuntu-desktop')
2017-02-09 22:54:13,558 ERROR Dist-upgrade failed: 'E:Erreur, pkgProblem::Resolve a généré des ruptures, ce qui a pu être causé par les paquets devant être gardés en l'état.'
2017-02-09 22:54:13,560 DEBUG abort called
2017-02-09 22:54:13,565 DEBUG openCache()
2017-02-09 22:54:18,970 DEBUG /openCache(), new cache size 75869
2017-02-09 22:54:18,970 DEBUG enabling apt cron job

Si quelqu'un a une idée de solution, je suis preneur...

Merci !

Hors ligne

#2 Le 10/02/2017, à 00:34

smokeh

Re : La migration 14.04 vers 16.04 plante systématiquement

bonsoir
tu dois avoir des paquets garder en l'etat :

2017-02-09 22:54:13,558 ERROR Dist-upgrade failed: 'E:Erreur, pkgProblem::Resolve a généré des ruptures, ce qui a pu être causé par les paquets devant être gardés en l'état.'

ça donne quoi?

sudo dpkg --audit

Dernière modification par smokeh (Le 10/02/2017, à 00:39)

Hors ligne

#3 Le 10/02/2017, à 00:35

J5012

Re : La migration 14.04 vers 16.04 plante systématiquement

perso je pense que ca devrait etre ca :

* des paquets logiciels non officiels, non fournis par Ubuntu. 

verifie les depots ... officiels et tiers
normalement les logiciels et paquets tiers n'empechent pas la mise à jour, car do-release-upgrade desactive automatiquement ces depots ... mais des fichiers de paquets systeme de versions non officielles peuvent tromper l'application do-release-upgrade (qui est en fait un script python) ...

les differentes options :

DO-RELEASE-UPGRADE(8)                                                                                                                          DO-RELEASE-UPGRADE(8)

NAME
       do-release-upgrade - upgrade operating system to latest release

SYNOPSIS
       do-release-upgrade [options]

DESCRIPTION
       Upgrade  the operating system to the latest release from the command-line.  This is the preferred command if the machine has no graphic environment or if the
       machine is to be upgraded over a remote connection.

OPTIONS
       -h, --help
              show help message and exit

       -d, --devel-release
              Check if upgrading to the latest devel release is possible

       -p, --proposed
              Try upgrading to the latest release using the upgrader from Ubuntu-proposed

       -m MODE, --mode=MODE
              Run in a special upgrade mode. Currently "desktop" for regular upgrades of a desktop system and "server" for server systems are supported.

       -f FRONTEND, --frontend=FRONTEND
              Run the specified frontend

       -s, --sandbox
              Test upgrade with a sandbox aufs overlay

SEE ALSO
       update-manager(8), apt-get(8)

tu peux essayer de forcer l'option à -m desktop ...

mais n'oublie pas d'epuiser les mises à jour ordinaires avant de faire do-release-upgrade

sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y

Hors ligne

#4 Le 10/02/2017, à 00:53

smokeh

Re : La migration 14.04 vers 16.04 plante systématiquement

J5012

les logs parlent d'eux même .

Hors ligne

#5 Le 11/02/2017, à 12:58

J5012

Re : La migration 14.04 vers 16.04 plante systématiquement

smokeh a écrit :

J5012

les logs parlent d'eux même .

c'est à janove qu'il fault le dire ... ou plutot l'expliquer ...

ce n'est pas parce que j'ai donné une explication generale sur do-release-upgrade, que je ne saisis pas la nature de l'erreur : "...mais des fichiers de paquets systeme de versions non officielles peuvent tromper l'application do-release-upgrade..."

@janove :
- desinstalle les applications des ppa, il y en a une tonne ...
- refais une mise à jour complete pour forcer la reinstallation des paquets offciels (pas des ppa qui ont ecrasé certains fichiers, ce qui a trompé do-release-upgrade)
- reexecute do-release-upgrade

Hors ligne