怎么添加deb的源

为当前最终发行版之前的所有版本提供支持
回复
fancyerii
帖子: 8
注册时间: 2007-09-23 18:28
送出感谢: 0
接收感谢: 0

怎么添加deb的源

#1

帖子 fancyerii » 2007-12-04 20:24

上网用一个开源的代码,里面提供了deb包的地址
按照说明:
The recommended procedure to install Combine is to use the Debian package system - apt.
* Add the line
deb http://combine.it.lth.se/ debian/
to your file /etc/apt/sources.list
* apt-get update
* apt-get install combine
this also drags in MySQL4.1 and a lot of Perl modules
说把 deb http://combine.it.lth.se/debian/ 加到 /etc/apt/sources.list 里面了。
但是直接加进去提示格式错误: 安装源配置文件“/etc/apt/sources.list”第 5 行有错误 (dist)
然后我仿照其它源的格式:
deb http://combine.it.lth.se/debian/ gutsy main restricted
deb-src http://combine.it.lth.se/debian/ gutsy main restricted

sudo apt-get install combine 说找不到combine
sudo apt-get update则提示http://combine.it.lth.se/debian/dists/gutsy/restricted/binary-i386/Packages.gz 404 Not Found
我去那个网站看了一下,确实没有 /dists/这个目录。
请问是我的配置有问题还是他提供的源有问题,该怎么办? 谢谢!

我的Ubuntu版本是:
Distributor ID: Ubuntu
Description: Ubuntu 7.10
Release: 7.10
Codename: gutsy
头像
avauntage
帖子: 570
注册时间: 2005-09-22 10:15
来自: 北京
送出感谢: 0
接收感谢: 0

#2

帖子 avauntage » 2007-12-05 21:26

Installation Debian stable
The recommended procedure to install Combine is to use the Debian package system - apt.

* Add the line
deb http://combine.it.lth.se/ debian/
to your file /etc/apt/sources.list
* apt-get update
* apt-get install combine
this also drags in MySQL4.1 and a lot of Perl modules

Installation Debian testing or Ubuntu Dapper
There is a problem with the Debian package for HTML::Tidy for these distributions (due to a name change of the libtidy package). The following procedure should work:

* Make sure Perl and libtidy-0.99-0 are installed
apt-get install perl libtidy-0.99-0
* Download libhtml-tidy-perl for either Debian testing or Ubuntu Dapper
* Install libhtml-tidy-perl
dpkg --install libhtml-tidy-perl*.deb
* Follow the instructions for installation on Debian stable above (Be sure to use a version >= 3.2)

Manual installation for the impatient
Download the source version 3.7 (gzipped tar)
Unpack and cd into combine-3.7
Make sure you have all the dependencies installed
The following command sequence will install Combine:

你用的是debian的那种方法,但你的系统ubuntu7.10,不是debian。

你最好用最后一种方法,下载源码,自己编译吧。貌似没有现成的7.10的包。
空手把锄头,步行骑水牛;人在桥上过,人流水不流。
回复

回到 “老旧版本支持”