Re: apt/sources.list error
On Thu, Jan 22, 2004 at 06:44:29PM -0500, Haines Brown wrote:
> One option would be to say that "woody" represents the distribution,
> and then I specify the component holding the postfix file as a path:
>
> 1. deb http://people.debian/org/~hmh woody /hmh/postfix
>
> But perhaps since it is a path, it should end in a slash:
>
> 2. deb http://people.debian/org/~hmh woody /hmh/postfix/
Using a separate distribution like this only works if "woody" in the URL
is preceded by "dists", as it is in the main Debian archive.
> Or perhaps I should specify the complete path to the desired file:
>
> 3. deb http://people.debian/org/~hmh/woody/hmh/postfix/
>
> the manual says to append the slash, but perhaps not:
>
> 4. deb http://people.debian/org/~hmh/woody/hmh/postfix
Add " ./" to either of those and it should work fine.
> The only one which allows the update is:
>
> deb http://people.debian.org/~hmh/woody/ hmh/postfix/
That would work too.
> but apt-get install fails to see the package:
>
> $ sudo apt-get install postfix=2.0
That's because the version is not "2.0", nor "2.0.16". It's
"2.0.16-4.woody.1", or any of the others there. You can't leave bits off
the end of the version number (and even if you could the syntax for
doing so probably wouldn't be "=").
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: