[GH-ISSUE #72] How can is install client to Ubuntu 24.04.2 LTS #41

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

Originally created by @zeronerorgb on GitHub (Mar 9, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/72

Hello. How can i install client to Ubuntu 24.04.2 LTS
after stage
sudo apt install -y software-properties-common python3-launchpadlib gnupg2 linux-headers-$(uname -r)
i have next error

Deprecated feature: REMAKE_INITRD (/var/lib/dkms/amneziawg/1.0.0/source/dkms.con
f)
E: Unable to find a source package for linux-hwe-6.11
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amneziawg-dkms.
0.crash'
Error! Bad return status for module build on kernel: 6.11.0-17-generic (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 e
rror exit status 10
No apport report written because the error message indicates its a followup erro
r from a previous failure.
                          dpkg: dependency problems prevent configuration of amn
eziawg:
 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)

i have this /etc/apt/sources.list file

# Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources
deb https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu focal main


Originally created by @zeronerorgb on GitHub (Mar 9, 2025). Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/72 Hello. How can i install client to Ubuntu 24.04.2 LTS after stage `sudo apt install -y software-properties-common python3-launchpadlib gnupg2 linux-headers-$(uname -r)` i have next error ``` Deprecated feature: REMAKE_INITRD (/var/lib/dkms/amneziawg/1.0.0/source/dkms.con f) E: Unable to find a source package for linux-hwe-6.11 ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amneziawg-dkms. 0.crash' Error! Bad return status for module build on kernel: 6.11.0-17-generic (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 e rror exit status 10 No apport report written because the error message indicates its a followup erro r from a previous failure. dpkg: dependency problems prevent configuration of amn eziawg: 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) ``` i have this `/etc/apt/sources.list` file ``` # Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources deb https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu focal main deb-src https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu focal main ```
Author
Owner

@zeronerorgb commented on GitHub (Mar 9, 2025):

After change /etc/apt/sources.list file to

# Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources
deb https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu noble main
deb-src https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu noble main

i have next error after sudo apt install -y software-properties-common python3-launchpadlib gnupg2 linux-headers-$(uname -r)

Deprecated feature: REMAKE_INITRD (/var/lib/dkms/amneziawg/1.0.0/source/dkms.conf)
E: You must put some 'deb-src' URIs in your sources.list
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amneziawg-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.11.0-17-generic (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
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependen
cy 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
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1
E: Sub-process /usr/bin/dpkg returned an error code (1)
<!-- gh-comment-id:2708940455 --> @zeronerorgb commented on GitHub (Mar 9, 2025): After change /etc/apt/sources.list file to ``` # Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources deb https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu noble main deb-src https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu noble main ``` i have next error after `sudo apt install -y software-properties-common python3-launchpadlib gnupg2 linux-headers-$(uname -r)` ``` Deprecated feature: REMAKE_INITRD (/var/lib/dkms/amneziawg/1.0.0/source/dkms.conf) E: You must put some 'deb-src' URIs in your sources.list ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amneziawg-dkms.0.crash' Error! Bad return status for module build on kernel: 6.11.0-17-generic (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 No apport report written because the error message indicates its a followup error from a previous failure. dpkg: dependen cy 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 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1 W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1 W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1 W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1 W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1 W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/amnezia-ubuntu-ppa-noble.sources:1 E: Sub-process /usr/bin/dpkg returned an error code (1) ```
Author
Owner

@sidepixel73 commented on GitHub (Apr 13, 2025):

# Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources
That means you have to put deb-src in /etc/apt/sources.list.d/ubuntu.sources, i.e.

Types: deb deb-src <-- put it here
URIs: http://de.archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Types: deb deb-src <-- here too
URIs: http://security.ubuntu.com/ubuntu/
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

and remove anything else in /etc/apt/sources.list

<!-- gh-comment-id:2800001789 --> @sidepixel73 commented on GitHub (Apr 13, 2025): `# Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources` That means you have to put `deb-src` in `/etc/apt/sources.list.d/ubuntu.sources`, i.e. ``` Types: deb deb-src <-- put it here URIs: http://de.archive.ubuntu.com/ubuntu/ Suites: noble noble-updates noble-backports Components: main restricted universe multiverse Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg Types: deb deb-src <-- here too URIs: http://security.ubuntu.com/ubuntu/ Suites: noble-security Components: main restricted universe multiverse Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg ``` and remove anything else in `/etc/apt/sources.list`
Author
Owner

@sidepixel73 commented on GitHub (Apr 13, 2025):

And probably start over with installation

<!-- gh-comment-id:2800002012 --> @sidepixel73 commented on GitHub (Apr 13, 2025): And probably start over with installation
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#41
No description provided.