fedora10 yum install 错误:Package *.rpm is not signed

本文介绍了解决使用YUM安装软件包时遇到的签名验证错误的方法。通过修改/etc/yum.conf文件中的gpgcheck参数,可以关闭或开启GPG签名检查功能,从而避免因签名问题导致的安装失败。

不知道是否是因为关闭了 selinux 的原因,突然间在使用 yum 安装时出现如下错误:

 

Package *.rpm is not signed

*.rpm 为应用程序包

 

解决方案是:更改 /etc/yum.conf 下的 gpgcheck=1 为 gpgcheck=0

 

关于 yum.conf 的详细可参考 man yum.conf。其中对 gpgcheck 的描述是:

gpgcheck
              Either  ‘1’  or ‘0’. This tells yum whether or not it should perform a GPG signature check on pack-
              ages. When this is set in the [main] section it sets the default for all repositories. This  option
              also  determines whether or not an install of a package from a local RPM file will be GPG signature
              checked. The default is ‘0’.

[root@MiWiFi-R1CM-srv ~]# preupg --riskcheck --verbose INPLACERISK: EXTREME: You have GNOME Desktop Environment session as an option in your X11 session manager. GNOME Desktop Environment as a part of the yum group 'Desktop' underwent serious redesign in its user interface as well as underlying technologies in CentOS 7. INPLACERISK: HIGH: You have some of the KDE Desktop yum group packages installed in your system. KDE Desktop Environment that was provided by this group of packages underwent a redesign in its user interface as well as underlying technologies in CentOS 7. INPLACERISK: HIGH: We detected some non-CentOS signed packages, you can find the list in /root/preupgrade/./kickstart/noncentospkgs. You need to handle them yourself! INPLACERISK: HIGH: After upgrading to CentOS 7 there are still some el6 packages left. Add --cleanup-post option to redhat-upgrade-tool if you want to remove them automatically. INPLACERISK: HIGH: There were changes in SELinux policies between CentOS 6 and CentOS 7. Please, check solution in order to resolve this issue. INPLACERISK: HIGH: File /etc/rc.d/rc.local was changed INPLACERISK: MEDIUM: Your last X11 session loaded module 'mga' that was deprecated in CentOS 7. INPLACERISK: MEDIUM: We detected some packages installed on the system were removed (obsoleted) between CentOS 6 and CentOS 7. This may break the functionality of the packages depending on them. INPLACERISK: MEDIUM: We detected some packages installed on the system were removed between CentOS 6 and CentOS 7. This may break the functionality of the packages depending on them. INPLACERISK: MEDIUM: Package xorg-x11-drv-cirrus not provided by its replacement xorg-x11-drv-modesetting. In-place upgrade might not work properly, will be finished by postupgrade script! INPLACERISK: MEDIUM: Package ql2100-firmware not provided by its replacement linux-firmware. In-place upgrade might not work properly, will be finished by postupgrade script! INPLACERISK: MEDIUM: Package rt61pci-firmware not provided by its replacement linux-firmware. In-place upgrade might not work properly, will be finished by postupgrade script! INPLACERISK: MEDIUM: Package xorg-x11-drv-mga not provided by its replacement xorg-x11-drv-modesetting. In-place upgrade might not work properly, will be finished by postupgrade script! INPLACERISK: MEDIUM: Package coreutils-libs not provided by its replacement coreutils. In-place upgrade might not work properly, will be finished by postupgrade script! INPLACERISK: MEDIUM: Package rt73usb-firmware not provided by its replacement linux-firmware. In-place upgrade might not work properly, will be finished by postupgrade script! INPLACERISK: MEDIUM: Package ql2400-firmware not provided by its replacement linux-firmware. In-place upgrade might not work properly, will be finished by postupgrade script! INPLACERISK: MEDIUM: Package ql2200-firmware not provided by its replacement linux-firmware. In-place upgrade might not work properly, will be finished by postupgrade script! INPLACERISK: MEDIUM: Package redhat-lsb-graphics not provided by its replacement redhat-lsb-desktop. In-place upgrade might not work properly, will be finished by postupgrade script! INPLACERISK: MEDIUM: Package NetworkManager-gnome not provided by its replacement nm-connection-editor,network-manager-applet. In-place upgrade might not work properly, will be finished by postupgrade script! INPLACERISK: MEDIUM: Package bfa-firmware not provided by its replacement linux-firmware. In-place upgrade might not work properly, will be finished by postupgrade script! INPLACERISK: MEDIUM: Package ibus-pinyin not provided by its replacement ibus-libpinyin. In-place upgrade might not work properly, will be finished by postupgrade script! INPLACERISK: MEDIUM: Package libudev not provided by its replacement systemd-libs. In-place upgrade might not work properly, will be finished by postupgrade script! INPLACERISK: MEDIUM: Package ql23xx-firmware not provided by its replacement linux-firmware. In-place upgrade might not work properly, will be finished by postupgrade script! INPLACERISK: MEDIUM: Package ql2500-firmware not provided by its replacement linux-firmware. In-place upgrade might not work properly, will be finished by postupgrade script! INPLACERISK: MEDIUM: Package xorg-x11-drv-ast not provided by its replacement xorg-x11-drv-modesetting. In-place upgrade might not work properly, will be finished by postupgrade script! INPLACERISK: MEDIUM: having one of [glx-utils redhat-menus kpartx tzdata mesa-libGLU openscap] package installed breaks upgrade INPLACERISK: MEDIUM: We detected some soname bumps in the libraries installed on the system. This may break the functionality of some of your 3rd party applications. They may need rebuild. Please check their requirements. INPLACERISK: MEDIUM: We detected some .so libraries installed on the system were removed between CentOS 6 and CentOS 7. This may break the functionality of some of your 3rd party applications. INPLACERISK: SLIGHT: We detected some files where modifications are not tracked in the rpms. You may need to check their functionality after successful upgrade. INPLACERISK: SLIGHT: We detected some files untracked by rpms. Some of these may need manual check/migration after redhat-upgrade-tool and/or can cause conflicts or troubles during the installation. Try to reduce unnecessary untracked files before running redhat-upgrade-tool. INPLACERISK: SLIGHT: We detected some packages installed on the system changed their name between CentOS 6 and CentOS 7. Although they should be compatible, monitoring after the update is recommended. INPLACERISK: SLIGHT: Some binaries untracked by RPM were discovered on the system and may need rebuild after upgrade. INPLACERISK: SLIGHT: Some scripts untracked by RPM were discovered on the system and may not work properly after upgrade. INPLACERISK: SLIGHT: /usr/lib64/python2.6/site-packages/gtk-2.0 is owned by an RPM package that was not signed by CentOS. INPLACERISK: SLIGHT: /usr/lib64/python2.6/site-packages/report is not owned by any RPM package. INPLACERISK: SLIGHT: /usr/lib64/python2.6/site-packages/reportclient is not owned by any RPM package. [root@MiWiFi-R1CM-srv ~]#
最新发布
10-15
以下是linux版本的下载,给出清晰详细的使用方法: Install using package management Use package management to install, update, and remove software packages by using either of the following methods: Debian-based distributions Open a terminal window and enter the command below to install: Download required dependencies: 1 2 sudo apt-get install -y wget gnupg2 Setup APT Repository: 1 2 sudo mkdir -p -m 755 /etc/apt/keyrings wget -nv -O- https://acli.atlassian.com/gpg/public-key.asc | sudo gpg --dearmor -o /etc/apt/keyrings/acli-archive-keyring.gpg sudo chmod go+r /etc/apt/keyrings/acli-archive-keyring.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/acli-archive-keyring.gpg] https://acli.atlassian.com/linux/deb stable main" | sudo tee /etc/apt/sources.list.d/acli.list > /dev/null Install ACLI: 1 2 sudo apt update sudo apt install -y acli Red Hat-based distributions Open a terminal window and enter the command below to install: Download required dependencies: 1 2 sudo yum install -y yum-utils Setup YUM repository: 1 2 sudo yum-config-manager --add-repo https://acli.atlassian.com/linux/rpm/acli.repo Install ACLI: 1 2 sudo yum install -y acli Install binary with curl on Linux Open a terminal window and enter the command below to install: Download the latest release: ARM64 1 2 curl -LO "https://acli.atlassian.com/linux/latest/acli_linux_arm64/acli" x86-64 1 2 curl -LO "https://acli.atlassian.com/linux/latest/acli_linux_amd64/acli" Make the acli binary executable: 1 2 chmod +x ./acli You can now use acli from this directory: 1 2 ./acli --help Install acli binary (requires root access): 1 2 sudo install -o root -g root -m 0755 acli /usr/local/bin/acli If you do not have root access on the target system, you can still install acli to the ~/.local/bin directory: 1 2 mkdir -p ~/.local/bin mv ./acli ~/.local/bin/acli # and then append (or prepend) ~/.local/bin to $PATH You can now use acli globally: 1 2 acli --help
10-12
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值