LinuxSir.cn,穿越时空的Linuxsir!

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

Debian下安装emacs出错:无法找到软件包。

[复制链接]
发表于 2005-10-22 14:55:47 | 显示全部楼层 |阅读模式
我用apt-get install emacs21安装
提示无法找到软件包。
我哪里出错了
Debian下只能用apt安装没吗。
发表于 2005-10-22 16:21:40 | 显示全部楼层
你apt-get install emacs*看看
然后找到你需要的,再运行
apt-get install
回复 支持 反对

使用道具 举报

发表于 2005-10-22 18:26:51 | 显示全部楼层
apt-cache search  emacs
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-22 19:16:47 | 显示全部楼层
我运行了apt-get install emacs*
提示我以下信息
注意根据正则表达式“emacs*”选中了emacs
注意根据正则表达式“emacs*”选中了xemacs-support
注意根据正则表达式“emacs*”选中了emacsen-common
注意根据正则表达式“emacs*”选中了emacs-intl-fonts
注意根据正则表达式“emacs*”选中了emacs21-nox
注意根据正则表达式“emacs*”选中了emacs21
注意根据正则表达式“emacs*”选中了emacsen

然后我执行apt-get install emacs21
提示我:
现在没有可用的软件包emacs21,但是它被其它软件包引用了,
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其它发布源中找到
E:软件包emacs21还没有可供安装的候选者

我是不是应改配置其它的发布源,怎么配置。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-22 19:31:04 | 显示全部楼层
我执行了apt-cache search emacs 后提示以下信息:

kate-plugins - plugins forKate, the KDE Advanced Text Editor
kictionaries-common - Common utilities for spelling dictionary tools
sawfish - a window manager for X11
emacsen-connon - Common facilities for all emacsen
ispell - international ispell (an interactive spelling corrector)
language-env - simple configuration tool for native language environment
xfonts-thai-etl - Thai etl fonts for X
joe - user friendly full screen text editor
librep9 - an embeddable Emacs-Lisp-like rutime library
fetchmail - SSL enabled POP3,APOP,IMAP mail gatherer/forwarder
ruby1.6-elisp - Emacs-lisp ruby-mode for Ruby
ruby1.8-elisp - ruby-mode for Emacsen
tdiary-mode - tDiary editing mode for Emacsen
回复 支持 反对

使用道具 举报

发表于 2005-10-22 19:38:33 | 显示全部楼层
看样子是你的 apt 源有问题
麻烦修改你的 /etc/apt/sources.list

把原先的删掉 ( 或加 # 号注释掉 )
改为下面的

deb http://mirrors.shlug.org/debian unstable main contrib non-free
deb-src http://mirrors.shlug.org/debian unstable main contrib non-free



然后  
apt-get update


apt-get install emacs21
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-22 20:20:20 | 显示全部楼层
我的sources.list
deb file:///cdrom/sarge main
deb cdrom:[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 (20050607)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-2 (20050607)]/ unstable contrib main
deb http://security.debian.org/ stable/updates main contrib

请版主提示一下问题所在。

因为我使用ADSL上网,速度不快,怎样可以先把程序包先下载到本地再进行安装。

ps:
我刚开始用Linux,现在系统为WindowsXP+VMware5.5+Debian3.1
(因为大部分工作还需要在Windows环境下完成)。
我怎样在Windows和Linux之间传送文件。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-22 21:31:45 | 显示全部楼层
我用版主的方法
apt-get install emacs21下载时提示文件传输错误
我怎样将软件包先下载到本地再安装。
版主帮帮忙!!!
回复 支持 反对

使用道具 举报

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

本版积分规则

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