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

Re: Bug#144593: thoughts about dpkg database



On Fri, Apr 26, 2002 at 04:43:12PM +0200, Wichert Akkerman wrote:
> Previously Michael Bramer wrote:
> > This is not a real Bug, only some thoughts and I don't like to lose it.
> > And now it is in the bts.... :-)
> 
> The BTS isn't the right place for design discussions. Also this aspect
> of dpkg design has already been discussed and you already know we want
> to support a split database.

Yes, I know. 

> > dpkg sould build its database from several sources. Maybe it get the
> > generally tags from a debian ftp server (with only Package:, Version:,
> > all Depends, Recomments, ...
> 
> This is silly, dpkg does not downloads files and never will (a package
> manager has no business doing that).

I don't propose this. 

dpkg need only a '--merge-to-database' like option, to merge a
file/input/... to its database. 

maybe I should explain this:

dpkg's database:
!Package: aa
!Version: 2.3
!Depends: bb, foo, bar
!
!Package: bar
!Version: 0.a2.3
!Depends: bb, aa
!
!Package: foo
!Version: 0.4.2.3
!Depends: bar

a other input:
!Package: aa
!Version: 2.3
!Homepage-URL: http://www.aa.org/project/
!
!Package: bar
!Version: 0.a2.3
!Depends: bb, aa
!Homepage-URL: http://www.bar.org/testing/

and after the 'dpkg --merge-to-database < file', the dpkg database have:
!Package: aa
!Version: 2.3
!Homepage-URL: http://www.aa.org/project/
!Depends: bb, foo, bar
!
!Package: bar
!Version: 0.a2.3
!Homepage-URL: http://www.bar.org/testing/
!Depends: bb, aa
!
!Package: foo
!Version: 0.4.2.3
!Depends: bar


Maybe you understand it now!? 

dpkg need only this option.

Gruss
Grisu
-- 
Michael Bramer  -  a Debian Linux Developer      http://www.debsupport.de
PGP: finger grisu@db.debian.org  -- Linux Sysadmin   -- Use Debian Linux
Failure is not an option. It comes bundled with your Microsoft product.

Attachment: pgpHVyxL1y_t_.pgp
Description: PGP signature


Reply to: