Can't install wireguard due to unmet dependencies

Recommended Posts


I tried to install Wireguard on my Orange Pi Zero Plus but without luck.

I've followed the install instructions for Debian on Wireguard website, installed the correct linux-headers for my board, updated the packages, but i get this error:

apt install wireguard
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wireguard : Depends: wireguard-tools (>= 0.0.20191012-1) but 0.0.20190702-3 is to be installed
E: Unable to correct problems, you have held broken packages.

What am i doing wrong?

Share this post

Link to post
Share on other sites
35 minutes ago, w20359 said:

What am i doing wrong?

All you need to do is:

apt install wireguard-tools
modprobe wireguard

Share this post

Link to post
Share on other sites

Thanks! So i understand i would need to wait for an updated package of wireguard-tools from the repository to install the new version and get the corresponding new version of wireguard from the repository, instead of the built in version?

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.