How to create pbuilder image ? g++ not found

iceja

New Member
Joined
Nov 26, 2022
Messages
2
Reaction score
0
Credits
31
I am trying to create pbuilder image under the host system Astra Linux SE 4.7 with two standard repositories main and base here is the log:

here is the configuration file
https://gist.github.com/iva-nova-e-katerina/29e5f65820eec25184f03521ec2a7484

the error

dpkg: error processing package g++ (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc6-dev:arm64
libstdc++-8-dev:arm64
g++-8
build-essential
g++
E: End of debootstrap.log
W: Aborting with an error

I have arm64 architecture. I am bounded to Astra Linux repositories by security reason and can not use debian repositories, but can consider third party repositories or sources. Please help me to create pbuilder image?

**UPD:** I have installed

sudo apt install linux-libc-dev-5.10.0-1057

But there are still errors https://gist.github.com/iva-nova-e-katerina/e8bc6b246c01c3b72a4c77df974406c2

regardless that :

sudo apt-get install libc6-dev:arm64
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6-dev is already the newest version (2.28-10+deb10u1+ci202207192202+astra4).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation


Top