[RESOLVED] Can't install nvidia drivers because of timeshift

Hi there. First of, i'm not exactly a noob with linux or even arch. But I prefered post here because it's an error i've never seen in any distro.

Just trying to install the video-nvidia-dkms drivers since I have a Nvidia GTX 960. First of, it refused because of a conflict with python-pyxdg, caused by overseer. Since i don't own any logitech wheel (?!) i removed this package. But now i face another error i never encountered ever.

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...
 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...
warning: dependency cycle detected:
warning: eglexternalplatform will be installed before its nvidia-utils dependency

Packages (25) eglexternalplatform-1.1-2  gdk-pixbuf2-2.42.4-1  gobject-introspection-1.68.0-1  lib32-gdk-pixbuf2-2.42.4-1  libappindicator-gtk3-12.10.0.r296-1  libdazzle-3.40.0-1  libindicator-gtk3-12.10.1-9  libxnvctrl-460.67-1  python-beaker-1.11.0-6  python-injector-0.18.4-1  python-mako-1.1.4-1  python-peewee-3.14.4-1  python-py3nvml-0.2.6-1  python-pyxdg-0.27-1  python-rx-3.1.1-3  python-typing_extensions-3.7.4.3-3  python-xlib-0.29-1  egl-wayland-1.1.6-1  gwe-0.15.2-1  lib32-nvidia-utils-460.67-1  lib32-opencl-nvidia-460.67-1  nvidia-dkms-460.67-1  nvidia-settings-460.67-1  nvidia-utils-460.67-1  opencl-nvidia-460.67-1

Total Download Size:   166.95 MiB
Total Installed Size:  632.81 MiB
Net Upgrade Size:      628.54 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
downloading eglexternalplatform-1.1-2-any.pkg.tar.zst...
downloading egl-wayland-1.1.6-1-x86_64.pkg.tar.zst...
downloading nvidia-utils-460.67-1-x86_64.pkg.tar.zst...
downloading libxnvctrl-460.67-1-x86_64.pkg.tar.zst...
downloading gdk-pixbuf2-2.42.4-1-x86_64.pkg.tar.zst...
downloading nvidia-settings-460.67-1-x86_64.pkg.tar.zst...
downloading opencl-nvidia-460.67-1-x86_64.pkg.tar.zst...
downloading python-beaker-1.11.0-6-any.pkg.tar.zst...
downloading python-mako-1.1.4-1-any.pkg.tar.zst...
downloading gobject-introspection-1.68.0-1-x86_64.pkg.tar.zst...
downloading libdazzle-3.40.0-1-x86_64.pkg.tar.zst...
downloading python-pyxdg-0.27-1-any.pkg.tar.zst...
downloading nvidia-dkms-460.67-1-x86_64.pkg.tar.zst...
downloading libindicator-gtk3-12.10.1-9-x86_64.pkg.tar.zst...
downloading libappindicator-gtk3-12.10.0.r296-1-x86_64.pkg.tar.zst...
downloading python-typing_extensions-3.7.4.3-3-any.pkg.tar.zst...
downloading python-peewee-3.14.4-1-x86_64.pkg.tar.zst...
downloading python-rx-3.1.1-3-any.pkg.tar.zst...
downloading python-xlib-0.29-1-any.pkg.tar.zst...
downloading lib32-nvidia-utils-460.67-1-x86_64.pkg.tar.zst...
downloading lib32-opencl-nvidia-460.67-1-x86_64.pkg.tar.zst...
downloading lib32-gdk-pixbuf2-2.42.4-1-x86_64.pkg.tar.zst...
downloading python-injector-0.18.4-1-any.pkg.tar.zst...
downloading python-py3nvml-0.2.6-1-any.pkg.tar.zst...
downloading gwe-0.15.2-1-any.pkg.tar.zst...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Running pre-transaction hooks...
(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:26086): CRITICAL **: 22:33:20.958: app_lock_remove: ass
ertion '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!

From what i guess, the problem comes from timeshift. Is there a way to install the driver without using timeshift?

Note that the same error happens with the other nvidia package, video-nvidia-390xx-dkms and that timeshift is not launched. Disabling everything in timeshift didn't helped either.

Thanks for your help.

Yes, you can disable the timeshift autosnap from taking snapshots during the update. If you leave it that way you will then need to perform an update-grub after each manual timeshift snapshot for the snapshot to appear in the grub boot menu.

You can find details on how to disable that feature temporarily here:

1 Like

Maybe this:

?

1 Like

I think i found the fix by digging a bit around. Seems I had to run the following before trying to install:

sudo pacman -S archlinux-appstream-data dkms gc guile libxnvctrl make patch texinfo lib32-nvidia-utils lib32-opencl-nvidia nvidia-dkms nvidia-settings opencl-nvidia

Then it installed, i rebooted and it works like a charm (it ruined the plymouth startup but arch always did with nvidia :stuck_out_tongue: )

Thanks for your help. Leaving this in case someone runs into the same problem.

1 Like

Also, timeshift wasn't launched. And i even tried disabling it but the problem was still occuring.

1 Like

Next question, did you install on a BTRFS filesystem?

The other reason that message appears is because people use something like ext4 instead and don't set up Timeshift to use rsync (which goes against the Garuda defaults).

2 Likes