Re: dependency resolution ?

"Alex Kramarov" <[email protected]>
Newsgroups gmane.network.up2date.current.devel
Message-ID <[email protected]>
actually, it's more the 270000.

but the up2date client only requests the package that provides a certain
dependency, so the server's decision is simple - find what provides it and
return to the client. you don't have to do circular resolution - so it
doesn't look so hard. and conflicts are detected by the up2date client, so
the server doesn't have to think about them. I will have to look into
onsoletes though - didn't have the time to look that up - i know redhat put
an additional obsoletes list in the 3.0 version ;(

it is interesting though what to do if several packages provide the same
capability, like the xfree86 server - there is about 20 packages for
different video cards, all of them provide "Xserver"- i wonder what to do
then.

Alex.
----- Original Message -----
From: "Hunter Matthews" <[email protected]>
To: "Current Server Mailing List" <[email protected]>
Sent: Thursday, October 10, 2002 5:17 PM
Subject: Re: [Current-server] dependency resolution ?


> Oh, and in a standard redhat 7.3, there are about 250,000 of them.
> There are only a few thousand of each of the others.
>
> On Thu, 2002-10-10 at 06:25, Alex Kramarov wrote:
> > hi.
> >
> > working on dependency resolution , i have stumbled on sume obscure (or
me)
> > error, and i was hoping that someone could shed some light here ...
> >
> > one of the packages i tried to install required the "/bin/aumix-minimal"
:
> >
> > [root@rene up2date]# rpm -qp
> > /mnt/RedHat/redhat-7.3/control-center-1.4.0.1-31.i386.rpm --requires
> > /bin/aumix-minimal
> > xscreensaver
> > [snipped]
> >
> > i go and run
> >
> > [root@mail cgi-bin]# rpm -q /bin/aumix-minimal --whatprovides --dbpath
> > /usr/lib/rpmdb/i386-redhat-linux/redhat
> > aumix-2.7-8
> >
> > i say , strange, i created a full "provides" list of the entire
> > distribution. probably missed something. let's check that package out :
> >
> > [root@mail cgi-bin]# rpm -q aumix --provides --dbpath
> > /usr/lib/rpmdb/i386-redhat-linux/redhat
> > aumix = 2.7-8
> >
> > nothing. let's see it's files :
> >
> > [root@mail cgi-bin]# rpm -ql aumix --dbpath
> > /usr/lib/rpmdb/i386-redhat-linux/redhat
> > /bin/aumix-minimal
> > /usr/bin/aumix
> > /usr/share/aumix
> > /usr/share/aumix/ansi
> > /usr/share/aumix/aumix.xpm
> > /usr/share/aumix/fadein.set
> > /usr/share/aumix/fadeout.set
> > /usr/share/aumix/vt100
> > /usr/share/aumix/xterm
> > /usr/share/doc/aumix-2.7
> > /usr/share/doc/aumix-2.7/ChangeLog
> > /usr/share/doc/aumix-2.7/NEWS
> > /usr/share/doc/aumix-2.7/README
> > /usr/share/doc/aumix-2.7/TODO
> > /usr/share/locale/de/LC_MESSAGES/aumix.mo
> > /usr/share/locale/es/LC_MESSAGES/aumix.mo
> > /usr/share/locale/fr/LC_MESSAGES/aumix.mo
> > /usr/share/locale/gl/LC_MESSAGES/aumix.mo
> > /usr/share/locale/ja/LC_MESSAGES/aumix.mo
> > /usr/share/locale/pl/LC_MESSAGES/aumix.mo
> > /usr/share/locale/pt_BR/LC_MESSAGES/aumix.mo
> > /usr/share/locale/ru/LC_MESSAGES/aumix.mo
> > /usr/share/locale/sv/LC_MESSAGES/aumix.mo
> > /usr/share/locale/uk/LC_MESSAGES/aumix.mo
> > /usr/share/man/man1/aumix.1.gz
> >
> > i thought packages should require only capabilities provided by other
> > packages, not other package's files ! am i incorrect ? if i am, what
other
> > parts of packages redhat except "provides" and "files" packages can
depend
> > on ?
> >
> > thank you.
> >
> > _______________________________________________
> > Current-server mailing list
> > [email protected]
> > http://lists.dulug.duke.edu/mailman/listinfo/current-server
> >
> >
> --
> Hunter Matthews                          Unix / Network Administrator
> Office: BioScience 145/244               Duke Univ. Biology Department
> Key: F0F88438 / FFB5 34C0 B350 99A4 BB02  9779 A5DB 8B09 F0F8 8438
> Never take candy from strangers. Especially on the internet.
>
> _______________________________________________
> Current-server mailing list
> [email protected]
> http://lists.dulug.duke.edu/mailman/listinfo/current-server
>
> .
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.