Tâche #13966
Scénario #13651: Étude Upgrade-Auto vers 2.5.1
Evaluation de do-release-upgrade
Description
Ubuntu met a disposition un script do-release-upgrade.
Voir s'il correspond au besoin.
History
#1 Updated by Emmanuel GARETTE almost 8 years ago
Sur un Scribe 2.4.2 :
echo 'DPkg::options {"--force-confnew"; }' > /etc/apt/apt.conf.d/local
sed -i 's/2.4.2/2.5.1/g' /etc/apt/sources.list
export UCF_FORCE_CONFFNEW=YES
export DEBIAN_FRONTEND=noninteractive
export DEBIAN_PRIORITY=critical
apt-get install update-manager-core
echo """[View]
View=DistUpgradeViewNonInteractive
SupportSSH=DistUpgradeViewNonInteractive
[Distro]
MetaPkgs=eole-scribe-all
BaseMetaPkgs=eole-server
PostUpgradeRemove=libflashsupport, kvm-source, gtk-qt-engine, libparted1.8-12, usplash, printconf, foomatic-db-gutenprint, ebox-printers, kbluetooth, kde-plasmoid-cwp, eole-register
""" > /etc/update-manager/release-upgrades.d/eole.cfg
do-release-upgrade -f DistUpgradeViewNonInteractive -m server
#2 Updated by Emmanuel GARETTE almost 8 years ago
Problèmes vus :
- sur un scribe les applis web ne se mettent pas à jour (il y a un mot de passe à l'utilisateur root) ;
- malgré la configuration de apt.conf, tous les paquets ne sont pas purgé : dpkg -l |grep ^rc|wc -l => 50
Erreurs à étudier :
Replacing config file /etc/logrotate.d/clamav-daemon with new version * Starting ClamAV daemon clamd ERROR: Failed to change socket ownership to group clamav ...fail!
Paramétrage de php5-zendframework2 (2.3.5-2.1) ... /usr/sbin/a2enmod /usr/sbin/a2enconf ERROR: Conf zend-framework2 does not exist!
Starting SpamAssassin Mail Filter Daemon: server socket setup failed, retry 1: spamd: could not create IO::Socket::INET6 socket on [::1]:783: Ne peut attribuer l'adresse demandée server socket setup failed, retry 2: spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Adresse déjà utilisée server socket setup failed, retry 3: spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Adresse déjà utilisée server socket setup failed, retry 4: spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Adresse déjà utilisée server socket setup failed, retry 5: spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Adresse déjà utilisée server socket setup failed, retry 6: spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Adresse déjà utilisée server socket setup failed, retry 7: spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Adresse déjà utilisée n server socket setup failed, retry 8: spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Adresse déjà utilisée server socket setup failed, retry 9: spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Adresse déjà utilisée spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Adresse déjà utilisée
Directory /etc/apache2/conf.d is not empty - leaving as is Please note, that directory is considered obsolete and not read anymore by default sympa zend-framework2.conf.dpkg-new Enabling module mpm_prefork. Enabling module authn_core. disable obsolete module authz_default Enabling module authz_core. AH00526: Syntax error on line 43 of /etc/apache2/mods-enabled/ssl.conf: SSLSessionCache: 'shmcb' session cache not supported (known names: ). Maybe you need to load the appropriate socache module (mod_socache_shmcb?).
Préparation du décompactage de .../ejabberd_2.1.11-1ubuntu2.1_amd64.deb ... Can't store backup in "/var/backups/ejabberd-2015-11-10T10:52:39.xq6tpm/ejabberd-database" at node ejabberd@scribe: {'EXIT', {undef, [{mnesia_backup, open_write, ["/var/backups/ejabberd-2015-11-10T10:52:39.xq6tpm/ejabberd-database"]}, {mnesia_log, safe_apply, 3}, {mnesia_log, do_backup_master, 1}, {mnesia_log, backup_master, 2}]}} dpkg : avertissement : le sous-processus ancien script pre-removal a retourné une erreur de sortie d'état 1 dpkg: tentative d'exécution du script du nouveau paquet à la place... Stopping jabber server: ejabberd.
#3 Updated by Emmanuel GARETTE almost 8 years ago
- % Done changed from 0 to 40
#4 Updated by Emmanuel GARETTE almost 8 years ago
- % Done changed from 40 to 100
- Remaining (hours) changed from 6.0 to 0.25
Pour moi do-release-upgrade répond à la problématique de migration 2.4 vers 2.5.
Il faut donc faire une commande par dessus do-release-upgrade pour répondre au besoin d'EOLE (Zéphir notamment).
#5 Updated by Scrum Master almost 8 years ago
- Status changed from En cours to Résolu
#6 Updated by Joël Cuissinat almost 8 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.25 to 0.0