Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken DKMS autoinstall on newest Ubuntu and AmneziaWG kernel #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rylaix
Copy link

@rylaix rylaix commented Dec 9, 2024

Following the latest update, some users have reported issues on the newest Ubuntu versions due to unavailable kernel sources (and notifying in case of make fails only about one active dir instead of both). This issue can be addressed through the following approaches:

Reworking the Code
Modify the code to rely exclusively on a single correct directory for kernel sources. In this case, the recommended directory would be /var/lib/dkms.

Enhancing the Installation Process
Simplify the auto-installation process by:

Identifying the kernel version of the host machine.
Downloading the required sources to a designated directory.
Creating symbolic links to both directories for compatibility.
Proceeding with the make process seamlessly.
User Notification
For a simpler solution, notify users of the two active directories where they should place their kernel sources. This option, while less automated, ensures clarity for the user.

Fixed discrepancy for newest DKMS builds on ubuntu

Signed-off-by: rylaix <[email protected]>
@melianmiko
Copy link

Same error on Fedora when installing from COPR

@rylaix
Copy link
Author

rylaix commented Jan 7, 2025

Same error on Fedora when installing from COPR

Wellp, actually, as I've seen from a DKMS dev's profile, he's disappeared.
Seems like amnezia team is having tough times. Let's hope someone will get to the module in the near future.

@rylaix
Copy link
Author

rylaix commented Jan 7, 2025

Little update.
In telegram chat of Amnezia project, admin's are totally refusing to actually answer to the main question, are refusing to admit the issue, and as solution, they're providing to us "Pull request the fix yourself"
Actually disgusting, to hear something like that from a people, which are literally getting wealth to develop THAT.

@rylaix
Copy link
Author

rylaix commented Jan 7, 2025

In your case, you can try a simple workaround made by me:
Find your actual kernel ver by a command
Find a link to it in launchpad
Paste it to the install script here:
https://github.com/hayashidevs/amneziawg-install-script

@melianmiko
Copy link

Paste it to the install script here:

That's script for Ubuntu, I'm under Fedora, it doesn't use launchpad for source distribution)
Things here become a bit harder...

@rylaix
Copy link
Author

rylaix commented Jan 7, 2025

Paste it to the install script here:

That's script for Ubuntu, I'm under Fedora, it doesn't use launchpad for source distribution) Things here become a bit harder...

Let's better move to a discussion inside opened topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants