[GH-ISSUE #33] debian trixie fails to install #17

Closed
opened 2026-10-13 21:05:15 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @outbackdingo on GitHub (Oct 13, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/33

sudo apt install -y software-properties-common python3-launchpadlib gnupg2 linux-headers-$(uname -r)
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 57290828
echo "deb https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu focal main" | sudo tee -a /etc/apt/sources.list
echo "deb-src https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu focal main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install -y amneziawg

result:
sudo apt-get install -y amneziawg

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
amneziawg is already the newest version (1.0.20210914-0202410011334+c0b400cubuntu20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up amneziawg-dkms (1.0.0-0202409181554+8d1b073ubuntu20.04.1) ...
Loading new amneziawg-1.0.0 DKMS files...
Deprecated feature: REMAKE_INITRD (/usr/src/amneziawg-1.0.0/dkms.conf)
Building for 6.10.11-amd64
Building initial module for 6.10.11-amd64
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/amneziawg/1.0.0/source/dkms.conf)
Error! Bad return status for module build on kernel: 6.10.11-amd64 (x86_64)
Consult /var/lib/dkms/amneziawg/1.0.0/build/make.log for more information.
dpkg: error processing package amneziawg-dkms (--configure):
installed amneziawg-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of amneziawg:
amneziawg depends on amneziawg-dkms (>= 0.0.20200121-2) | amneziawg-modules (>= 0.0.20191219); however:
Package amneziawg-dkms is not configured yet.
Package amneziawg-modules is not installed.

dpkg: error processing package amneziawg (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
amneziawg-dkms
amneziawg
E: Sub-process /usr/bin/dpkg returned an error code (1)

make.log

Originally created by @outbackdingo on GitHub (Oct 13, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/33 sudo apt install -y software-properties-common python3-launchpadlib gnupg2 linux-headers-$(uname -r) sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 57290828 echo "deb https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu focal main" | sudo tee -a /etc/apt/sources.list echo "deb-src https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu focal main" | sudo tee -a /etc/apt/sources.list sudo apt-get update sudo apt-get install -y amneziawg result: sudo apt-get install -y amneziawg Reading package lists... Done Building dependency tree... Done Reading state information... Done amneziawg is already the newest version (1.0.20210914-0~202410011334+c0b400c~ubuntu20.04.1). 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up amneziawg-dkms (1.0.0-0~202409181554+8d1b073~ubuntu20.04.1) ... Loading new amneziawg-1.0.0 DKMS files... Deprecated feature: REMAKE_INITRD (/usr/src/amneziawg-1.0.0/dkms.conf) Building for 6.10.11-amd64 Building initial module for 6.10.11-amd64 Deprecated feature: REMAKE_INITRD (/var/lib/dkms/amneziawg/1.0.0/source/dkms.conf) Error! Bad return status for module build on kernel: 6.10.11-amd64 (x86_64) Consult /var/lib/dkms/amneziawg/1.0.0/build/make.log for more information. dpkg: error processing package amneziawg-dkms (--configure): installed amneziawg-dkms package post-installation script subprocess returned error exit status 10 dpkg: dependency problems prevent configuration of amneziawg: amneziawg depends on amneziawg-dkms (>= 0.0.20200121-2) | amneziawg-modules (>= 0.0.20191219); however: Package amneziawg-dkms is not configured yet. Package amneziawg-modules is not installed. dpkg: error processing package amneziawg (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: amneziawg-dkms amneziawg E: Sub-process /usr/bin/dpkg returned an error code (1) [make.log](https://github.com/user-attachments/files/17352833/make.log)
Author
Owner

@leninalive commented on GitHub (Oct 21, 2024):

@outbackdingo could you please provide more details? As far as I see you are installing on Debian. Could you explain which Debian release is it and how did you obtain 6.10 kernel there?

<!-- gh-comment-id:2427800744 --> @leninalive commented on GitHub (Oct 21, 2024): @outbackdingo could you please provide more details? As far as I see you are installing on Debian. Could you explain which Debian release is it and how did you obtain 6.10 kernel there?
Author
Owner

@outbackdingo commented on GitHub (Oct 22, 2024):

Debian Trixie is on 6.10 now

<!-- gh-comment-id:2428390828 --> @outbackdingo commented on GitHub (Oct 22, 2024): Debian Trixie is on 6.10 now
Author
Owner

@leninalive commented on GitHub (Oct 24, 2024):

I can't reproduce this on Trixie right now:

image

Please keep in mind that Trixie is a testing release of Debian and problems may differ from build to build. Try to run at least full-upgrade on your system before installing amneziawg packages.

<!-- gh-comment-id:2434917945 --> @leninalive commented on GitHub (Oct 24, 2024): I can't reproduce this on Trixie right now: <img width="585" alt="image" src="https://github.com/user-attachments/assets/03d8c6a9-8aa4-466d-81ba-097319162805"> Please keep in mind that Trixie is a `testing` release of Debian and problems may differ from build to build. Try to run at least `full-upgrade` on your system before installing amneziawg packages.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-linux-kernel-module#17
No description provided.