Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917119 - sys-apps/portage: uninstall command should indicate ambiguous package names
Summary: sys-apps/portage: uninstall command should indicate ambiguous package names
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-10 12:33 UTC by lexofleviafan
Modified: 2024-01-19 22:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lexofleviafan 2023-11-10 12:33:55 UTC
When an ambiguous package is passed to the uninstall command (emerge --unmerge/--depclean), the output is exactly the same as when the package doesn't exist.

Reproducible: Always

Steps to Reproduce:
1.Run an uninstall (depclean or unmerge) command on a term matching multiple fully-qualified installed ebuild names, e.g.:
>$ emerge --ask --depclean man
Actual Results:  
The output describing the error is in the following format:
>--- Couldn't find 'man' to depclean.


Expected Results:  
The output should contain information similar to the output of install command in similar situation; e.g. based on `emerge --quiet man`:
>--- !!! The short ebuild name "man" is ambiguous. Please specify
>--- !!! one of the following fully-qualified ebuild names instead:
>---
>---     acct-group/man
>---     acct-user/man
>---     virtual/man
(Naturally, the output should only contain already installed packages.)