Comment 1 for bug 493922

Revision history for this message
Elan Ruusamäe (glen666) wrote : Re: poldek --enablerepo=PATTERN

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>