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

Re: Becoming a new developper



> >> > ar can't create .debs
> >>
> >> Er, why not? .debs are just ar archives with an empty file,
> >> control.tar(.gz)? and data.tar(.gz)? in- you can certainly *read*
> >>.debs with ar...
> >
> >There are some magic numbers involved afaik.
> 
> It's simpler than that, it's the filenames in the archive, ar adds 
> them with a trailing slash, dpkg-deb does not.
> I was able to produce a .deb with ar that dpkg-deb could read by 
> editing the archive with emacs to replace the / in each member name 
> with a space.

Hey -- who said you were allowed to use emacs?!  Next, you'll be
wanting to use Perl as well... ;-)

Long live ed!

   Julian

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg


Reply to: