# Installation stoppée: Your system is not fully up to date. Please perform a regular upgrade before running the migration to stretch

**URL:** https://forum.yunohost.org/t/installation-stoppee-your-system-is-not-fully-up-to-date-please-perform-a-regular-upgrade-before-running-the-migration-to-stretch/6774
**Category:** Support
**Tags:** raspberrypi, jessie, upgrade, french
**Created:** [January 12, 2019, 6:54pm UTC](https://forum.yunohost.org/t/installation-stoppee-your-system-is-not-fully-up-to-date-please-perform-a-regular-upgrade-before-running-the-migration-to-stretch/6774 "2019-01-12T18:54:25Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Koantig](https://forum.yunohost.org/user_avatar/forum.yunohost.org/koantig/32/8235_2.png) [@Koantig](https://forum.yunohost.org/u/Koantig)
#### Post date: [January 12, 2019, 6:54pm UTC](https://forum.yunohost.org/t/installation-stoppee-your-system-is-not-fully-up-to-date-please-perform-a-regular-upgrade-before-running-the-migration-to-stretch/6774/1 "2019-01-12T18:54:25Z")

</div>

Bonjour,

J’ai tenté de mettre à jour mon yunohost (v.2.7.14.5 (stable) ) et j’obtiens cette erreur:

```
Migration 3 migrate_to_stretch has failed with exception Your system is not fully up to date. Please perform a regular upgrade before running the migration to stretch., aborting

```

Autant que je sache, tout est à jour, je ne vois pas ‘upgrader’ de plus.  
Je suis sous Raspbian Jessie, avec un pi (B il me semble):

```
root@YunoHost:~# uname -a
Linux YunoHost 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
root@YunoHost:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 8.0 (jessie)
Release:	8.0
Codename:	jessie

root@YunoHost:~# lscpu
Architecture: armv7l
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Model name: ARMv7 Processor rev 4 (v7l)
CPU max MHz: 1200.0000
CPU min MHz: 600.0000

root@YunoHost:~# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  metronome
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

```

A priori mon OS est 32b (armv7l), je ne sais pas si c’est un problème.

J’ai 4 apps d’installées: nextcloud, kanboard, freshrss et wallabag.  
J’ai rebooté mon serveur et depuis j’ai ce bandeau:

```
The version of YunoHost running on this server is obsolete and should be upgraded to YunoHost 3.x / Stretch. Please contact your administrator about this.

```

Une idée?

Merci d’avance

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [January 12, 2019, 11:51pm UTC](https://forum.yunohost.org/t/installation-stoppee-your-system-is-not-fully-up-to-date-please-perform-a-regular-upgrade-before-running-the-migration-to-stretch/6774/2 "2019-01-12T23:51:48Z")

</div>

Est-ce que tu peux tenter un `apt update && apt dist-upgrade` ?

---

<div class="post-metadata">

### Author: ![Koantig](https://forum.yunohost.org/user_avatar/forum.yunohost.org/koantig/32/8235_2.png) [@Koantig](https://forum.yunohost.org/u/Koantig)
#### Post date: [January 13, 2019, 9:57am UTC](https://forum.yunohost.org/t/installation-stoppee-your-system-is-not-fully-up-to-date-please-perform-a-regular-upgrade-before-running-the-migration-to-stretch/6774/3 "2019-01-13T09:57:50Z")

</div>

merci pour la réponse. Malheureusement, il s’arrête trop tôt:

```
root@YunoHost:~# apt update && apt dist-upgrade
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://archive.raspberrypi.org jessie/main armhf Packages                  
Hit http://archive.raspberrypi.org jessie/ui armhf Packages                    
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB               
Ign http://archive.raspberrypi.org jessie/main Translation-en                  
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB                 
Ign http://archive.raspberrypi.org jessie/ui Translation-en                    
Get:1 http://mirrordirector.raspbian.org jessie InRelease [14.9 kB]            
Hit http://repo.yunohost.org jessie InRelease                                  
Get:2 http://mirrordirector.raspbian.org jessie/main armhf Packages [9,538 kB] 
Hit http://repo.yunohost.org jessie/stable armhf Packages                      
Ign http://repo.yunohost.org jessie/stable Translation-en_GB            
Ign http://repo.yunohost.org jessie/stable Translation-en
Get:3 http://mirrordirector.raspbian.org jessie/contrib armhf Packages [43.3 kB]
Get:4 http://mirrordirector.raspbian.org jessie/non-free armhf Packages [88.1 kB]
Get:5 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [1,356 B]   
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB        
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en           
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB           
Ign http://mirrordirector.raspbian.org jessie/main Translation-en              
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB       
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en          
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB            
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en               
Fetched 9,686 kB in 17s (547 kB/s)                                             
Reading package lists... Done
Building dependency tree       
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  metronome
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

```

Si je tente:

```
root@YunoHost:~# apt list --upgradable
Listing... Done
metronome/stable 3.7.9+33b7572-1 armhf [upgradable from: 3.7.9+33b7572-1]
N: There is 1 additional version. Please use the '-a' switch to see it

root@YunoHost:~# apt list -a --upgradable
Listing... Done
metronome/stable 3.7.9+33b7572-1 armhf [upgradable from: 3.7.9+33b7572-1]
metronome/now 3.7.9+33b7572-1 armhf [installed,upgradable to: 3.7.9+33b7572-1]
```

---

<div class="post-metadata">

### Author: ![ppr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/8c91f0/32.png) [@ppr](https://forum.yunohost.org/u/ppr)
#### Post date: [January 13, 2019, 11:29am UTC](https://forum.yunohost.org/t/installation-stoppee-your-system-is-not-fully-up-to-date-please-perform-a-regular-upgrade-before-running-the-migration-to-stretch/6774/4 "2019-01-13T11:29:56Z")

</div>

Bonjour,

Dans un premier temps, s’assurer que `metronome` ne sera pas mis à jour et relancer les commandes d’Aleks :

> sudo apt-mark hold metronome && sudo apt-get update && sudo apt-get dist-upgrade

ppr

---

<div class="post-metadata">

### Author: ![ppr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/8c91f0/32.png) [@ppr](https://forum.yunohost.org/u/ppr)
#### Post date: [January 13, 2019, 11:38am UTC](https://forum.yunohost.org/t/installation-stoppee-your-system-is-not-fully-up-to-date-please-perform-a-regular-upgrade-before-running-the-migration-to-stretch/6774/5 "2019-01-13T11:38:08Z")

</div>

Si ça ne fonctionne pas, alors essayer de `démarquer` le paquet `metronome` et le réinstaller pour finalement le `remarquer` et procéder à la mise à jour :

> sudo apt-mark unhold metronome  
> wget [https://github.com/YunoHost/metronome/archive/debian/3.7.9+33b7572-1.zip](https://github.com/YunoHost/metronome/archive/debian/3.7.9+33b7572-1.zip)  
> unzip 3.7.9+33b7572-1.zip  
> cd metronome-debian-3.7.9-33b7572-1  
> sudo dpkg-buildpackage -rfakeroot -uc -b -d  
> cd …  
> sudo dpkg -i metronome\_3.7.9+33b7572-1\_armhf.deb  
> sudo apt-mark hold metronome  
> sudo apt-get update && sudo apt-get dist-upgrade

ppr

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [January 13, 2019, 12:55pm UTC](https://forum.yunohost.org/t/installation-stoppee-your-system-is-not-fully-up-to-date-please-perform-a-regular-upgrade-before-running-the-migration-to-stretch/6774/6 "2019-01-13T12:55:36Z")

</div>

> [@ppr](#):
>
> sudo apt-mark hold metronome && sudo apt-get update && sudo apt-get dist-upgrade

Ici il faut plutot mettre “unhold” non ?

```auto
sudo apt-mark unhold metronome && sudo apt-get update && sudo apt-get dist-upgrade

```

---

<div class="post-metadata">

### Author: ![ppr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/8c91f0/32.png) [@ppr](https://forum.yunohost.org/u/ppr)
#### Post date: [January 13, 2019, 1:17pm UTC](https://forum.yunohost.org/t/installation-stoppee-your-system-is-not-fully-up-to-date-please-perform-a-regular-upgrade-before-running-the-migration-to-stretch/6774/7 "2019-01-13T13:17:32Z")

</div>

Bonjour Aleks,

Effectivement. Tu as raison car il semble que ce paquet soit déjà positionné en `hold`.

Sinon mon idée était en fait de s’assurer que ce paquet soit bien positionné en `hold` afin de revérifier si la mise à jour pouvait être faite.  
Si elle ne peut se faire, alors appliquer ta remarque en passant celui-ci sur `unhold` comme tu le proposes 🙂  
En dernier recours, installer ce paquet `à la main` avec `dpkg` comme dans mon second post.

ppr

---

<div class="post-metadata">

### Author: ![Koantig](https://forum.yunohost.org/user_avatar/forum.yunohost.org/koantig/32/8235_2.png) [@Koantig](https://forum.yunohost.org/u/Koantig)
#### Post date: [January 13, 2019, 4:05pm UTC](https://forum.yunohost.org/t/installation-stoppee-your-system-is-not-fully-up-to-date-please-perform-a-regular-upgrade-before-running-the-migration-to-stretch/6774/8 "2019-01-13T16:05:30Z")

</div>

Merci à vous deux. Metronome est bien mis à jour maintenant je crois mais le pi ne veut toujours pas passer à stretch:

```
root@YunoHost:~# sudo apt-mark unhold metronome && sudo apt-get update && sudo apt-get dist-upgrade
Canceled hold on metronome.
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://archive.raspberrypi.org jessie/main armhf Packages                  
Hit http://archive.raspberrypi.org jessie/ui armhf Packages                    
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB               
Ign http://archive.raspberrypi.org jessie/main Translation-en                  
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB                 
Ign http://archive.raspberrypi.org jessie/ui Translation-en                    
Hit http://repo.yunohost.org jessie InRelease                                  
Hit http://repo.yunohost.org jessie/stable armhf Packages                      
Ign http://repo.yunohost.org jessie/stable Translation-en_GB                   
Ign http://repo.yunohost.org jessie/stable Translation-en                      
Hit http://mirrordirector.raspbian.org jessie InRelease                        
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages              
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages           
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages          
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages               
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB        
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en           
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB           
Ign http://mirrordirector.raspbian.org jessie/main Translation-en              
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB       
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en          
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB            
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en               
Reading package lists... Done                                                  
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  metronome
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 346 kB of archives.
After this operation, 4,096 B disk space will be freed.
Do you want to continue? [Y/n] Y
Get:1 http://repo.yunohost.org/debian/ jessie/stable metronome armhf 3.7.9+33b7572-1 [346 kB]
Fetched 346 kB in 0s (1,234 kB/s) 
Reading changelogs... Done
(Reading database ... 47835 files and directories currently installed.)
Preparing to unpack .../metronome_3.7.9+33b7572-1_armhf.deb ...
Unpacking metronome (3.7.9+33b7572-1) over (3.7.9+33b7572-1) ...
Processing triggers for man-db (2.7.5-1~bpo8+1) ...
Processing triggers for systemd (215-17+deb8u8) ...
Setting up metronome (3.7.9+33b7572-1) ...

root@YunoHost:~# sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
```

---

<div class="post-metadata">

### Author: ![ppr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/8c91f0/32.png) [@ppr](https://forum.yunohost.org/u/ppr)
#### Post date: [January 13, 2019, 6:21pm UTC](https://forum.yunohost.org/t/installation-stoppee-your-system-is-not-fully-up-to-date-please-perform-a-regular-upgrade-before-running-the-migration-to-stretch/6774/9 "2019-01-13T18:21:27Z")

</div>

Bonsoir,

Alors maintenant il va te falloir lire un peu de doc’ avant de poursuivre :

> [@YunoHost 3.0 (Stretch) release / Sortie de YunoHost 3.0 (Stretch)](https://forum.yunohost.org/t/yunohost-3-0-stretch-release-sortie-de-yunohost-3-0-stretch/5020):
>
> uk English version Following these last months of alpha and beta-testing, we are glad to announce the release of YunoHost 3.0 supporting Debian 9 (Stretch) tada smile ! This comes along with version 2.7.14 which includes migration procedure which should allow people to transition from Jessie to Stretch easily. Note that this version won’t receive any upgrade anymore (except for important fixes and migration fixes). We of course want to thank the numerous people who helped make this rele…

[https://yunohost.org/#/jessie\_stretch\_migration](https://yunohost.org/#/jessie_stretch_migration)

ppr

---

<div class="post-metadata">

### Author: ![Koantig](https://forum.yunohost.org/user_avatar/forum.yunohost.org/koantig/32/8235_2.png) [@Koantig](https://forum.yunohost.org/u/Koantig)
#### Post date: [January 13, 2019, 9:13pm UTC](https://forum.yunohost.org/t/installation-stoppee-your-system-is-not-fully-up-to-date-please-perform-a-regular-upgrade-before-running-the-migration-to-stretch/6774/10 "2019-01-13T21:13:35Z")

</div>

J’ai lancé `sudo yunohost tools migrations migrate` et c’est passé comme une lettre à la poste!

Ça a fini par ça:

```
Warning: Port 587 is already opened for IPv4 connections
Warning: Port 587 is already opened for IPv6 connections
Success! The firewall has been reloaded
Warning: Port 465 is already closed for IPv4 connections
Warning: Port 465 is already closed for IPv6 connections
Success! The firewall has been reloaded
Warning: Starting the yunohost package upgrade ... The migration will end, but the actual upgrade will happen right after. After the operation is complete, you might have to re-log on the webadmin.
Error: Migration 3 migrate_to_stretch has failed with exception [Errno 2] No such file or directory: '/etc/fail2ban/filter.d/yunohost.conf', aborting

```

j’ai relancé, comme la page me l’indiquait:

```
Warning: Migration 6 sync_admin_and_root_passwords has to be ran manually. Please go to Tools > Migrations on the webadmin, or run `yunohost tools migrations migrate`.
Restarting YunoHost firewall...
update-rc.d: error: no runlevel symlinks to modify, aborting!
Setting up yunohost-admin (3.3.1) ...
Processing triggers for php7.0-fpm (7.0.33-0+deb9u1) ...
Processing triggers for systemd (232-25+deb9u6) ...
Migration complete!

```

Puis une dernière fois, pour synchroniser les 2 mots de passe:

```
Info: Running migration 6 sync_admin_and_root_passwords...
Info: Your root password have been replaced by your admin password.
Success! Successfully ran migration 6 sync_admin_and_root_passwords!

```

Et tout a l’air de fonctionner. Je suis sous Yunohost 3.3.3

Merci pour votre aide!

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [January 18, 2023, 8:21pm UTC](https://forum.yunohost.org/t/installation-stoppee-your-system-is-not-fully-up-to-date-please-perform-a-regular-upgrade-before-running-the-migration-to-stretch/6774/11 "2023-01-18T20:21:37Z")

</div>


