Hello guys, So i am new to linux. I have only used zorin os for 3 months and recently shifted to garuda linux(dragonised) for a month. It was all working fine and smooth until yesterday, I decided to play portal, and while installing dependencies , I found out that i bymistakenly installed vulkan dependencies for AMD instead of intel. So i thought of trying timeshift to go back to previous version and did that but now whenever im trying to install or update package it doesnt work it give this error
unable to satisfy dependency 'libcap=2.52' required by lib32-libcap
I used both
sudo pamac update
and
sudo pacman -Syyu
Im also getting this while pamac update
cp: cannot stat '/tmp/pamac/dbs/sync/*': No such file or directory
I have tried manually installing libcap 2.52 through pacman but it gives this error
sudo pacman -S libcap 2.52-1
warning: libcap-2.51-1 is up to date -- reinstalling
error: target not found: 2.52-1
Tried that but still gives the same error, I think ill have to fresh install it again.
Warning: Building packages as root
Warning: Setting build directory to /var/cache/pamac
Preparing...
Cloning protonvpn build files...
Running as unit: run-u345.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 670ms
CPU time consumed: 65ms
Running as unit: run-u346.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 30ms
CPU time consumed: 30ms
Checking protonvpn dependencies...
Synchronizing package databases...
no servers configured for repository
Failed to synchronize databases
Resolving dependencies...
Warning: cannot resolve "libcap=2.52", a dependency of "lib32-libcap"
Error: Failed to prepare transaction:
could not satisfy dependencies:
- unable to satisfy dependency 'libcap=2.52' required by lib32-libcap
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc garuda-system
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
ILoveCandy
ParallelDownloads = 5
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
[multilib]
#Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
[chaotic-aur]
#SigLevel = Never
Include = /etc/pacman.d/chaotic-mirrorlist
###REPO for MEGA###
[DEB_Arch_Extra]
SigLevel = Required TrustedOnly
Server = https://mega.nz/linux/MEGAsync/Arch_Extra/$arch
###END REPO for MEGA###
I've mistakenly done that before, too. First, remove the Vulkan AMD packages. You should be able to do that in Pamac, Octopi, or from a terminal.
Replace them with the appropriate Intel packages.
Using an installation helper (Pamac, Octopi, etc), search on vulkan, and later intel, and swap out the appropriate packages.
You can also search them out using pacman -Ss or a couple other search terms.
Timeshift is nice, but solving the problem instead is exponentially better. I hope it all works out for you. You're so new you are a stranger in a strange land. Terminology is baffling, I remember. This forum and Wiki, the Arch Wiki, from whence comes all baffling knowledge.
But you are off to a good start. Keep it up and you'll feel comfortable in it sooner than later. That's the overall goal you should be shooting for in Learning Linux.