On Thu, 2022-07-14 at 17:49 -0400, Matt Barry wrote:
I imagine I'm missing something simple wrt pbuilder.. any ideas where
to look?
Are you getting any errors from the pbuilder update command?
Are you updating the same chroot as you are building with?
You can also add a hook that does apt update before the build:
==> ~/.pbuilder/hooks/D01update <==
#!/bin/bash
exec apt-get update
Sometimes it is useful to have a shell during the build, which you
can use to do things you forgot to do in the packaging or elsewhere.
==> ~/.pbuilder/hooks/A00shell -> shell <==
==> ~/.pbuilder/hooks/B00shell -> shell <==
==> ~/.pbuilder/hooks/C00shell -> shell <==
==> ~/.pbuilder/hooks/D00shell -> shell <==
==> ~/.pbuilder/hooks/E00shell -> shell <==
==> ~/.pbuilder/hooks/G00shell -> shell <==
==> ~/.pbuilder/hooks/H00shell -> shell <==
==> ~/.pbuilder/hooks/I00shell -> shell <==
==> ~/.pbuilder/hooks/shell <==
#!/bin/bash
exec /bin/bash -i </dev/tty > /dev/tty 2> /dev/tty
There are various pbuilder hook examples here:
/usr/share/doc/pbuilder/examples
More pbuilder tips and tricks here:
https://wiki.debian.org/PbuilderTricks
--
bye,
pabs
https://wiki.debian.org/PaulWise
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEYQsotVz8/kXqG1Y7MRa6Xp/6aaMFAmLQuSwACgkQMRa6Xp/6 aaM2mRAAgwJVCGD5w2VNTnL2iB02T1qHBrX3pUfxwNMVgIjKCTxGAni9thrW4WOg hElJp5P4r9BVKGPn2ju9XM8UA4D8nP1F2z1w6oN6lx5DddbwHL2hPnjI5E29csuL YLVgBZkitT78N/riWtoDirrW8UUoCHUZ64QGl6lAzRxwD39EjCT/sJbuE0Aopryz CoLqUKedbAgID+u2JHDm0zR/s3BaCm8aSeMuy5Ti+lstu2SlyZgzh/3ymJiDs+T/ JiyDOHrxN3fJWtvIpX2DjsieU25K+tcLtAuq38x9bBdQNRYpTC9xu1rT6t6/7hBZ +kb7LMmFXyid5vfkiDn9+IYB+KVgH53mvjrRWBIqkOGWsGTIUDP/WNuRpvHoZOkF voB2iDA5J0sJcC3biBEg1Tev5/JWi76vehEEiF8Zj8o6cm4JpLqbPQ97Jf5AQ2Kr 8tcVe3sTrwuHNS6PNeOjXvlLGnlNelondJoTX2tNGtEEo5taIgwZMLnfC9FxqfaM MyriMF45VPSJrhpMdV+eBvOx/ZT3dy4YUzg279treN858f13jPbijW8kmHNf9Mex 008qGyrPWb1GKBVJ94M5VEw7E4At1AjkTB0VGZzWYsHXQZVIx+PcgXGsehzbxi2r EWI/DFYOzb/ExhuZ99Z2VBgeoAhddlL8i+jT2gwSZrs3P33ftqs=
=PNl/
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)