Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 923749

Summary: Encourage 'emerge' to select the most likely package when an atom is ambiguous
Product: Portage Development Reporter: Stuart Shelton <srcshelton>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stuart Shelton 2024-02-04 01:46:14 UTC
```
Calculating dependencies

[ Results for search key : podman ]
*  acct-group/podman
      Latest version available: 0
      Latest version installed: [ Not Installed ]
      Size of files: 0 KiB
      Homepage:
      Description:   Group for app-containers/podman socket
      License:

*  app-containers/podman
      Latest version available: 4.9.2
      Latest version installed: [ Not Installed ]
      Size of files: 21216 KiB
      Homepage:      https://github.com/containers/podman/ https://podman.io/
      Description:   A tool for managing OCI containers and pods with Docker-compatible CLI
      License:       Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0

*  dev-python/podman [ Masked ]
      Latest version available: 4.9.0
      Latest version installed: [ Not Installed ]
      Size of files: 179 KiB
      Homepage:      https://github.com/containers/podman-py/ https://pypi.org/project/podman/
      Description:   A library to interact with a Podman server
      License:       Apache-2.0

[ Applications found : 3 ]

!!! The short ebuild name "=podman-4.9.2" is ambiguous. Please specify
!!! one of the above fully-qualified ebuild names instead.
```

In this case, would it be possible to discount `dev-python/podman` (unless fully qualified) as it is Masked, discount `acct-group/podman` (unless fully qualified) as `acct-*` packages are unlikely be manually installed (rather than being installed as dependencies), and therefore automagically select `app-containers/podman` - but still issuing a warning that the package name is ambiguous?

N.B. `acct-group/podman` is from an overlay, but I think the observation is valid in regards to `acct-*` packages in general?