[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DEB-package: How to pack and unopack



On Thu, Feb 01, 2007 at 10:11:41PM +0100, Hans-J. Ullrich wrote:
> I have discovered a bug in a package and would like to test it. The bug is 
> within a script in the package. I can not edit the packed script, so I search 
> for an easy way to unpack it, then edit the script , repack it and install 
> it. 
> 
> As soon it works, I will give you bug report. Or is someone willing to change 
> the three lines himself ? 
> 
> The package is not official, it is a driver package for a Brother printer.

mkdir /somewhere/tempdir
cd /somewhere/tempdir
dpkg-deb -x /path/something.deb .
dpkg-deb -e /path/something.deb DEBIAN
edit files needed
dpkg-deb -b . /path/new.deb

--
Len Sorensen



Reply to: