LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 684|回复: 2

我是菜鸟,谁能告诉我debian4.0怎样安装debian3.0的软件?

[复制链接]
发表于 2009-1-10 09:57:41 | 显示全部楼层 |阅读模式
我装完debian 刚刚10天。
刚买了一本langman字典。带的软件是debian3.0下的。
安装时出错:
Daniel:/media/cdrom1/linux# sh installation.sh
Daniel:/media/cdrom1/linux# /root/.installation.sh: line 256: exec: -t: invalidoption
exec: usage: exec [-cl] [-a name] file [redirection ...]

哪位达人指点。
发表于 2009-1-10 15:27:54 | 显示全部楼层
debian4.0比debian3.0高一级,向下兼容应该没问题,可能你的命令写错了,请试试这样写:
Daniel:/media/cdrom1/linux# sh ./installation.sh
看看能不能安装langman

另外,debian有这样的特点,一次安装,永远升级,现在快到debian5.0lenny稳定版了,建议你试着从4.0升级到目前的lenny测试版,lenny比etch好多了。
更改源:
在root权限下输入vim /etc/apt/sources.list,打一下insert 插入键,修改后的文件是这个样子:

deb http://ftp.debian.org/debian/ lenny main
deb http://ftp.debian.org/debian/ lenny contrib
deb http://ftp.debian.org/debian/ lenny non-free
deb http://ftp.debian.org/debian/ testing main
deb http://ftp.debian.org/debian/ testing contrib
deb http://ftp.debian.org/debian/ testing non-free

完了以后保存退出,打一下Esc
输入
:wq


随后在root权限下输入:
apt-get update
apt-get upgrade
回复 支持 反对

使用道具 举报

发表于 2009-1-10 17:39:14 | 显示全部楼层
oldstable (sarge) 已被移除了,連 backports 都沒有了

那個 langman 是自帶 deb 的嗎?如果是就用 dpkg 試裝看看
回复 支持 反对

使用道具 举报

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

本版积分规则

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