[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt/sources.list error



On Fri, Jan 23, 2004 at 12:07:53PM -0500, Haines Brown wrote:
> Colin, sorry to be so dense about all this. I write now because I
> succeeded by _not_ following your advice :-(, and so naturally would
> like to understand why.

You did follow my advice; you just didn't realize it. :)

> The actual path to the backported wood postfix file is:
> 		http://people.debian.org/~hmh/woody/hmh/ 
> 		postfix/postfix_2.0.16-4.woody.1_i386.deb
> 
> > > 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 "=").
> 
> I tried 
> 
>   $ sudo apt-get install postfix_2.0.16-4.woody.1
>   $ sudo apt-get install postfix_2.0.16-4.woody.1_i386
>   $ sudo apt-get install postfix_2.0.16-4.woody.1*
> 
> But in no case was the file found. I reverted to the "=" and it worked
> ;-)
> 
>   $ sudo apt-get install postfix=2.0.16-4.woody.1

I didn't say that "=" wouldn't work; I said that *IF* there were some
syntax that allowed you to leave bits off the version number (which
there is, actually, with "*"), then that probably wouldn't be
"postfix=2.0", because "2.0" is a different version number to
"2.0.16-4.woody.1".

In other words, I was saying that "postfix=2.0.16-4.woody.1" was what
you wanted.

In general, I think you need to read the APT-HOWTO. It's easily findable
on the Debian web site or via Google.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: