[CLUG-tech] apt-what ?

Buchan Milne bgmilne at cae.co.za
Fri Nov 15 10:32:50 SAST 2002


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

Izak Burger wrote:
> Probably a perl script, if any:
>

Not urpmf, urpmq and urpmi are.

>
>
> On Fri, 15 Nov 2002, Louis Cordier wrote:
>
>
>>>If it was (not sure, on a different machine now), it doesn't make a
>>>difference. That's the whole point of urpm{f,q,i}.
>>
>>I am just wondering, if you do a:
>>
>>less $(which urpmf)
>>
>>etc, do you maybe get an shell script that basically call's rpm ?

Shell script:yes, rpm:no. It calls parsehdlist, which is:

[bgmilne at bgmilne bgmilne]$ file `which parsehdlist `
/usr/bin/parsehdlist: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped
[bgmilne at bgmilne bgmilne]$ ldd `which parsehdlist `
        librpm-4.0.4.so => /usr/lib/librpm-4.0.4.so (0x40024000)
        librpmio-4.0.4.so => /usr/lib/librpmio-4.0.4.so (0x4006b000)
        librpmdb-4.0.4.so => /usr/lib/librpmdb-4.0.4.so (0x400a8000)
        libz.so.1 => /lib/libz.so.1 (0x40167000)
        libbz2.so.1 => /usr/lib/libbz2.so.1 (0x40176000)
        libpopt.so.0 => /lib/libpopt.so.0 (0x40186000)
        libc.so.6 => /lib/i686/libc.so.6 (0x4018e000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x402ae000)
        librt.so.1 => /lib/i686/librt.so.1 (0x402c3000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
[bgmilne at bgmilne bgmilne]$

Since urpmf/urpmq/urpmi etc can work with any urpmi-enabled repository
(which must have a list file, and either a systhesis.hdlist or an
hdlist), it pressy obviously can't just wrap rpm.

Buchan

- --
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE91LExrJK6UGDSBKcRAjPNAKCAYzrRc8t+YC6KNfcn8pZHr1j8tACgvDaA
2RvhhQKOzqD5P/jnrK5JssY=
=EYhA
-----END PGP SIGNATURE-----





More information about the Clug-tech mailing list