Yunohost Upgrade to Buster 4.0 failure

:uk:/:us: Message template (english)

My YunoHost server

Hardware: VPS Old laptop or computer
YunoHost version: 3.8.5.7 (stable).
I have access to my server : SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

Here is a printout of the error using YunoPaste:

ended_at: 2020-08-03 19:09:57.900158
error: ā€˜Migration 0015_migrate_to_buster did not complete, aborting. Error: Something
went wrong during the main upgrade, the system appears to still be on Debian Stretchā€™
operation: tools_migrations_migrate_forward
started_at: 2020-08-03 19:09:50.440673
success: false
yunohost_version: 3.8.5.7

============

2020-08-03 14:09:50,445: INFO - Running migration 0015_migrate_to_busterā€¦
2020-08-03 14:09:50,451: INFO - Fetching available upgrades for system packagesā€¦
2020-08-03 14:09:51,059: DEBUG - Hit:1 http://forge.yunohost.org/debian stretch InRelease
2020-08-03 14:09:51,059: DEBUG - Reading package listsā€¦
2020-08-03 14:09:51,072: DEBUG - Done
2020-08-03 14:09:51,073: INFO - Nothing to do. Everything is already up-to-date.
2020-08-03 14:09:51,086: INFO - Starting migration to Buster
2020-08-03 14:09:51,169: INFO - Patching the sources.listsā€¦
2020-08-03 14:09:51,177: INFO - Fetching available upgrades for system packagesā€¦
2020-08-03 14:09:51,585: DEBUG - Get:1 http://forge.yunohost.org/debian buster InRelease [18.2 kB]
2020-08-03 14:09:51,987: DEBUG - Get:2 http://forge.yunohost.org/debian buster/stable amd64 Packages [4425 B]
2020-08-03 14:09:51,987: DEBUG - Fetched 22.6 kB in 0s (30.7 kB/s)
2020-08-03 14:09:51,987: DEBUG - Reading package listsā€¦
2020-08-03 14:09:52,002: DEBUG - Done
2020-08-03 14:09:52,310: INFO - Starting upgrade of system packages that needs to be upgrade independentlyā€¦
2020-08-03 14:09:52,352: WARNING - Could not identify which version of unscd to install
2020-08-03 14:09:52,366: DEBUG - Running: LC_ALL=C DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none apt install --quiet -o=Dpkg::Use-Pty=0 --fix-broken --assume-yes libpam-modules -o Dpkg::Options::="ā€“force-overwrite"
2020-08-03 14:09:52,472: INFO - + Reading package listsā€¦
2020-08-03 14:09:52,473: WARNING -
2020-08-03 14:09:52,473: INFO - + Building dependency treeā€¦
2020-08-03 14:09:52,473: WARNING - WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
2020-08-03 14:09:52,473: INFO - + Reading state informationā€¦
2020-08-03 14:09:52,474: WARNING -
2020-08-03 14:09:52,474: INFO - + libpam-modules is already the newest version (1.1.8-3.6).
2020-08-03 14:09:52,474: INFO - + 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
2020-08-03 14:09:52,575: INFO - Starting main upgradeā€¦
2020-08-03 14:09:52,807: INFO - Upgrading packagesā€¦
2020-08-03 14:09:52,813: INFO - Now upgrading ā€˜regularā€™ (non-yunohost-related) packagesā€¦
2020-08-03 14:09:53,450: DEBUG - Running apt command :
DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none apt-get --fix-broken --show-upgraded --assume-yes --quiet -o=Dpkg::Use-Pty=0 -o Dpkg::Options::="ā€“force-confold" -o Dpkg::Options::="ā€“force-confmiss" -o Dpkg::Options::="ā€“force-confdef" dist-upgrade
2020-08-03 14:09:53,557: INFO - + Reading package listsā€¦
2020-08-03 14:09:53,559: INFO - + Building dependency treeā€¦
2020-08-03 14:09:53,559: INFO - + Reading state informationā€¦
2020-08-03 14:09:53,560: INFO - + Calculating upgradeā€¦
2020-08-03 14:09:53,560: INFO - + The following packages have been kept back:
2020-08-03 14:09:53,561: INFO - + moulinette ssowat yunohost yunohost-admin
2020-08-03 14:09:53,561: INFO - + The following packages will be upgraded:
2020-08-03 14:09:53,562: INFO - + metronome
2020-08-03 14:09:53,863: INFO - + 1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
2020-08-03 14:09:53,864: INFO - + Need to get 395 kB of archives.
2020-08-03 14:09:53,864: INFO - + After this operation, 11.3 kB of additional disk space will be used.
2020-08-03 14:09:53,864: INFO - + Get:1 http://forge.yunohost.org/debian buster/stable amd64 metronome amd64 3.14.1+ynh10-1 [395 kB]
2020-08-03 14:09:54,666: INFO - + Fetched 395 kB in 0s (440 kB/s)
2020-08-03 14:09:54,968: DEBUG - (Reading database ā€¦ 50800 files and directories currently installed.)
2020-08-03 14:09:54,968: INFO - + Preparing to unpack ā€¦/metronome_3.14.1+ynh10-1_amd64.deb ā€¦
2020-08-03 14:09:55,169: INFO - + Unpacking metronome (3.14.1+ynh10-1) over (3.14.1+ynh9-1) ā€¦
2020-08-03 14:09:55,870: INFO - + Setting up metronome (3.14.1+ynh10-1) ā€¦
2020-08-03 14:09:56,872: INFO - + Processing triggers for systemd (232-25+deb9u12) ā€¦
2020-08-03 14:09:56,973: INFO - + Processing triggers for man-db (2.7.6.1-2) ā€¦
2020-08-03 14:09:57,887: SUCCESS - System upgraded
2020-08-03 14:09:57,889: DEBUG - Full log of this operation: ā€˜Upgrade system packagesā€™
2020-08-03 14:09:57,899: ERROR - Migration 0015_migrate_to_buster did not complete, aborting. Error: Something went wrong during the main upgrade, the system appears to still be on Debian Stretch
Traceback (most recent call last):
File ā€œ/usr/lib/moulinette/yunohost/tools.pyā€, line 895, in tools_migrations_migrate
migration.run()
File ā€œ/usr/lib/moulinette/yunohost/data_migrations/0015_migrate_to_buster.pyā€, line 82, in run
raise YunohostError(ā€œmigration_0015_still_on_stretch_after_main_upgradeā€)
YunohostError: Something went wrong during the main upgrade, the system appears to still be on Debian Stretch

