instalace dnf-utils


#1

Omlouvám se, zjevně se mi jen nedaří vygooglit řešení, ale opravdu se mi to nepovedlo. Zhruba před týdnem se mi přestala aktualizovat fc27. Ukázalo se, že problém tkví v tom, že cosi při aktualizaci požaduje kvůli závislostem doinstalovat balíček dnf-utils. Jenže ten se instalovat nechce a nechce:

[root@localhost ~]# dnf install dnf-utils
Adobe Systems Incorporated                       13 kB/s | 1.9 kB     00:00    
Fedora 27 - x86_64 - Updates                    3.4 MB/s |  18 MB     00:05    
Fedora 27 - x86_64                              4.7 MB/s |  58 MB     00:12    
google-chrome                                    44 kB/s | 3.7 kB     00:00    
RPM Fusion for Fedora 27 - Free - Updates       1.7 MB/s | 285 kB     00:00    
RPM Fusion for Fedora 27 - Free                 865 kB/s | 717 kB     00:00    
RPM Fusion for Fedora 27 - Nonfree - Updates     34 kB/s |  24 kB     00:00    
RPM Fusion for Fedora 27 - Nonfree              1.1 MB/s | 163 kB     00:00    
Last metadata expiration check: 0:00:00 ago on Sat 10 Feb 2018 08:15:01 CET.
Dependencies resolved.
================================================================================
 Package            Arch            Version               Repository       Size
================================================================================
Installing:
 dnf-utils          noarch          2.1.5-1.fc27          fedora           41 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 41 k
Installed size: 3.8 k
Is this ok [y/N]: y
Downloading Packages:
dnf-utils-2.1.5-1.fc27.noarch.rpm               253 kB/s |  41 kB     00:00    
--------------------------------------------------------------------------------
Total                                            40 kB/s |  41 kB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction check error:
  file /usr/bin/debuginfo-install from install of dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package yum-utils-1.1.31-513.fc27.noarch
  file /usr/bin/find-repos-of-install from install of dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package yum-utils-1.1.31-513.fc27.noarch
  file /usr/bin/package-cleanup from install of dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package yum-utils-1.1.31-513.fc27.noarch
  file /usr/bin/repo-graph from install of dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package yum-utils-1.1.31-513.fc27.noarch
  file /usr/bin/repoclosure from install of dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package yum-utils-1.1.31-513.fc27.noarch
  file /usr/bin/repomanage from install of dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package yum-utils-1.1.31-513.fc27.noarch
  file /usr/bin/repoquery from install of dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package yum-utils-1.1.31-513.fc27.noarch
  file /usr/bin/reposync from install of dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package yum-utils-1.1.31-513.fc27.noarch
  file /usr/bin/repotrack from install of dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package yum-utils-1.1.31-513.fc27.noarch
  file /usr/bin/yum-builddep from install of dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package yum-utils-1.1.31-513.fc27.noarch
  file /usr/bin/yum-config-manager from install of dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package yum-utils-1.1.31-513.fc27.noarch
  file /usr/bin/yum-debug-dump from install of dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package yum-utils-1.1.31-513.fc27.noarch
  file /usr/bin/yum-debug-restore from install of dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package yum-utils-1.1.31-513.fc27.noarch
  file /usr/bin/yumdownloader from install of dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package yum-utils-1.1.31-513.fc27.noarch

Error Summary
-------------

Yum-utils se odinstalovat bojím, abych pak neměl postaráno o ještě větší zábavu. Nevíte, prosím, někdo co s tím?


#2

Vsak to tam mas napsane - koliduje to se soubory z baliku yum-utils. Nevim kde si ten balik v F27 vzal, ale proste ho odinstaluj. Yum uz se v F27 snad nepouziva.


#3

Dík za odpověď. Yum samozřejmě už dlouho nepoužívám. Proto se mi moc nechtělo do odinstalace, že jsem si nebyl jistý, kde jsem to tam vlastně vzal. Zjistil jsem, že yum a yum-utils si s sebou nejspíš stahuje urlgrabber, který jsem si kdysi stáhl a pak ho nejspíš nikdy nepoužil a ono se to pak přetahovalo z vydání do vydání. Takže jsem to teď všechno odistaloval, doinstaloval dnf-utils a zdá se, že je všechno v pořádku.

Už si nepamatuju, kdy dnf nahradil yum, ale pozoruhodné je, že dnf vydržel bez dnf-utils až do dneška, protože nainstalované jsem je vedle yum-utils zjevně nikdy neměl…


#4

A teď už jenom pro úplnost dodám toho pachatele (mám ho moc rád a bez něj mezi vydáními neupgradeuju), který si vyžádal při aktualizaci dnf-utils:

[root@localhost ~]# dnf repoquery --deplist fedora-upgrade
Last metadata expiration check: 0:00:55 ago on Wed 14 Feb 2018 17:38:05 CET.
package: fedora-upgrade-27.1-1.fc27.noarch
  dependency: /bin/bash
   provider: bash-4.4.12-13.fc27.x86_64
  dependency: cpio
   provider: cpio-2.12-6.fc27.x86_64
  dependency: distribution-gpg-keys
   provider: distribution-gpg-keys-1.18-1.fc27.noarch
  dependency: dnf
   provider: dnf-2.7.5-2.fc27.noarch
  dependency: dnf-plugins-core
   provider: dnf-plugins-core-2.1.5-4.fc27.noarch
  dependency: libselinux-utils
   provider: libselinux-utils-2.7-3.fc27.x86_64
  dependency: policycoreutils
   provider: policycoreutils-2.7-4.fc27.x86_64
  dependency: rpmconf
   provider: rpmconf-1.0.19-2.fc27.noarch
  dependency: wget
   provider: wget-1.19.4-1.fc27.x86_64

package: fedora-upgrade-28.1-1.fc27.noarch
  dependency: /bin/bash
   provider: bash-4.4.12-13.fc27.x86_64
  dependency: cpio
   provider: cpio-2.12-6.fc27.x86_64
  dependency: distribution-gpg-keys >= 1.14
   provider: distribution-gpg-keys-1.18-1.fc27.noarch
  dependency: dnf
   provider: dnf-2.7.5-2.fc27.noarch
  dependency: dnf-plugins-core
   provider: dnf-plugins-core-2.1.5-4.fc27.noarch
  dependency: dnf-utils
   provider: dnf-utils-2.1.5-4.fc27.noarch
  dependency: libselinux-utils
   provider: libselinux-utils-2.7-3.fc27.x86_64
  dependency: policycoreutils
   provider: policycoreutils-2.7-4.fc27.x86_64
  dependency: rpmconf
   provider: rpmconf-1.0.19-2.fc27.noarch
  dependency: wget
   provider: wget-1.19.4-1.fc27.x86_64


#5

Jo, mel jsem stejny problem na vsech systemech - posledni aktualizace fedora-upgrade proste zmenila zavislost z yum-util na dnf-util a asi tam chybel nejaky “obsoletismus”.