Re: apt-get wants toupgrade my kernel package to debian kernel package
Erik Steffl <steffl@bigfoot.com> wrote:
> I downloaded debian kernel source package (+ source for alsa modules
>and 3dfx module).
>
> I used make-kpkg to build the kernel (and later on alsa and 3dfx
>modules). I specified jojda.1 as my kernel revision.
>
> the resulting *.deb (kernel + modules) were succesfully installed, so
>now I have:
>
>ih kernel-image-2.2.17 jojda.1 1:2.2.17-1
> ^^^^^^^ ^^^^^^^^^^
> current new
The 1: is an epoch, which means that 1:anything is greater than any
version number without an epoch, 2:anything is greater than 1:anything,
etc. Try 10:jojda.1, or some similarly high epoch, if you don't want it
to be replaced by Debian packages.
> the same goes for alsa-modules-2.2.17:
>
>ih alsa-modules-2.2.17 0.5.9d-1+j1:0.5.9d-1
>
> (there is only 'j' visible out of the jojda.1 string), how is
>0.5.9d-1 newer then 0.5.9d-1+jojda.1 ?
[cjw44@riva ~]$ if dpkg --compare-versions 0.5.9d-1+jojda.1 lt 1:0.5.9d-1; \
> then echo hello; fi
hello
--
Colin Watson [cjw44@flatline.org.uk]
Reply to: