From: Adam C P. IV <haz...@de...> - 2008-04-02 16:13:04
|
On Fri, 2008-03-28 at 10:18 -0400, Daniel Wheeler wrote: > On Wed, Mar 26, 2008 at 8:18 AM, Adam C Powell IV <haz...@de...> wrote: > > > > I do have one related question for you. How does one test deb packages without a > > > clean system or root access? There doesn't seem to be an obvious way unpack and > > > install locally using apt-get. Any clues? > > > > A .deb package is an ar archive with a tarball of package files, a > > tarball of control files, and a brief version file. You can use "ar x > > package.deb" which will give you these three, and then unpack the > > package files and try to use them. But you don't get the > > system-integrating scripts etc. > > > > As far as I know there's no good way to unpack and use a .deb in one's > > home directory. > > > > Do you have sufficient access to make a chroot environment? > > Yes I do. I haven't tried it though. It may be the correct way to > create a sandbox for testing > packaging. I'll try it out and let you know. Thanks! Just FYI: if you want to make a chroot, debootstrap is your friend... -Adam -- GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6 Engineering consulting with open source tools http://www.opennovation.com/ |