我在 Fedora 主机上运行 Fedora VM,并尝试安装 emacs。由于某些原因,我无法从 VM 访问互联网。我可以在主机和 VM 之间进行 rsync,但 yum/apt/etc 对我来说是一个黑匣子,所以我不确定除了 /bin/emacs 或 /usr/bin/emacs 之外是否还有什么需要复制的(也不确定那里有什么区别?)
从昨天开始,我的 Manjaro(内核 6.1.112-1)就无法打开软件管理器的 GUI。但是,在其他情况下可以打开它:当小图标提醒我有更新需要进行时,它会在更新选项卡中打开软件管理器 GUI,我可以运行更新,但是当我尝试切换到另一个选项卡时,它会崩溃。当没有更新需要进行时,我无法通过任何常规的鼠标点击来打开它 - 相反,我只是收到一条消息“软件添加/删除已启动(失败)”(粗略地从我的系统语言翻译而来)。但是,我可以通过终端打开它pamac-manager %U
,如果以这种方式打开,我可以自由切换选项卡(我还没有尝试以这种方式打开它,更新某些内容并检查它是否仍然有效,只是因为现在没有更新需要进行)。sudo pacman -Syu
显示所有内容都是最新的(因为谷歌搜索显示这是其他人的问题)。
也许你们中有人能帮我找到问题所在,或者告诉我还要检查或尝试什么。如果您能提供任何想法,我将不胜感激。
当我从 Windows 转到 Linux 时,我很幸运地拥有了软件包管理器。大多数时候,我的发行版(目前是 Debian 12)的官方存储库都会有我需要的软件包。但有时却没有,这意味着如果我想安装某些应用程序,我必须在不通过软件包管理器的情况下进行安装;也许可以通过克隆 GitHub 存储库并从源代码构建,或者使用wget
或curl
从开发人员那里获取专用的安装程序。
这样做安全吗?我不是在问这些软件包的可信度。而是,如果我这样做,会破坏软件包管理系统吗?例如,当我使用发行版的软件包管理器执行系统范围的更新时,以这种方式安装的软件包会被更新吗?我可以使用软件包管理器卸载它们吗?
这是一个具体的例子。假设我想安装 Rust。Rust 官方网站建议 Linux 用户运行以下命令。
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
换句话说,rustup.rs
从网站下载文件,然后运行它来安装 Rust。这个例子对我来说更加令人困惑,因为 Debian确实在存储库中提供rustup
了软件包。那么我应该使用 Debian 软件包,还是应该按照网站上的说明操作?
这是另一个例子。假设我想安装 Minecraft,但 Debian 存储库中没有。因此我必须访问 Minecraft 网站,该网站允许我下载文件minecraft.deb
。如果我的猜测正确,那么我将使用apt
它来安装它。在这种情况下,包管理器会跟踪包吗?我是否可以卸载它,或者使用它来更新它apt
?
感谢您帮助我解决了这个困扰我很长时间的困惑。
Sciancisco 和我开发了Groff标记语言的语法高亮器,用于 Gedit、Pluma、Xed 等。我安装了它/usr/share/gtksourceview-4/language-specs/groff.lang
,它一直运行良好,但现在我使用的是 Debian Trixie,它不再工作了。有什么线索吗?
<?xml version="1.0" encoding="UTF-8"?>
<!--
COPYRIGHT:
==========
Gedit groff syntax highlight. A definition of the groff syntax for
GtkSourceView.
Copyright (C) 2022 - Daniel Dias Rodrigues. All rights reserved.
Copyright (C) 2020 - Sciancisco. All rights reserved.
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 2.1 of the License, or (at your option) any
later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along
with this library; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
AVAILABILITY:
=============
Originally available at:
* https://gist.github.com/nerun/6f57b9a0dd6681d3ea9a5886e418e9b9
Sciancisco's version originally available at:
* https://gitlab.com/-/snippets/1984415
* https://gist.github.com/Sciancisco/d1f5f1ea50481633ee1a2d270416543b
CHANGES against Sciancisco's version:
=====================================
* <language>
* name: the "G" of "Groff" was capitalized.
* <metadata>
* mimetypes and globs: completely changed based upon "All known MIME
types" and their filename patterns, available at
https://www.digipres.org/formats/mime-types/
* <definitions><context>
* comment-new and comment-old: the "." (dot) was included as part of the
comment. Added "\.".
-->
<language id="groff" name="Groff" version="2.0" _section="Markup">
<metadata>
<property name="mimetypes">application/x-troff;application/x-troff-man;text/troff</property>
<property name="globs">*.1;*.2;*.3;*.4;*.5;*.6;*.7;*.8;*.groff;*.man;*.roff</property>
</metadata>
<styles>
<style id="comment" name="Comment" map-to="def:comment"/>
<style id="escaped-character" name="Escaped Character" map-to="def:special-char"/>
<style id="macro" name="Macro" map-to="def:function"/>
<style id="request" name="Request" map-to="def:builtin"/>
<style id="preprocessor" name="Preprocessor Macro" map-to="def:preprocessor"/>
</styles>
<definitions>
<context id="groff">
<include>
<context id="comment-new" style-ref="comment" class="comment">
<start>\.\\#</start>
<end>$</end>
</context>
<context id="comment-old" style-ref="comment" class="comment">
<start>\.\\"</start>
<end>$</end>
</context>
<!-- Here starts the escape sequences mimicking the groff spec.
If one wants to implement the entire spec, have fun:
https://web.cecs.pdx.edu/~trent/gnu/groff/groff.html#SEC52
-->
<context id="escape-bracket" style-ref="escaped-character" class="no-spell-check">
<start>\\[[]</start>
<end>[]]</end>
</context>
<context id="escape-bracket-parameter" style-ref="escaped-character" class="no-spell-check">
<start>\\.[[]</start>
<end>[]]</end>
</context>
<context id="escape-parenthesis" style-ref="escaped-character" class="no-spell-check">
<match>\\[(]..</match>
</context>
<context id="escape-parenthesis-parameter" style-ref="escaped-character" class="no-spell-check">
<match>\\.[(]..</match>
</context>
<context id="escape-simple-parameter" style-ref="escaped-character" class="no-spell-check">
<match>\\..</match>
</context>
<context id="escape-simple" style-ref="escaped-character" class="no-spell-check">
<match>\\.</match>
</context>
<!-- Highlight preprocessors -->
<!-- Maybe add preprocessor syntax coloring. -->
<!-- Many preprocessors are missing. -->
<context id="eqn" style-ref="preprocessor" class="no-spell-check">
<!-- Could be nice to add in line highlight with "delim" eqn command -->
<start>^\.EQ(\s|$)</start>
<end>^\.EN</end>
</context>
<context id="pic" style-ref="preprocessor" class="no-spell-check">
<start>^\.PS(\s|$)</start>
<end>^\.PE</end>
</context>
<context id="tbl" style-ref="preprocessor" class="no-spell-check">
<start>^\.TS(\s|$)</start>
<end>^\.TE</end>
</context>
<context id="chem" style-ref="preprocessor" class="no-spell-check">
<start>^\.cstart(\s|$)</start>
<end>^\.cend</end>
</context>
<context id="refer-opt" style-ref="preprocessor" class="no-spell-check">
<start>^\.R1(\s|$)</start>
<end>^\.R2</end>
</context>
<context id="refer-cite" style-ref="preprocessor">
<start>^\.[[]</start>
<end>^\.[]]</end>
</context>
<!-- General macro and request matching -->
<context id="macro" style-ref="macro" class="no-spell-check">
<match>^\.[A-Z0-9_]+</match>
</context>
<context id="request" style-ref="request" class="no-spell-ckeck">
<match>^\.[a-z]+</match>
</context>
</include>
</context>
</definitions>
</language>
我使用的是dnf
为OpenMandriva Cookerbf81de15: NOKEY
配置的,在尝试安装时遇到此问题gnutar
。
在这些情况下该怎么办?如果不可能,如何省略密钥?
Last metadata expiration check: 0:33:36 ago on Wed Apr 3 17:49:59 2024.
Dependencies resolved.
==================================================================================================================
Package Architecture Version Repository Size
==================================================================================================================
Installing:
gnutar x86_64 1.34-4 cooker-x86_64 965 k
Transaction Summary
==================================================================================================================
Install 1 Package
Total size: 965 k
Installed size: 3.1 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] gnutar-1.34-4-omv2390.x86_64.rpm: Already downloaded
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
package gnutar-1.34-4.x86_64 does not verify: Header V4 RSA/SHA256 Signature, key ID bf81de15: NOKEY
我正在尝试在我的 openSUSE Tumbleweed 系统上安装 KOReader 电子书阅读器应用程序,但我不想使用 Flatpak 版本。有没有办法从本机软件包安装 KOReader 或在 openSUSE Tumbleweed 上从源代码构建它?
我尝试搜索官方 openSUSE 存储库,但找不到列出的 KOReader。如果有可用的说明,我愿意使用第三方存储库或从源代码构建 KOReader。
我的主要要求是避免使用 Flatpak,因为我更喜欢尽可能使用本机包。有人可以指导我如何在不使用 Flatpak 的情况下在 openSUSE Tumbleweed 上安装 KOReader 吗?
如果您需要有关我的系统或我尝试安装的 KOReader 特定版本的任何其他详细信息,请告诉我。
我正在运行 Amazon Linux 2023.4.20240319 的 EC2(AWS) 计算机上工作。我需要安装apache、php和mysql。我坚持使用mysql。我遵循了在互联网上找到的许多说明:
- https://tecadmin.net/install-mysql-8-on-fedora/
- https://dev.mysql.com/doc/refman/8.0/en/linux-installation-yum-repo.html
- https://stackoverflow.com/questions/70993613/unable-to-install-mysql-on-centos7/72469498#72469498
但最后一个错误没有解决方案:
$ sudo yum --enablerepo=mysql80-community install mysql-community-server
MySQL 8.0 Community Server 37 B/s | 10 B 00:00
Errors during downloading metadata for repository 'mysql80-community':
- Status code: 404 for http://repo.mysql.com/yum/mysql-8.0-community/fc/2023.4.20240319/aarch64/repodata/repomd.xml (IP: 23.213.17.14)
Error: Failed to download metadata for repo 'mysql80-community': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: mysql80-community
Last metadata expiration check: 0:14:52 ago on Wed Mar 27 14:50:32 2024.
No match for argument: mysql-community-server
Error: Unable to find a match: mysql-community-server
我已卸载软件包并清理缓存,然后重试,但结果相同。
请问我该如何修复它?
更新
mysql
在默认 yum 存储库中不可用
$ sudo dnf search mysql
Last metadata expiration check: 1:53:50 ago on Wed Mar 27 14:50:32 2024.
================================ Name & Summary Matched: mysql ================================apr-util-mysql.aarch64 : APR utility library MySQL DBD driver
bind-dlz-mysql.aarch64 : BIND server mysql and mysqldyn DLZ modules
collectd-mysql.aarch64 : MySQL plugin for collectd
dovecot-mysql.aarch64 : MySQL back end for dovecot
mysql-selinux.noarch : SELinux policy modules for MySQL and MariaDB packages
mysql80-community-release.noarch : MySQL repository configuration for yum
perl-DBD-MySQL.aarch64 : A MySQL interface for Perl
perl-DateTime-Format-MySQL.noarch : Parse and format MySQL dates and times
php8.1-mysqlnd.aarch64 : A module for PHP 8.1 applications that use MySQL databases
php8.2-mysqlnd.aarch64 : A module for PHP 8.2 applications that use MySQL databases
postfix-mysql.aarch64 : Postfix MySQL map support
=================================== Summary Matched: mysql ====================================mariadb105-devel.aarch64 : Files for development of MariaDB/MySQL applications
mariadb105-server-utils.aarch64 : Non-essential server utilities for MariaDB/MySQL applicationsperl-DBD-MariaDB.aarch64 : MariaDB and MySQL driver for the Perl5 Database Interface (DBI)
我想做一些在任何包管理器中都应该很简单的事情,安装一个包,在我的例子中就是这样lib64MLIRVectorToSPIRV13
。
LC_ALL=C dnf install lib64MLIRVectorToSPIRV13
问题是yum
安装了依赖项,并且无法卸载它,因为它应该是来自系统,而我正在使用 dnf。
我无法运行 yum,因为它缺少加密符号(并且我无法将其迁移到 Python 3),所以我所做的只是从 到 建立一个符号dnf
链接yum
。
撇开这个主题不谈,我想要的是能够覆盖、更改、删除或重新安装干扰的软件包,以便安装lib64MLIRVectorToSPIRV13
是的,我可以一一安装所有软件包,尽管使用软件包管理器会更好,除非互联网上有一个软件包包含所有LLVM 13。
但我收到这个错误...
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
file /lib64/libstdc++.so.6 from install of lib64stdc++6-11.2.0-2.x86_64 conflicts with file from package libstdc++-4.8.5-44.el7.x86_64
file /usr/lib64/libncursesw.so.6 conflicts between attempted installs of lib64ncursesw6-6.3-1.20211219.2.x86_64 and lib64ncursesw6-6.3-1.20211219.2.x86_64
我的操作系统的历史
我使用的是在Garbarino购物时购买的 2006 年 Commodore 。
CPU~Dual core Pentium E5700 (-MCP-) speed/max~2611/2965 MHz Kernel~5.7.2-lxpup64 x86_64 Up~7:52 Mem~1167.9/1990.8MB HDD~95.6GB(73.6% used) Procs~155 Client~Shell inxi~2.3.8
我使用的系统是LxPupSc64 20.06,即PuppyLinux,又基于WOFF和 Slackware ,进行了修改,使其可以支持各种包管理器。
我如何安装另一个包管理器?我设法安装包管理器的方法是从pkgs.org页面下载每个缺少的包。
我能够安装的包管理器是ArchLinux的 pacman ,然后由于系统更新导致Nouveau驱动程序不再启动,我安装了另一个包管理器,即 dnf 。
我无法安装apt-get或snapd或任何使用systemd 的软件包,因为PuppyLinux也可以在没有sudo
.
日志:
Last metadata expiration check: 0:05:38 ago on Mon Mar 25 06:52:00 2024.
Dependencies resolved.
=========================================================================================================
Package Arch Version Repository Size
=========================================================================================================
Installing:
lib64MLIRVectorToSPIRV13 x86_64 13.0.0-1 release 33 k
Installing dependencies:
cross-aarch64-openmandriva-linux-gnu-libc x86_64 6:2.34-6 release 62 M
lib64LLVMDemangle13 x86_64 13.0.0-1 release 110 k
lib64LLVMSupport13 x86_64 13.0.0-1 release 806 k
lib64MLIRAffine13 x86_64 13.0.0-1 release 162 k
lib64MLIRAnalysis13 x86_64 13.0.0-1 release 84 k
lib64MLIRCallInterfaces13 x86_64 13.0.0-1 release 10 k
lib64MLIRControlFlowInterfaces13 x86_64 13.0.0-1 release 18 k
lib64MLIRDataLayoutInterfaces13 x86_64 13.0.0-1 release 28 k
lib64MLIRDialectUtils13 x86_64 13.0.0-1 release 26 k
lib64MLIRIR13 x86_64 13.0.0-1 release 483 k
lib64MLIRInferTypeOpInterface13 x86_64 13.0.0-1 release 15 k
lib64MLIRLinalg13 x86_64 13.0.0-1 release 701 k
lib64MLIRLoopAnalysis13 x86_64 13.0.0-1 release 139 k
lib64MLIRMath13 x86_64 13.0.0-1 release 47 k
lib64MLIRMemRef13 x86_64 13.0.0-1 release 192 k
lib64MLIRMemRefUtils13 x86_64 13.0.0-1 release 12 k
lib64MLIRPDL13 x86_64 13.0.0-1 release 90 k
lib64MLIRPDLInterp13 x86_64 13.0.0-1 release 118 k
lib64MLIRPDLToPDLInterp13 x86_64 13.0.0-1 release 90 k
lib64MLIRParser13 x86_64 13.0.0-1 release 115 k
lib64MLIRPass13 x86_64 13.0.0-1 release 102 k
lib64MLIRPresburger13 x86_64 13.0.0-1 release 34 k
lib64MLIRRewrite13 x86_64 13.0.0-1 release 122 k
lib64MLIRSCF13 x86_64 13.0.0-1 release 113 k
lib64MLIRSPIRV13 x86_64 13.0.0-1 release 698 k
lib64MLIRSPIRVConversion13 x86_64 13.0.0-1 release 43 k
lib64MLIRSideEffectInterfaces13 x86_64 13.0.0-1 release 13 k
lib64MLIRStandard13 x86_64 13.0.0-1 release 237 k
lib64MLIRSupport13 x86_64 13.0.0-1 release 56 k
lib64MLIRTensor13 x86_64 13.0.0-1 release 109 k
lib64MLIRTransformUtils13 x86_64 13.0.0-1 release 231 k
lib64MLIRVector13 x86_64 13.0.0-1 release 353 k
lib64MLIRVectorInterfaces13 x86_64 13.0.0-1 release 11 k
lib64MLIRViewLikeInterface13 x86_64 13.0.0-1 release 18 k
lib64ncursesw6 x86_64 6.3-1.20211219.2 release 173 k
lib64stdc++6 x86_64 11.2.0-2 release 647 k
Installing weak dependencies:
cross-aarch64-openmandriva-linux-gnu-binutils x86_64 2.37-1 release 2.7 M
cross-aarch64-openmandriva-linux-gnu-gcc x86_64 11.2.0-2 release 86 M
Transaction Summary
=========================================================================================================
Install 39 Packages
Total size: 157 M
Installed size: 1.5 G
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] cross-aarch64-openmandriva-linux-gnu-binutils-2.37-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] cross-aarch64-openmandriva-linux-gnu-gcc-11.2.0-2-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] cross-aarch64-openmandriva-linux-gnu-libc-2.34-6-omv4003.x86_64.rpm: Already downloaded
[SKIPPED] lib64LLVMDemangle13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64LLVMSupport13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRAffine13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRAnalysis13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRCallInterfaces13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRControlFlowInterfaces13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRDataLayoutInterfaces13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRDialectUtils13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRIR13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRInferTypeOpInterface13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRLinalg13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRLoopAnalysis13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRMath13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRMemRef13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRMemRefUtils13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRPDL13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRPDLInterp13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRPDLToPDLInterp13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRParser13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRPass13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRPresburger13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRRewrite13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRSCF13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRSPIRV13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRSPIRVConversion13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRSideEffectInterfaces13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRStandard13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRSupport13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRTensor13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRTransformUtils13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRVector13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRVectorInterfaces13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRVectorToSPIRV13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRViewLikeInterface13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64ncursesw6-6.3-1.20211219.2-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64stdc++6-11.2.0-2-omv4050.x86_64.rpm: Already downloaded
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
file /lib64/libstdc++.so.6 from install of lib64stdc++6-11.2.0-2.x86_64 conflicts with file from package libstdc++-4.8.5-44.el7.x86_64
file /usr/lib64/libncursesw.so.6 conflicts between attempted installs of lib64ncursesw6-6.3-1.20211219.2.x86_64 and lib64ncursesw6-6.3-1.20211219.2.x86_64
dnf
我遇到了无法安装的问题yum
。
dnf install yum
我希望能够以任何方式解决这个问题,可能是通过删除文件,或者让它检测安装时系统上已经存在的文件。
这些软件包显示安装在dnf中,因为它们是从另一个软件包管理器安装的,或者它们已经出现在另一个 Linux (Puppy Linux)中,但这些文件是存在的。如何通过覆盖系统文件来安装它?
在英语中,错误将类似于以下内容:
Running operation verification
Verification of successful operation.
Running test operations
The downloaded packages have been cached for the next transaction.
You can clear the cache packages by running 'dnf clean packages'.
Error: Transaction Test Error:
/usr/lib64/libncursesw.so.6 file conflict between attempted installations of lib64ncursesw6-6.3-1.20211219.2.x86_64 and lib64ncursesw6-6.3-1.20211219.2.x86_64
在:
LC_ALL=C dnf install yum
日志:
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
file /usr/lib64/libncursesw.so.6 conflicts between attempted installs of lib64ncursesw6-6.3-1.20211219.2.x86_64 and lib64ncursesw6-6.3-1.20211219.2.x86_64
file /usr/bin/[ conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/arch conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/b2sum conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/base32 conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/base64 conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/basename conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/basenc conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/cat conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/chcon conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/chgrp conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/chmod conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/chown conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/chroot conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/cksum conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/comm conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/coreutils conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/cp conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/csplit conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/cut conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/date conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/dd conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/df conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/dir conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/dircolors conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/dirname conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/du conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/echo conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/env conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/expand conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/expr conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/factor conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/false conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/fmt conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/fold conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/groups conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/head conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/hostid conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/id conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/install conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/join conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/link conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/ln conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/logname conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/ls conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/md5sum conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/mkdir conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/mkfifo conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/mknod conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/mktemp conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/mv conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/nice conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/nl conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/nohup conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/nproc conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/numfmt conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/od conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/paste conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/pathchk conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/pinky conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/pr conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/printenv conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/printf conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/ptx conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/pwd conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/readlink conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/realpath conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/rm conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/rmdir conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/runcon conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/seq conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/sha1sum conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/sha224sum conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/sha256sum conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/sha384sum conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/sha512sum conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/shred conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/shuf conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/sleep conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/sort conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/split conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/stat conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/stdbuf conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/stty conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/sum conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/sync conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/tac conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/tail conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/tee conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/test conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/timeout conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/touch conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/tr conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/true conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/truncate conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/tsort conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/tty conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/uname conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/unexpand conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/uniq conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/unlink conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/users conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/vdir conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/wc conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/who conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/whoami conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/bin/yes conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/sbin/chroot conflicts between attempted installs of coreutils-9.0-4.x86_64 and coreutils-9.0-4.x86_64
file /usr/sbin/capsh conflicts between attempted installs of libcap-utils-2.62-1.x86_64 and libcap-2.22-11.el7.x86_64
file /usr/sbin/getcap conflicts between attempted installs of libcap-utils-2.62-1.x86_64 and libcap-2.22-11.el7.x86_64
file /usr/sbin/getpcaps conflicts between attempted installs of libcap-utils-2.62-1.x86_64 and libcap-2.22-11.el7.x86_64
file /usr/sbin/setcap conflicts between attempted installs of libcap-utils-2.62-1.x86_64 and libcap-2.22-11.el7.x86_64
file /usr/share/tabset/stdcrt conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/tabset/vt100 conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/c/cygwin conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/k/konsole conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/k/konsole-256color conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/l/linux conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/n/nxterm conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/p/putty conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/p/putty-256color conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/p/putty-vt100 conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/r/rxvt conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/r/rxvt-cygwin conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/r/rxvt-cygwin-native conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/r/rxvt-unicode conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/s/screen conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/s/screen-256color conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/v/vt100 conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/v/vt100-am conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/v/vt102 conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/v/vt200 conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/v/vt220 conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/v/vt52 conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/x/xterm conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/x/xterm-256color conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/share/terminfo/x/xterm-color conflicts between attempted installs of ncurses-6.3-1.20211219.2.x86_64 and ncurses-base-5.9-14.20130511.el7_4.noarch
file /usr/lib64/liblzma.so.5 conflicts between attempted installs of xz-libs-5.2.2-1.el7.x86_64 and lib64lzma5-5.2.5-3.x86_64
file /usr/lib64/libcurl.so.4 conflicts between attempted installs of lib64curl4-7.81.0-1.x86_64 and libcurl-7.29.0-59.el7.x86_64
file /sbin/depmod conflicts between attempted installs of kmod-29-1.x86_64 and kmod-29-1.x86_64
file /sbin/insmod conflicts between attempted installs of kmod-29-1.x86_64 and kmod-29-1.x86_64
file /sbin/lsmod conflicts between attempted installs of kmod-29-1.x86_64 and kmod-29-1.x86_64
file /sbin/modinfo conflicts between attempted installs of kmod-29-1.x86_64 and kmod-29-1.x86_64
file /sbin/modprobe conflicts between attempted installs of kmod-29-1.x86_64 and kmod-29-1.x86_64
file /sbin/rmmod conflicts between attempted installs of kmod-29-1.x86_64 and kmod-29-1.x86_64
file /usr/sbin/hardlink conflicts between attempted installs of util-linux-core-2.37.3-1.x86_64 and util-linux-core-2.37.3-1.x86_64
file /etc/issue conflicts between attempted installs of util-linux-2.37.3-1.x86_64 and centos-release-7-9.2009.0.el7.centos.x86_64
file /usr/sbin/clock conflicts between attempted installs of util-linux-2.37.3-1.x86_64 and util-linux-2.37.3-1.x86_64
file /usr/sbin/hwclock conflicts between attempted installs of util-linux-2.37.3-1.x86_64 and util-linux-2.37.3-1.x86_64
file /usr/sbin/pivot_root conflicts between attempted installs of util-linux-2.37.3-1.x86_64 and util-linux-2.37.3-1.x86_64
file /lib/systemd/system-preset/85-display-manager.preset conflicts between attempted installs of systemd-249.20220113-1.x86_64 and centos-release-7-9.2009.0.el7.centos.x86_64
file /lib/systemd/system-preset/90-default.preset conflicts between attempted installs of systemd-249.20220113-1.x86_64 and centos-release-7-9.2009.0.el7.centos.x86_64
file /sbin/halt conflicts between attempted installs of systemd-249.20220113-1.x86_64 and systemd-249.20220113-1.x86_64
file /sbin/poweroff conflicts between attempted installs of systemd-249.20220113-1.x86_64 and systemd-249.20220113-1.x86_64
file /sbin/reboot conflicts between attempted installs of systemd-249.20220113-1.x86_64 and systemd-249.20220113-1.x86_64
file /sbin/udevadm conflicts between attempted installs of systemd-249.20220113-1.x86_64 and systemd-249.20220113-1.x86_64
file /usr/bin/systemctl conflicts between attempted installs of systemd-249.20220113-1.x86_64 and systemd-249.20220113-1.x86_64
file /usr/bin/systemd-escape conflicts between attempted installs of systemd-249.20220113-1.x86_64 and systemd-249.20220113-1.x86_64
file /usr/bin/udevadm conflicts between attempted installs of systemd-249.20220113-1.x86_64 and systemd-249.20220113-1.x86_64
file /usr/sbin/chkconfig conflicts between attempted installs of chkconfig-1.15-2.x86_64 and chkconfig-1.15-2.x86_64
file /usr/sbin/service conflicts between attempted installs of chkconfig-1.15-2.x86_64 and chkconfig-1.15-2.x86_64