Postfix/Dovecot not installing

Problem Description

Ive tried to install the Postfix/Dovecot server (1st) and the RoundCube app (2nd). Both of them return a number of errors.

Steps to Reproduce

  1. Login to FreedomBox.

  2. Click on apps and then Postfix/Dovecot

  3. Click Install

Expected Results

Installs app

**Actual results: this is the error output. I had to remove some references to debian URL in order to post.

Error installing app: (‘Apt command failed with return code: 100’, b’freedombox set on hold.\n’, b’\x1b[97m INFO\x1b[0m \x1b[94mplinth.app \x1b[0m Initialized apps - security, apache, sso, api, names, users, snapshot, dynamicdns, privacy, storage, avahi, cockpit, firewall, config, diagnostics, power, backups, ssh, help, datetime, upgrades, networks, letsencrypt, first_boot, gitweb, mediawiki, pagekite, radicale, bepasty, deluge, wireguard, syncthing, transmission, minidlna, minetest, calibre, coturn, ejabberd, roundcube, email, samba, janus, shadowsocks, rssbridge, matrixsynapse, jsxc, bind, mumble, zoph, wordpress, searx, performance, sharing, openvpn, ttrss, quassel, i2p, shaarli, tor, infinoted, privoxy, ikiwiki\nE: Failed to fetch //debian/pool/main/libe/libexttextcat/libexttextcat-data_3.4.5-1_all.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/libe/libexttextcat/libexttextcat-2.0-0_3.4.5-1_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/d/dovecot/dovecot-core_2.3.13%2bdfsg1-2%2bdeb11u1_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/h/hyperscan/libhyperscan5_5.4.0-2_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/g/gcc-10/libatomic1_10.2.1-6_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/j/jemalloc/libjemalloc2_5.2.1-3_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/l/lua5.1/liblua5.1-0_5.1.5-8.1%2bb3_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/libl/liblzf/liblzf1_3.6-3_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/l/lua-bitop/lua-bitop_1.0.2-5_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/l/lua-cjson/lua-cjson_2.1.0%2bdfsg-2.1_amd64.deb Could not resolve ''\nE: Failed to fetch /security.debian.org/debian-security/pool/updates/main/r/redis/redis-tools_6.0.16-1%2bdeb11u2_amd64.deb Could not resolve ''\nE: Failed to fetch /security.debian.org/debian-security/pool/updates/main/r/redis/redis-server_6.0.16-1%2bdeb11u2_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/t/twitter-bootstrap3/fonts-glyphicons-halflings_1.009%7e3.4.1%2bdfsg-2_all.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/r/requirejs/libjs-requirejs_2.3.6%2bds-1_all.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/l/luajit/libluajit-5.1-common_2.1.0%7ebeta3%2bdfsg-5.3_all.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/l/luajit/libluajit-5.1-2_2.1.0%7ebeta3%2bdfsg-5.3_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/r/rspamd/rspamd_2.7-1_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/d/dovecot/dovecot-imapd_2.3.13%2bdfsg1-2%2bdeb11u1_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/d/dovecot/dovecot-ldap_2.3.13%2bdfsg1-2%2bdeb11u1_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/d/dovecot/dovecot-lmtpd_2.3.13%2bdfsg1-2%2bdeb11u1_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/d/dovecot/dovecot-sieve_2.3.13%2bdfsg1-2%2bdeb11u1_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/d/dovecot/dovecot-managesieved_2.3.13%2bdfsg1-2%2bdeb11u1_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/d/dovecot/dovecot-pop3d_2.3.13%2bdfsg1-2%2bdeb11u1_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/p/postfix/postfix_3.5.17-0%2bdeb11u1_amd64.deb Could not resolve ''\nE: Failed to fetch //debian/pool/main/p/postfix/postfix-sqlite_3.5.17-0%2bdeb11u1_amd64.deb Could not resolve ''\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n\x1b[31m ERROR\x1b[0m \x1b[94m__main__ \x1b[0m Error executing action: Apt command failed with return code: 100\nTraceback (most recent call last):\n File “/usr/share/plinth/actions/actions”, line 92, in _call\n return_values = func(*arguments['args'], **arguments['kwargs'])\n File “/usr/lib/python3/dist-packages/plinth/privileged/packages.py”, line 69, in install\n raise RuntimeError(\nRuntimeError: Apt command failed with return code: 100\n’)

Information

Debian GNU/Linux 11 (bullseye) and FreedomBox version 23.5. FreedomBox is up to date.

I’m on a VPS with an AMD64 chip.

I ran into this issue as well while testing, running apt-get upgrade fixed it for me.

Same error AND solution in my case (installing “Performance”).