这Fedora 混音指南建议在进行混音时将包fedora-logos
、fedora-release
、 和替换fedora-release-notes
为等效项。generic-*
大多数在线教程都专注于创建现场 CD 混音;我对创建虚拟机感兴趣,而无需先制作 Live CD。
我尝试了以下方法:
yum install generic-logos generic-release generic-release-notes
:generic-*
软件包与fedora-*
软件包冲突,无法安装。yum erase fedora-logos fedora-release fedora-release-notes
:这会删除大约 200MB 的依赖项,其中大部分我想保留。rpm -e --no-deps fedora-logos fedora-release fedora-release-notes
:这成功完成,但取消设置$releasever
yum 使用的变量,导致它在我尝试运行时抱怨yum install generic-release
无法解析metalinkhttps://mirrors.fedora.org/metalink?repo=fedora-$releasever/&arch=x86_64 错误为
No repomd file
如何在不先创建 Live CD 的情况下,将fedora-logos
、fedora-release
和fedora-release-notes
软件包替换为 VM 中的通用等效项?
答案1
那这个呢?
# yum shell
> remove fedora-logos fedora-release fedora-release-notes
> install generic-logos generic-release generic-release-notes
> run
--> Running transaction check
---> Package fedora-logos.x86_64 0:21.0.5-1.fc21 will be erased
---> Package fedora-release.noarch 0:21-2 will be erased
--> Processing Dependency: fedora-release = 21-2 for package: fedora-release-nonproduct-21-2.noarch
---> Package fedora-release-notes.noarch 0:21.08-1.fc21 will be erased
---> Package generic-logos.noarch 0:17.0.0-6.fc21 will be installed
---> Package generic-release.noarch 0:21-7 will be installed
--> Processing Dependency: system-release-product for package: generic-release-21-7.noarch
---> Package generic-release-notes.noarch 0:21-7 will be installed
--> Running transaction check
---> Package fedora-release-nonproduct.noarch 0:21-2 will be erased
---> Package generic-release-cloud.noarch 0:21-7 will be installed
--> Finished Dependency Resolution
==============================================================================
Package Arch Version Repository Size
==============================================================================
Installing:
generic-logos noarch 17.0.0-6.fc21 fedora 615 k
generic-release noarch 21-7 fedora 14 k
generic-release-notes noarch 21-7 fedora 12 k
Removing:
fedora-logos x86_64 21.0.5-1.fc21 installed 8.8 M
fedora-release noarch 21-2 installed 4.1 k
fedora-release-notes noarch 21.08-1.fc21 installed 603 k
Installing for dependencies:
generic-release-cloud noarch 21-7 fedora 12 k
Removing for dependencies:
fedora-release-nonproduct noarch 21-2 installed 1.0 k
Transaction Summary
==============================================================================
Install 3 Packages (+1 Dependent package)
Remove 3 Packages (+1 Dependent package)
Total download size: 653 k
Is this ok [y/d/N]:
或者也许下载这些通用的...软件包,并且在rpm -e --no-deps fedora-logos fedora-release fedora-release-notes
您提到再次通过 rpm 安装它们之后 - 像这样:rpm -ivh generic-*
。之后,您可能想检查一切是否正常package-cleanup --problems
(实用程序来自yum 工具包裹)。