[root@openeuler ~]# dnf check-update
Last metadata expiration check: 0:12:39 ago on Fri 15 Apr 2022 05:08:37 PM JST.
Obsoleting Packages
fuse.x86_64 2.9.9-3.oe1 OS
fuse.x86_64 2.9.9-4.oe1 @update
fuse.x86_64 2.9.9-3.oe1 OS
fuse-common.x86_64 3.9.2-4.oe1 @update
fuse.x86_64 2.9.9-3.oe1 everything
fuse.x86_64 2.9.9-4.oe1 @update
fuse.x86_64 2.9.9-3.oe1 everything
fuse-common.x86_64 3.9.2-4.oe1 @update
fuse3.x86_64 3.9.2-3.oe1 everything
fuse-common.x86_64 3.9.2-4.oe1 @update
Security: kernel-4.19.90-2203.5.0.0143.oe1.x86_64 is an installed security update
Security: kernel-4.19.90-2110.3.0.0116.oe1.x86_64 is the currently running version
[root@openeuler ~]# dnf update -y
Last metadata expiration check: 0:12:44 ago on Fri 15 Apr 2022 05:08:37 PM JST.
Error:
Problem: cannot install both fuse-2.9.9-3.oe1.x86_64 and fuse-2.9.9-4.oe1.x86_64
- cannot install the best update candidate for package fuse-common-3.9.2-4.oe1.x86_64
- cannot install the best update candidate for package fuse-2.9.9-4.oe1.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@openeuler ~]#
[root@openeuler ~]# dnf fuse fuse3 fuse-common
No such command: fuse. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(fuse)'"
[root@openeuler ~]# dnf upgrade fuse fuse3 fuse-common
Last metadata expiration check: 0:14:02 ago on Fri 15 Apr 2022 05:08:37 PM JST.
Package fuse3 available, but not installed.
No match for argument: fuse3
Error:
Problem: cannot install both fuse-2.9.9-3.oe1.x86_64 and fuse-2.9.9-4.oe1.x86_64
- cannot install the best update candidate for package fuse-common-3.9.2-4.oe1.x86_64
- cannot install the best update candidate for package fuse-2.9.9-4.oe1.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@openeuler ~]#
こちらではどうか?
[root@openeuler ~]# dnf downgrade fuse
Last metadata expiration check: 0:15:07 ago on Fri 15 Apr 2022 05:08:37 PM JST.
Dependencies resolved.
================================================================================
Package Architecture Version Repository Size
================================================================================
Installing dependencies:
fuse3 x86_64 3.9.2-3.oe1 everything 113 k
replacing fuse-common.x86_64 3.9.2-4.oe1
Downgrading:
fuse x86_64 2.9.9-3.oe1 OS 139 k
replacing fuse-common.x86_64 3.9.2-4.oe1
fuse-help x86_64 2.9.9-3.oe1 OS 20 k
Transaction Summary
================================================================================
Install 1 Package
Downgrade 2 Packages
Total download size: 272 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): fuse-help-2.9.9-3.oe1.x86_64.rpm 63 kB/s | 20 kB 00:00
(2/3): fuse3-3.9.2-3.oe1.x86_64.rpm 196 kB/s | 113 kB 00:00
(3/3): fuse-2.9.9-3.oe1.x86_64.rpm 89 kB/s | 139 kB 00:01
--------------------------------------------------------------------------------
Total 173 kB/s | 272 kB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Downgrading : fuse-help-2.9.9-3.oe1.x86_64 1/6
Downgrading : fuse-2.9.9-3.oe1.x86_64 2/6
Running scriptlet: fuse-2.9.9-3.oe1.x86_64 2/6
Installing : fuse3-3.9.2-3.oe1.x86_64 3/6
Running scriptlet: fuse3-3.9.2-3.oe1.x86_64 3/6
Cleanup : fuse-2.9.9-4.oe1.x86_64 4/6
Running scriptlet: fuse-2.9.9-4.oe1.x86_64 4/6
Obsoleting : fuse-common-3.9.2-4.oe1.x86_64 5/6
Cleanup : fuse-help-2.9.9-4.oe1.x86_64 6/6
Running scriptlet: fuse-help-2.9.9-4.oe1.x86_64 6/6
Verifying : fuse-2.9.9-3.oe1.x86_64 1/6
Verifying : fuse-2.9.9-4.oe1.x86_64 2/6
Verifying : fuse-common-3.9.2-4.oe1.x86_64 3/6
Verifying : fuse-help-2.9.9-3.oe1.x86_64 4/6
Verifying : fuse-help-2.9.9-4.oe1.x86_64 5/6
Verifying : fuse3-3.9.2-3.oe1.x86_64 6/6
Downgraded:
fuse-2.9.9-3.oe1.x86_64 fuse-help-2.9.9-3.oe1.x86_64
Installed:
fuse3-3.9.2-3.oe1.x86_64
Complete!
[root@openeuler ~]# dnf check-update
Last metadata expiration check: 0:15:17 ago on Fri 15 Apr 2022 05:08:37 PM JST.
fuse.x86_64 2.9.9-4.oe1 update
fuse-help.x86_64 2.9.9-4.oe1 update
fuse3.x86_64 3.9.2-4.oe1 update
Security: kernel-4.19.90-2203.5.0.0143.oe1.x86_64 is an installed security update
Security: kernel-4.19.90-2110.3.0.0116.oe1.x86_64 is the currently running version
[root@openeuler ~]#