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

Bug#1035412: does not grok search expression from release notes



Package: apt
Version: 2.6.0
Severity: minor

Hi

the release notes suggest using the command line

aptitude search '?narrow(?installed, ?not(?origin(Debian)))'

to display alist of packages that is obsolete or from a third-party
repo.

apt doesn't grok that search:

$ apt search '?narrow(?installed, ?not(?origin(Debian)))'
E: Regex compilation error

Is this expected and intended behavior? Isn't apt supposed to be
aptitude compatible regarding searches? Wouldn't it be nice to have this
supported by apt as well?

Greetings
Marc

-- System Information:
Debian Release: 12.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.3.0-zgws1 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apt depends on:
ii  adduser                 3.132
ii  base-passwd             3.6.1
ii  debian-archive-keyring  2023.3
ii  gpgv                    2.2.40-1.1
ii  libapt-pkg6.0           2.6.0
ii  libc6                   2.36-9
ii  libgcc-s1               12.2.0-14
ii  libgnutls30             3.7.9-2
ii  libseccomp2             2.5.4-1+b3
ii  libstdc++6              12.2.0-14
ii  libsystemd0             252.6-1

Versions of packages apt recommends:
ii  ca-certificates  20230311

Versions of packages apt suggests:
ii  apt-doc         2.6.0
ii  aptitude        0.8.13-5
ii  dpkg-dev        1.21.21
ii  gnupg           2.2.40-1.1
ii  gnupg2          2.2.40-1.1
ii  powermgmt-base  1.37

-- no debconf information


Reply to: