poldek --enablerepo=PATTERN --caplookup=/usr/lib/debug/.build-id/89/4ea1f250416c2d4a1216158a71e21902bbc78b.debug
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
poldek |
New
|
Undecided
|
Unassigned | ||
PLD Linux |
New
|
Wishlist
|
Unassigned |
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=
it would enable all repositories matching *-debuginfo pattern:
$ poldek -l|grep debuginfo
th-debuginfo ftp://ftp.
th-obsolete-
th-ready-debuginfo ftp://ftp.
th-test-debuginfo ftp://ftp.
so the gdb hint would be likely:
poldek --sn='*-debuginfo' --up -u --caplookup /usr/lib/
Changed in pld-linux: | |
importance: | Undecided → Wishlist |
oh. i'm sorry, seems the --caplookup needs to be enchanced instead to search filelist, not caplists.
the --sn='*-debuginfo' itself works: debug/. build-id/ 89/4ea1f250416c 2d4a1216158a71e 21902bbc78b. debug :packages. ndir.md. ..
# poldek --sn='*-debuginfo' --up -u --caplookup /usr/lib/
Retrieving th-debuginfo:
th-debuginfo is up to date
Retrieving th-obsolete- debuginfo: :packages. ndir.md. .. debuginfo is up to date
th-obsolete-
Retrieving th-ready- debuginfo: :packages. ndir.md. ..
th-ready-debuginfo is up to date
Retrieving th-test- debuginfo: :packages. ndir.md. .. th-test- debuginfo. .. th-ready- debuginfo. .. th-obsolete- debuginfo. .. th-debuginfo. .. debug/. build-id/ 89/4ea1f250416c 2d4a1216158a71e 21902bbc78b. debug: no such package
th-test-debuginfo is up to date
Loading [pndir]
Loading [pndir]
Loading [pndir]
Loading [pndir]
4081 packages read
Removed 1 duplicate package from available set
error: /usr/lib/
# poldek --sn='*-debuginfo' th-test- debuginfo. .. th-ready- debuginfo. .. th-obsolete- debuginfo. .. th-debuginfo. .. /var/lib/ rpm...
Loading [pndir]
Loading [pndir]
Loading [pndir]
Loading [pndir]
4081 packages read
Removed 1 duplicate package from available set
Loading [rpmdbcache]
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/4ea1f250416c 2d4a1216158a71e 21902bbc78b. debug* ....... ....... ....... ....... ....... ......done. -4.7.25. 4-6.i686
Searching packages.
1 package(s) found:
db4.7-debuginfo
poldek:/all-avail>