32-bit pbuilder fails with "Package 'aptitude' has no installation candidate" #32bit #pbuilder

https://askubuntu.com/q/1564641/612

32-bit pbuilder fails with "Package 'aptitude' has no installation candidate"

I'm trying to use pbuilder to build a 32-bit Ubuntu package on a 64-bit system. This command should create a 32-bit pbuilder environment: pbuilder create --architecture i386 --distribution $(lsb_re...

Ask Ubuntu

How do #debian maintainers actually properly build their packages with #pbuilder when the build always fails in the clean stage with

dh: error: unable to load addon XYZ: Can't locate Debian/Debhelper/Sequence/XYZ.pm in @INC, because clean is done before Build-Depends where the addon would be installed?

@efraim

Oh, very nice! I've taken a stab at packaging apt for #guix in order to be able to use mmdebstrap, but stumbled pretty hard along the way.

In the world of #debian package building tools I'm partial to #sbuild but #pbuilder will do!

Your #debian in your #guix and your #guix in your #debian.

0mega ☠ [hz] - [email protected]

@qbi: Bin dann doch in eine Stelle reingelaufen, wo ich bisher #sudo regelmäßig genutzt habe: Zum #Debian-Pakete in einem minimalen #pbuilder-#chroot zu bauen.

Und da #pdebuild u.a. einen leeren String als Parameter an pbuilder gibt, geht das nicht out of the box mit ssh root@localhost, da #SSH alle übrigen Parameter als einen String an "sh -c" übergibt.

Deshalb habe ich mir einen simplen Wrapper als Drop-in-Replacement für ca. 80% der Fälle geschrieben:
https://github.com/xtaran/sshudo

#ausbaufähig

xtaran/sshudo

Drop-in sudo replacement doing ssh root@localhost passing parameters like empty strings properly - xtaran/sshudo