Cannot pamac update - target not found cppdap

For the last week or more I have been unable to execute pamac update. I access remotely via ssh.

To install (1):
  cppdap                    1.58.0-1                                                      extra     343.3 kB
Error: Failed to prepare transaction: target not found: cppdap

Someone else had the same issue on this forum, but the answer was that the mirrors probably hadn’t finished syncing. I’ve been waiting quite a few days, so it’s probably not a case of waiting.

How should I resolve this?

Welcome to the forum! :vulcan_salute:

cppdap is a package from the official repositories, so I would suggest trying it with pacman instead of pamac. :arrow_down:

sudo pacman-mirrors -f 5 && sudo pacman -Syyu

The above command will refresh your mirror list and update all your packages from the official repositories. It will however not update your AUR packages, Snaps, FlatPaks or AppImages, though. But in this case, that doesn’t appear to be a problem. :wink:

2 Likes

ensure the mirror you are using is up-to-date

sudo pacman-mirrors -f && sudo pacman -Syyu
 $ pamac search cppdap
cppdap                                 [Installed] 1.58.0-1  extra 
    C++ library for the Debug Adapter Protocol
2 Likes

Thank you both.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.