Can't install NVIDIA drivers because "python-pyxdg and python-xdg are in conflict"

I reinstalled Garuda Linux recently since I wanted the new updated version of Garuda Linux since mine had some bugs, now when I go to install my Nvidia drivers I get this.

Waiting for user input…
Starting

Installing video-nvidia-dkms…
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia-dkms/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases…
warning: nvidia-utils-460.56-1 is up to date – skipping
warning: nvidia-settings-460.56-1 is up to date – skipping
warning: egl-wayland-1.1.6-1 is up to date – skipping
core is up to date
extra is up to date
community is up to date
multilib is up to date
chaotic-aur is up to date
:: Starting full system upgrade…
resolving dependencies…
looking for conflicting packages…
:: python-pyxdg and python-xdg are in conflict. Remove python-xdg? [y/N] error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)

:: python-pyxdg and python-xdg are in conflict
Error: pacman failed!
Error: script failed!

Klar …

1 Like

I'm unable to remove them using the command you've given me.

Post in- and output as text.

> ╭─katekarin@Katekarins in ~ took 2s
> [🔴] × sudo pacman -Rns python-xdg post dependencies
> error: target not found: post
> error: target not found: dependencies
> 
> ╭─katekarin@Katekarins in ~ took 26ms
> [🔴] ×
╭─katekarin@Katekarins in ~ took 26ms
[🔴] × sudo pacman -Rns orca speech-dispatcher
error: target not found: orca
error: target not found: speech-dispatcher
sudo pacman -Rns python-pyxdg

Not all DE have the same apps, so remove only what in conflict.
Remember if you needed it later! :slight_smile:

How do I remove the conflict?

try first, then post dependencies or remove with

```
sudo pacman -Rns "dependenciesApp"
```
1 Like
╭─katekarin@Katekarins in ~ took 26ms
[🔴] × sudo pacman -Rns python-pyxdg
error: target not found: python-pyxdg

╭─katekarin@Katekarins in ~ took 28ms
[🔴] × sudo pacman -Rns python-xdg
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing python-xdg breaks dependency 'python-xdg' required by oversteer

╭─katekarin@Katekarins in ~ took 26ms
[🔴] ×


You do not read other thread.

I am a little bit tired, so again,

sudo pacman -Rns python-xdg

I get the same error when I type the command in.

╭─katekarin@Katekarins in ~ took 26ms
[🔴] × sudo pacman -Rns python-xdg
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing python-xdg breaks dependency 'python-xdg' required by oversteer

I copied and pasted what you typed and this is what it says.

Now remove oversteer

2 Likes

So the application you are trying to install pulls a dependency which conflicts with a dependency of another package.
Uninstall oversteer and try again.

1 Like

Ok, I'll try

Ok, I was unable to remove Oversteer and the dependency, but now I get an error involving Timeshift

(1/1) Creating Timeshift snapshot before upgrade...
E: Commands listed below are not available on this system:

 * rsync
 * /sbin/blkid
 * df
 * mount
 * umount
 * fuser
 * crontab
 * cp
 * rm
 * touch
 * ln
 * sync

Please install required packages and try running TimeShift again

**
(process:150819): CRITICAL **: 00:16:59.223: app_lock_remove: assertion 'self != NULL' failed
Unable to run timeshift-autosnap! Please close Timeshift and try again. Script will now exit...
error: command failed to execute correctly
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.
Error: pacman failed!
Error: script failed!

I maybe know how to fix this but I'm not sure, I'll try and see if I can fix this new problem.

You use ext4?

or

I don't know.

I'll try that.

We can’t help if you do not post the in- and output from terminal.

Only you know what happen on your PC.

Sorry, I meant I was able to remove Oversteer.

1 Like