Niels Thykier <niels@thykier.net> (2016-05-26): > The apt-file udeb search seems to work fine for me after three steps: IMHO that's two too many. > * Enable the udeb fetching > - e.g. edit /etc/apt/apt.conf.d/50apt-file.conf > - Find "deb::Contents-udeb" and set its "DefaultEnabled" to true While I can understand why dsc would be disabled by default, I'm not sure why udeb would need to go the same way; those are tiny. > * Run apt update (or apt-file update) > > * Pass -I udeb when doing search in the udeb Contents > - apt-file search -I udeb efivars.ko > - The implicit default value for -I being "deb" and therefore the > regular Contents files I'd rather have a search happening across all available types, and then being able to restrict the same inside a given component… > (Admittedly, I was using apt/1.2.12, but I doubt they have made a > serious regression here). > > This should also group the indices (as output under apt-get > indextargets) as expected, namely: > > Created-By: Contents-udeb > Identifier: Contents-udeb > > Both are indeed values that apt creates itself and exposes - currently > apt-file uses "Created-By", but it will soon use "Identifier" (waiting > for apt/1.3 in unstable as I recall). The difference being that you can > "choose" the Identifier, so you can have udebs being part of the default > search result for apt-file (by setting "Identifier" to "Contents-deb"). > > Thanks, > ~Niels The only udeb occurrence in the changelog since: | apt-file (2.5.4) unstable; urgency=medium | | * Apply patch from Cyril Brulebois to support searching for | files in "udeb" packages. This requires "debian-installer" | entries in the sources.list and are represented by the pseudo | "udeb-<arch>" architecture (e.g. "udeb-amd64"). | (Closes: #766295) | | -- Niels Thykier <niels@thykier.net> Wed, 22 Oct 2014 22:05:36 +0200 is the following entry: | - Special uses of "-a" to search in Source packages or | udebs have been replaced by "--index-names". which isn't entirely obvious. Besides having lost a few hours digging into apt, it would be very much appreciated if we wouldn't have to enable debian-installer bits in various places… KiBi.
Attachment:
signature.asc
Description: Digital signature