Package: wajig Version: 2.0.44 Severity: normal This command returns wrong results: # wajig whichpkg hunspell.4.gz
Execution details: # wajig -t whichpkg hunspell.4.gz Performing: cat /var/lib/dpkg/status | egrep '^(Package|Status|Version):' | awk '/^Package: / {pkg=$2} /^Status: / {s1=$2;s2=$3;s3=$4} /^Version: / {print pkg,$2,s1,s2,s3}' | grep 'ok installed' | awk '{print $1,$2}' | sort -k 1b,1 > /home/berarma/.wajig/peret/tmpn-hURg Performing: fping localhost 2>/dev/null >/dev/null Performing: fping packages.debian.org 2>/dev/null >/dev/null File Path Package ===========================================================-================= INSTALLED Performing: dpkg -S hunspell.4.gz 2>/dev/null | sed 's|: *|:|' | grep -v '^diversion by ' | awk -F: '{printf("%-59s %-17s\n", $2, $1)}' ----------------------------------------------------------------------------- AVAILABLE Performing: wget --timeout=60 --output-document=/home/berarma/.wajig/peret/tmpOnqHBC http://packages.debian.org/cgi-bin/search_contents.pl\?word=hunspell.4.gz\&searchmode=searchfilesanddirs\&case=insensitive\&version=unstable\&arch=i386 2> /dev/null Performing: grep page= /home/berarma/.wajig/peret/tmpOnqHBC 2>&1 > /dev/null Performing: cat /home/berarma/.wajig/peret/tmpOnqHBC | awk 'BEGIN { RS = "</tr>" } /"keyword"/ { print $0 }' | lynx -stdin -dump -nonumbers | egrep -v '^$' | sed 's|, |,|' | awk '{printf("%-59s %-17s\n", $1, $2)}' /usr/share/man/hu/man4/hunspell.4.gz hunspell /usr/share/man/man4/hunspell.4.gz hunspell file://localhost/lenny/hunspell file://localhost/lenny/hunspell ----------------------------------------------------------------------------- Performing: cat /var/lib/dpkg/status | egrep '^(Package|Status|Version):' | awk '/^Package: / {pkg=$2} /^Status: / {s1=$2;s2=$3;s3=$4} /^Version: / {print pkg,$2,s1,s2,s3}' | grep 'ok installed' | awk '{print $1,$2}' | sort -k 1b,1 The URL used for searching is: http://packages.debian.org/cgi-bin/search_contents.pl?word=hunspell.4.gz&searchmode=searchfilesanddirs&case=insensitive&version=unstable&arch=i386 When browsing with the browser this is shown in the results page: "You reached this site over an old URL. Depending on the exact parameters your search might work or not." In fact, it return wrong results, I guess this URL should be updated to something like: http://packages.debian.org/search?searchon=contents&keywords=hunspell.4.gz&mode=path&suite=unstable&arch=amd64 Also, notice the architecture parameter is wrong in the first URL. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (990, 'unstable'), (10, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.31-1-amd64 (SMP w/1 CPU core) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages wajig depends on: ii apt 0.7.25.1 Advanced front-end for dpkg ii dselect 1.15.5.6 Debian package management front-en ii python 2.5.4-5 An interactive high-level object-o ii python-apt 0.7.13.4 Python interface to libapt-pkg ii python-central 0.6.14+nmu2 register and build utility for Pyt wajig recommends no packages. Versions of packages wajig suggests: ii alien 8.79 convert and install rpm and other ii apt-listbugs 0.1.1 tool which lists critical bugs bef ii apt-move 4.2.27-1+b6 Maintain Debian packages in a pack ii apt-show-versions 0.16 lists available package versions w ii debconf 1.5.28 Debian configuration management sy ii deborphan 1.7.28 program that can find unused packa ii dpkg-repack 1.32 puts an unpacked .deb file back to ii fakeroot 1.14.4-1 Gives a fake root environment ii fping 2.4b2-to-ipv6-16 sends ICMP ECHO_REQUEST packets to ii gkdebconf 1.2.64 Helper to reconfigure packages wit pn gnome-tasksel <none> (no description available) ii gnome-terminal 2.28.2-1 The GNOME terminal emulator applic ii locales 2.10.2-5 Embedded GNU C Library: National L pn lynx <none> (no description available) ii python-glade2 2.16.0-1 GTK+ bindings: Glade support ii python-gnome2 2.28.0-1 Python bindings for the GNOME desk ii python-gtk2 2.16.0-1 Python bindings for the GTK+ widge ii reportbug 4.10.1 reports bugs in the Debian distrib ii sudo 1.7.2p1-1 Provide limited super user privile ii vrms 1.15 virtual Richard M. Stallman ii wget 1.12-1.1 retrieves files from the web -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org