Dne 6.3.2018 v 19:26 Kevin Fenzi napsal(a):
On 03/06/2018 07:47 AM, Pierre-Yves Chibon wrote:
> On Tue, Mar 06, 2018 at 02:58:45PM +0000, Stephen Gallagher wrote:
...snip...
>> But that has its own issues.
> Sorry, just to be clear, what would have its own issues:
> - asking rawhide users to use distro-sync instead of update?
> - automatically have dnf detect it's running in rawhide and default to
> distro-sync instead of update?
> - or.. ?
I'll note that this has come up before in the past after we had
distro-sync, and I tried here to use distro-sync instead of update on my
rawhide laptop, and I ran into issues. Unfortunately, it's been a while
so I can't fully recall what the problem was, but I do remember
distro-sync failed and I had to use update. I can give it a try again
and see if things are any better.
Do note that distro-sync can downgrade packages, but can't handle all
the cases. ie, upgrade postgresql and update all your data you can't
just downgrade the rpm and be fine. Or any number of other scriptlets
that do things that cannot easily be reversed.
Never really used distro-sync, but this is the difference between
distro-sync and update:
~~~
$ LANG=C.UTF-8 sudo dnf update
Failed to synchronize cache for repo 'rcm-tools-fedora-rpms', disabling.
Last metadata expiration check: 1:08:01 ago on Thu Mar 8 08:45:26 2018.
Dependencies resolved.
Problem 1: package rpmfusion-free-release-28-0.4.noarch requires
system-release(28), but none of the providers can be installed
- cannot install both fedora-release-29-0.1.noarch and
fedora-release-28-0.2.noarch
- package generic-release-28-0.3.fc28.noarch conflicts with
fedora-release provided by fedora-release-29-0.1.noarch
- cannot install the best update candidate for package
rpmfusion-free-release-28-0.3.noarch
- cannot install the best update candidate for package
fedora-release-28-0.2.noarch
Problem 2: package rpmfusion-nonfree-release-28-0.4.noarch requires
system-release(28), but none of the providers can be installed
- cannot install both fedora-release-29-0.1.noarch and
fedora-release-28-0.2.noarch
- package generic-release-28-0.3.fc28.noarch conflicts with
fedora-release provided by fedora-release-29-0.1.noarch
- package fedora-release-workstation-29-0.1.noarch requires
fedora-release = 29-0.1, but none of the providers can be installed
- cannot install the best update candidate for package
rpmfusion-nonfree-release-28-0.3.noarch
- cannot install the best update candidate for package
fedora-release-workstation-28-0.2.noarch
Problem 3: problem with installed package
rpmfusion-nonfree-release-28-0.3.noarch
- package rpmfusion-nonfree-release-28-0.3.noarch requires
system-release(28), but none of the providers can be installed
- package rpmfusion-nonfree-release-28-0.4.noarch requires
system-release(28), but none of the providers can be installed
- package fedora-release-28-0.2.noarch requires fedora-repos(28), but
none of the providers can be installed
- package generic-release-28-0.3.fc28.noarch requires
fedora-repos(28), but none of the providers can be installed
- cannot install both fedora-repos-29-0.1.noarch and
fedora-repos-28-0.3.noarch
- cannot install the best update candidate for package
fedora-repos-28-0.3.noarch
Problem 4: problem with installed package
rpmfusion-free-release-28-0.3.noarch
- package rpmfusion-free-release-28-0.3.noarch requires
system-release(28), but none of the providers can be installed
- package rpmfusion-free-release-28-0.4.noarch requires
system-release(28), but none of the providers can be installed
- package fedora-release-28-0.2.noarch requires fedora-repos(28), but
none of the providers can be installed
- package generic-release-28-0.3.fc28.noarch requires
fedora-repos(28), but none of the providers can be installed
- package fedora-repos-28-0.3.noarch requires fedora-gpg-keys =
28-0.3, but none of the providers can be installed
- cannot install both fedora-gpg-keys-29-0.1.noarch and
fedora-gpg-keys-28-0.3.noarch
- cannot install the best update candidate for package
fedora-gpg-keys-28-0.3.noarch
===============================================================================
Package Arch Version
Repository Size
===============================================================================
Installing:
kernel x86_64 4.16.0-0.rc3.git4.1.fc29
rawhide 88 k
kernel-core x86_64 4.16.0-0.rc3.git4.1.fc29
rawhide 25 M
kernel-modules x86_64 4.16.0-0.rc3.git4.1.fc29
rawhide 28 M
kernel-modules-extra x86_64 4.16.0-0.rc3.git4.1.fc29
rawhide
2.3 M
Upgrading:
doublecmd-gtk x86_64 0.9.0-0.svn8018.fc29
vondruch-doublecmd
8.9 M
gstreamer1-libav x86_64 1.13.1-2.fc28 rpmfusion-free-rawhide
5.8 M
mpv x86_64 0.28.2-2.fc28 rpmfusion-free-rawhide
1.0 M
opencore-amr x86_64 0.1.5-3.fc28 rpmfusion-free-rawhide
180 k
rpmfusion-free-release noarch 28-0.4
rpmfusion-free-rawhide 20 k
rpmfusion-nonfree-release noarch 28-0.4 rpmfusion-nonfree-rawhide
20 k
vo-amrwbenc x86_64 0.1.3-4.fc28
rpmfusion-free-rawhide 77 k
x264-libs x86_64 0.152-4.20171224gite9a5903.fc28
rpmfusion-free-rawhide
575 k
xvidcore x86_64 1.3.4-5.fc28 rpmfusion-free-rawhide
267 k
Removing:
kernel x86_64 4.15.0-1.fc28
@rawhide 0
kernel-core x86_64 4.15.0-1.fc28
@rawhide 58 M
kernel-modules x86_64 4.15.0-1.fc28
@rawhide 26 M
kernel-modules-extra x86_64 4.15.0-1.fc28 @rawhide
2.1 M
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
fedora-gpg-keys noarch 29-0.1
rawhide 95 k
fedora-release noarch 29-0.1
rawhide 26 k
fedora-repos noarch 29-0.1 rawhide
8.1 k
generic-release noarch 28-0.3.fc28
rawhide 29 k
Skipping packages with broken dependencies:
fedora-release-workstation noarch 29-0.1
rawhide 20 k
rpmfusion-free-release noarch 28-0.4
rpmfusion-free-rawhide 20 k
rpmfusion-nonfree-release noarch 28-0.4 rpmfusion-nonfree-rawhide
20 k
Transaction Summary
===============================================================================
Install 4 Packages
Upgrade 9 Packages
Remove 4 Packages
Skip 7 Packages
Total download size: 72 M
Is this ok [y/N]: n
Operation aborted.
$ sudo dnf distro-sync
Failed to synchronize cache for repo 'rcm-tools-fedora-rpms', disabling.
Last metadata expiration check: 1:09:10 ago on Thu Mar 8 08:45:26 2018.
Error:
Problem 1: package rpmfusion-free-release-28-0.4.noarch requires
system-release(28), but none of the providers can be installed
- problem with installed package rpmfusion-free-release-28-0.3.noarch
- package generic-release-28-0.3.fc28.noarch requires
fedora-repos(28), but none of the providers can be installed
- rpmfusion-free-release-28-0.3.noarch does not belong to a
distupgrade repository
- fedora-repos-28-0.3.noarch does not belong to a distupgrade repository
- fedora-release-28-0.2.noarch does not belong to a distupgrade repository
Problem 2: package rpmfusion-nonfree-release-28-0.4.noarch requires
system-release(28), but none of the providers can be installed
- package fedora-release-28-0.2.noarch requires fedora-repos(28), but
none of the providers can be installed
- package generic-release-28-0.3.fc28.noarch requires
fedora-repos(28), but none of the providers can be installed
- problem with installed package rpmfusion-nonfree-release-28-0.3.noarch
- package fedora-repos-28-0.3.noarch requires fedora-gpg-keys =
28-0.3, but none of the providers can be installed
- rpmfusion-nonfree-release-28-0.3.noarch does not belong to a
distupgrade repository
- fedora-gpg-keys-28-0.3.noarch does not belong to a distupgrade
repository
~~~
It does not appear that distro-sync would try to do any meaningful
action on my system. I don't think I am going to try it again in the
near future.
Vít