Report this

What is the reason for this report?

Can't seem to run pbuilder correctly

Posted on March 10, 2016

Subject: Having trouble running pbuilder Brief description of how DigitalOcean can help you: No pbuilder command seems to work aside form ‘pbuilder’ / ‘sudo pbuilder’ (as desktop user). If I invoke ‘pbuilder create’ nothing happens, no output at all, pbuilder doesn’t even kick off to show any errors at all. I tried an strace, but am still trying to parse the output. All these commands work fine on a local Debian 8 VM, as well as a SteamOS test machine.

strace: http://sprunge.us/UdaF

Seems as if anything beyond ‘pbuilder --help’ does not produce any output text on the CLI at all*. From experience, even if you leave out tons of options, and just bark at at pbuilder to do ‘pbuilder create’ it will flash a few lines, even if the directories it needs are not there, basetgz not there, keyring missing, and so on.

Please help DO Community, you’re my only hope (ba dum crash).

-PK



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Update: Rebuilt my droplet on Debian x64 8.3

apt-get update
apt-get install pbuilder git
pbuilder create

… something something…dark side… (works from basic standpoint!)

adduser desktop
gpasswd -a desktop sudo
su - desktop
git clone https://github.com/ProfessorKaos64/SteamOS-Tools-Packaging
cd setup-files
./configure-packaging-evn.sh
pbuilder-wrapper create brewmaster amd64

Seems to be working now! Not sure what happened. Woohoo for easy to use control panel and snapshots! :)

Hello!

Is this on a brand new Debian droplet? As of right now, on a test droplet I just spun up, I’m not able to reproduce this. After installing the build tools and pbuilder:

apt-get install pbuilder debootstrap devscripts

I’m able to run pbuilder create to set up my environment properly. It works exactly as expected…

So yeah, with that in mind, my guess is there’s something a bit more complicated at play here, and I’d recommend giving it another go on a clean droplet to see if you can reproduce your results.

I’ve granted you a bit of credit to allow you some room to experiment. Please let me know what you find! :)

Best, Eris Platform Support Specialist

Thank you Eris! (FF7 fanfare cue). I believe it is something with my setup script I use for SteamOS.

https://github.com/ProfessorKaos64/SteamOS-Tools-Packaging/blob/brewmaster/setup-files/configure-packaging-env.sh

I need to figure out what syntax/coding error I made there. Maybe a false flag and my error :/ , but I most certainly am going to try out this credit on a large build when I fix this, such as Qt or or the like. Or upgrade my plan finally :)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.