• devuan-packages
  • devuan-baseconf
  • Issues
  • #1

Closed
Open
Opened 2015-03-03T17:51Z by Jaromil @jaromil

Newer Debian packagage version overrides pinning

Testing anapt-get upgradeon 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

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

  • Franco Lanza
    Franco Lanza @nextime · 2015-03-03T13:34Z

    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 2015-03-03T13:35Z
  • Jaromil
    Jaromil @jaromil · 2015-03-03T17:02Z

    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.

  • Franco Lanza
    Franco Lanza @nextime · 2015-03-04T06:40Z

    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

  • Jaromil
    Jaromil @jaromil · 2015-03-06T11:54Z

    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).

  • Franco Lanza
    Franco Lanza @nextime · 2015-03-06T15:44Z

    Try please using devuan pinned at 700 and debian to 400, tonight i will update dak with latest changes and fix this

  • Franco Lanza
    Franco Lanza @nextime · 2015-03-07T06:07Z

    Fixed in devuan-baseconf 0.5 released soon

  • Franco Lanza @nextime Status changed to closed · 2015-03-07T06:07Z

    Status changed to closed