Hi Fabian, thanks for your advise. Unfortunally I still have the issue.
I first installe equivs with
apt install equivs
After that I do:
equivs-control linux-headers-5.13.19-1-pve.ctl
and paste your text:
### Commented entries have reasonable defaults.
### Uncomment to edit them.
# Source: <source package name; defaults to package name>
Section: misc
Priority: optional
# Homepage: <enter URL here; no default>
Standards-Version: 3.9.2
Package: linux-headers-5.13.19-1-pve
# Version: <enter version here; defaults to 1.0>
# Maintainer: Your Name <
yourname@example.com>
# Pre-Depends: <comma-separated list of packages>
Depends: pve-headers-5.13.19-1-pve
# Recommends: <comma-separated list of packages>
# Suggests: <comma-separated list of packages>
# Provides: <comma-separated list of packages>
# Replaces: <comma-separated list of packages>
# Architecture: all
# Multi-Arch: <one of: foreign|same|allowed>
# Copyright: <copyright file; defaults to GPL2>
# Changelog: <changelog file; defaults to a generic changelog>
# Readme: <README.Debian file; defaults to a generic one>
# Extra-Files: <comma-separated list of additional files for the doc directory>
# Links: <pair of space-separated paths; First is path symlink points at, second is filename of link>
# Files: <pair of space-separated paths; First is file to include, second is destination>
# <more pairs, if there's more than one file to include. Notice the starting space>
Description: Package to make synology backup agent happy
Built using equivs, can be removed together with kernel/headers package.
Next step was:
equivs-build linux-headers-5.13.19-1-pve.ctl
Output was:
dpkg-buildpackage: info: source package linux-headers-5.13.19-1-pve
dpkg-buildpackage: info: source version 1.0
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <
root@pve.ahhhkah.local>
dpkg-buildpackage: info: host architecture amd64
dpkg-source --before-build .
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
create-stamp debian/debhelper-build-stamp
dh_prep
dh_install
dh_installdocs
dh_installchangelogs
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_missing
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'linux-headers-5.13.19-1-pve' in '../linux-headers-5.13.19-1-pve_1.0_all.deb'.
dpkg-genbuildinfo --build=binary
dpkg-genchanges --build=binary >../linux-headers-5.13.19-1-pve_1.0_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Next Step:
dpkg -I linux-headers-5.13.19-1-pve_1.0_all.deb
Output:
new Debian package, version 2.0.
size 2264 bytes: control archive=620 bytes.
373 bytes, 11 lines control
265 bytes, 3 lines md5sums
Package: linux-headers-5.13.19-1-pve
Version: 1.0
Architecture: all
Maintainer: Equivs Dummy Package Generator <
root@pve.ahhhkah.local>
Installed-Size: 9
Depends: pve-headers-5.13.19-1-pve
Section: misc
Priority: optional
Multi-Arch: foreign
Description: Package to make synology backup agent happy
Built using equivs, can be removed together with kernel/headers package.
root@pve:~# Next Step:
-bash: Next: command not found
root@pve:~# dpkg -I linux-headers-5.13.19-1-pve_1.0_all.deb
new Debian package, version 2.0.
size 2264 bytes: control archive=620 bytes.
373 bytes, 11 lines control
265 bytes, 3 lines md5sums
Package: linux-headers-5.13.19-1-pve
Version: 1.0
Architecture: all
Maintainer: Equivs Dummy Package Generator <
root@pve.ahhhkah.local>
Installed-Size: 9
Depends: pve-headers-5.13.19-1-pve
Section: misc
Priority: optional
Multi-Arch: foreign
Description: Package to make synology backup agent happy
Built using equivs, can be removed together with kernel/headers package.
Looks very good for me - so far. ut now I tried to start my installation script again:
./install.run
And still get the error:
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing Active Backup for Business Agent 100%
Hit:1
http://security.debian.org bullseye-security InRelease
Hit:2
http://ftp.de.debian.org/debian bullseye InRelease
Hit:3
http://ftp.de.debian.org/debian bullseye-updates InRelease
Hit:4
http://download.proxmox.com/debian/pve bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
12 packages can be upgraded. Run 'apt list --upgradable' to see them.
* start checking dependency of (4)
* checking linux-headers-5.13.19-1-pve
* found linux-headers-5.13.19-1-pve not installed, install automatically
* installing linux-headers-5.13.19-1-pve
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-headers-5.13.19-1-pve
E: Couldn't find any package by glob 'linux-headers-5.13.19-1-pve'
* install linux-headers-5.13.19-1-pve failed, please try again later, or run 'apt install linux-headers-5.13.19-1-pve manunally or download and install package from
https://packages.debian.org/bullseye/linux-headers-5.13.19-1-pve
Can you help? I think the name of the self builded package is not right or it´s on the wrong path?
Best regards,
Kai