[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#277536: /usr/bin/apt-cache: . and * in regexp



Package: apt
Version: 0.5.27
Severity: normal
File: /usr/bin/apt-cache

I may not be the most knowledgeable when it comes to regexp, but
shouldn't the first command give the more extensive, global output (ie,
shouldn't it find the libglade2-dev package)??


flo@tigerbay:~$ apt-cache search libglade*-dev
libglade0-dev - Development files for libglade
flo@tigerbay:~$ apt-cache search libglade.-dev
libglade0-dev - Development files for libglade
libglade2-dev - Development files for libglade

Florian


-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";

-- /etc/apt/preferences --

# according to http://jaqque.sbih.org/kplug/apt-pinning.html
Package: *
Pin: release a=stable,o=Debian
Pin-Priority: 700

Package: *
Pin: release a=testing,o=Debian
Pin-Priority: 650

Package: *
Pin: release a=unstable,o=Debian
Pin-Priority: 600



Package: *
Pin: release a=stable
Pin-Priority: 500

Package: *
Pin: release a=testing
Pin-Priority: 450

Package: *
Pin: release a=unstable
Pin-Priority: 400

-- /etc/apt/sources.list --

#deb file:///cdrom/ sarge main

deb http://the.earth.li/debian/ sarge main contrib non-free
#deb-src http://the.earth.li/debian/ testing main

deb http://security.debian.org/ sarge/updates main contrib non-free

#mplayer + multimedia...plugins
deb ftp://ftp.nerim.net/debian-marillat/ unstable main
deb ftp://ftp.nerim.net/debian-marillat/ testing main

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (650, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-apmacpi
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8

Versions of packages apt depends on:
ii  libc6                       2.3.2.ds1-16 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.2-2    GCC support library
ii  libstdc++5                  1:3.3.4-13   The GNU Standard C++ Library v3

-- no debconf information



Reply to: