[Bug 493922] Re: poldek --enablerepo=PATTERN
Elan Ruusamäe
glen at delfi.ee
Tue Dec 8 07:29:51 CET 2009
oh. i'm sorry, seems the --caplookup needs to be enchanced instead to
search filelist, not caplists.
the --sn='*-debuginfo' itself works:
# poldek --sn='*-debuginfo' --up -u --caplookup /usr/lib/debug/.build-id/89/4ea1f250416c2d4a1216158a71e21902bbc78b.debug
Retrieving th-debuginfo::packages.ndir.md...
th-debuginfo is up to date
Retrieving th-obsolete-debuginfo::packages.ndir.md...
th-obsolete-debuginfo is up to date
Retrieving th-ready-debuginfo::packages.ndir.md...
th-ready-debuginfo is up to date
Retrieving th-test-debuginfo::packages.ndir.md...
th-test-debuginfo is up to date
Loading [pndir]th-test-debuginfo...
Loading [pndir]th-ready-debuginfo...
Loading [pndir]th-obsolete-debuginfo...
Loading [pndir]th-debuginfo...
4081 packages read
Removed 1 duplicate package from available set
error: /usr/lib/debug/.build-id/89/4ea1f250416c2d4a1216158a71e21902bbc78b.debug: no such package
# poldek --sn='*-debuginfo'
Loading [pndir]th-test-debuginfo...
Loading [pndir]th-ready-debuginfo...
Loading [pndir]th-obsolete-debuginfo...
Loading [pndir]th-debuginfo...
4081 packages read
Removed 1 duplicate package from available set
Loading [rpmdbcache]/var/lib/rpm...
1897 packages loaded
Welcome to the poldek shell mode. Type "help" for help with commands.
poldek:/all-avail> search -f */usr/lib/debug/.build-id/89/4ea1f250416c2d4a1216158a71e21902bbc78b.debug*
Searching packages..........................................done.
1 package(s) found:
db4.7-debuginfo-4.7.25.4-6.i686
poldek:/all-avail>
** Summary changed:
- poldek --enablerepo=PATTERN
+ poldek --enablerepo=PATTERN --caplookup=/usr/lib/debug/.build-id/89/4ea1f250416c2d4a1216158a71e21902bbc78b.debug
--
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