The checksums of some software packages in the local warehouse are incorrect, and the integrity of the software packages cannot be determined

Table of contents

error process

Analysis of the cause of the error

solution

        pop up mirror 

        Mount it (mount according to your own settings)

        re-install


error process

[root@heartyang ~]# dnf install chrony
is updating the Subscription Management software warehouse.
Unable to read client ID

This system has not been registered with the entitlement server. Registration can be done using subscription-manager.

Last metadata expiration check: 0:40:47 ago on Tue Aug 16 01:53:51 2022.
Dependency resolution.
==================================================== ==================================================== =================================
 Package Architecture Version Repository Size
============= ==================================================== ==================================================== ===================
Install:
 chrony x86_64 4.1-1.el8 bash 327 k
Install weak dependencies:
 timedatex x86_64 0.5-3.el8 bash 32 k

Business Summary
==================================================== ==================================================== ====================================
Install 2 packages

Total Downloads: 359k
Install Size: 710k
Are you sure? [y/N]: yDownloading
package:
Error opening /mnt/cdrom/BaseOS/Packages/chrony-4.1-1.el8.x86_64.rpm: No such file or directory
for package "chrony-4.1-1.el8. Incorrect checksum for x86_64" (from local repository "bash")
Error opening /mnt/cdrom/BaseOS/Packages/timedatex-0.5-3.el8.x86_64.rpm: No such file or directory
for package "timedatex-0.5- 3. The checksum of el8.x86_64" (from the local warehouse "bash") is incorrect.
Error: Some software package checksums (checksum) in the local warehouse are incorrect, and it is impossible to determine the integrity of the software package

Analysis of the cause of the error

Repeatedly install and uninstall a software multiple times 

Mounting the mirror checksum is turned off, and the error report is caused by some configuration information confusion.  

solution

        pop up mirror 

        Reconnect the iso in the same position and right-click to connect

        Mount it (mount according to your own settings)

[root@heartyang ~]# mount /dev/sr0 /mnt/cdrom/
mount: /mnt/cdrom: WARNING: device write-protected, mounted read-only.

        re-install

[root@psl ~]# dnf install chrony -y
is updating the Subscription Management software warehouse.
Unable to read client ID

This system has not been registered with the entitlement server. Registration can be done using subscription-manager.

Last metadata expiration check: 0:41:38 ago on Tue Aug 16 01:53:51 2022.
Dependency resolution.
==================================================== ==================================================== =================================
 Package Architecture Version Repository Size
============= ==================================================== ==================================================== ===================
Install:
 chrony x86_64 4.1-1.el8 bash 327 k
Install weak dependencies:
 timedatex x86_64 0.5-3.el8 bash 32 k

Business Summary
==================================================== ==================================================== ====================================
Install 2 packages

Total: 359 k
Installed Size: 710 k
Downloaded Packages:
Running Transaction Check
Transaction check succeeded.
Running the transaction test
The transaction test succeeded.
Running transaction
  preparation: 1/1 
  installation: timedatex-0.5-3.el8.x86_64 1/2 
  running script: timedatex-0.5-3.el8.x86_64 1/2 
  running script: chrony-4.1-1.el8.x86_64 2 /2 
  Install: chrony-4.1-1.el8.x86_64 2/2 
  run script: chrony-4.1-1.el8.x86_64 2/2 
  verify: chrony-4.1-1.el8.x86_64 1/2 
  verify: timedatex-0.5-3 .el8.x86_64 2/2 
Updated installed products.

Installed:
  chrony-4.1-1.el8.x86_64 timedatex-0.5-3.el8.x86_64                                       

complete!
 

Guess you like

Origin blog.csdn.net/qq_41095608/article/details/126365900