OpenMandriva Lx version:
OpenMandriva Lx 25.02 (ROME) Rolling x86_64
Desktop environment (KDE, LXQT…):
KDE Plasma 6.3.1
Description of the issue (screenshots if relevant):
I’m having a problem when trying to update my system in OpenMandriva. When I run sudo dnf distro-sync, the update fails with several errors like:
Error in transaction test:
package <package-name> is intended for different architecture
This happens for several packages such as rpm, gtk+3.0, plasma6-desktop, among others. I’ve tried clearing the cache with dnf clean all and redoing the update, but the problem persists.
Has anyone experienced this or knows how to solve it?
Relevant informations (hardware involved, software version, logs or output…):
CPU: Intel(R) Core™ i5-10400H CPU @ 2.60GHz (8 cores, x86_64)
Kernel: Linux 6.13.4-desktop-2omv2590
Packages: 2340 (rpm), 14 (flatpak)
Shell: bash 5.2.37
Terminal: Konsole 24.12.2
Display:
Primary: LGD05FF (1920x1080 @ 60Hz, Built-in)
Secondary: HP S1932 (1366x768 @ 60Hz, External)
Architecture Check:
uname -m: x86_64
rpm --eval '%{_arch}': x86_64
Let me know if any more details are needed. Thanks in advance for any help!
I’ve never seen this happening before - chances are you somehow managed to enable the aarch64 and/or znver1 and/or risc-v repositories. Make sure only x86_64 repositories are enabled.
Hello,
I installed OpenMandriva just 1 day ago. As a way to solve some problems that were in my previous system. So I had to touch the repositories a little, because there was a problem with the main repository, it was inactive, so I had to use a mirror, because even trying to change the main server with om-mirror-selector.sh -m, no mirror worked.
Here is my output from dnf repolist:
[ivy@Roman tmp]$ dnf repolist
repository id repository name
rolling-x86_64 OpenMandriva rolling - x86_64
[ivy@Roman tmp]$
We have been syncing updates from Cooker to ROME and that takes the repos offline for a while. That has been completed and all of the repos are online again.
I have not used the mirror selector, as I use the standard repos. Are you able to undo what was done?
Yes yes. I actually only have the rolling-x86_64 repository active. I just left one asset trying to solve this problem, I thought it was probably a conflict between packages coming from different repositories.
[ivy@Roman tmp]$ dnf repolist
id do repo nome do repo
rolling-x86_64 OpenMandriva Rolling - x86_64
For example, now I need git, and I couldn’t install it, with this same problem.
I had to download it using sudo dnf download --releasever=rolling --downloaddir=/tmp git and then install it via rpm. And the installation was a success.
I installed the system yesterday (23rd, 1 day ago), and the first thing I did was run dnf update. But that didn’t work because the main repository was offline. So I tried changing the repository with om-mirror-selector. I changed it twice 3 times, but none of the servers I selected were online. It always gave 404 or something like that. So I changed it manually, commented out the baseUrl lines, and activated mirrorlist and fastetmirror.
After that I was able to do the update. But after 1h, I tried updating again; Then I started having this problem.
@rugyada is correct. ROME is a rolling release and must be done differently.
Any time you run into issues, don’t bite off more than you can chew. Come here and ask questions. OpenMandriva is a unique thing. It is not based on Debian or Fedora or SUSE and it is about as old as they are. So, it does things a bit differently.