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

Re: [ OT ] local packages vs official packages



On 27-Aug-01, 17:25 (CDT), Samu <samu@linuxasylum.net> wrote: 
> hi,
> this is just a curiosity, i think is not so security related, aniway...

So it should be on the debian-user list.

> if i made a package by my self, or from deb sources, of a package
> that already exist on to the debian db, and my "local" package is
> called as the official one, when i run then dselect or apt, they overwrite
> my local pkg for the official one.
> i have to explicity "hold" the local package to not to have overwritten.
> why ? they aren't checked only for the version number ? 

It shouldn't be upgrading if your version # (including the revision)
is higher than that in the archive. My guess is that a new revision
is showing up in the archive and thus being upgraded. The best way to
prevent this is to use 'epochs' -- set your version to something like
3:1,2-1 in the changelog.

Steve



Reply to: