Unable to update using pacman -Syu

Am in need of installing Mega desktop app, while doing so, am getting dependency errors. So tried updating the pacman using pacman -Syu. Still facing many dependency issues. Is there a issue with my mirrorlist or any steps need to be followed for resolving this dependencies. Please help me in resolving this issue.

Please post full error description, as text.

2 Likes

My Error description is shown below.

:: Starting full system upgrade...
:: Replace alacritty-ligatures-git with chaotic-aur/alacritty-git? [Y/n] y
error: could not open file /var/lib/pacman/local/gnome-desktop-1:3.38.4-1/desc: No such file or directory
resolving dependencies...
warning: cannot resolve "python-dnspython", a dependency of "smbclient"
warning: cannot resolve "python-dnspython", a dependency of "smbclient"
warning: cannot resolve "wl-clipboard", a dependency of "wl-clipboard-x11"
warning: cannot resolve "xsel", a dependency of "cht.sh-git"
warning: cannot resolve "rlwrap", a dependency of "cht.sh-git"
warning: cannot resolve "cht.sh-git", a dependency of "garuda-fish-config"
warning: cannot resolve "wl-clipboard", a dependency of "wl-clipboard-x11"
warning: cannot resolve "xsel", a dependency of "cht.sh-git"
warning: cannot resolve "rlwrap", a dependency of "cht.sh-git"
warning: cannot resolve "cht.sh-git", a dependency of "garuda-fish-config"
warning: cannot resolve "python-dnspython", a dependency of "smbclient"
warning: cannot resolve "libmanette", a dependency of "webkit2gtk"
:: The following packages cannot be upgraded due to unresolvable dependencies:
garuda-fish-config smbclient webkit2gtk

:: Do you want to skip the above packages for this upgrade? [y/N] y
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libplacebo (3.120.3-1) breaks dependency 'libplacebo.so=104-64' required by mpv

This tutorial could help.

You could start with gnome-desktop-1:3.38.4-1

3 Likes

If it doesn't work, or anyway you want, you could consider restoring a snapshot created before this problem appeared.

2 Likes

Thanks for sharing the above tutorial, now the "Error: could not open file" issue has been resolved. but still dependency issue exists. PF error description below.

: Synchronizing package databases...
testing is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
chaotic-aur                                                                                                      1073.8 KiB  1161 KiB/s 00:01 [----------------------------------------------------------------------------------------] 100%
:: Starting full system upgrade...
:: Replace alacritty-ligatures-git with chaotic-aur/alacritty-git? [Y/n] y
resolving dependencies...
warning: cannot resolve "python-dnspython", a dependency of "smbclient"
warning: cannot resolve "python-dnspython", a dependency of "smbclient"
warning: cannot resolve "wl-clipboard", a dependency of "wl-clipboard-x11"
warning: cannot resolve "xsel", a dependency of "cht.sh-git"
warning: cannot resolve "rlwrap", a dependency of "cht.sh-git"
warning: cannot resolve "cht.sh-git", a dependency of "garuda-fish-config"
warning: cannot resolve "wl-clipboard", a dependency of "wl-clipboard-x11"
warning: cannot resolve "xsel", a dependency of "cht.sh-git"
warning: cannot resolve "rlwrap", a dependency of "cht.sh-git"
warning: cannot resolve "cht.sh-git", a dependency of "garuda-fish-config"
warning: cannot resolve "python-dnspython", a dependency of "smbclient"
warning: cannot resolve "libmanette", a dependency of "webkit2gtk"
:: The following packages cannot be upgraded due to unresolvable dependencies:
garuda-fish-config  smbclient  webkit2gtk

:: Do you want to skip the above packages for this upgrade? [y/N] n
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'python-dnspython' required by smbclient
:: unable to satisfy dependency 'python-dnspython' required by smbclient
:: unable to satisfy dependency 'wl-clipboard' required by wl-clipboard-x11
:: unable to satisfy dependency 'xsel' required by cht.sh-git
:: unable to satisfy dependency 'rlwrap' required by cht.sh-git
:: unable to satisfy dependency 'cht.sh-git' required by garuda-fish-config
:: unable to satisfy dependency 'wl-clipboard' required by wl-clipboard-x11
:: unable to satisfy dependency 'xsel' required by cht.sh-git
:: unable to satisfy dependency 'rlwrap' required by cht.sh-git
:: unable to satisfy dependency 'cht.sh-git' required by garuda-fish-config
:: unable to satisfy dependency 'python-dnspython' required by smbclient
:: unable to satisfy dependency 'libmanette' required by webkit2gtk

This is in the community repo, so how have you configured your repositories in pacman.conf?

If you enable testing then you need to enable community-testing and multilib-testing too, otherwise you will end up with a partial upgrade.

9 Likes