C2N14 / C2N14/AutomaThemely

Can't uninstall

Open
#47 4 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
200
Forks
30
PR merge metrics
No merged PRs in 30d

Description

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)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failed apt removal on Ubuntu 20.04 and start with the Debian package's pre-removal script invoked by dpkg. Trace the service and autostart cleanup commands shown in the log; done means apt can remove automathemely without script errors and the package can be installed again.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, ubuntu
Domain
operating-systems, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.