You are not logged in.

#1 2022-03-29 21:21:36

animbehav
Member
Registered: 2022-03-29
Posts: 2

Error while uninstalling with paru - stuck with broken davinci-resolve

Hello everybody, here goes my first question in the arch forum.

I just installed davinci resolve from the AUR with the opencl-nvidia drivers. During installation, there were a bunch of permission denied errors, after which I was prompted for the root pwd. There were no errors afterwards and the installation continued normally. After it finished however, davinci resolve did not open. It did show up in the GUI (krunner) but not via the shell (

zsh: command not found: davinci-resolve

), meaning no debugging information. When I try to open it, the task manager briefly shows the icon but it vanishes immediately. The same happens after reboot. But for some reason, there is now also a stop-job running during shutdown that takes one and a half minutes, which was not there before. I though to hell with it, and tried to uninstall it which produces a rather non-verbose error:

paru -R davinci-resolve
[sudo] password for username: 
checking dependencies...

Packages (1) davinci-resolve-17.4.5-1

Total Removed Size:  5078.44 MiB

:: Do you want to remove these packages? [Y/n] y
:: Processing package changes...
(1/1) removing davinci-resolve                                         [########################################] 100%
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/5) Reloading device manager configuration...
(2/5) Arming ConditionNeedsUpdate...
(3/5) Updating the MIME type database...
(4/5) Updating icon theme caches...
(5/5) Updating the desktop file MIME type cache...

So this leaves me with a broken 5GiB install of davinci resolve. How can I remove it completely? I tried reinstalling it - multiple times now  - and uninstalling it with the provided GUI uninstaller, which did not change anything. Also after installing it the second times, the initial error messages about denied permissions could not be replicated. I also tried looking at the log files, but the log directory specified in the wiki is non-existent.

~/.local/share/DaVinciResolve

The stop job is there regardless of whether it is installed and not working or non-successfully uninstalled. At this point I just want to get rid of it, including the annoying stop job. How do I best approach this? Please be gentle, this is my first week on arch.

Offline

#2 2022-03-29 21:35:53

loqs
Member
Registered: 2014-03-06
Posts: 18,818

Re: Error while uninstalling with paru - stuck with broken davinci-resolve

(1/1) removing davinci-resolve                                         [########################################] 100%
error: command failed to execute correctly
:: Running post-transaction hooks...

That output to me shows something called in the post_remove()  function of the packages .install file fails but the package itself was removed.
How are you detecting the package is left installed?

Last edited by loqs (2022-03-29 21:36:12)

Offline

#3 2022-03-29 21:57:14

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,358
Website

Re: Error while uninstalling with paru - stuck with broken davinci-resolve

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2022-03-30 13:26:33

animbehav
Member
Registered: 2022-03-29
Posts: 2

Re: Error while uninstalling with paru - stuck with broken davinci-resolve

@loqs thanks for the help. Well honestly - I don't know. I assumed it because (a) there was an error and (b) the process finished extremely fast (in under a second), which I assumed to be too fast to remove 5GiB from a bunch of folders, even running on btrfs. Anyhow, I used the opportunity to test out my btrbk snapshots and rolled back to two hours prior, worked like a charm. Still, how would I theoretically find remove packages that behave this way? And at which logs do I need to look to find out what causes these annoying stop jobs during reboot?

Offline

#5 2022-03-30 15:32:14

loqs
Member
Registered: 2014-03-06
Posts: 18,818

Re: Error while uninstalling with paru - stuck with broken davinci-resolve

animbehav wrote:

@loqs thanks for the help. Well honestly - I don't know. I assumed it because (a) there was an error and (b) the process finished extremely fast (in under a second), which I assumed to be too fast to remove 5GiB from a bunch of folders, even running on btrfs. Anyhow, I used the opportunity to test out my btrbk snapshots and rolled back to two hours prior, worked like a charm. Still, how would I theoretically find remove packages that behave this way?

Tips_and_tricks#Identify_files_not_owned_by_any_package

animbehav wrote:

And at which logs do I need to look to find out what causes these annoying stop jobs during reboot?

Check the system journal.  Please start a new thread for that issue if you need more help.

Offline

Board footer

Powered by FluxBB