[Bug 493922] Re: poldek --enablerepo=PATTERN --caplookup=/usr/lib/debug/.build-id/89/4ea1f250416c2d4a1216158a71e21902bbc78b.debug

Elan Ruusamäe glen at delfi.ee
Tue Dec 8 09:54:50 CET 2009


indeed, but these should not be exclusive, i'd like to enable them both
if i don't really know what kind dep it is.

however it seems poldek is handling symlinks differently than regular
files, i.e it actually works on regular files, so it should be then
--follow-symlinks or --symlinks-lookup as --caplookup already handles
regular files

10:50:04 root[load: 1.06]@ravenous /tmp# l /usr/lib/debug/.build-id/89/4ea1f250416c2d4a1216158a71e21902bbc78b.debug
lrwxrwxrwx 1 root root 28 2009-12-08 08:31 /usr/lib/debug/.build-id/89/4ea1f250416c2d4a1216158a71e21902bbc78b.debug -> ../../lib/libdb-4.7.so.debug*

10:50:11 root[load: 1.05]@ravenous /tmp# poldek --sn='*-debuginfo' --up -u --caplookup /usr/lib/debug/.build-id/89/4ea1f250416c2d4a1216158a71e21902bbc78b.debug
...
4087 packages read
Removed 1 duplicate package from available set
error: /usr/lib/debug/.build-id/89/4ea1f250416c2d4a1216158a71e21902bbc78b.debug: no such package

10:51:44 root[load: 1.63]@ravenous /tmp# poldek  --up -u --caplookup /usr/bin/php.cli
...
Removed 17 duplicate packages from available set
php-cli-5.2.11-1.i686: equal version installed, skipped

-- 
poldek --enablerepo=PATTERN --caplookup=/usr/lib/debug/.build-id/89/4ea1f250416c2d4a1216158a71e21902bbc78b.debug
https://bugs.launchpad.net/bugs/493922
You received this bug notification because you are subscribed to PLD
Linux.

Status in PLD Linux Distribution: New

Bug description:
i'd like to see possibility to enable repositories by a glob on commandline, so gdb issued hint could be adjusted for poldek:

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/89/4ea1f250416c2d4a1216158a71e21902bbc78b.debug

it would enable all repositories matching *-debuginfo pattern:
$ poldek -l|grep debuginfo
th-debuginfo ftp://ftp.th.pld-linux.org/dists/th/PLD/i686/debuginfo/  (noauto,noautoup,type=pndir)
th-obsolete-debuginfo ftp://ftp.th.pld-linux.org/dists/th/obsolete/i686/debuginfo/  (noauto,noautoup,type=pndir)
th-ready-debuginfo ftp://ftp.th.pld-linux.org/dists/th/ready/i686/debuginfo/  (noauto,noautoup,type=pndir)
th-test-debuginfo ftp://ftp.th.pld-linux.org/dists/th/test/i686/debuginfo/  (noauto,noautoup,type=pndir)

so the gdb hint would be likely:
poldek --sn='*-debuginfo' --up -u --caplookup /usr/lib/debug/.build-id/89/4ea1f250416c2d4a1216158a71e21902bbc78b.debug




More information about the pld-bugs mailing list