yumについての質問

このQ&Aのポイント
  • Fedora Core 4を使用しており、yumコマンドを使用してパッケージをインストールしようとしたが失敗した
  • yum clean allコマンドを実行した後、yum install qmailコマンドを実行してもパッケージが見つからない
  • yumの復旧方法を教えてほしい
回答を見る
  • ベストアンサー

yumについて

Fedora Core 4を使用しております。 yumについて質問なのですが、たった今 # yum clean all Cleaning up Everything 4 headers removed 4 packages removed 8 metadata files removed 0 cache files removed 4 cache files removed とやってしまい、yum install qmail としても Parsing package install arguments No Match for argument: qmail Nothing to do となってしまいます。復旧方法を教えていただきたいです。

質問者が選んだベストアンサー

  • ベストアンサー
  • MASA_H
  • ベストアンサー率42% (64/151)
回答No.1

そもそもオフィシャルリポジトリにqmailはないのでその反応は正しいのですが、以前にリポジトリの追加をやってその情報を消してしまったということでしょうか。ただしその場合"yum clean all"は関係ありません。これはあくまでキャッシュファイルを消すだけなので。

関連するQ&A

  • 現在fedora core 6を使用していますが、

    現在fedora core 6を使用していますが、 yumを使用したパッケージのインストールができません。 # yum install ntp とすると、下記のエラーを吐いて特に何も無く終わってしまいます。 Loading "installonlyn" plugin Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments Nothing to do また、同様に # yum upgrade としても、下記のようなエラーがでます。 これは何が問題なのでしょうか。 どなたかお詳しい方、ご教示願います。 Loading "installonlyn" plugin Setting up Upgrade Process Setting up repositories core 100% |=========================| 1.1 kB 00:00 updates 100% |=========================| 1.1 kB 00:00 freshrpms 100% |=========================| 1.9 kB 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 824 kB 00:00 core : ################################################## 2242/2242 primary.xml.gz 100% |=========================| 824 kB 00:01 updates : ################################################## 2242/2242 primary.xml.gz 100% |=========================| 53 kB 00:01 freshrpms : ################################################## 149/149 primary.xml.gz 100% |=========================| 824 kB 00:00 extras : ################################################## 2242/2242 No Packages marked for Update/Obsoletion よろしく御願いします。

  • CentOS5,2 / yum-cron を入れられない

    http://centossrv.com/ を参考にしつつ、 CentOS5.2を使って、yum-cron を入れようとしたのですが、以下のように入れられません、 どうすればいいのでしょうか? (別のレポジトリを追加する必要があるのでしょうか?・・・ただその方法は分かりません) なお、CentOS5.3からは、yum-cronが削除されたと、たまたま見かけたのですが、 特に問題ないのでしょうか?あるいは今後どのように対応すべきでしょうか? よろしくお願いします。 [root@centos52 var]# yum install yum-cron Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: www.ftp.ne.jp * updates: www.ftp.ne.jp * addons: www.ftp.ne.jp * extras: www.ftp.ne.jp Setting up Install Process Parsing package install arguments No package yum-cron available. Nothing to do [root@centos52 var]#

  • CentOS yumについて

    http://ftp.riken.jp/Linux/centos/5/isos/i386/ で"CentOS-5.3-i386-bin-DVD.iso"をインストールし http://centossrv.com/centos5-init.shtml を参照しながらOSをインストールしていますが yum -y install yum-fastestmirror ↑を実行したところ [root@host203 ~]# yum -y install yum-fastestmirror Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.nara.wide.ad.jp * updates: ftp.nara.wide.ad.jp * addons: ftp.nara.wide.ad.jp * extras: ftp.nara.wide.ad.jp Setting up Install Process Parsing package install arguments Package yum-fastestmirror-1.1.16-13.el5.centos.noarch already installed and latest version Nothing to do [root@host203 ~]# と表示されインストールが出来ません。 別の方法などがございましたら教えていただけないでしょうか? よろしくお願いいたします。

  • 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が使えなくなった

    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

  • 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) お手数をおかけしますがよろしくお願いします。

  • fedora9でyoutubeが見れません

    fedora9でyoutubeが見れなかったので以下のサイトを参考にflashをダウンロードしてみましたが、全く見れません。 http://rikachann.slmame.com/e418516.html # rpm -Uvh adobe-release-i386-1.0.1.noarch.rpm を打つと パッケージ flash-plugin-10.0.32.18-release.i386 は既にインストールされています。 と表示され、 #yum install flash-plugin を打つと Loaded plugins: refresh-packagekit Setting up Install Process Parsing package install arguments Package flash-plugin-10.0.32.18-release.i386 already installed and latest version Nothing to do と表示されます。 今後どうすれば見えるようになるでしょうか? どなたか回答をよろしくお願い致します。

  • Linux上でlzh形式のファイルを解凍したいのです

    お世話になります。 Linuxのシェル上でlzh拡張子のファイルを解凍したいのですが、どのようにすれば可能でございますでしょうか $lh[Tab]でコマンドが表示されず、下記のようにyumで検索してみたのですが・・。 # yum search lha | grep lha ** Message: sqlite cache needs updating, reading in metadata ** Message: sqlite cache needs updating, reading in metadata ** Message: sqlite cache needs updating, reading in metadata gzip, iso, rar, lha, tar, zip, RPM and deb files. It allows you to create 宜しくお願い致します。

  • centOS5.3 インストール後の設定 yum

    linuxに関して完全に初心者です。ネットワークの知識なんかもほぼありません。 今、 http://centossrv.com/centos5-init.shtml このサイトを参考にして設定を進めているのですが、いきなりつまづいてしましました。 (4)rootになれるユーザを管理者のみにする までは進めたのですが、(5)以降ができません。 色々といじってしまったかもしれなくてわけがわからない状態です…。最初どんな表示がでたのかは覚えていませんが、今現在は /etc/rc.d/init.d/yum-updatesd stop を実行すると -bash: /etc/rc.d/init.d/yum-updatesd: No such file or directory(そのようなファイルはフォルダにない?) と表示されます。 yum -y remove yum-updatesd を実行すると Loaded plugins: fastestmirror Setting up Remove Process No Match hor argument: yum-updatesd No Packages marked for removal と表示されます。 yum -y install yum-fastestmirror を実行すると Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=os error was [Error 4] IOError: <urlopen error (-3, 'temporary failure in name resolution')> Error: Cannot find a valid baseurl for repo: base と表示されます。 yum -y update を実行すると yum -y install yum-fastestmirrorの時と同じ結果が返ってきます。 yum -y install yum-cron を実行すると yum -y install yum-fastestmirrorの時と同じ結果が返ってきます。 /etc/rc.d/init.d/yum-cron start を実行すると -bash: /etc/rc,d/init.d/yum-cron: No such file or directory と表示されます。 chkconfig yum-cron on を実行すると error reading information on service yum-cron: No such file or directory と表示されます。 インストールの時点のホスト名やIPアドレスに関しては、 http://centossrv.com/centos5.shtml と同じように設定しました。 こんな序盤でつまづくなんて恥ずかしいですが、全く意味がわからず本当に困っています…。そもそもパッケージというものが何なのかすら分かっていません。 こんな状態ですが、どうか助けていただけないでしょうか?よろしくお願いします。

  • Fedora 11でvsftpdがインストールできない

    Fedora11をインストールしvsftpdを使用したいので サービスをスタートさせようとしたのですが 「このサービスは認識されていません」という表示が出るので インストールされていないのだと思い、 yum -y install vsftpd を実行したのですが 以下のエラーになりインストールできません。 Loaded plugins: refresh-packagekit Error: Cannot retrieve repository metadata(repomd.xml)for repository: Fedora 一応検索してみたのですが引っかかってきません。 初歩的で申し訳ないのですが、どなたかご回答をお願いいたします。