Bug#380277: aptitude: Command line doesn't take into account more than one argument!

2006-07-30 Thread Stéphane Rosi

Daniel Burrows wrote:

  Could you please save and chmod +x the attached script, and run the
following tests?

No problem, but you forgot to attach the script test.py... ;)


--
Steph


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380277: aptitude: Command line doesn't take into account more than one argument!

2006-07-30 Thread Stéphane Rosi

Ok... I got it...

A long long time ago I put a script in /usr/local/ to launch aptitude 
with a Batch priority with the -ck patch. And the script used $1 instead 
of $*...


Really really really sorry for this... :(

--
Steph


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380277: aptitude: Command line doesn't take into account more than one argument!

2006-07-29 Thread Stéphane Rosi

Daniel Burrows wrote:

  What shell are you using?
  


I use bash, version 3.1-4.

--
Steph


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380277: aptitude: Command line doesn't take into account more than one argument!

2006-07-29 Thread Daniel Burrows
On Sat, Jul 29, 2006 at 12:06:57PM +0200, Stéphane Rosi [EMAIL PROTECTED] was 
heard to say:
 Daniel Burrows wrote:
   What shell are you using?
   
 
 I use bash, version 3.1-4.

  Then I frankly haven't a clue what's going on.

[EMAIL PROTECTED]:~$ aptitude show iproute
Unknown command show iproute
 [help output...]
[EMAIL PROTECTED]:~$ aptitude show iproute
Package: iproute
 [...]

  This has always been how aptitude works, and I can't even imagine a
codepath that would produce the result you describe.

  Could you please save and chmod +x the attached script, and run the
following tests?

  (1) Run 'test.py show iproute'
= should produce ['test.py', 'show', 'iproute']
  (2) Run 'test.py show iproute'
= should produce ['test.py', 'show iproute']
  (3) Move the aptitude binary out of the way
  (mv /usr/bin/aptitude /usr/bin/aptitude.real)
  (4) Copy test.py to /usr/bin/aptitude
  (5) Run 'aptitude show iproute'
= should produce ['aptitude', 'show', 'iproute']
  (6) Run 'aptitude show iproute'
= should produce ['aptitude', 'show iproute']

  If these tests succeed, the only explanation I can think of is that you
have something seriously screwed up in your libc (which aptitude uses to
parse arguments).  If they fail, you have something seriously screwed up
in your shell and/or kernel.  There may be other possibilities, but I'm
not creative enough to arrive at them at the moment.

  Daniel


signature.asc
Description: Digital signature


Bug#380277: aptitude: Command line doesn't take into account more than one argument!

2006-07-28 Thread Stéphane Rosi
Package: aptitude
Version: 0.4.1-1.1
Severity: important

Hi!

Examples will better explain the problem:

% aptitude show iproute   ...doesn't produce any output.
But,
% aptitude show iproute   ...shows the package information.

% aptitude install dqdsglkjm   ...doesn't produce any error
But,
% aptitude install dqdlqkj   ...does.

Every action that takes only one argument (update, upgrade, ...) works
fine. But when more than one argument is supplied on the command line,
it doesn't...

I've tried other programs that need more than one argument and they work,
so it seems that the problem actually comes from aptitude.

Tell me if you need more information or tests!
Cheers,
-- 
Steph


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (970, 'unstable'), (950, 'stable'), (930, 
'experimental'), (870, 'dapper'), (500, 'edgy-updates'), (500, 
'edgy-security'), (500, 'edgy-backports'), (500, 'edgy'), (500, 
'dapper-updates'), (500, 'dapper-security'), (500, 'dapper-backports')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-beyond1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.3-6-3.1 0.6.44.2   Advanced front-end for dpkg
ii  libc6 2.3.6-15   GNU C Library: Shared libraries
ii  libgcc1   1:4.1.1-5  GCC support library
ii  libncursesw5  5.5-2  Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a2.0.16-3   type-safe Signal Framework for C++
ii  libstdc++64.1.1-5The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-do none (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380277: aptitude: Command line doesn't take into account more than one argument!

2006-07-28 Thread Daniel Burrows
  What shell are you using?

  Daniel


signature.asc
Description: Digital signature