Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve UX to install system packages without architecture #12448

Closed
czoido opened this issue Nov 2, 2022 · 1 comment
Closed

Improve UX to install system packages without architecture #12448

czoido opened this issue Nov 2, 2022 · 1 comment
Milestone

Comments

@czoido
Copy link
Contributor

czoido commented Nov 2, 2022

Provide a better way of forcing installing packages without the architecture appended to the package name even if you are cross-compiling. Currently you can do:

Apt(self, arch_names={}).install(["archless-package"], update=True, check=True)

Passing arch_names as an empty dictionary in the constructor will make that the name resolution skips adding the architecture for all cases (cross-compiling and not). But that is ugly and probably we want to pass a new argument to cover this case.

Related to: #12320

@czoido czoido added this to the 1.55 milestone Nov 2, 2022
@memsharded
Copy link
Member

The workaround is a proper solution, not that much of a workaround, so closing this as solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants