On Tue, Oct 07, 2008 at 09:50:09AM +0800, Allen wrote:> I have a problem on getting source of xapian.
>
> 1st, run 'wget -O- http://www.xapian.org/debian/archive_key.asc|apt-key
add
> -', result shows '09:35:29 (6.42 KB/s) - `-' saved
[2437/2437]' and OK, but
> i found nothing on my disk,
No file is created locally - wget is downloading the file to stdout,
which is piped into apt-key's stdin.
> 2nd, run 'apt-get update' but get a warnning:
> W: Conflicting distribution: http://www.xapian.org stable Release (expected
> stable but got etch)
The warning is harmless really (etch *is* the current debian stable),
but you can fix it by replacing "stable" with "etch" in that
line in
"/etc/apt/sources.list" if you want.
> If it caused by the 1st step?
>
> I modify my /etc/apt/sources.list, from stable to unstable:
> deb http://www.xapian.org/debian unstable main
> deb-src http://www.xapian.org/debian unstable main
>
> run 'apt-get update' but get another warnning:
> W: Conflicting distribution: http://www.xapian.org unstable Release
> (expected unstable but got sid)
Um, if you're running stable, don't try to use packages from unstable
- they are likely not to work properly.
If you are running unstable, then sid *is* debian unstable, but you can
explicitly write "sid" in "/etc/apt/sources.list" if you
prefer.
Cheers,
Olly