AutomaThemely
AutomaThemely copied to clipboard
Can't uninstall
Ubuntu 20.04
Rebooted like in another issue. Didn't help. Because I cant uninstall, I cant install the new python 3.8 .deb file either someone posted. Catch 22 :/
udo apt-get remove automathemely
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gnome-software-common libappstream-glib8 libfprint-2-tod1 python3-astral python3-schedule python3-tzlocal
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
automathemely
0 upgraded, 0 newly installed, 1 to remove and 13 not upgraded.
After this operation, 400 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 225182 files and directories currently installed.)
Removing automathemely (1.3.0.dev1) ...
Root privileges not detected, trying to remove local installation...
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
dpkg: error processing package automathemely (--remove):
installed automathemely package pre-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
WARNING: Package(s) not found: automathemely
Root privileges not detected, falling back to local only installation...
NOTE: AutomaThemely is disabled from autostarting by default on local installation
cp: cannot stat '/automathemely/installation_files/autostart.desktop': No such file or directory
sed: can't read /root/.config/autostart/automathemely.desktop: No such file or directory
cp: cannot stat '/automathemely/installation_files/sun-times.timer': No such file or directory
cp: cannot stat '/automathemely/installation_files/sun-times.service': No such file or directory
sed: can't read /root/.config/systemd/user/automathemely.service: No such file or directory
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
Errors were encountered while processing:
automathemely
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
Same, but with fedora 33 using the nodeps rpm.
Gnome software throws me this error: Unable to remove automathemely: Error -1 running transaction
.
same with Mint 20.1 and its preventing me being able to do a dist-upgrade
anyone ever find a solution
ok. after much messing around managed to get it removed and no longer in my apt cache.
force deleted the following
/usr/share/doc/automathemely /usr/local/lib/python3.8/dist-packages/automathemely /usr/local/lib/python3.8/dist-packages/AutomaThemely-1.3.0.dev1.egg-info /usr/local/bin/automathemely /usr/local/share/applications/automathemely.desktop
along with all four automathemely files in the /var/lib/dbkg/info folder
that was enough to trigger dbkg into a "no list found" error so presumed that no files were installed
then
$ sudo dpkg --configure -a (not idea if i needed to do that)
$ sudo apt purge 'automathemely' && sudo apt clean
And automathemely now successfully purged despite not existing and apt cache now knows its not there
Same issue on Fedora. The uninstallation script fails. I used sudo rpm -ev --noscripts automathemely
and deleted all the files I found using sudo find / -iname "*automathemely*"
. Hopefully it's enough