Ask Your Question

How to install 32-bit (i686) packages with pkcon?

asked 2017-09-29 04:30:47 +0000

mr_johnson22 gravatar image

updated 2017-10-09 04:00:57 +0000

Whenever there is a package with 32-bit and 64-bit versions, I'm able to use sudo dnf install [package].1686 to specify the 32-bit version (usually for installing graphics libraries). I'd like to be able to use pkcon to do the same thing, but pkcon install [package].i686 reports that no matching packages exist if [package] also has a 64-bit (x86_64) version. (EDIT: Actually, this happens regardless of whether 64-bit packages exist or not.)

Is there a way to specify the package architecture when installing packages with pkcon? Strangely, searching for & uninstalling i686 packages works just fine; only installing them has this issue.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-10-09 04:08:24 +0000

mr_johnson22 gravatar image

It turns out this behaviour is by design: When using 'pkcon install' assume arch filter unless specified otherwise

This can be bypassed with pkcon --filter ~arch install [package_name]. This makes pkcon filter out any packages whose arch matches the OS, which is the negation of the default behaviour (an implicit --filter arch for the install command).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

1 follower


Asked: 2017-09-29 04:30:47 +0000

Seen: 20 times

Last updated: Oct 09