QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2743|回复: 4

yum没有本地安装(localinstall)参数怎么办?

[复制链接]
发表于 2007-6-7 10:16:22 | 显示全部楼层 |阅读模式
# yum install avg75flr-r47-a1025.i386
Gathering header information file(s) from server(s)
Server: Red Hat Linux 8.0 - i386 - freshrpms
Server: Red Hat Linux 8.0 - i386 - os
Server: Red Hat Linux 8.0 - i386 - updates
Finding updated packages
Downloading needed headers
Cannot find a package matching avg75flr-r47-a1025.i386
No actions to take


Why ???
发表于 2007-6-7 11:09:02 | 显示全部楼层
没有这包
回复

使用道具 举报

 楼主| 发表于 2007-6-10 11:17:15 | 显示全部楼层
我的系统是rh8.0,安装了对应版本的yum后,发现yum的命令参数里面没有“localinstall”的选项。那么我要用yum进行本地安装怎么办?

下面是我yum命令的参数:
[root@dpx root]# yum

    Usage:  yum [options] <update | upgrade | install | info | remove | list |
            clean | provides | check-update | groupinstall | groupupdate |
            grouplist >

         Options:
          -c [config file] - specify the config file to use
          -e [error level] - set the error logging level
          -d [debug level] - set the debugging level
          -y answer yes to all questions
          -t be tolerant about errors in package commands
          -R [time in minutes] - set the max amount of time to randonly run in.
          -C run from cache only - do not update the cache
          --installroot=[path] - set the install root (default '/')
          --version - output the version of yum
          -h, --help this screen


谢谢。
回复

使用道具 举报

发表于 2007-6-10 11:35:14 | 显示全部楼层
yum可以升级的吧
回复

使用道具 举报

 楼主| 发表于 2007-6-12 09:15:37 | 显示全部楼层
[quote:8ba4b461e3="月下刀客"]yum可以升级的吧[/quote]

恩,我试过

yum update yum

提示是没有可用的更新。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-22 01:08 , Processed in 0.041285 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表