[Bug 589909] Re: aptitude why error message has no newline

Michael Vogt michael.vogt at ubuntu.com
Wed Aug 4 09:28:55 BST 2010


This problem is fixed in maverick, the code reads now:

      fprintf(stderr, _("%s: this command requires at least one argument
(the package to query).\n"),


I don't think we can backport that easily to lucid as it does break a lot of translation. Unless someone tries to manually unfuzzy?

** Changed in: aptitude (Ubuntu)
       Status: Triaged => Incomplete

** Also affects: aptitude (Ubuntu Lucid)
   Importance: Undecided
       Status: New

** Also affects: aptitude (Ubuntu Maverick)
   Importance: Low
       Status: Incomplete

** Changed in: aptitude (Ubuntu Lucid)
       Status: New => Won't Fix

** Changed in: aptitude (Ubuntu Maverick)
       Status: Incomplete => Fix Released

-- 
aptitude why error message has no newline
https://bugs.launchpad.net/bugs/589909
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.

Status in “aptitude” package in Ubuntu: Fix Released
Status in “aptitude” source package in Lucid: Won't Fix
Status in “aptitude” source package in Maverick: Fix Released

Bug description:
Binary package hint: aptitude

At the command prompt when you type "aptitude why"  you get the following:

why: this command requires at least one argument (the package to query).bbeck at tardis:~$

Notice there is no newline after the error message so the prompt is directly after the error message.  It should appear like so:

why: this command requires at least one argument (the package to query).
bbeck at tardis:~$

My version information:
Description:    Ubuntu 10.04 LTS
Release:        10.04

aptitude:
  Installed: 0.4.11.11-1ubuntu10
  Candidate: 0.4.11.11-1ubuntu10
  Version table:
 *** 0.4.11.11-1ubuntu10 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

I have attached a patch, and I believe this problem is solved in later versions of aptitude, so there may be not much benefit pushing upstream.





More information about the Ubuntu-sponsors mailing list