问题标签 [dnf]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
769 浏览

python - ansible dnf安装本地rpm的问题

我想安装本地 rpm 包。在一种情况下,它运作良好

对于其他 rpm 它会引发错误

错误

我不明白有什么问题。

权限所有者和 SElinux 属性相同。

我试图将麻烦的 rpm 移动到与工作相同的文件系统(/mnt/temp/Inbox/Test/),但没有成功。

0 投票
1 回答
988 浏览

proxy - Fedora 26 dnf 更新在代理后不起作用

在 Fedora 26 上,当我这样做时,sudo dnf update我得到了错误

错误:无法为 repo 'updates' 同步缓存

我在 dnf.conf 中配置了我的系统范围代理和代理。其他连接(例如浏览器)使用此代理。

我怎样才能解决这个问题?

0 投票
2 回答
2565 浏览

php - 无法在 Fedora 上安装 php7

我在我的开发工作站上运行 Fedora 24。Eclipse 需要与服务器 (Centos) 上的可执行文件相匹配的 php 可执行文件。

我已经安装了 remi-release 存储库并按照https://blog.remirepo.net/post/2016/12/05/Install-PHP-7.1-on-CentOS-RHEL-or-Fedora上的说明进行操作:

当我调用 php 时没有 php:

可执行文件在哪里?似乎没有安装任何 php。

帮助!

0 投票
3 回答
1543 浏览

installation - 在 Fedora 26 上安装 gitkraken

我正在尝试在我的 Fedora 26 上安装 gitkraken,因为我安装了它几个小时,但依赖项看起来没有得到解决

而且我已经安装libcurlgnutls

0 投票
1 回答
520 浏览

mariadb - Dnf 删除了 mariadb-config 和 mariadb-common 的许多依赖项

在 Fedora 26 上工作。安装了 mariadb 10.1.26,但我需要 10.2.2 上可用的一些功能。

要从 MariaDB 存储库安装 MariaDB-server 10.2,似乎有必要删除 mariadb-config 和 mariadb-common,因为某些文件存在冲突:

如果我尝试删除相关软件包 mariadb-config 和 mariadb-common,DNF 需要删除令人印象深刻的不相关软件包列表,例如 shotcut、blender、mplayer。样本:

mkvtoolnix真的取决于mariadb-config吗?

似乎不是...如何在MariaDB-server不删除不相关软件包(我实际上想要保留而不是删除/重新安装)的情况下安装(使用 caps = 10.2)?

0 投票
1 回答
250 浏览

centos - DNF 命令通过在 centos 7.x 上的命令中指定“*”来安装所有 rpm

我正在使用 DNF 包管理器在 centos 7.x 上安装 rpms。这些 rpms 是从 svn 私有 repo 中检出的。如果我抛出命令,DNF 将无法安装 rpm

而如果我使用 rpm 命令安装软件包,它做得很好

dnf 中是否有任何功能可以在不指定整行 rpm 的情况下安装 rpm,如下所示:

0 投票
2 回答
1234 浏览

python - 在 fedora27 上安装 pytorch 后没有模块 librepo

我必须使用 conda 安装 pytorch,然后在尝试升级系统时出现此错误:

我看到了一些使用 yum-deprecated 重新安装 python 的答案,但似乎我的机器上没有它。我不想再次重新安装 linux,我正在寻找该问题的答案。

通过 conda 安装 pytorch 时,它还安装了 cuda。也许这可能是个问题?在此之前,我记得(不确定,但有点)我默认使用 python2.7 运行,现在是 python 3.6..

0 投票
0 回答
594 浏览

python-3.x - DNF and YUM are broken after installing Anaconda3 on Fedora27

I'm working in python3 on Fedora 27 and I was trying to install the Theano package through pip3. The package is easier installed through anaconda3 so I then installed anaconda. Afterwards, DNF and YUM started returning the following on any call:

From my search, people suggested reinstalling python3 using this code which returns:

DNF YUM and YUM-Deprecated are not currently working for me.

Let me know what information I can provide to help solve this problem.

I've been doing everything through the terminal so I think that's where I messed something up. Here is the relevant history:

Line 758 is where the problem first arrived.

0 投票
0 回答
815 浏览

google-chrome - 在 Fedora 23 中安装谷歌浏览器

我正在尝试在 Fedora 23 上安装 google-chrome。我已关注此页面:
https
://ask.fedoraproject.org/en/question/73302/how-to-install-google-chrome-in-fedora/ 和这是我得到的错误:

任何帮助表示赞赏。

0 投票
0 回答
2450 浏览

python - ModuleNotFoundError:没有名为“librepo”的模块

我最近尝试在本地设置https://github.com/NVIDIA/FastPhotoStyle/(我一直在等待稳定性的 Docker 问题阻止了这种情况)。安装后,由于缺少librepo模块,我的 DNF 开始抛出错误。

我正在使用 Fedora 27。

我已经收集到它已经改变了 Python 加载它的模块的方式(可能是由于 Conda,我不是 100% 确定),但我正在努力让它再次工作。

我尝试安装以下软件包: http: //fedora.is.co.za/linux/releases/27/Everything/x86_64/os/Packages/p/python3-librepo-1.8.0-1.fc27。 x86_64.rpm http://fedora.is.co.za/linux/releases/27/Everything/x86_64/os/Packages/p/python2-librepo-1.8.0-1.fc27.x86_64.rpm 但无济于事.

我试图在or存储库中找到librepo包,再次无济于事。pipconda

任何带有 DNF 的命令都会输出以下内容:

我很感激任何帮助或见解,因为我一直在谷歌搜索,但还没有找到解决方案