Solution
Uninstall Zoph Manually
See the first reply. This is covered in the Support FAQ. You can make the FAQ sticky for you by clicking the thumbtack link in the upper left.
Zoph database is not cleanly being uninstalled.
apt remove zoph or apt purge zoph giving this error:
apt-get -f install
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following packages will be REMOVED:
zoph
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 13.6 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database … 154508 files and directories currently installed.)
Removing zoph (1.0.1-3) …
dpkg: error processing package zoph (–remove):
installed zoph package post-removal script subprocess returned error exit status 30
dpkg: too many errors, stopping
Errors were encountered while processing:
zoph
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
The post remove script is /var/lib/dpkg/info/zoph-postrm. In reading this it seemed it should delete my zoph pictures (which I wanted to do in this case). I manually removed the contents of /var/lib/zoph and then the apt remove zoph was able to complete normally.
Problem Description
I wanted to reset the contents of Zoph as I work through my other problems, and don’t see a way to reset Zoph to an empty repository. So I’m reinstalling the application. Uninstall fails with code 100.
Steps to Reproduce
- Log in to FreedomBox with an administrator account.
- Go to the Zoph app page.
- Select Uninstall from the gear menu
Expected Results
FreedomBox should uninstall the Zoph app.
Actual results
Error message:
Error uninstalling app: Apt command failed with return code: 100
Details:
Error running action: plinth…remove(app_id=“zoph”, packages=[“zoph”, “default-mysql-server”], purge=true): RuntimeError(“Apt command failed with return code: 100”)
Stdout:
│ Processing triggers for man-db (2.11.2-2) …
│ freedombox set on hold.
Stderr:
║ Initialized apps - apache, api, names, avahi, storage, backups, cockpit, firewall, config, datetime, diagnostics, dynamicdns, first_boot, help, letsencrypt, networks, power, privacy, security, snapshot, ssh, sso, upgrades, users, bepasty, bind, calibre, coturn, deluge, ejabberd, email, featherwiki, gitweb, i2p, ikiwiki, infinoted, janus, jsxc, kiwix, matrixsynapse, mediawiki, minetest, minidlna, miniflux, mumble, nextcloud, openvpn, pagekite, performance, privoxy, quassel, radicale, roundcube, rssbridge, samba, searx, shaarli, shadowsocks, shadowsocksserver, sharing, syncthing, tiddlywiki, tor, torproxy, transmission, ttrss, wireguard, wordpress, zoph
║ E: Sub-process /usr/bin/dpkg returned an error code (1)
║ E: Sub-process /usr/bin/dpkg returned an error code (1)
Action traceback:
╞ File “/usr/lib/python3/dist-packages/plinth/actions.py”, line 391, in _privileged_call
╞ return_values = func(*arguments[‘args’], **arguments[‘kwargs’])
╞ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╞ File “/usr/lib/python3/dist-packages/plinth/privileged/packages.py”, line 89, in remove
╞ raise RuntimeError(
Screenshot
Information
- FreedomBox version: You are running Debian GNU/Linux 12 (bookworm) and FreedomBox version 24.24. FreedomBox is up to date.
- Hardware: Intel Atom PC
- How did you install FreedomBox?: manual install from netinst