• 締切済み

FedoraCore3でのyumコマンド

お世話になります。 1日調べて解決できなかったので、ここで質問させてください。 現在サーバとしてFedoraCore3を使っています。 telnet-serverをインストールしようとyum install hogeと叩いたのですが エラーもなにも帰ってこない状態で応答がありません。 ^Cをするとプロンプトの画面に戻りますが。。 念のためyum自体を再インストールしてみましたが変わりません。 原因として何か考えられるでしょうか? 参考として、yumの設定ファイルを以下に載せます。 ※ /etc/yum.repos.d/fedora.repo [base] name=Fedora Core $releasever - $basearch - Base #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/ baseurl=ftp://ftp.riken.go.jp/pub/Linux/fedora/core/updates/3/i386 #mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever mirrorlist=file:///etc/yum.repos.d/local-base enabled=1 gpgcheck=1 ※ /etc/yum.repos.d/fedora-updates.repo [updates-released] name=Fedora Core $releasever - $basearch - Released Updates #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/ #mirrorlist=http://fedora.redhat.com/download/mirrors/updates-testing-fc$releasever mirrorlist=file:///etc/yum.repos.d/local-updates enabled=1 gpgcheck=1 ※ /etc/yum.conf [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 retries=20 obsoletes=1 gpgcheck=1 ※ /usr/bin/yum #!/usr/bin/python import sys sys.path.insert(0, '/usr/share/yum-cli') import yummain try: yummain.main(sys.argv[1:]) except KeyboardInterrupt, e: print >> sys.stderr, "\n\nExiting on user cancel." sys.exit(1) お手数をおかけしますがよろしくお願いします。

みんなの回答

  • suzukikun
  • ベストアンサー率28% (372/1325)
回答No.1

Fedora3のサポート期間が2006年1月16日までなのでFTPとかにもうおいてないんじゃないんでしょうか? すでにFedora12がでてます。

engineeeer
質問者

補足

直接いってみると指定したFTPサーバにファイルが置かれているようです。 yum installだけでなく、yumのすべてのコマンド(yum list等)も同様に 応答がありません。エラーが返ってくるならいいのですが。。

