apt-getでのパッケージインストールを取得するために、CENTOS5にapt-getをインストールする。
- apt-getをインストールする。
[root@hoge ~]# yum -y install apt
yum -y install apt [root@hoge ~]# yum -y install apt Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.riken.jp * extras: ftp.riken.jp * rpmforge: fr2.rpmfind.net * updates: ftp.riken.jp adobe-linux-i386 | 951 B 00:00 base | 1.1 kB 00:00 dag | 1.1 kB 00:00 extras | 2.1 kB 00:00 rpmforge | 1.1 kB 00:00 updates | 1.9 kB 00:00 Setting up Install Process Resolving Dependencies There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. --> Running transaction check ---> Package apt.i386 0:0.5.15lorg3.94a-5.el5.rf set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: apt i386 0.5.15lorg3.94a-5.el5.rf dag 2.8 M Transaction Summary ================================================================================ Install 1 Package(s) Upgrade 0 Package(s) Total download size: 2.8 M Downloading Packages: apt-0.5.15lorg3.94a-5.el5.rf.i386.rpm | 2.8 MB 00:04 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : apt 1/1 Installed: apt.i386 0:0.5.15lorg3.94a-5.el5.rf Complete! [root@hoge ~]#
- apt-getを最新版に更新する
[root@hoge ~]# apt-get update
[root@hoge ~]# apt-get update 取得:1 http://apt.sw.be redhat/el5/en/i386/rpmforge repomd.xml [1095B] 1095B を 1s 秒で取得しました (729B/s) 取得:1 http://apt.sw.be redhat/el5/en/i386/rpmforge/ primary.xml [4291kB] 取得:2 http://apt.sw.be redhat/el5/en/i386/rpmforge/ filelists.xml [5083kB] 9374kB を 35s 秒で取得しました (267kB/s) パッケージリストを読みこんでいます... 完了 依存情報ツリーを作成しています... 完了 [root@hoge ~]#
0 件のコメント:
コメントを投稿