Newer Debian packagage version overrides pinning
Testing anapt-get upgrade
on the current ISO built by SDK I noticed that what I once mentioned to
@nextime
is in fact happening: when Debian raises its package version number then their package gets installed, overriding the pinning.
This happens for instance with util-linux, having both debian and devuan package repositories:
our util-linux 2.25.2-4.1+devuan1 gets updated with Debian's 2.25.2-5 because of the -5 being higher than the -4
what is our approach to avoid this?
I'm quite against mirroring all Debian and asking users to never put their repos in sources.list. It would be nice to have a way to override installs of already existing *+devuan packages with non +devuan packages. If we need to patch apt to have that, I'd say lets do it.
Wondering what's your take on this
-
We have 3 ways to do that:
- 1- raising our pinning > 990
- 2- pinning debian repos < 500
- 3- mirroring all debian packages we don't build directly on our repo
Probably, in my opinion, the best is the #2 (closed)
Edited -
I agree with best being #2 (closed) . Can you please proceed? this package is yours.
This is the biggest standing problem to releasing an alpha that I see at the moment.
-
I will push a new release of the package in the repo today following this as a reference: http://linux.die.net/man/5/apt_preferences
-
did you? I tested by hand pinning debian down to 400 and devuan's entries up to 990 and it does not ask to update util-linux anymore. I'm not sure this is going to have wider ripercussions (needs testing).
-
Try please using devuan pinned at 700 and debian to 400, tonight i will update dak with latest changes and fix this
-
Fixed in devuan-baseconf 0.5 released soon
-
Status changed to closed