[Bug 884945] Re: aptitude show wrong package state

Viktor Pal 884945 at bugs.launchpad.net
Sat Dec 31 08:49:20 UTC 2011


Same here, for example searching for libapr gives the following (wrong results, libapr1 is installed):
# aptitude search libapr
p   libapr1                                                            - Apache Portable Runtime Library                                              
p   libapr1-dbg                                                        - Apache Portable Runtime Library - Debugging Symbols                          
p   libapr1-dev                                                        - Apache Portable Runtime Library - Development Headers                        
p   libapreq2                                                          - generic Apache request library                                               
p   libapreq2-dev                                                      - generic Apache request library - development files                           
p   libapreq2-doc                                                      - generic Apache request library - documentation                               
p   libapron                                                           - runtime libraries for APRON                                                  
p   libapron-dev                                                       - an abstract interpretation library                                           
p   libapron-ocaml                                                     - runtime libraries for APRON (OCaml interface)                                
v   libapron-ocaml-b3on5                                               -                                                                              
p   libapron-ocaml-dev                                                 - an abstract interpretation library (OCaml interface)                         
v   libapron-ocaml-dev-b3on5                                           -                                                                              
v   libapron-ocaml-dev-q5lr0                                           -                                                                              
v   libapron-ocaml-q5lr0                                               -                                                                              
i A libaprutil1                                                        - Apache Portable Runtime Utility Library                                      
p   libaprutil1-dbd-freetds                                            - Apache Portable Runtime Utility Library - FreeTDS Driver                     
p   libaprutil1-dbd-mysql                                              - Apache Portable Runtime Utility Library - MySQL Driver                       
p   libaprutil1-dbd-odbc                                               - Apache Portable Runtime Utility Library - ODBC Driver                        
p   libaprutil1-dbd-pgsql                                              - Apache Portable Runtime Utility Library - PostgreSQL Driver                  
p   libaprutil1-dbd-sqlite3                                            - Apache Portable Runtime Utility Library - SQLite3 Driver                     
p   libaprutil1-dbg                                                    - Apache Portable Runtime Utility Library - Debugging Symbols                  
p   libaprutil1-dev                                                    - Apache Portable Runtime Utility Library - Development Headers                
p   libaprutil1-ldap                                                   - Apache Portable Runtime Utility Library - LDAP Driver   

And here is the same search with ~i (this one shows the correct state):
# aptitude search ~ilibapr
i A libapr1                                                            - Apache Portable Runtime Library                                              
i   libapr1-dev                                                        - Apache Portable Runtime Library - Development Headers                        
i A libaprutil1                                                        - Apache Portable Runtime Utility Library                                      
i A libaprutil1-dbd-sqlite3                                            - Apache Portable Runtime Utility Library - SQLite3 Driver                     
i A libaprutil1-ldap                                                   - Apache Portable Runtime Utility Library - LDAP Driver     

And strange is that searching for libapr1 instead of libapr gives correct results too:
# aptitude search libapr1
i A libapr1                                                            - Apache Portable Runtime Library                                              
p   libapr1-dbg                                                        - Apache Portable Runtime Library - Debugging Symbols                          
i   libapr1-dev                                                        - Apache Portable Runtime Library - Development Headers

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/884945

Title:
  aptitude show wrong package state

Status in “aptitude” package in Ubuntu:
  Confirmed

Bug description:
  Cant to see installed packages in aptitude search:

  [aslok at 3r]2011.11.01-23:32:06:~$ sudo aptitude search vlc
  p   libvlc-dev                                                                             - development files for libvlc
  p   libvlc5                                                                                - multimedia player and streamer library
  p   libvlccore-dev                                                                         - development files for libvlccore
  p   libvlccore4                                                                            - base library for VLC and its modules
  p   mozilla-plugin-vlc                                                                     - multimedia plugin for web browsers based on VLC
  p   phonon-backend-vlc                                                                     - Phonon VLC backend
  p   phonon-backend-vlc-dbg                                                                 - Phonon VLC backend debugging symbols
  p   remuco-vlc                                                                             - duplex remote control for media players - VLC adapter
  i   vlc                                                                                    - multimedia player and streamer
  i   vlc-data                                                                               - Common data for VLC
  p   vlc-dbg                                                                                - debugging symbols for vlc
  p   vlc-nox                                                                                - multimedia player and streamer (without X support)
  p   vlc-plugin-fluidsynth                                                                  - FluidSynth plugin for VLC
  p   vlc-plugin-ggi                                                                         - GGI video output plugin for VLC
  p   vlc-plugin-jack                                                                        - Jack audio plugins for VLC
  i   vlc-plugin-notify                                                                      - LibNotify plugin for VLC
  i   vlc-plugin-pulse                                                                       - PulseAudio plugin for VLC
  p   vlc-plugin-sdl                                                                         - SDL video and audio output plugin for VLC
  p   vlc-plugin-svg                                                                         - SVG plugin for VLC
  p   vlc-plugin-svgalib                                                                     - SVGAlib video output plugin for VLC
  p   vlc-plugin-zvbi                                                                        - VBI teletext plugin for VLC

  [aslok at 3r]2011.11.01-23:32:22:~$ sudo aptitude search ~ivlc
  i   libvlc5                                                                                - multimedia player and streamer library
  i   libvlccore4                                                                            - base library for VLC and its modules
  i   phonon-backend-vlc                                                                     - Phonon VLC backend
  i   vlc                                                                                    - multimedia player and streamer
  i   vlc-data                                                                               - Common data for VLC
  i   vlc-nox                                                                                - multimedia player and streamer (without X support)
  i   vlc-plugin-notify                                                                      - LibNotify plugin for VLC
  i   vlc-plugin-pulse                                                                       - PulseAudio plugin for VLC
  [aslok at 3r]2011.11.01-23:32:27:~$

  On first search without any pattern can to see:
  p   libvlc5                                                                                - multimedia player and streamer library
  p   libvlccore4                                                                            - base library for VLC and its modules
  p   phonon-backend-vlc                                                                     - Phonon VLC backend

  But this packeges installed and working. For get info about this
  packages need to use pattern ~i

  I did try to remove, purge, reinstall and reconfigure - without result
  =(

  More info:

  [aslok at 3r]2011.11.04-14:20:06:~$ lsb_release -a
  LSB Version:    core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
  Distributor ID: Ubuntu
  Description:    Ubuntu 11.10
  Release:        11.10
  Codename:       oneiric

  [aslok at 3r]2011.11.04-14:20:12:~$ sudo aptitude --help | head -n1
  aptitude 0.6.4

  [aslok at 3r]2011.11.04-14:20:21:~$ apt -version
  apt 1.6.0_23

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/884945/+subscriptions




More information about the foundations-bugs mailing list