another dnf problem
Radek Holy
rholy at redhat.com
Thu Jan 22 10:03:25 UTC 2015
----- Original Message -----
> From: "Neal Becker" <ndbecker2 at gmail.com>
> To: devel at lists.fedoraproject.org
> Sent: Thursday, January 22, 2015 1:25:40 AM
> Subject: another dnf problem
>
> I installed kernel* from updates-testing. Now I want to go back to
> distro-sync.
> Let's try it:
> sudo dnf distro-sync kernel*
> Error: problem with installed package kernel-3.17.7-300.local.fc21.x86_64.
> problem with installed package kernel-core-3.17.7-300.local.fc21.x86_64.
> problem with installed package kernel-doc-3.17.4-200.fc20.noarch.
> problem with installed package kernel-modules-3.17.7-300.local.fc21.x86_64.
> problem with installed package
> kernel-modules-extra-3.17.7-300.local.fc21.x86_64
>
> that didn't work, and not very informative. How about?
>
> [nbecker at nbecker1 ~]$ sudo dnf downgrade kernel*
> Error: conflicting requests
>
> Another loser.
>
> OK, yum?
> sudo yum distro-sync kernel*
> Dependencies Resolved
>
> ================================================================================
> Package Arch Version Repository
> Size
> ================================================================================
> Installing:
> kernel-devel x86_64 3.17.8-300.fc21 updates 9.1
> M
> Removing:
> kernel x86_64 3.18.3-201.fc21 installed 0.0
> kernel-core x86_64 3.18.3-201.fc21 installed 41
> M
> kernel-devel x86_64 3.18.3-201.fc21 installed 34
> M
> kernel-modules x86_64 3.18.3-201.fc21 installed 17
> M
> kernel-modules-extra x86_64 3.18.3-201.fc21 installed 2.1
> M
> Downgrading:
> kernel-headers x86_64 3.17.8-300.fc21 updates 947
> k
> kernel-tools x86_64 3.17.8-300.fc21 updates 126
> k
> kernel-tools-libs x86_64 3.17.8-300.fc21 updates 50
> k
> kernel-tools-libs-devel x86_64 3.17.8-300.fc21 updates 47
> k
> Removing for dependencies:
> kmod-VirtualBox-3.18.3-201.fc21.x86_64 x86_64 4.3.20-2.fc21 @/kmod-
> VirtualBox-3.18.3-201.fc21.x86_64-4.3.20-2.fc21.x86_64
> 1.0
> M
> kmod-nvidia-304xx-3.18.3-201.fc21.x86_64
> x86_64 304.125-1.fc21.1 @/kmod-
> nvidia-304xx-3.18.3-201.fc21.x86_64-304.125-1.fc21.1.x86_64
> 15
> M
> Total 1.7 MB/s | 10 MB 00:06
>
> OK, that sounds about right. Let's try it:
>
> Running transaction check
> Running transaction test
>
>
> Transaction check error:
> package kernel-tools-libs-3.18.3-201.fc21.x86_64 (which is newer than
> kernel-
> tools-libs-3.17.8-300.fc21.x86_64) is already installed
> package kernel-tools-3.18.3-201.fc21.x86_64 (which is newer than kernel-
> tools-3.17.8-300.fc21.x86_64) is already installed
> package kernel-tools-libs-devel-3.18.3-201.fc21.x86_64 (which is newer than
> kernel-tools-libs-devel-3.17.8-300.fc21.x86_64) is already installed
> package kernel-headers-3.18.3-201.fc21.x86_64 (which is newer than kernel-
> headers-3.17.8-300.fc21.x86_64) is already installed
> package kernel-devel-3.18.3-201.fc21.x86_64 (which is newer than kernel-
> devel-3.17.8-300.fc21.x86_64) is already installed
>
> Error Summary
> -------------
>
> OK, so maybe yum doesn't work either.
What actually do you want?
I'm really interested in what users expect when they use "installonly" packages in any command except "install" and "remove". I strongly believe that there is a group of users that expect that "downgrade kernel" simply installs an older version of kernel while at the same time there is a group of users that expect also the removal of the current or the latest kernel.
BTW, if you want just to revert the last operation, I'd suggest "history undo last".
--
Radek HolĂ˝
Associate Software Engineer
Software Management Team
Red Hat Czech
More information about the devel
mailing list