[feature] install system packages without architecture
See original GitHub issueCurrently, recipes with arch settings trying to install system packages always install the system package with architecture matching the profile. This makes xorg/system fail on some distros (alma, Fedora and Centos), because some of the system packages do not have an architecture: the failures:
- https://github.com/bincrafters/system-packages-checks/actions/runs/3266259888/jobs/5369817368#step:6:191
- https://github.com/bincrafters/system-packages-checks/actions/runs/3266259888/jobs/5369817556#step:6:180
- https://github.com/bincrafters/system-packages-checks/actions/runs/3266259888/jobs/5369816469#step:6:263
- https://github.com/bincrafters/system-packages-checks/actions/runs/3266259888/jobs/5369819520#step:6:238
- https://github.com/bincrafters/system-packages-checks/actions/runs/3266259888/jobs/5369819717#step:6:198
- https://github.com/bincrafters/system-packages-checks/actions/runs/3266259888/jobs/5369817145#step:6:244
these two system packages have no arch, cf!
- https://almalinux.pkgs.org/9/almalinux-appstream-x86_64/xkeyboard-config-devel-2.33-2.el9.noarch.rpm.html
- https://almalinux.pkgs.org/9/almalinux-crb-x86_64/xorg-x11-xtrans-devel-1.4.0-8.el9.noarch.rpm.html
We could consider adding a method like _SystemPackageManagerTool.install_archless(...)
? Or an automatic fallback to archless if there is no existing package for the setting’s arch ?
- I’ve read the CONTRIBUTING guide.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Planning what features and components to install - IBM
You can customize your software product by selecting which features and components to install.
Read more >Install or update packages - AWS Systems Manager
Deploy packages to managed nodes by using Distributor.
Read more >Chapter 12. Managing software packages
When installing packages on a multilib system (AMD64, Intel 64 machine), you can specify the architecture of the package by appending it to...
Read more >Manifest Mode - vcpkg
The set of installed ports is controlled by editing the project's "manifest file", and the installed tree is placed in the project directory...
Read more >Create a package using the nuget.exe CLI - Microsoft Learn
A detailed guide on designing and creating a NuGet package, including files and versioning.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We close this, although we know that is not completely addressed in https://github.com/conan-io/conan/pull/12349 There’s a workaround to install packages without architecture using:
But I’ll open a new issue to improve UX for this.
Actually,
xtrans
andxkeyboard-config
system packages have no arch on all the system package managers handled by conan, so I createdxtrans/system
andxkeyboard-config/system
recipes without arch setting. a dedicatedinstall_archless
is not actually needed