Wajig unable to operate with keywords starting with numbers

Bug #1182264 reported by Jouni Karlsson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wajig (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

foo@bar:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring

Operating with keywords that start with numbers are ignored by wajig.

What happens:
foo@bar:~$ wajig search 0ad
E: You must give at least one search pattern

And when trying to install

foo@bar:~$ wajig install 0ad
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

What is expected:
foo@bar:~$ apt-cache search 0ad
0ad - Real-time strategy game of ancient warfare
0ad-data - Real-time strategy game of ancient warfare (data files)
0ad-data-common - Real-time strategy game of ancient warfare (common data files)
0ad-dbg - Real-time strategy game of ancient warfare (debug)

foo@bar:~$ sudo apt-get install 0ad
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  0ad-data 0ad-data-common fonts-texgyre libenet1a libmozjs185-1.0 libnvtt2 tex-common tex-gyre
Suggested packages:
  debhelper
The following NEW packages will be installed:
  0ad 0ad-data 0ad-data-common fonts-texgyre libenet1a libmozjs185-1.0 libnvtt2 tex-common tex-gyre
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 448 MB of archives.
After this operation, 1 122 MB of additional disk space will be used.

Jouni Karlsson (nakkel)
description: updated
Revision history for this message
Tshepang Lekhonkhobe (tshepang) wrote : Re: [Bug 1182264] [NEW] Wajig unable to operate with keywords starting with numbers

Wow, that's an interesting one. Lemme have a look later today.

Revision history for this message
Tshepang Lekhonkhobe (tshepang) wrote :

Fixed it in VCS. Will be in next release, 2.8.

Revision history for this message
Jouni Karlsson (nakkel) wrote :

Is the fix something a user can apply?

Revision history for this message
Tshepang Lekhonkhobe (tshepang) wrote : Re: [Bug 1182264] Re: Wajig unable to operate with keywords starting with numbers

I don't know what you mean, but you can run VCS version thus:

setup:
$ wajig install devscripts debhelper
$ hg clone https://code.google.com/p/wajig/
$ cd wajig

build + install:
$ debuild -us -uc -b
$ sudo debi

That last command installs the just-built deb.

Changed in wajig (Ubuntu):
status: New → Confirmed
Revision history for this message
Graham Williams (gjwkayon) wrote :

Confirmed this is fixed with the current wajig 4.0.3. Closing.

Changed in wajig (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.