tap icon indicating copy to clipboard operation
tap copied to clipboard

Unable to install tap under Debian Bullseye without an dpkg error

Open SZanko opened this issue 3 years ago • 0 comments

Description

Unable to correctly install tap without an dpkg error, which means it can be installed however the command tap update isn't working

Software Version

OS Version

cat /etc/os-release

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Makedeb Version

makedeb --version

makedeb 8.7.0-1
Alpha Release
Installed from APT

How to reproduce

git clone 'https://mpr.hunterwittenborn.com/tap'
cd tap/
makedeb -si

Result

Cloning into 'tap'...
remote: Enumerating objects: 220, done.
remote: Counting objects: 100% (220/220), done.
remote: Compressing objects: 100% (144/144), done.
remote: Total 220 (delta 102), reused 169 (delta 76), pack-reused 0
Receiving objects: 100% (220/220), 22.39 KiB | 2.49 MiB/s, done.
Resolving deltas: 100% (102/102), done.
[#] Making package: tap 2.0.3-1 (Mon 03 Jan 2022 16:22:39 PM UTC)...
[#] Checking build dependencies...
[#] Entering fakeroot environment...
[#] Retrieving sources...
  [->] Cloning tap git repo...
Cloning into bare repository '/home/stefan/build/tap/tap'...
remote: Enumerating objects: 1150, done.
remote: Counting objects: 100% (1150/1150), done.
remote: Compressing objects: 100% (755/755), done.
remote: Total 1150 (delta 672), reused 810 (delta 362), pack-reused 0
Receiving objects: 100% (1150/1150), 228.29 KiB | 2.17 MiB/s, done.
Resolving deltas: 100% (672/672), done.
[#] Validating source files with sha256sums...
    tap ... Skipped
[#] Extracting sources...
  [->] Creating working copy of tap git repo...
Cloning into 'tap'...
done.
Switched to a new branch 'makepkg'
[#] Starting prepare()...
sed -i 's|{pkgver}|2.0.3|' ./tap.py
sed -i 's|{pkgver}|2.0.3|' ./man/tap.8.adoc
[#] Starting package()...
install -Dm 755 ./tap.py '/home/stefan/build/tap/pkg/tap/usr/bin/tap'
./setup.py install --prefix='./usr' --root='/home/stefan/build/tap/pkg/tap' --install-layout='deb'
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/tap
copying tap/set_mpr_dependencies.py -> build/lib/tap
copying tap/clone_packages.py -> build/lib/tap
copying tap/check_version.py -> build/lib/tap
copying tap/upgrade.py -> build/lib/tap
copying tap/install.py -> build/lib/tap
copying tap/apt_fetch_packages.py -> build/lib/tap
copying tap/exceptions.py -> build/lib/tap
copying tap/builddir_del_error.py -> build/lib/tap
copying tap/run_loading_function.py -> build/lib/tap
copying tap/__init__.py -> build/lib/tap
copying tap/create_mpr_json_dict.py -> build/lib/tap
copying tap/help_menu.py -> build/lib/tap
copying tap/autoremove.py -> build/lib/tap
copying tap/read_mpr_cache.py -> build/lib/tap
copying tap/read_config.py -> build/lib/tap
copying tap/root_check.py -> build/lib/tap
copying tap/build_dependency_tree.py -> build/lib/tap
copying tap/colors.py -> build/lib/tap
copying tap/message.py -> build/lib/tap
copying tap/arg_check.py -> build/lib/tap
copying tap/main.py -> build/lib/tap
copying tap/read_dpkg_status_file.py -> build/lib/tap
copying tap/update.py -> build/lib/tap
copying tap/cfg.py -> build/lib/tap
copying tap/run_transaction.py -> build/lib/tap
copying tap/split_dependency_string.py -> build/lib/tap
copying tap/remove.py -> build/lib/tap
copying tap/generate_apt_styled_text.py -> build/lib/tap
copying tap/get_editor_name.py -> build/lib/tap
copying tap/utils.py -> build/lib/tap
copying tap/list.py -> build/lib/tap
copying tap/version.py -> build/lib/tap
copying tap/parse_control.py -> build/lib/tap
copying tap/search.py -> build/lib/tap
copying tap/parse_srcinfo.py -> build/lib/tap
copying tap/apt_install_packages.py -> build/lib/tap
copying tap/find_apt_package_version.py -> build/lib/tap
copying tap/review_build_files.py -> build/lib/tap
running install_lib
creating /home/stefan/build/tap/pkg/tap/usr/lib
creating /home/stefan/build/tap/pkg/tap/usr/lib/python3
creating /home/stefan/build/tap/pkg/tap/usr/lib/python3/dist-packages
creating /home/stefan/build/tap/pkg/tap/usr/lib/python3/dist-packages/tap
copying build/lib/tap/set_mpr_dependencies.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/clone_packages.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/check_version.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/upgrade.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/install.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/apt_fetch_packages.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/exceptions.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/builddir_del_error.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/run_loading_function.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/__init__.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/create_mpr_json_dict.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/help_menu.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/autoremove.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/read_mpr_cache.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/read_config.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/root_check.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/build_dependency_tree.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/colors.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/message.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/arg_check.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/main.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/read_dpkg_status_file.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/update.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/cfg.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/run_transaction.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/split_dependency_string.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/remove.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/generate_apt_styled_text.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/get_editor_name.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/utils.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/list.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/version.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/parse_control.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/search.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/parse_srcinfo.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/apt_install_packages.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/find_apt_package_version.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
copying build/lib/tap/review_build_files.py -> /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/set_mpr_dependencies.py to set_mpr_dependencies.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/clone_packages.py to clone_packages.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/check_version.py to check_version.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/upgrade.py to upgrade.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/install.py to install.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/apt_fetch_packages.py to apt_fetch_packages.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/exceptions.py to exceptions.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/builddir_del_error.py to builddir_del_error.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/run_loading_function.py to run_loading_function.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/__init__.py to __init__.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/create_mpr_json_dict.py to create_mpr_json_dict.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/help_menu.py to help_menu.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/autoremove.py to autoremove.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/read_mpr_cache.py to read_mpr_cache.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/read_config.py to read_config.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/root_check.py to root_check.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/build_dependency_tree.py to build_dependency_tree.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/colors.py to colors.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/message.py to message.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/arg_check.py to arg_check.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/main.py to main.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/read_dpkg_status_file.py to read_dpkg_status_file.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/update.py to update.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/cfg.py to cfg.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/run_transaction.py to run_transaction.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/split_dependency_string.py to split_dependency_string.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/remove.py to remove.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/generate_apt_styled_text.py to generate_apt_styled_text.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/get_editor_name.py to get_editor_name.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/utils.py to utils.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/list.py to list.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/version.py to version.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/parse_control.py to parse_control.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/search.py to search.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/parse_srcinfo.py to parse_srcinfo.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/apt_install_packages.py to apt_install_packages.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/find_apt_package_version.py to find_apt_package_version.cpython-39.pyc
byte-compiling /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap/review_build_files.py to review_build_files.cpython-39.pyc
running install_egg_info
running egg_info
creating tap.egg-info
writing tap.egg-info/PKG-INFO
writing dependency_links to tap.egg-info/dependency_links.txt
writing top-level names to tap.egg-info/top_level.txt
writing manifest file 'tap.egg-info/SOURCES.txt'
reading manifest file 'tap.egg-info/SOURCES.txt'
writing manifest file 'tap.egg-info/SOURCES.txt'
Copying tap.egg-info to /home/stefan/build/tap/pkg/tap/./usr/lib/python3/dist-packages/tap-1.egg-info
Skipping SOURCES.txt
running install_scripts
SOURCE_DATE_EPOCH='1638751902' asciidoctor -b manpage ./man/tap.8.adoc -o '/home/stefan/build/tap/pkg/tap/usr/share/man8/tap.8'
install -Dm 555 'completions/tap.bash' '/home/stefan/build/tap/pkg/tap/usr/share/bash-completion/completions/tap'
install -Dm 644 'tap.cfg' '/home/stefan/build/tap/pkg/tap/etc/tap.cfg'
[#] Tidying install...
  [->] Removing libtool files...
  [->] Purging unwanted files...
  [->] Removing static library files...
  [->] Stripping unneeded symbols from binaries and libraries...
  [->] Compressing man and info pages...
[#] Checking for packaging issues...
[#] Creating package "tap"...
  [->] Generating control file...
  [->] Adding field 'MPR-Package' to control file...
  [->] Adding postinst file...
  [->] Compressing package...
[#] Leaving fakeroot environment...
[#] Cleaning up...
[#] Finished making: tap 2.0.3-1 (Mon 03 Jan 2022 16:22:44 PM UTC).
[#] Installing tap...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'tap' instead of './tap_2.0.3-1_all.deb'
The following NEW packages will be installed:
  tap
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/45.0 kB of archives.
After this operation, 196 kB of additional disk space will be used.
Get:1 /home/stefan/build/tap/tap_2.0.3-1_all.deb tap all 2.0.3-1 [45.0 kB]
Selecting previously unselected package tap.
(Reading database ... 34971 files and directories currently installed.)
Preparing to unpack .../build/tap/tap_2.0.3-1_all.deb ...
Unpacking tap (2.0.3-1) ...
Setting up tap (2.0.3-1) ...
dpkg (subprocess): unable to execute installed tap package post-installation script (/var/lib/dpkg/info/tap.postinst): No such file or directory
dpkg: error processing package tap (--configure):
 installed tap package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 tap
E: Sub-process /usr/bin/dpkg returned an error code (1)

Expected Result

An successful installation of tap

SZanko avatar Jan 03 '22 16:01 SZanko