[Aptitude-devel] Bug#933501: aptitude cannot search for packages newer than in the archive

積丹尼 Dan Jacobson jidanni at jidanni.org
Tue Jul 30 21:24:40 BST 2019


Package: aptitude
Version: 0.8.11-7
Severity: wishlist

Consider the case
# set libffi6
# apt-cache policy $@
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-9 500
        500 http://opensource.nchc.org.tw/debian unstable/main i386 Packages
# apt-show-versions|grep newer
libffi6:i386 3.3~20160224-1 newer than version in archive
# aptitude --verbose show $@|egrep Version\|State
Version: 3.3~20160224-1
State: installed
Version: 3.2.1-9
State: installed (3.3~20160224-1), upgrade available (3.2.1-9)

Actually technically that should be downgrade, not upgrade.*

But my main point is there is no search pattern to detect it.
not ~U, not ~o, etc. Probably no combination either.
So one must rely on apt-show-versions to find it.

*(As we see in
# aptitude purge $@
...
The following actions will resolve these dependencies:
     Downgrade the following packages:
1)     libffi6 [3.3~20160224-1 (now) -> 3.2.1-9 (unstable)]
)



More information about the Aptitude-devel mailing list