--------------------------------------------------

Whatā€™s puzzling is that the only thing in your sources.list seems to be the yunohost repositoriesā€¦ But on regular systems you would see something like the official debian repoā€¦

Sooo, idk, letā€™s look at the output of :

cat /etc/apt/sources.list /etc/apt.sources.list.d/*

?

root@shinevar:~# cat /etc/apt/sources.list
#deb cdrom:[Debian GNU/Linux 9.9 Stretch - Unofficial amd64 CD Binary-1 20190811-19:37]/ buster main non-free
#deb cdrom:[Debian GNU/Linux 9.9 Stretch - Unofficial amd64 CD Binary-1 20190811-19:37]/ buster main non-free
#deb http://ftp.debian.org/debian buster main contrib
#deb-src http://ftp.debian.org/debian buster main contrib

YunoHost repository

deb http://forge.yunohost.org/debian/ buster stable
#deb http://security.debian.org/debian-security buster/updates main contrib non-free
#deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

buster-updates, previously known as ā€˜volatileā€™

#deb http://ftp.debian.org/debian buster-updates main contrib non-free
#deb [arch=ppc64el,i386,amd64] http://mirror.zol.co.zw/mariadb/repo/10.4/debian buster main
#deb-src [arch=ppc64el,i386,amd64] http://mirror.zol.co.zw/mariadb/repo/10.4/debian buster main
#deb-src http://ftp.debian.org/debian buster-updates main contrib non-free

I did have them commented out. I have uncommented them and will try again.

Aleks,

Ran apt update and apt upgrade; rebooted server. Logged into Yunohost admin and tried system update. It then identified some migrations to be run. Tried to run them got the following errors:

2020-08-04 19:33:03,230: INFO - Running migration 0015_migrate_to_busterā€¦
2020-08-04 19:33:03,243: ERROR - Migration 0015_migrate_to_buster did not complete, aborting. Error: The current Debian distribution is not Stretch!
Traceback (most recent call last):
File ā€œ/usr/lib/moulinette/yunohost/tools.pyā€, line 899, in tools_migrations_migrate
migration.run()
File ā€œ/usr/lib/moulinette/yunohost/data_migrations/0015_migrate_to_buster.pyā€, line 28, in run
self.check_assertions()
File ā€œ/usr/lib/moulinette/yunohost/data_migrations/0015_migrate_to_buster.pyā€, line 116, in check_assertions
raise YunohostError(ā€œmigration_0015_not_stretchā€)
YunohostError: The current Debian distribution is not Stretch!

Yes now that you uncommented your lines in the sources.list files and ran some apt manually, you did the migration yourself basically ā€¦ so now you gotta skip migration number 15 (c.f. the button in the webadmin) - then other migrations should run

Hi Aleks,

So I skipped 15 and ran migrations again. 17 worked, but 16 and 18 gave the following errors:

accueil Yunohost

Something wrong happened while trying to paste data on paste.yunohost.org : HTTPSConnectionPool(host=ā€˜paste.yunohost.orgā€™, port=443): Max retries exceeded with url: /documents (Caused by NewConnectionError(ā€™: Failed to establish a new connection: [Errno -3] Temporary failure in name resolutionā€™,))

Something wrong happened while trying to paste data on paste.yunohost.org : HTTPSConnectionPool(host=ā€˜paste.yunohost.orgā€™, port=443): Max retries exceeded with url: /documents (Caused by NewConnectionError(ā€™: Failed to establish a new connection: [Errno -3] Temporary failure in name resolutionā€™,))

Could not complete the operation ā€˜Run migrationsā€™. Please provide the full log of this operation by clicking here to get help

Migration 0018_xtable_to_nftable did not complete, aborting. Error: Command ā€˜iptables-legacy-restore < /home/yunohost.backup/premigration/xtable_to_nftable/legacy_rules_ipv4ā€™ returned non-zero exit status 127

Running migration 0018_xtable_to_nftableā€¦

Could not complete the operation ā€˜Run migrationsā€™. Please provide the full log of this operation by clicking here to get help

Migration 0016_php70_to_php73_pools did not complete, aborting. Error: [Errno 2] No such file or directory: ā€˜/etc/php/7.3/fpm/pool.d/my_webapp.confā€™

Running migration 0016_php70_to_php73_poolsā€¦

Home Tools Logs 20200806-004946-tools_migrations_migrate_forward

Run migrations

Path

/var/log/yunohost/categories/operation/20200806-004946-tools_migrations_migrate_forward.log

Start

August 5, 2020, 7:49 PM

End

August 5, 2020, 7:49 PM

Error

Migration 0018_xtable_to_nftable did not complete, aborting. Error: Command ā€˜iptables-legacy-restore < /home/yunohost.backup/premigration/xtable_to_nftable/legacy_rules_ipv4ā€™ returned non-zero exit status 127

This operation failed! Really sorry about that :frowning: You can try to ask for help. Please provide the full log of the operation to the people helping you. You can do so by clicking on the ā€˜Share with Yunopasteā€™ green button. When sharing the logs, YunoHost will automatically attempt to anonymize private data like domain names and IPs.

Logs

2020-08-05 19:49:46,568: INFO - Running migration 0016_php70_to_php73_poolsā€¦ 2020-08-05 19:49:46,569: ERROR - Migration 0016_php70_to_php73_pools did not complete, aborting. Error: [Errno 2] No such file or directory: ā€˜/etc/php/7.3/fpm/pool.d/my_webapp.confā€™ Traceback (most recent call last): File ā€œ/usr/lib/moulinette/yunohost/tools.pyā€, line 899, in tools_migrations_migrate migration.run() File ā€œ/usr/lib/moulinette/yunohost/data_migrations/0016_php70_to_php73_pools.pyā€, line 43, in run copy2(src, dest) File ā€œ/usr/lib/python2.7/shutil.pyā€, line 130, in copy2 copyfile(src, dst) File ā€œ/usr/lib/python2.7/shutil.pyā€, line 83, in copyfile with open(dst, ā€˜wbā€™) as fdst: IOError: [Errno 2] No such file or directory: ā€˜/etc/php/7.3/fpm/pool.d/my_webapp.confā€™ 2020-08-05 19:49:46,587: INFO - Running migration 0018_xtable_to_nftableā€¦ 2020-08-05 19:49:46,622: ERROR - Migration 0018_xtable_to_nftable did not complete, aborting. Error: Command ā€˜iptables-legacy-restore < /home/yunohost.backup/premigration/xtable_to_nftable/legacy_rules_ipv4ā€™ returned non-zero exit status 127 Traceback (most recent call last): File ā€œ/usr/lib/moulinette/yunohost/tools.pyā€, line 899, in tools_migrations_migrate migration.run() File ā€œ/usr/lib/moulinette/yunohost/data_migrations/0018_xtable_to_nftable.pyā€, line 75, in run self.rollback() File ā€œ/usr/lib/moulinette/yunohost/data_migrations/0018_xtable_to_nftable.pyā€, line 90, in rollback subprocess.check_call(ā€œiptables-legacy-restore < %sā€ % self.backup_rules_ipv4, shell=True) File ā€œ/usr/lib/python2.7/subprocess.pyā€, line 186, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command ā€˜iptables-legacy-restore < /home/yunohost.backup/premigration/xtable_to_nftable/legacy_rules_ipv4ā€™ returned non-zero exit status 127

Documentation Need help? Donate

Powered by YunoHost 4.0.3 (stable).

1 Like

iā€™m in the same trouble : Stretch to Buster migration : xtable to nftables fail

Aleks,

Tried skipping the mitigations and run the system update. But it failed. The first below is the mitigation failure. The rest are the logs on the update failure. Any suggestions?

Ralph Shinevar

Migration 0018_xtable_to_nftable did not complete, aborting. Error: Command ā€˜iptables-legacy-restore < /home/yunohost.backup/premigration/xtable_to_nftable/legacy_rules_ipv4ā€™ returned non-zero exit status 127

Running migration 0018_xtable_to_nftableā€¦

Could not complete the operation ā€˜Run migrationsā€™. Please provide the full log of this operation by clicking here to get help

Migration 0016_php70_to_php73_pools did not complete, aborting. Error: [Errno 2] No such file or directory: ā€˜/etc/php/7.3/fpm/pool.d/my_webapp.confā€™

Running migration 0016_php70_to_php73_poolsā€¦

2020-08-16 22:03:46,230: INFO - Now upgrading ā€˜regularā€™ (non-yunohost-related) packagesā€¦
2020-08-16 22:03:46,458: DEBUG - Running apt command :
DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none apt-get --fix-broken --show-upgraded --assume-yes --quiet -o=Dpkg::Use-Pty=0 -o Dpkg::Options::="ā€“force-confold" -o Dpkg::Options::="ā€“force-confmiss" -o Dpkg::Options::="ā€“force-confdef" dist-upgrade
2020-08-16 22:03:46,568: INFO - + Reading package listsā€¦
2020-08-16 22:03:46,669: INFO - + Building dependency treeā€¦
2020-08-16 22:03:46,669: INFO - + Reading state informationā€¦
2020-08-16 22:03:46,970: INFO - + Calculating upgradeā€¦
2020-08-16 22:03:46,971: WARNING - E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
2020-08-16 22:03:46,971: INFO - + Some packages could not be installed. This may mean that you have
2020-08-16 22:03:46,971: INFO - + requested an impossible situation or if you are using the unstable
2020-08-16 22:03:46,971: INFO - + distribution that some required packages have not yet been created
2020-08-16 22:03:46,971: INFO - + or been moved out of Incoming.
2020-08-16 22:03:46,972: INFO - + The following information may help to resolve the situation:
2020-08-16 22:03:46,972: INFO - +
2020-08-16 22:03:46,972: INFO - + The following packages have unmet dependencies:
2020-08-16 22:03:46,972: INFO - + debhelper : Depends: dh-autoreconf (>= 17~) but it is not going to be installed
2020-08-16 22:03:46,973: INFO - + moulinette : Depends: python-argcomplete but it is not going to be installed
2020-08-16 22:03:46,973: INFO - + Depends: python-bottle (>= 0.12) but it is not going to be installed
2020-08-16 22:03:46,973: INFO - + Depends: python-gevent-websocket but it is not going to be installed
2020-08-16 22:03:46,973: INFO - + Depends: python-ldap but it is not going to be installed
2020-08-16 22:03:46,974: INFO - + Depends: python-tz but it is not going to be installed
2020-08-16 22:03:46,974: INFO - + Depends: python-yaml but it is not going to be installed
2020-08-16 22:03:46,974: INFO - + ssowat : Depends: nginx-extras (>= 1.6.2) but it is not going to be installed
2020-08-16 22:03:46,974: INFO - + yunohost : Depends: python-requests but it is not going to be installed
2020-08-16 22:03:46,975: INFO - + Depends: python-openssl but it is not going to be installed
2020-08-16 22:03:46,975: INFO - + Depends: python-jinja2 but it is not going to be installed
2020-08-16 22:03:46,976: INFO - + Depends: python-packaging but it is not going to be installed
2020-08-16 22:03:46,977: INFO - + Depends: python-publicsuffix but it is not going to be installed
2020-08-16 22:03:46,977: INFO - + Depends: dnsutils but it is not going to be installed
2020-08-16 22:03:46,977: INFO - + Depends: bind9utils but it is not going to be installed
2020-08-16 22:03:46,977: INFO - + Depends: libnss-ldapd but it is not going to be installed
2020-08-16 22:03:46,978: INFO - + Depends: unscd but it is not going to be installed
2020-08-16 22:03:46,978: INFO - + Depends: libpam-ldapd but it is not going to be installed
2020-08-16 22:03:46,978: INFO - + Depends: avahi-daemon but it is not going to be installed
2020-08-16 22:03:46,979: INFO - + Depends: libnss-mdns but it is not going to be installed
2020-08-16 22:03:46,979: INFO - + Depends: mailutils but it is not going to be installed
2020-08-16 22:03:47,273: WARNING - Could not upgrade packages: apache2-bin, apt, apt-transport-https, apt-utils, avahi-daemon, bind9-host, bind9utils, binutils, build-essential, busybox, ca-certificates, coreutils, curl, dash, dirmngr, dmsetup, dnsutils, dovecot-antispam, dovecot-core, dovecot-imapd, dovecot-ldap, dovecot-lmtpd, dovecot-managesieved, dovecot-sieve, dpkg, e2fslibs, e2fsprogs, g++, gcc, ghostscript, gir1.2-glib-2.0, gir1.2-packagekitglib-1.0, git, git-man, gnupg, gnupg-agent, gpgv, iproute2, iptables, isc-dhcp-client, ldap-utils, libaprutil1, libaprutil1-dbd-sqlite3, libaprutil1-ldap, libapt-pkg5.0, libblkid1, libbsd0, libc-bin, libc-dev-bin, libc6, libc6-dev, libcups2, libcupsimage2, libcurl3-gnutls, libdbd-mysql-perl, libdbi-perl, libdevmapper1.02.1, libexpat1, libexpat1-dev, libfcgi-perl, libfdisk1, libfuse2, libgirepository-1.0-1, libglib2.0-0, libglib2.0-bin, libgnutls30, libgs9, libgs9-common, libgssapi-krb5-2, libgssapi-perl, libhtml-parser-perl, libio-socket-ssl-perl, libip4tc0, libip6tc0, libiptc0, libk5crypto3, libkrb5-3, libkrb5support0, libldap-2.4-2, liblocale-gettext-perl, libmailutils5, libmount1, libnet-dns-perl, libnet-ssleay-perl, libnetaddr-ip-perl, libnginx-mod-http-auth-pam, libnginx-mod-http-cache-purge, libnginx-mod-http-dav-ext, libnginx-mod-http-echo, libnginx-mod-http-fancyindex, libnginx-mod-http-geoip, libnginx-mod-http-headers-more-filter, libnginx-mod-http-image-filter, libnginx-mod-http-lua, libnginx-mod-http-ndk, libnginx-mod-http-perl, libnginx-mod-http-subs-filter, libnginx-mod-http-uploadprogress, libnginx-mod-http-upstream-fair, libnginx-mod-http-xslt-filter, libnginx-mod-mail, libnginx-mod-nchan, libnginx-mod-stream, libnss-myhostname, libp11-kit0, libpackagekit-glib2-18, libpam-modules, libpam-modules-bin, libpam-systemd, libpopt0, libpython-all-dev, libpython-dev, libpython-stdlib, libpython2.7, libpython2.7-dev, libpython2.7-minimal, libpython2.7-stdlib, libpython3-stdlib, libsmartcols1, libsocket6-perl, libsqlite3-0, libssl1.1, libsystemd0, libterm-readkey-perl, libtext-charwidth-perl, libtext-iconv-perl, libudev1, libuuid1, libxml2, libxtables12, locales, login, logrotate, mailutils, mailutils-common, make, man-db, mount, nano, netcat-openbsd, nginx-common, nginx-extras, opendkim-tools, openssh-client, openssh-server, openssh-sftp-server, openssl, packagekit, packagekit-tools, perl, perl-base, php-curl, php-fpm, php-gd, php-intl, php-ldap, php-mbstring, php-mysql, php-xml, php-zip, postfix, postfix-ldap, postfix-pcre, postfix-sqlite, procps, python, python-all, python-all-dev, python-apt, python-cryptography, python-dev, python-minimal, python-openssl, python2.7, python2.7-dev, python2.7-minimal, python3, python3-apt, python3-dbus, python3-gi, python3-minimal, python3-pycurl, python3-systemd, python3-tk, redis-server, redis-tools, rspamd, rsyslog, slapd, sudo-ldap, systemd, systemd-sysv, udev, util-linux, util-linux-locales, wget, whois

Wokay ā€¦ letā€™s look at the output of : apt policy unscd

Hello Aleks,

Here is the output:

apt policy unscd
unscd:
Installed: 0.53-1+yunohost
Candidate: 0.53-1+yunohost
Version table:
*** 0.53-1+yunohost 100
100 /var/lib/dpkg/status
0.53-1+b1 500
500 http://ftp.debian.org/debian buster/main amd64 Packages

Merf not sure why the migration didnā€™t pick it up automatically but anyway you can run:

apt install unscd=0.53-1+b1 --allow-downgrades

Then

apt install libpam-modules -o Dpkg::Options::="ā€“force-overwrite"

Then

yunohost tools upgrade --system

Hello Aleks,

Ran those three commands and got errors in each one. Here is the output of them:

apt install unscd=0.53-1+b1 --allow-downgrades
Err:1 http://ftp.debian.org/debian buster/main amd64 libc6 amd64 2.28-10
Temporary failure resolving ā€˜ftp.debian.orgā€™
Err:2 http://ftp.debian.org/debian buster/main amd64 libc-bin amd64 2.28-10
Temporary failure resolving ā€˜ftp.debian.orgā€™
Err:3 http://ftp.debian.org/debian buster/main amd64 locales all 2.28-10
Temporary failure resolving ā€˜ftp.debian.orgā€™
Err:4 http://ftp.debian.org/debian buster/main amd64 libc-dev-bin amd64 2.28-10
Temporary failure resolving ā€˜ftp.debian.orgā€™
Err:5 http://ftp.debian.org/debian buster/main amd64 libc6-dev amd64 2.28-10
Temporary failure resolving ā€˜ftp.debian.orgā€™
Err:6 http://ftp.debian.org/debian buster/main amd64 unscd amd64 0.53-1+b1
Temporary failure resolving ā€˜ftp.debian.orgā€™
E: Failed to fetch http://ftp.debian.org/debian/pool/main/g/glibc/libc6_2.28-10_amd64.deb Temporary failure resolving ā€˜ftp.debian.orgā€™
E: Failed to fetch http://ftp.debian.org/debian/pool/main/g/glibc/libc-bin_2.28-10_amd64.deb Temporary failure resolving ā€˜ftp.debian.orgā€™
E: Failed to fetch http://ftp.debian.org/debian/pool/main/g/glibc/locales_2.28-10_all.deb Temporary failure resolving ā€˜ftp.debian.orgā€™
E: Failed to fetch http://ftp.debian.org/debian/pool/main/g/glibc/libc-dev-bin_2.28-10_amd64.deb Temporary failure resolving ā€˜ftp.debian.orgā€™
E: Failed to fetch http://ftp.debian.org/debian/pool/main/g/glibc/libc6-dev_2.28-10_amd64.deb Temporary failure resolving ā€˜ftp.debian.orgā€™
E: Failed to fetch http://ftp.debian.org/debian/pool/main/u/unscd/unscd_0.53-1+b1_amd64.deb Temporary failure resolving ā€˜ftp.debian.orgā€™
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

/etc/apt# apt install libpam-modules -o Dpkg::Options::="-force-overwrite"
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:
yunohost : Depends: unscd but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

yunohost tools upgrade --system
Info: Upgrading packagesā€¦
Info: Now upgrading ā€˜regularā€™ (non-yunohost-related) packagesā€¦
Info: + Reading package listsā€¦
Info: + Building dependency treeā€¦
Info: + Reading state informationā€¦
Info: + Calculating upgradeā€¦
Warning: E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Info: + Some packages could not be installed. This may mean that you have
Info: + requested an impossible situation or if you are using the unstable
Info: + distribution that some required packages have not yet been created
Info: + or been moved out of Incoming.
Info: + The following information may help to resolve the situation:
Info: +
Info: + The following packages have unmet dependencies:
Info: + debhelper : Depends: dh-autoreconf (>= 17~) but it is not going to be installed
Info: + moulinette : Depends: python-argcomplete but it is not going to be installed
Info: + Depends: python-bottle (>= 0.12) but it is not going to be installed
Info: + Depends: python-gevent-websocket but it is not going to be installed
Info: + Depends: python-ldap but it is not going to be installed
Info: + Depends: python-tz but it is not going to be installed
Info: + Depends: python-yaml but it is not going to be installed
Info: + ssowat : Depends: nginx-extras (>= 1.6.2) but it is not going to be installed
Info: + yunohost : Depends: python-requests but it is not going to be installed
Info: + Depends: python-openssl but it is not going to be installed
Info: + Depends: python-jinja2 but it is not going to be installed
Info: + Depends: python-packaging but it is not going to be installed
Info: + Depends: python-publicsuffix but it is not going to be installed
Info: + Depends: dnsutils but it is not going to be installed
Info: + Depends: bind9utils but it is not going to be installed
Info: + Depends: libnss-ldapd but it is not going to be installed
Info: + Depends: unscd but it is not going to be installed
Info: + Depends: libpam-ldapd but it is not going to be installed
Info: + Depends: avahi-daemon but it is not going to be installed
Info: + Depends: libnss-mdns but it is not going to be installed
Info: + Depends: mailutils but it is not going to be installed
Warning: Could not upgrade packages: apache2-bin, apt, apt-transport-https, apt-utils, avahi-daemon, bind9-host, bind9utils, binutils, build-essential, busybox, ca-certificates, coreutils, curl, dash, dirmngr, dmsetup, dnsutils, dovecot-antispam, dovecot-core, dovecot-imapd, dovecot-ldap, dovecot-lmtpd, dovecot-managesieved, dovecot-sieve, dpkg, e2fslibs, e2fsprogs, g++, gcc, ghostscript, gir1.2-glib-2.0, gir1.2-packagekitglib-1.0, git, git-man, gnupg, gnupg-agent, gpgv, iproute2, iptables, isc-dhcp-client, ldap-utils, libaprutil1, libaprutil1-dbd-sqlite3, libaprutil1-ldap, libapt-pkg5.0, libblkid1, libbsd0, libc-bin, libc-dev-bin, libc6, libc6-dev, libcups2, libcupsimage2, libcurl3-gnutls, libdbd-mysql-perl, libdbi-perl, libdevmapper1.02.1, libexpat1, libexpat1-dev, libfcgi-perl, libfdisk1, libfuse2, libgirepository-1.0-1, libglib2.0-0, libglib2.0-bin, libgnutls30, libgs9, libgs9-common, libgssapi-krb5-2, libgssapi-perl, libhtml-parser-perl, libio-socket-ssl-perl, libip4tc0, libip6tc0, libiptc0, libk5crypto3, libkrb5-3, libkrb5support0, libldap-2.4-2, liblocale-gettext-perl, libmailutils5, libmount1, libnet-dns-perl, libnet-ssleay-perl, libnetaddr-ip-perl, libnginx-mod-http-auth-pam, libnginx-mod-http-cache-purge, libnginx-mod-http-dav-ext, libnginx-mod-http-echo, libnginx-mod-http-fancyindex, libnginx-mod-http-geoip, libnginx-mod-http-headers-more-filter, libnginx-mod-http-image-filter, libnginx-mod-http-lua, libnginx-mod-http-ndk, libnginx-mod-http-perl, libnginx-mod-http-subs-filter, libnginx-mod-http-uploadprogress, libnginx-mod-http-upstream-fair, libnginx-mod-http-xslt-filter, libnginx-mod-mail, libnginx-mod-nchan, libnginx-mod-stream, libnss-myhostname, libp11-kit0, libpackagekit-glib2-18, libpam-modules, libpam-modules-bin, libpam-systemd, libpopt0, libpython-all-dev, libpython-dev, libpython-stdlib, libpython2.7, libpython2.7-dev, libpython2.7-minimal, libpython2.7-stdlib, libpython3-stdlib, libsmartcols1, libsocket6-perl, libsqlite3-0, libssl1.1, libsystemd0, libterm-readkey-perl, libtext-charwidth-perl, libtext-iconv-perl, libudev1, libuuid1, libxml2, libxtables12, locales, login, logrotate, mailutils, mailutils-common, make, man-db, mount, nano, netcat-openbsd, nginx-common, nginx-extras, opendkim-tools, openssh-client, openssh-server, openssh-sftp-server, openssl, packagekit, packagekit-tools, perl, perl-base, php-curl, php-fpm, php-gd, php-intl, php-ldap, php-mbstring, php-mysql, php-xml, php-zip, postfix, postfix-ldap, postfix-pcre, postfix-sqlite, procps, python, python-all, python-all-dev, python-apt, python-cryptography, python-dev, python-minimal, python-openssl, python2.7, python2.7-dev, python2.7-minimal, python3, python3-apt, python3-dbus, python3-gi, python3-minimal, python3-pycurl, python3-systemd, python3-tk, redis-server, redis-tools, rspamd, rsyslog, slapd, sudo-ldap, systemd, systemd-sysv, udev, util-linux, util-linux-locales, wget, whois
Info: The operation ā€˜Upgrade system packagesā€™ could not be completed. Please share the full log of this operation using the command ā€˜yunohost log display 20200818-011256-tools_upgrade --shareā€™ to get help
Error: Could not upgrade all the packages

Zblerg ā€¦ can you retry that command ā€¦ the errors looked like temporary network/DNS resolution issue :confused: ā€¦

Hi Aleks,

Tried the command again I got the same errors. Not sure what is going on.

Mokay, what if you run ā€œping -c 1 ftp.debian.orgā€

Aleks,

You are right, I get a ā€œtemporary failure in name resolutionā€. Whose DNS is messing with me? Is it Charter, my ISP? Or is debian having issues?

Weeeell letā€™s look at :

dig +short A ftp.debian.org
dig +short AAAA ftp.debian.org

and :

cat /etc/resolv.conf
cat /etc/resolv.dnsmasq.conf

Hokay Aleks,

The two dig commands produced nothing.

Here is the output of the two cat commands:

cat /etc/resolv.conf

Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)

DO NOT EDIT THIS FILE BY HAND ā€“ YOUR CHANGES WILL BE OVERWRITTEN

nameserver 127.0.0.1

cat /etc/resolv.dnsmasq.conf
nameserver 2a00:5881:8100:1000::3
nameserver 80.67.169.40
nameserver 194.150.168.168
nameserver 2001:67c:28a4::
nameserver 195.160.173.53
nameserver 2001:1608:10:25::1c04:b12f
nameserver 84.200.70.40
nameserver 185.233.100.100
nameserver 2001:910:800::12
nameserver 185.233.100.101
nameserver 2a01:3a0:53:53::
nameserver 2a0c:e300::101
nameserver 2001:1608:10:25::9249:d69b
nameserver 2001:913::8
nameserver 89.234.141.66
nameserver 80.67.169.12
nameserver 80.67.190.200
nameserver 85.214.20.141
nameserver 2001:910:800::40
nameserver 91.239.100.100
nameserver 2a0c:e300::100
nameserver 2a00:5884:8218::1
nameserver 89.233.43.71
nameserver 80.67.188.188
nameserver 84.200.69.80

What about

dig +short A yunohost.org
dig +short AAAA yunohost.org

Hello Aleks,

These digs did not produce anything as well. I tried to restart the dnsmasq in Yunohost admin but to know avail. What is next?