Fedora
在 Fedora 上安裝 generic-logos 和 generic-release
Fedora 混音指南建議在製作混音時將包
fedora-logos
、、fedora-release
和等價物fedora-release-notes
替換。generic-*
大多數線上教程都專注於創建 live-cd 混音;我對創建 VM 很感興趣,而無需先製作 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
無法解析 metalink https://mirrors.fedora.org/metalink?repo=fedora- $releasever/&arch=x86_64 錯誤是
No repomd 文件
如何在不先創建 live CD 的情況下將
fedora-logos
,fedora-release
和包替換為其在 VM 中的通用等效項?fedora-release-notes
那這個呢?
# 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-*
. 在此之後,您可能想要檢查一切是否正常( yum-utils包中的package-cleanup --problems
實用程序)。