YunoHost 11.0 (Bullseye) release / Sortie de YunoHost 11.0 (Bullseye)

It says

2022-09-30 21:03:49,400: WARNING - E: Unable to correct problems, you have held broken packages.

You can manage held packages with

$ apt-mark showhold # to list them
$ sudo apt-mark unhold packagename # to .. well, unhold it :-)

Which packages are listed as held?

@wbk here is the result of these commands :

admin@xxx:~$ sudo apt-mark showhold
dokuwiki--2-ynh-deps
dokuwiki-ynh-deps
freshrss-ynh-deps
moulinette
nextcloud-ynh-deps
pgadmin-ynh-deps
shaarli-ynh-deps
snappymail-ynh-deps
ssowat
synapse-ynh-deps
vaultwarden-ynh-deps
yeswiki-ynh-deps
yourls-ynh-deps
yunohost
yunohost-admin

admin@nos:~$ sudo apt-mark unhold dokuwiki--2-ynh-deps
Canceled hold on dokuwiki--2-ynh-deps.
admin@nos:~$ sudo apt-mark unhold yunohost
Canceled hold on yunohost.
``

What do you advice me to do?

@farvardin I did :

admin@nos:/etc/apt$ sudo apt-get install python3-pip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 pgadmin-ynh-deps : Depends: python-pip but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

I would see whether the apps with 
-ynh-deps are available in the current catalog. If so, unhold all of them, so that apt can upgrade the packages that are needed for those apps (and upgrade the rest of the system).

I unhold all of them.
Then with sudo apt-mark showhold the result was empty.

I ran again sudo yunohost tools migrations run --accept-disclaimer

Aaaaaaaargh! Again and again the exact same hold issue :cry:

See at https://paste.yunohost.org/raw/vajonineto

The only strange thing I see before holding package is 2022-10-01 08:42:48,272: DEBUG - update-alternatives: warning: forcing reinstallation of alternative /etc/mysql/mariadb.cnf because link group my.cnf is broken
Any link with my issue?

For your information, my source list is standard debian repository + yunohost :

# 
deb http://deb.debian.org/debian bullseye main
deb-src http://deb.debian.org/debian bullseye main

deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main

# bullseye-updates, previously known as 'volatile'
deb http://deb.debian.org/debian bullseye-updates main
deb-src http://deb.debian.org/debian bullseye-updates main

deb http://forge.yunohost.org/debian/ bullseye stable

no “contrib” neither “non-free”, this can’t be the problem ?

I have no contrib or non-free either, but I don’t have pgadmin installed.

What it looks like, as you will have seen:

  • currently pgAdmin depends on the current Python/PIP
  • the new pgAdmin depends on Python/PIP for Python 3
  • Apt tries to Python/PIP for Python 3, and finds (current) pgAdmin relying on the old PIP, can’t continue
  • Apt tries to upgrade pgAdmin, and finds no available python-pip3, and is not able to continue in this direction either

Is it an option for you to uninstall pgAdmin, and reinstall (or restore from backup) it later? No guarantee of course that the next app won’t have the same problem, but it is worth a try!

I removed packages that remains from installation of application that I removed years ago sudo apt-get remove pgadmin-ynh-deps yeswiki-ynh-deps --purge and it seems working now


1 Like

I am not using pgadmin anymore, I think I removed this app 1 year and half ago. I don’t why dependencies are still here


Bonjour,
la migration en Bulleye est un succĂšs !
Merci bcp aux dĂ©veloppeuses et aux dĂ©veloppeurs pour l’incroyable travail effectuĂ© depuis des annĂ©es :star_struck: et aussi pour le support trouvĂ© dans ce forum ! :hugs:

VoilĂ  les dificultĂ©es que j’ai rencontrĂ©es (j’ai une installation Ă  la maison, ça tourne sur un RPi 3B+, YunoHost boot sur un disque dur) :

  1. J’avais un pb avec le disque dur (systùme de fichier en vrac) :
    J’ai rĂ©parĂ© cela en montant le disque dur sur un autre PC, et en lançant :

sudo fsck.ext4 /dev/sda[NUMBER]

  1. Pas assez de place disponible sur /boot/
  1. Lors de la migration, j’ai eu un message d’erreur dans l’interface web 504 Gateway Timeout mais finalement la migration est allĂ©e jusqu’au bout sans s’interrompre (je ne suis pas le seul dans ce cas : 0021_migrate_to_bullseye : error 504)

  2. Depuis, j’ai constatĂ© des warnings lors des mises Ă  jour de paquets :

sudo apt update


W: Skipping acquire of configured file ‘ui/binary-armhf/Packages’ as repository ‘Index of /debian bullseye InRelease’ doesn’t have the component ‘ui’ (component misspelt in sources.list?)

J’ai Ă©ditĂ© : /etc/apt/sources.list.d/ et supprimĂ© “ui” comme expliquĂ© ici : YunoHost 11.0 (Bullseye) release / Sortie de YunoHost 11.0 (Bullseye) - #59 by Aleks

2 Likes

I am not yet successful as @marco (congratulation!) but it is in good way.

I understand the System has been properly upgraded but application have problem, particularly Nextcloud.

The log is at https://paste.yunohost.org/raw/qiyehahude

What should I do to solve this problem?
I tried to install the package “unmet dependencies” but they are already installed

admin@nos:/etc/apt/sources.list.d$ sudo apt-get install php7.3-apcu php7.3-imagick php7.3-igbinary
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
php7.3-apcu is already the newest version (5.1.21+4.0.11-8+0~20220625.32+debian10~1.gbpa7cde5).
php7.3-igbinary is already the newest version (3.2.7+2.0.8-1+0~20220421.34+debian10~1.gbp53e1f5).
php7.3-igbinary set to manually installed.
php7.3-imagick is already the newest version (3.6.0-4+0~20220117.35+debian10~1.gbp149f82).
php7.3-imagick set to manually installed.
The following packages were automatically installed and are no longer required:
  bsdmainutils cpp-8 dh-python expect libasan5 libbind9-161 libboost-iostreams1.67.0 libboost-system1.67.0
  libcroco3 libcwidget3v5 libdns-export1104 libdns1104 libdns1110 libevent-2.1-6 libevent-core-2.1-6
  libevent-extra-2.1-6 libevent-openssl-2.1-6 libevent-pthreads-2.1-6 libhavege1 libilmbase23 libirs161
  libisc-export1100 libisc1100 libisc1105 libisccc161 libisccfg163 libisl19 libjs-bootstrap libjs-d3 libjson-c3
  libkyotocabinet16v5 liblwres161 libmatheval1 libmemcachedutil2 libmpdec2 libnorm1 libopenexr23 libperl5.28
  libpgm-5.2-0 libpgm-5.3-0 libprocps7 libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev
  libpython2.7-minimal libpython2.7-stdlib libpython3.7 libpython3.7-dev libpython3.7-minimal libpython3.7-stdlib
  libreadline5 libtcl8.6 libx265-165 libzmq5 perl-modules-5.28 postgresql-9.6 postgresql-client-9.6
  postgresql-contrib python-pkg-resources python-setuptools python2 python2-dev python2-minimal python2.7
  python2.7-dev python2.7-minimal python3-aiohttp python3-asn1crypto python3-async-timeout python3-distlib
  python3-filelock python3-importlib-metadata python3-more-itertools python3-multidict python3-typing-extensions
  python3-virtualenv python3-yarl python3-zipp python3.7-minimal tcl-expect tcl8.6 uwsgi uwsgi-core virtualenv
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

Thanks in advance for your advices.

1 Like

Indeed I see I am half way :
image

I did sudo yunohost tools upgrade system as I saw several package that needed to be upgraded.

But then I can’t run again the migration tools as I get https://paste.yunohost.org/raw/megehiroho

It seems migration to Bullseye has not been marked properly (but was it completed correctly ? see https://paste.yunohost.org/raw/qiyehahude) and so I can’t move forward

:cry:

Hi!
I managed to migrate and do system update so the latest is:

  • yunohost version: 11.0.9.15 (stable)
  • yunohost-admin version: 11.0.10 (stable)
  • moulinette version: 11.0.9 (stable)
  • ssowat version: 11.0.9 (stable)

Two issues I’m experiencing at the moment:

  1. unable to start libreddit.service. libreddit.service logfile
  2. 100% cpu usage in Netdata. In Netdata I can see that something called “node” is taking all off it.

I would appreciate any help on this two issues


Apparently this is due to :

/etc/systemd/system/libreddit.service:36: Failed to parse system call

I guess you could try to edit that file, line 36 and remove the ~@privileged and ~@resources bits

Eeeeeh I’m puzzbled by the error about php deps 
 Can you share the output of sudo apt policy php7.4-fpm ?

Thanks @Aleks

I have:

php7.4-fpm:
  Installed: (none)
  Candidate: 1:7.4.32-1+0~20220929.71+debian11~1.gbpe9c007
  Version table:
     1:7.4.32-1+0~20220929.71+debian11~1.gbpe9c007 500
        500 https://packages.sury.org/php bullseye/main amd64 Packages
     7.4.30-1+deb11u1 500
        500 http://deb.debian.org/debian bullseye/main amd64 Packages
        500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages

What do you advice me to do?

And for your information:

admin@nos:~$ sudo apt-get upgrade --dry-run
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  bind9-utils bind9utils bsdmainutils cpp-8 dh-python expect libasan5 libbind9-161 libboost-iostreams1.67.0
  libboost-system1.67.0 libcroco3 libcwidget3v5 libdns-export1104 libdns1104 libdns1110 libevent-2.1-6
  libevent-core-2.1-6 libevent-extra-2.1-6 libevent-openssl-2.1-6 libevent-pthreads-2.1-6 libhavege1 libicu65
  libilmbase23 libirs161 libisc-export1100 libisc1100 libisc1105 libisccc161 libisccfg163 libisl19 libjs-bootstrap
  libjs-d3 libjson-c3 libkyotocabinet16v5 liblwres161 libmatheval1 libmemcachedutil2 libmpdec2 libnorm1
  libopenexr23 libperl5.28 libpgm-5.2-0 libpgm-5.3-0 libprocps7 libpython2-dev libpython2-stdlib libpython2.7
  libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3.7 libpython3.7-dev libpython3.7-minimal
  libpython3.7-stdlib libreadline5 libtcl8.6 libx265-165 libzmq5 perl-modules-5.28 php-gettext postgresql-9.6
  postgresql-client-9.6 postgresql-contrib python-pkg-resources python-setuptools python2 python2-dev
  python2-minimal python2.7 python2.7-dev python2.7-minimal python3-aiohttp python3-asn1crypto
  python3-async-timeout python3-distlib python3-filelock python3-importlib-metadata python3-more-itertools
  python3-multidict python3-ply python3-publicsuffix python3-typing-extensions python3-virtualenv python3-yarl
  python3-zipp python3.7-minimal tcl-expect tcl8.6 uwsgi uwsgi-core virtualenv
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  libgd3 libpcre2-8-0 libpcre3 libxml2 libxml2-dev php-common php5.6-cli php5.6-common php5.6-json php5.6-opcache
  php5.6-readline php7.0-bcmath php7.0-cli php7.0-common php7.0-gd php7.0-gmp php7.0-json php7.0-mbstring
  php7.0-opcache php7.0-readline php7.0-xml php7.1-cli php7.1-common php7.1-gd php7.1-json php7.1-mbstring
  php7.1-opcache php7.1-readline php7.1-xml php7.3-apcu php7.3-bcmath php7.3-bz2 php7.3-cli php7.3-common
  php7.3-curl php7.3-fpm php7.3-gd php7.3-gmp php7.3-imagick php7.3-imap php7.3-intl php7.3-json php7.3-ldap
  php7.3-mbstring php7.3-mysql php7.3-opcache php7.3-readline php7.3-redis php7.3-sqlite3 php7.3-xml php7.3-zip
  php7.4-cli php7.4-common php7.4-gd php7.4-json php7.4-mbstring php7.4-opcache php7.4-readline php7.4-sqlite3
  php7.4-xml php8.0 php8.0-bcmath php8.0-cli php8.0-common php8.0-curl php8.0-fpm php8.0-gd php8.0-gmp php8.0-intl
  php8.0-mbstring php8.0-mysql php8.0-opcache php8.0-readline php8.0-sqlite3 php8.0-tidy php8.0-xml php8.0-zip
  php8.1-cli php8.1-common php8.1-opcache php8.1-readline
81 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

And also:

thank you for initial input. After I removed them and restarted the YNH from admin panel the situation is the same, unfortunately.
libreddit.service logfile

I @marco
I have the same issue:

Local IP: (no ip detected?)

How did you solve it?

Thanks,

hello @matthieujoossen
unfortunately, I didn’t succeed.
I had several issues and the RPi was freezing, so I restored a backup, correct my /boot issue (see [in french] YunoHost 11.0 (Bullseye) release / Sortie de YunoHost 11.0 (Bullseye) - #419 by marco) and start again the update, and that time it was a success.
Sorry, I can’t help you.

My bad, I forgot that you also have to run systemctl daemon-reload to propagate the change in the .service file

1 Like