speaking about 'whichcd'

Michael Fratoni mfratoni at tuxfan.homeip.net
Wed Nov 12 11:29:41 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 12 November 2003 05:27 am, Alexander Volovics wrote:
> A day or two ago there was some discussion about adapting 'whichcd'
> to fedora. The updated version seems to be available now.
>
> But unless I am very much mistaken FC1 already contains a comparable
> (the same?) tool: /usr/share/comps-extras/whichcd.py.
>
> $ /usr/share/comps-extras/whichcd.py beecrypt
> beecrypt-3.0.1-0.20030630.1.i386.rpm is on disc 1
>
> $ /usr/share/comps-extras/whichcd.py freetype-devel
> freetype-devel-2.1.4-5.i386.rpm is on disc 2

I haven't had a chance to install Fedora Core yet, so I haven't checked,
but last I knew whichcd.py didn't have quite the same functionality as 
'whichcd'.

What package provides a given file? 
$ whichcd -f libpopt.so.0

popt-1.7-1.06 provides libpopt.so.0

CD-1:popt-1.7-1.06.i386.rpm

Or:
$ whichcd -f /usr/bin/pico

pine-4.44-13 provides /usr/bin/pico

CD-3:pine-4.44-13.i386.rpm
SOURCE-CD-1:pine-4.44-13.src.rpm

Or even:
$ whichcd -f free

procps-2.0.7-25 provides /usr/bin/free

CD-1:procps-2.0.7-25.i386.rpm
SOURCE-CD-1:procps-2.0.7-25.src.rpm

Case insensitive search for a string?
$ whichcd xfree
CD-1:XFree86-100dpi-fonts-4.2.0-72.i386.rpm
CD-1:XFree86-75dpi-fonts-4.2.0-72.i386.rpm
CD-1:XFree86-Mesa-libGL-4.2.0-72.i386.rpm
[snip]

What version of a given package is included with another release?
$ whichcd -v FC1 freetype
Searching in the FC1 database.
Searching for freetype...

CD-1:freetype-2.1.4-5.i386.rpm
CD-2:freetype-devel-2.1.4-5.i386.rpm
CD-3:freetype-demos-2.1.4-5.i386.rpm
CD-3:freetype-utils-2.1.4-5.i386.rpm
SOURCE-CD-2:freetype-2.1.4-5.src.rpm

Don't get me wrong, whichcd.py is a good thing. I just don't believe that 
it's the same thing as 'whichcd'

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/shmln/07WoAb/SsRAlPgAJ9zrBWDO4HILlnOeoaDdJbI5IQPZACeLQ8f
UN6JLGKomR1wGcoh4PLfJXk=
=9ei9
-----END PGP SIGNATURE-----





More information about the fedora-list mailing list