Package: aptitude
Version: 0.8.10-9

Aptitude's "~o" search string is not good enough.

It doesn't catch cases like in Bug #902503.

For such cases one needs

# aptitude -F '%t %p' search ~i!~o|perl -nwle 'print if s/^now //;'
firefox
libffi6

That's the only way one is going to find them.

# aptitude -F '%t %p' search ~i!~o|perl -nwle 'print if s/^now //;'|xargs 
apt-cache policy
firefox:
  Installed: 61.0~b8-1
  Candidate: 61.0~b8-1
  Version table:
 *** 61.0~b8-1 100
        100 /var/lib/dpkg/status
     60.0.2-2 500
        500 http://free.nchc.org.tw/debian unstable/main amd64 Packages
libffi6:
  Installed: 3.3~20160224-1
  Candidate: 3.3~20160224-1
  Version table:
 *** 3.3~20160224-1 100
        100 /var/lib/dpkg/status
     3.2.1-8 500
        500 http://free.nchc.org.tw/debian unstable/main amd64 Packages

So aptitude needs a new ~ search term, like ~o, but for packages in the
$ apt-show-versions | grep newer
firefox:amd64 61.0~b8-1 newer than version in archive
libffi6:amd64 3.3~20160224-1 newer than version in archive
state.

Or at least add my example to the aptitude manual. I'm sure one would
want to detect such packages.

>>>>> "MB" == Michael Biebl <[email protected]> writes:

MB> You have an outdated libffi6 version installed from experimental.
MB> Please update to the version from sid.
MB> This is a duplicate of
MB> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902411

_______________________________________________
Aptitude-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/aptitude-devel

Reply via email to