以前のバージョンのFedoraからパッケージをインストールする方法は?

以前のバージョンのFedoraからパッケージをインストールする方法は?

私はFedora 13 VMを使用しており、いくつかの古いrpmをインストールする必要がありますが、ソースrpmファイルのみをインストールする必要があります。バイナリを構築するために使用できることはわかっていますが、何らかのrpmbuild --rebuild理由でrpm-buildはyumと共にインストールされず、fc13用のrpm-buildのソースrpmファイルのみを見つけることができます。だからこれはやや再帰的な質問です。

私に必要な特定のrpmはlibvncserverとは明らかにrpm-buildですが、通常のSRPMで始まり、将来のすべての要件を満たすためにFedora 13で動作するようにする方法を知っておくとよいでしょう。

この問題をどのように解決できますか?どんな提案も歓迎しますが、Fedora 13を使用する必要があります。

ベストアンサー1

yum完全なDVD ISOに含まれているストレージを使用できます。 ISOをRHEL6サーバーにダウンロードし、ループバックにインストールした後、次のものを作成しました/etc/yum.repos.d/fedora.repo

[root@vlp-xxx tmp]# cat /etc/yum.repos.d/fedora.repo
[fedora]
name='Fedora base sur DVD - monter le dvd dans /repo/dvd'
baseurl=file:///mnt/tmp
enabled=0
gpgcheck=0

それからすべてのFedora 13rpmを提供した。

[root@vlp-xxx tmp]# yum list available --disablerepo='*' --enablerepo=fedora | head
Loaded plugins: product-id, security, subscription-manager
Available Packages
BackupPC.noarch                        3.1.0-13.fc13                      fedora
ConsoleKit.i686                        0.4.1-5.fc13                       fedora
ConsoleKit-libs.i686                   0.4.1-5.fc13                       fedora
ConsoleKit-x11.i686                    0.4.1-5.fc13                       fedora
DeviceKit-power.i686                   1:0.9.0-1.fc13                     fedora
GConf2.i686                            2.28.1-1.fc13                      fedora
GConf2-devel.i686                      2.28.1-1.fc13                      fedora
GConf2-gtk.i686                        2.28.1-1.fc13                      fedora
[...snip...]

あなたのパッケージがそこにあるようです:

[root@vlp-xxx tmp]# yum info rpm-build --disablerepo='*' --enablerepo=fedora
Loaded plugins: product-id, security, subscription-manager
Installed Packages
[...snip...]

Available Packages
Name        : rpm-build
Arch        : i686
Version     : 4.8.0
Release     : 14.fc13
Size        : 125 k
Repo        : fedora
Summary     : Scripts and executable programs used to build packages
URL         : http://www.rpm.org/
License     : GPLv2+
Description : The rpm-build package contains the scripts and executable programs
            : that are used to build packages using the RPM Package Manager.

おすすめ記事