関連するQ&A

  • yum -y コマンド

    Fedora linuxでpostfixをインストールしようと 「yum -y install postfix」ってコマンドを入れると Gathering header information file(s) from server(s) Server: Fedora Core 1 - i386 - Base retrygrab() failed for: http://fedora.redhat.com/releases/fedora-core-1/headers/header.info Executing failover method failover: out of servers to try Error getting file http://fedora.redhat.com/releases/fedora-core-1/headers/heade r.info [Errno 7] HTTP Error (CannotSendRequest): ってメッセージが返ってきます。 /etc/yum.conf は [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=fedora-release tolerant=1 exactarch=1 [base] name=Fedora Core $releasever - $basearch - Base baseurl=http://fedora.redhat.com/releases/fedora-core-$releasever [updates-released] name=Fedora Core $releasever - $basearch - Released Updates baseurl=http://fedora.redhat.com/updates/released/fedora-core-$releasever #[updates-testing] #name=Fedora Core $releasever - $basearch - Unreleased Updates #baseurl=http://fedora.redhat.com/updates/testing/fedora-core-$releasever てなっています。接続先のURLが変わったのでしょうか? ご教授いただけますか? 以上、何卒よろしくお願いいたします。

  • yumが使えなくなってしまいました。

    CentOSを使っています。 特に設定ファイルを編集した覚えはなく、 調べてはみたのですが分からなくて困っています。 できれば教えていただけないでしょうか? [root@localhost yum.repos.d]# yum install yum Setting up Install Process Setting up repositories Cannot find a valid baseurl for repo: update Error: Cannot find a valid baseurl for repo: update [root@localhost yum.repos.d]# less CentOS-Base.repo #released updates [update] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

  • CentOSでyumアップデートできなくなりました。

    こんにちは、CentOS 4.5を使っております。 ・ネットワーク環境上、Proxy不要 ・yum-plugin-fastestmirrorをインストール ・/etc/yum.repos.d/CentOS-Base.repo↓ [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&cc=JP #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 priority=1 protect=1 #released updates [update] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&cc=JP #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 priority=1 protect=1 #packages used/produced in the build but not released [addons] name=CentOS-$releasever - Addons mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons&cc=JP #baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 priority=1 protect=1 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&cc=JP #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 priority=1 protect=1 #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&cc=JP #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 ・/etc/yum.conf↓ [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest installonlypkgs=kernel kernel-smp kernel-devel kernel-smp-devel kernel-largesmp kernel-largesmp-devel kernel-hugemem kernel-hugemem-devel distroverpkg=centos-release tolerant=1 exactarch=1 retries=20 obsoletes=1 gpgcheck=1 plugins=1 5007/08/28からすべてのレポジトリに接続できなくなっています。 baseurlをftp.riken.jpにしても接続できませんでした。 どなたか解決策をご教授ください、お願いいたします。

  • yumが使えなくなった

    Fedora 7をLive CDからインストールした後、/etc/yum.repos.d/fedora.repoを以下のように変更してyumを使うと、エラーが出てパッケージのインストール等ができない状況になりました。 同じエラーメッセージでいろいろ調べてみたのですが、リポジトリへのアクセスが集中しているのが原因というのが多いようでした。 しかし、時間を置いて、朝、昼、夜とyumを実行してみても同じエラーが出ますし、他のfedora 7のマシンでは正しくyumでパッケージの管理ができました。 おそらく設定等が原因かと思いますが、原因と対処について教えていただけないでしょうか。よろしくお願いします。 エラー内容:------------------------------------------------------- Loading "installonlyn" plugin Setting up Install Process Parsing package install arguments http://ftp.iij.ad.jp/pub/linux/fedora/releases/7/Everything/i386/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, '\xe5\x90\x8d\xe5\x89\x8d\xe3\x81\xbe\xe3\x81\x9f\xe3\x81\xaf\xe3\x82\xb5\xe3\x83\xbc\xe3\x83\x93\xe3\x82\xb9\xe3\x81\x8c\xe4\xb8\x8d\xe6\x98\x8e\xe3\x81\xa7\xe3\x81\x99')> Trying other mirror. http://ftp.riken.jp/Linux/fedora/releases/7/Everything/i386/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, '\xe5\x90\x8d\xe5\x89\x8d\xe3\x81\xbe\xe3\x81\x9f\xe3\x81\xaf\xe3\x82\xb5\xe3\x83\xbc\xe3\x83\x93\xe3\x82\xb9\xe3\x81\x8c\xe4\xb8\x8d\xe6\x98\x8e\xe3\x81\xa7\xe3\x81\x99')> Trying other mirror. http://ftp.jaist.ac.jp/pub/Linux/Fedora/releases/7/Everything/i386/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, '\xe5\x90\x8d\xe5\x89\x8d\xe3\x81\xbe\xe3\x81\x9f\xe3\x81\xaf\xe3\x82\xb5\xe3\x83\xbc\xe3\x83\x93\xe3\x82\xb9\xe3\x81\x8c\xe4\xb8\x8d\xe6\x98\x8e\xe3\x81\xa7\xe3\x81\x99')> Trying other mirror. Error: Cannot open/read repomd.xml file for repository: fedora fedora.repo ------------------------------------------------------ [fedora] name=Fedora $releasever - $basearch #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/ baseurl=http://ftp.jaist.ac.jp/pub/Linux/Fedora/releases/7/Everything/i386/os http://ftp.iij.ad.jp/pub/linux/fedora/releases/7/Everything/i386/os http://ftp.riken.jp/Linux/fedora/releases/7/Everything/i386/os #mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY [fedora-debuginfo] name=Fedora $releasever - $basearch - Debug #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-$releasever&arch=$basearch enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY [fedora-source] name=Fedora $releasever - Source #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

  • yumでftp.riken.go.jpを使う使い方を教えてください。

    yumでcoreとextrasとupdatesをftp.riken.go.jpから ダウンロードするようにしたいのですが、 baseurlにディレクトリのどこの階層を指定すれば よいのか分かりませんでした。 例えばcoreはftp://ftp.riken.go.jp/Linux/fedora/core/5/i386/os/でよいのでしょうか? 教えてください。

  • yumコマンドについて

    yumコマンドについて Linuxの初心者ですyumコマンドについて質問が二つあります。 環境 os:Centos5.4 -------------------------------------------------------------------- まず一点目。 yumコマンドの処理の流れとしては以下を想定しています。 認識はあっていますでしょうか? 1 yumが/etc/yum.repos.d/CentOS-Base.repoを参照。 2 base、updates、extraなどのリポジトリのmirrollistのURLを参照し(baseurl項目がない場合)yum-fastestmirror(インストール済みの場合)がミラーリストに書かれた全てのミラーサーバとの応答時間を計り、その結果を timedhosts.txt"に保存し、一番応答時間の早いサーバから、パッケージをダウンロードする。 ------------------------------------------------------------------- ------------------------------------------------------------------- 二点目 [base]、「updates」、「extra」、「addon」、[centosplus]、「contrib」などリポジトリをそもそもなぜ分ける必要があるんでしょうか?一点目の認識があっていればyumが個別に例えばbaseだけを参照するような機会はないように思います。 なので、上記のエントリをひとつだけ用意して、上記を集約したそれぞれのリポジトリサーバのURLが記載されているmirrollistのURLを用意すればいいのではないでしょうか? ------------------------------------------------------------------- 以上、よろしくお願いいたします。

  • fedoracore4のyumに失敗する

    VMwarePlayerでFedoracore4を最小インストールしました。 とりあえず固定IPやデフォルトゲートウェイ、DNSサーバ等を設定し ping www.yahoo.co.jp が通るようになりました。 次にtelnet接続をやってみようを思い立ち、ネットを参照しながら /etc/xinetd.d/krb5-telnet のdisable=yesをnoに書き換え、 /etc/rc.d/init.d/xinetd reload を叩いたところ、どうやらxinetdがないようでした。 xinetdがないときはyumでインストールせねばならないらしいということを知りましたので、 yum install xinetd を叩くと、 Setting up Install Process Setting up repositories Cannot find a valid baseurl for repo: updates-released と返ってきました。 「Cannnot~~」でぐぐってみたところ、ネットに繋がってない云々とあったのですが、www.yahoo.co.jpからPingが返ってきているということは、ネットには繋がっているのではないかと思うのです(多分)。 何かご存知の方、お教えいただければ幸いです。

  • yumが全く動かない

    Linux初心者ですが、Fedora Core 5 で仕事をする必要が発生して、 いろいろやってます。 yumコマンドが、全く動きません。 安全なことをやってみようと思い、 # yum info perl を実行してみました。 下記のようなエラーで、動作しません。 下記のメッセージの趣旨は、指定されたURIのファイルが読めないよ、 ということのようですが、そのURIを直接ウェブブラウザで閲覧すると、 ちゃんと存在していて読むことができます。 Linuxもyumも全くの初心者でして、原因がさっぱりわかりません。 どうぞ、よろしくお願いします。 [root@localhost yum.repos.d]# yum info perl Loading "installonlyn" plugin Setting up repositories core [1/3] http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, '\xe5\x90\x8d\xe5\x89\x8d\xe3\x81\xbe\xe3\x81\x9f\xe3\x81\xaf\xe3\x82\xb5\xe3\x83\xbc\xe3\x83\x93\xe3\x82\xb9\xe3\x81\x8c\xe4\xb8\x8d\xe6\x98\x8e\xe3\x81\xa7\xe3\x81\x99')> Trying other mirror. Cannot open/read repomd.xml file for repository: core failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try. Error: failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.

  • yumのリポジトリエラーの修復

    こんにちは、現在Fedora9をインストールしてサーバを構築しています。 数日前からyumコマンドで以下のエラーが出るようになってしまいました。 yum update Loaded plugins: refresh-packagekit Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f9.newkey&arch=i386 error was [Errno 4] IOError: <urlopen error (113, 'No route to host')> Error: Cannot retrieve repository metadata (repomd.xml) for repository: updates-newkey. Please verify its path and try again リポジトリエラーだということは判明したのですが、updates-newkeyに関してはどこを修正してよいのか分かりません。 ネットワークは外部につながっており、ping mirrors.fedoraproject.orgは正常にレスポンスが返ってきます。 wgetでパッケージを取得しようとした際は以下のエラーが出ます。 wget http://ftp.jaist.ac.jp/pub/Linux/Fedora/updates/9/i386.newkey/LabPlot-doc-it-1.6.0.2-3.fc9.i386.rpm --2009-03-15 09:37:59-- http://ftp.jaist.ac.jp/pub/Linux/Fedora/updates/9/i386.newkey/LabPlot-doc-it-1.6.0.2-3.fc9.i386.rpm Resolving ftp.jaist.ac.jp... 150.65.7.130 Connecting to ftp.jaist.ac.jp|150.65.7.130|:80... failed: No route to host. 名前解決の問題でしょうか? よろしくお願いします。

  • yumが使えなくなってしまいました。

    CentOS4.4を起動してyumを使おうとしたら 使えなくなっていました。修正するかyumをインストールしなおすことは可能でしょうか?よければ教えてください。 [root@linux ~]# yum update Loading "priorities" plugin Plugin "fastestmirror" uses deprecated constant TYPE_INTERFACE. Please use TYPE_INTERACTIVE instead. Loading "fastestmirror" plugin Loading "protectbase" plugin /usr/lib/python2.3/site-packages/yum/plugins.py:381: DeprecationWarning: registerOpt() will go away in a future version of Yum. Please manipulate config.YumConf and config.RepoConf directly. DeprecationWarning) Setting up Update Process Setting up repositories Determining fastest mirrors Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 102, in main result, resultmsgs = do() File "/usr/share/yum-cli/cli.py", line 431, in doCommands return self.updatePkgs() File "/usr/share/yum-cli/cli.py", line 846, in updatePkgs self.doRepoSetup() File "/usr/share/yum-cli/cli.py", line 83, in doRepoSetup yum.YumBase.doRepoSetup(self, thisrepo=thisrepo) File "__init__.py", line 292, in doRepoSetup File "plugins.py", line 152, in run File "/usr/lib/yum-plugins/fastestmirror.py", line 78, in postreposetup_hook repo.set('urls', repomirrors[str(repo)]) AttributeError: YumRepository instance has no attribute 'set'