[GH-ISSUE #16] ‘/etc/amnezia’: No such file or directory / cannot install with checkinstall #3

Closed
opened 2026-10-13 21:02:07 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @arzam16 on GitHub (Aug 24, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-tools/issues/16

I can't build the amneziawg-tools package with checkinstall on Debian 12.

amneziawg-tools commit: 79a2e63
checkinstall version: 1.6.3 (obtained from the standard Debian repository)

Installation command and log:

~/amnezia/amneziawg-tools/src$ sudo checkinstall --spec ../amneziawg-tools.spec --nodoc --maintainer "user"

checkinstall 1.6.3, Copyright 2010 Felipe Eduardo Sanchez Diaz Duran
           This software is released under the GNU GPL.



*****************************************
**** Debian package creation selected ***
*****************************************

This package will be built according to these values: 

0 -  Maintainer: [ user ]
1 -  Summary: [ Fast, modern, secure VPN tunnel ]
2 -  Name:    [ amneziawg-tools ]
3 -  Version: [ 1.0.20240201 ]
4 -  Release: [ 1%{?dist} ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ amd64 ]
8 -  Source location: [ src ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Recommends: [  ]
12 - Suggests: [  ]
13 - Provides: [ amneziawg-tools ]
14 - Conflicts: [  ]
15 - Replaces: [  ]

Enter a number to change any of them or press ENTER to continue: 

Installing with make install...

========================= Installation results ===========================
'wg' -> '/usr/bin/awg'
'man/wg.8' -> '/usr/share/man/man8/awg.8'
'completion/wg.bash-completion' -> '/usr/share/bash-completion/completions/awg'
'wg-quick/linux.bash' -> '/usr/bin/awg-quick'
install: creating directory '/etc/amnezia'
install: cannot create directory ‘/etc/amnezia’: No such file or directory
make: *** [Makefile:98: install] Error 1

****  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.
Originally created by @arzam16 on GitHub (Aug 24, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-tools/issues/16 I can't build the amneziawg-tools package with [checkinstall](https://wiki.debian.org/CheckInstall) on Debian 12. amneziawg-tools commit: 79a2e63 checkinstall version: 1.6.3 (obtained from the standard Debian repository) Installation command and log: ``` ~/amnezia/amneziawg-tools/src$ sudo checkinstall --spec ../amneziawg-tools.spec --nodoc --maintainer "user" checkinstall 1.6.3, Copyright 2010 Felipe Eduardo Sanchez Diaz Duran This software is released under the GNU GPL. ***************************************** **** Debian package creation selected *** ***************************************** This package will be built according to these values: 0 - Maintainer: [ user ] 1 - Summary: [ Fast, modern, secure VPN tunnel ] 2 - Name: [ amneziawg-tools ] 3 - Version: [ 1.0.20240201 ] 4 - Release: [ 1%{?dist} ] 5 - License: [ GPL ] 6 - Group: [ checkinstall ] 7 - Architecture: [ amd64 ] 8 - Source location: [ src ] 9 - Alternate source location: [ ] 10 - Requires: [ ] 11 - Recommends: [ ] 12 - Suggests: [ ] 13 - Provides: [ amneziawg-tools ] 14 - Conflicts: [ ] 15 - Replaces: [ ] Enter a number to change any of them or press ENTER to continue: Installing with make install... ========================= Installation results =========================== 'wg' -> '/usr/bin/awg' 'man/wg.8' -> '/usr/share/man/man8/awg.8' 'completion/wg.bash-completion' -> '/usr/share/bash-completion/completions/awg' 'wg-quick/linux.bash' -> '/usr/bin/awg-quick' install: creating directory '/etc/amnezia' install: cannot create directory ‘/etc/amnezia’: No such file or directory make: *** [Makefile:98: install] Error 1 **** Installation failed. Aborting package creation. Cleaning up...OK Bye. ```
Author
Owner

@leninalive commented on GitHub (Sep 15, 2024):

Please address this bug to checkinstall's authors since our package is not intended to be built under checkinstall.

<!-- gh-comment-id:2351708817 --> @leninalive commented on GitHub (Sep 15, 2024): Please address this bug to checkinstall's authors since our package is not intended to be built under checkinstall.
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-tools#3
No description provided.