Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to use apt (or pbuilder) to build a package in user's home directory. The home directory has enough space to hold the package's source, its dependencies and binary output. But the apt documents say that you have to be a root user (sudo) to use it.

It's frustrating, as the only way now I have at my disposal is to build the package from source or use the dpkg and in both cases, figure out dependencies manually, create the dir layout manually and install the built things manually. Now if I can do all these things manually, why the tool writers (apt) think that doing so using their tool (apt) is somehow more special/dangerous?

I don't want to use root privileges JUST to build and test a user-land package.

If I am NOT allowed to do anything outside my home dir then why NOT the apt or pbuilder type commands be allowed to "build" something in my home dir without root privileges? I just want to use their functionality.

I have seen Is it possible to run pbuilder without root privileges?, but I don't want to use UML.

share|improve this question
    
well, the link you provided gives you a solution. The solution runs without root and will resolve dependencies. Pick your poison ;) –  bodhi.zazen Jul 12 '13 at 16:24
    
Yes, it gives a solution but is this THE ONLY solution too? I mean a solution that comes prepackaged with poison can hardly be a solution. anyway thanks. –  Tem Pora Jul 13 '13 at 3:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.