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

Conflicts between attempted installs of gawk-5.3.1-1.x86_64 and gawk-5.3.1-1.x86_64 #2189

Open
arteze opened this issue Dec 22, 2024 · 1 comment

Comments

@arteze
Copy link

arteze commented Dec 22, 2024

When trying to update using dnf update I get a conflict with gawk-5.3.1-1.x86_64 and gawk-5.3.1-1.x86_64, that is, it is the same package, it is actually a single package, but it is in conflict with itself.

And the same thing happens with some other packages.

With gawk as an example (in my case).

  file /usr/libexec/awk conflicts between attempted installs of gawk-5.3.1-1.x86_64 and gawk-5.3.1-1.x86_64

Errors:

  file /usr/lib64/qt5/bin/uic conflicts between attempted installs of lib64qt5gui-devel-5.15.15-1.x86_64 and lib64qt5gui-devel-5.15.15-1.x86_64
  installing package lib64qt5gui-devel-5.15.15-1.x86_64 needs 175MB more space on the / filesystem
  installing package lib64qt5qmlmodels-devel-5.15.15-1.x86_64 needs 166MB more space on the / filesystem
  file /usr/lib64/qt5/bin/qmlformat conflicts between attempted installs of lib64qt5qml-devel-5.15.15-1.x86_64 and lib64qt5qml-devel-5.15.15-1.x86_64
  file /usr/lib64/qt5/bin/qmltyperegistrar conflicts between attempted installs of lib64qt5qml-devel-5.15.15-1.x86_64 and lib64qt5qml-devel-5.15.15-1.x86_64
  installing package lib64qt5qml-devel-5.15.15-1.x86_64 needs 184MB more space on the / filesystem
  installing package lib64qt5quick-devel-5.15.15-1.x86_64 needs 167MB more space on the / filesystem
  installing package qemu-ui-opengl-1:9.2.0-0.rc3.1.x86_64 needs 165MB more space on the / filesystem
  installing package qemu-ui-spice-core-1:9.2.0-0.rc3.1.x86_64 needs 165MB more space on the / filesystem
  installing package qemu-user-1:9.2.0-0.rc3.1.x86_64 needs 433MB more space on the / filesystem
  file /usr/bin/qmlcachegen conflicts between attempted installs of pyside6-devel-6.8.0.2-2.x86_64 and qt5-qtdeclarative-5.15.15-1.x86_64
  file /usr/bin/qmlimportscanner conflicts between attempted installs of pyside6-devel-6.8.0.2-2.x86_64 and qt5-qtdeclarative-5.15.15-1.x86_64
  file /usr/bin/qmllint conflicts between attempted installs of pyside6-devel-6.8.0.2-2.x86_64 and qt5-qtdeclarative-5.15.15-1.x86_64
  file /usr/libexec/awk conflicts between attempted installs of gawk-5.3.1-1.x86_64 and gawk-5.3.1-1.x86_64
  file /usr/bin/gdb conflicts between attempted installs of gdb-15.2-1.x86_64 and gdb-headless-15.2-1.x86_64
  file /usr/libexec/postfix conflicts between attempted installs of postfix-3.9.1-1.x86_64 and postfix-3.9.1-1.x86_64
  file /usr/libexec/file-roller conflicts between attempted installs of file-roller-44.4-2.x86_64 and file-roller-44.4-2.x86_64
  file /usr/lib64/qt5/bin/qdbus conflicts between attempted installs of qt5-qttools-qtdbus-5.15.15-1.x86_64 and qt5-qttools-qtdbus-5.15.15-1.x86_64
  file /usr/lib64/qt5/bin/qdbusviewer conflicts between attempted installs of qt5-qttools-qtdbus-5.15.15-1.x86_64 and qt5-qttools-qtdbus-5.15.15-1.x86_64
  file /usr/libexec/gpg-wks-client conflicts between attempted installs of gnupg-2.5.0-1.x86_64 and gnupg-2.5.0-1.x86_64
  file /usr/lib64/Mcrt1.o conflicts between attempted installs of glibc-devel-6:2.40-1.x86_64 and glibc-devel-6:2.40-1.x86_64
  file /usr/lib64/Scrt1.o conflicts between attempted installs of glibc-devel-6:2.40-1.x86_64 and glibc-devel-6:2.40-1.x86_64
  file /usr/lib64/crt1.o conflicts between attempted installs of glibc-devel-6:2.40-1.x86_64 and glibc-devel-6:2.40-1.x86_64
  file /usr/lib64/crti.o conflicts between attempted installs of glibc-devel-6:2.40-1.x86_64 and glibc-devel-6:2.40-1.x86_64
  file /usr/lib64/crtn.o conflicts between attempted installs of glibc-devel-6:2.40-1.x86_64 and glibc-devel-6:2.40-1.x86_64
  file /usr/lib64/gcrt1.o conflicts between attempted installs of glibc-devel-6:2.40-1.x86_64 and glibc-devel-6:2.40-1.x86_64
  file /usr/lib64/grcrt1.o conflicts between attempted installs of glibc-devel-6:2.40-1.x86_64 and glibc-devel-6:2.40-1.x86_64
  file /usr/lib64/libc.so conflicts between attempted installs of glibc-devel-6:2.40-1.x86_64 and glibc-devel-6:2.40-1.x86_64
  file /usr/lib64/libc_nonshared.a conflicts between attempted installs of glibc-devel-6:2.40-1.x86_64 and glibc-devel-6:2.40-1.x86_64
  file /usr/lib64/libg.a conflicts between attempted installs of glibc-devel-6:2.40-1.x86_64 and glibc-devel-6:2.40-1.x86_64
  file /usr/lib64/libm.so conflicts between attempted installs of glibc-devel-6:2.40-1.x86_64 and glibc-devel-6:2.40-1.x86_64
  file /usr/lib64/libmcheck.a conflicts between attempted installs of glibc-devel-6:2.40-1.x86_64 and glibc-devel-6:2.40-1.x86_64
  file /usr/lib64/rcrt1.o conflicts between attempted installs of glibc-devel-6:2.40-1.x86_64 and glibc-devel-6:2.40-1.x86_64

Error Summary
-------------
Disk Requirements:
   At least 433MB more space needed on the / filesystem.

I don't have any free space right now, but I plan to upgrade when I do.

How can this be fixed, if possible?

@ppisar
Copy link
Contributor

ppisar commented Jan 3, 2025

In what phase od dnf execution do you see those errors?

Is it after you confirm the transaction ("Is this ok?" query) and after DNF starts the the RPM transaction ("Running transaction" line)? If it is so, those are messages from RPM library.

I've never seen a conflict between two same packages. It's quite possible that RPM library mishandles insufficient disk space.

Could you please try to simplify the problem by first making enough disk space and retrying the update?

Another reason could be that you actually have multiple same-named but different packages in your repositories and they indeed conflict.

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

No branches or pull requests

2 participants