Am Donnerstag, 9. Juli 2015, 23:23:40 schrieb Francesco Poli:
> Control: severity -1 wishlist
> 
> On Thu, 09 Jul 2015 09:12:57 +0200 Martin Steigerwald wrote:
> > Package: apt-listbugs
> > Version: 0.1.16
> > Severity: important
[…]
> > I told it to pin package but I used the bug number instead of the
> > package
> > to pin in "p" command.
> 
> Well, why did you do that?

Cause I am a human being, and yeah, despite

> The online help (that can be obtained by typing '?' at the apt-listbugs
> prompt) says:

I made this mistake?

> > Expected results:
> > 
> > Either prints an error message or does pins the package the bug is made
> > for.
> 
> What if the user really wants to pin a package named "791869"?!?
> 
> I think that apt-listbugs cannot consider this as an error condition.
> And it cannot assume to know what the user wants better than the user
> him/herself: hence, it should not replace the string "791869" with the
> name of the package(s) the bug number is assigned to.
> 
> Maybe I could implement a check that warns the user, when none of the
> bugs that affect the user's package upgrade are assigned to the package
> the user wants to pin and asks whether the user wants to proceed anyway.
> I'll think about it.

How about asking for a confirmation if the package given with "p" command is 
not within the list of packages apt-listbugs just displayed before? Usually 
the user reads the bugs apt-listbugs shows and then the user would often add 
a package from one of the bugs?

Or at least check for the package I give it to exist before proceeding? See 
apt-listbugs didn´t catch my user error and due to that I got an lvm2 
package installed that renders the system unbootable (well I didn´t yet 
reboot on mine, so I don´t know for sure for my system). So if there is a 
reliable way to catch that kind of user error, I think it would be good to 
have this.

But on the other hand, do you really think a package name just with numbers 
is a valid package name? I never saw one that has just numbers.

> But, anyway, I consider this to be a wishlist bug.

Sure, sorry. I first thought apt-listbugs was just not doing what I told it, 
but then noticed my usage mistake but forgot to lower severity.

And thanks for packaging and developing apt-listbugs. It is really a handy 
tool.

Thanks
-- 
Martin

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to