找回密码
 注册
查看: 625|回复: 14

[求助] apt4rpm 基本用法

[复制链接]
发表于 2004-7-18 11:04:11 | 显示全部楼层 |阅读模式
http://www.magiclinux.org/drupal/?q=book/view/523

APT 主要的设定文件就是 /etc/apt/sources.list,在这里我们指定了仓库的域名,以及其中提供的模块。我们以其中一个仓库 http://cosoft.org.cn/forum/forum.php?forum_id=6382 为例。该仓库域名为: http://auvtech.com/~xinzhen/downloads/apt 提供了 os、updates、gnome 和 extras 这几个模块。因此,我们在 sources.list 中就这样设定:
rpm http://auvtech.com/~xinzhen/downloads/apt magic gnome extras os updates
rpm-src http://auvtech.com/~xinzhen/downloads/apt magic gnome extras os updates
存盘。

介绍中所说的
/etc/apt/sources.list
好像没有哦,应该怎样办?
发表于 2004-7-18 14:14:31 | 显示全部楼层
新建一个
回复

使用道具 举报

 楼主| 发表于 2004-7-18 15:07:46 | 显示全部楼层
[quote:c233bb34fe="lovewilliam"]新建一个[/quote]
那是不是把
rpm http://auvtech.com/~xinzhen/downloads/apt magic gnome extras os updates
rpm-src http://auvtech.com/~xinzhen/downloads/apt magic gnome extras os updates
复制到写字板,再保存为sources.list?

但接着apt-get update这一步时却显示如下
[root@MagicLinux apt]# apt-get update
bash: apt-get: command not found
[root@MagicLinux apt]#
回复

使用道具 举报

发表于 2004-7-18 15:25:46 | 显示全部楼层
汗……

你是不是没有安装apt啊~

置顶帖子里面有
回复

使用道具 举报

 楼主| 发表于 2004-7-18 16:22:20 | 显示全部楼层
[quote:2009c820ec="lovewilliam"]汗……

你是不是没有安装apt啊~

置顶帖子里面有[/quote]
太难装了,又是什么依赖性问题,比较烦

没有满足的依赖关系
NOKEY, key ID e42d547b
回复

使用道具 举报

发表于 2004-7-18 17:08:44 | 显示全部楼层
我用过,置顶帖子里面的那个RPM可以用的
回复

使用道具 举报

 楼主| 发表于 2004-7-18 17:36:42 | 显示全部楼层
[quote:b402510246="lovewilliam"]我用过,置顶帖子里面的那个RPM可以用的[/quote]
是哪一个置顶(把范围缩小点)?里面有太多了,我翻了很久也没翻到
回复

使用道具 举报

发表于 2004-7-18 17:51:36 | 显示全部楼层
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=35943
回复

使用道具 举报

 楼主| 发表于 2004-7-18 18:09:08 | 显示全部楼层
但我的是ML1.2p6版,Lovewilliam,你有在1.2版里试过吗?

http://my.photo.lycos.com.cn/photo/677924/12937_312656.png
回复

使用道具 举报

发表于 2004-7-18 18:14:06 | 显示全部楼层
回复

使用道具 举报

 楼主| 发表于 2004-7-18 18:14:34 | 显示全部楼层
我在终端里安装如下,不知是否成功?
[root@MagicLinux root]# cd Desktop
[root@MagicLinux Desktop]# rpm -ivh *.rpm
warning: apt-0.5.5cnc6-fr1.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
Preparing...                ########################################### [100%]
   1:apt                    ########################################### [ 50%]
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
   2:apt                    ########################################### [100%]
[root@MagicLinux Desktop]#
回复

使用道具 举报

发表于 2004-7-18 18:16:40 | 显示全部楼层
你用apt-get 看看有没有效果
回复

使用道具 举报

 楼主| 发表于 2004-7-18 18:54:53 | 显示全部楼层
[quote:a46a29476c="lovewilliam"]你用apt-get 看看有没有效果[/quote]
终于有反应了,不过是在ML2004.6.1版里(在6.20版里还是不行),我想安个星际译王,应该怎样输入?
回复

使用道具 举报

发表于 2004-7-18 18:57:20 | 显示全部楼层
没用过~
回复

使用道具 举报

 楼主| 发表于 2004-7-18 20:25:01 | 显示全部楼层
我已把那个synaptic(图形化的下载工具)给装上了,下载很方便

不过,我之所以想起用apt-get下载方式,是想把那个永中Office装上去(ML1.2里),
按照终端里的提示,把未满足依赖关系的包装上后,在终端里输入./setup,还是显示
[root@MagicLinux 永中Office]# ./setup
./setup: error while loading shared libraries: libgnomeui.so.32: cannot open shared object file: No such file or directory
[root@MagicLinux 永中Office]#

但我确认已把那个 libgnomeui包给装上了,真令人头痛
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-3-11 09:16 , Processed in 0.029215 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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