You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure (yet) in which cases this happens, but I've found an example with "exiftool" which is not a package that exists, yet it is provided as the only matching package by pkg_search.
[ 06:50 coolfire@absolute-unit manager2-cli ]
$ apt search exiftool
Sorting... Done
Full Text Search... Done
forensics-extra/bionic,bionic,now 1.13 all [installed]
Forensics Environment - extra console components (metapackage)
libimage-exiftool-perl/bionic,bionic,now 10.80-1 all [installed]
library and program to read and write meta information in multimedia files
ruby-mini-exiftool/bionic,bionic,now 2.9.0-1 all [installed,automatic]
wrapper for exiftool command-line
[ 06:50 coolfire@absolute-unit manager2-cli ]
$ irb
irb(main):001:0> require 'debian/apt_pkg'
=> true
irb(main):002:0> Debian::AptPkg.init
=> nil
irb(main):003:0> Debian::AptPkg::PkgCache.update
=> false
irb(main):004:0> Debian::AptPkg::PkgCache.pkg_names('exiftool')
=> ["exiftool"]
irb(main):005:0>
The text was updated successfully, but these errors were encountered:
I don't remember why I exposed this method since I don't find any equivalent on python-apt... From my quick lookup this look to come from the Provides from libimage-exiftool-perl so it match on the cache this name. This works for package like archfs too. I think I'm going to remove this method when I've implemented a proper search method since this cause confusion cf #2
I'm not sure (yet) in which cases this happens, but I've found an example with "exiftool" which is not a package that exists, yet it is provided as the only matching package by
pkg_search
.The text was updated successfully, but these errors were encountered: