Hardware: Odroid board with included hard drive YunoHost version: 4.4.2.14 I have access to my server : Through SSH | through the webadmin Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes If yes, please explain: I’ve used apt-get upgrade before to try solving older issues
Description of my issue
I can’t upgrade / migrate my Yunohost instance, it seems to have issues with packages. Since I can’t share logs either because I’m getting an error too, here is a screenshot (below french post).
Mon serveur YunoHost
Matériel: Carte ARM Odroid avec disque dur Version de YunoHost: 4.4.2.14 J’ai accès à mon serveur : En SSH | Par la webadmin Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : oui Si oui, expliquer: Pour essayer de résoudre d’autres problèmes, j’ai effectué un apt-get update puis apt-get upgrade
Description du problème
Je ne peux plus mettre à jour ou migrer mon instance. Je ne peux pas partager les logs non plus à cause d’une autre erreur, voici donc une capture d’écran.
ping 8.8.8.8 -c3 : PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=119 time=3.94 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=119 time=3.94 ms 64 bytes from 8.8.8.8: icmp_seq=3 ttl=119 time=3.89 ms
ip -br a : lo UNKNOWN 127.0.0.1/8 ::1/128 eth0 UP 89.234.141.108/32 2a00:5881:8114:500::2/128 fe80::21e:6ff:fe37:64ed/64
Usually you would run apt remove adelolmo. If you already started the migration to 11, it could be that it hangs a bit in limbo. Give it a try, and if it does not work, post the output that apt gives you.
When you removed it successfully, you can remove the adelolmo-source. You’ll find it as a separate file in /etc/apt/sources.list.d/, or as a line in the main apt-sources file at /etc/apt/sources.list.
As long as things are not repaired, you have to add a nameserver manually after rebooting. (Have a look at /etc/resolv.conf, I think it does not have the IP you added before anymore: the file got regenerated on boot).
I’ve removed adelolmo from /etc/apt/sources.list.d/ with success and managed to check if there was upgrades available. But there are failing
This is the logs I get : https://paste.yunohost.org/raw/eyosenuvoj
The nameserver 1.1.1.1 is still present in \etc\resolv.conf file thought.
I am not quite sure which process is trying to reach the Yunohost-nameservers.
I’d speculate it is dnsmasq, checking that the DNS for your Yunohost still matches the IP address from your ISP (do you use a noho.st or ynh.fr address?). Whichever process is sending those emails probably lives a level deeper in the structure and is responsible for setting the nameserver in resolv.conf in the first place.
For now it is annoying, but more a symptom of your problem than the cause.
You also apt remove adelolmo’d first, didn’t you?
2022-09-25 22:23:44,445: INFO - + The following packages have unmet dependencies:
2022-09-25 22:23:44,861: INFO - + ssowat : Depends: nginx-extras (>= 1.6.2) but it is not going to be installed
2022-09-25 22:23:44,916: WARNING - E: Unable to correct problems, you have held broken packages.
On my Yunohost the last command has no output: no packages are being held. It could be that the result is the same for you (I got the error once while nothing was being held).
Let’s have a look at the held packages, and continue from there!
Adelolmo isn’t a package, but I removed Hd-idle, who was the package related to the adelolmo sources.
So, this is what I got
sudo apt update
Hit:1 https://packages.sury.org/php bullseye InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://security.debian.org bullseye-security InRelease
Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
Hit:5 http://forge.yunohost.org/debian bullseye InRelease
Hit:6 http://mirrors.xtom.de/armbian bullseye InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
215 packages can be upgraded. Run 'apt list --upgradable' to see them.
sudo apt install --fix-broken
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 215 not upgraded.
Well, the apt-get dist-upgrade went well, but migrations won’t work, it seems that my system is in-between two upgrades or couldn’t properly execute migration.
Since the buster/bullseye migration was probably bruteforced using apt instead of finishing “properly” the migration, you’ll need to manually sudo apt install php7.4-fpm
and you may encounter other issues related to missing php7.4-fpm dependencies