Subject: epoch?? how to make squid-1.0.5 > squid-1.0beta16

From: Craig Sanders <[email-masked]>
Date: Mon, 5 Aug 1996 09:01:31 +1000 (EST)

I compiled squid 1.0.5 last night and made a new package for it, but when
i installed it with dpkg on my system i got a warning message about
"downgrading to earlier version due to --force".

which means that dselect can't be used to upgrade this package because it
won't do the forced "downgrade".  I don't want to upload the new package
until this is fixed.

I seem to recall some discussion a few months back about an "Epoch" header
or something like that which could be used to get around this problem.

Was epoch implemented?  How do I use it? 

(note for those waiting on a new version of squid: i probably wont get
time to finish this off now until the end of the week.) 

Craig

---

From: Guy Maor <[email-masked]>
Date: Tue, 6 Aug 1996 10:57:13 -0500 (CDT)

> Was epoch implemented?  How do I use it? 

Add '<epoch>:' to the front of the version.  The epoch has to be a
number.  For example:

$ dpkg --compare-versions '2' gt '3'
$ echo $?
1
$ dpkg --compare-versions '1:2' gt '3'
$ echo $?
0

Guy

---

From: Ian Jackson <[email-masked]>
Date: Fri, 9 Aug 96 23:24 BST

Craig Sanders writes ("epoch??  how to make squid-1.0.5 > squid-1.0beta16"):
...
> Was epoch implemented?  How do I use it? 

Yes.  See the draft programmers' manual.

Ian.