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

Re: self-depending packages



On Wed, 2 Mar 2005, Tollef Fog Heen wrote:

> * Adam Heath
>
> | On Tue, 1 Mar 2005, Tollef Fog Heen wrote:
> |
> | > apt invokes dpkg on the command line and due to maximum command
> | > line length it sometimes is split in an unfortunate place.
> | >
> | > This will be fixed once dpkg is librarified.
> |
> | Er, no, it won't.
>
> Please follow my mail-followup-to and don't send me private replies.
>
> Also, according to http://www.netsplit.com/blog/tech/debian/dpkg:
>
> > The libdpkg library
> >
> > This is mostly an act of re-engineering the current code so that the
> > dpkg command-line tool is simply a wrapper around a libdpkg library.
> >
> > Front-ends and APT would link to this library instead of using the
> > command-line. One of the most immediately obvious things this solves
> > is the line-length issue that requires APT to break up invocations,
> > sometimes in bad places.
>
> so I think you are wrong here.

Er, hardly.  libdpkg will contain *extremely* low-level stuff.
Reading/writing debs(ar/tar/gzip/bzip/checksum stuff).  It won't contain
higher-level anything.



Reply to: