Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923749 - Encourage 'emerge' to select the most likely package when an atom is ambiguous
Summary: Encourage 'emerge' to select the most likely package when an atom is ambiguous
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-04 01:46 UTC by Stuart Shelton
Modified: 2024-02-04 01:46 UTC (History)
0 users

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 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?