Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't uninstall #47

Open
picolens opened this issue Aug 23, 2020 · 4 comments
Open

Can't uninstall #47

picolens opened this issue Aug 23, 2020 · 4 comments

Comments

@picolens
Copy link

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)
@ghost
Copy link

ghost commented Oct 30, 2020

Same, but with fedora 33 using the nodeps rpm.

Gnome software throws me this error: Unable to remove automathemely: Error -1 running transaction.

@dm2912
Copy link

dm2912 commented Aug 6, 2022

same with Mint 20.1 and its preventing me being able to do a dist-upgrade

anyone ever find a solution

@dm2912
Copy link

dm2912 commented Aug 6, 2022

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

@montmejat
Copy link

montmejat commented May 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants