Menu

#22 xtrkcad for debian ubuntu will not stay updated.

Beta 2.1
fixed
2020-10-27
2016-03-13
No

If the xtrkcad .deb files from deepwoods software are used to install xtrkcad on a debian-based system. The system update software will endlessly want to "upgrade" to version 4.0.2 from the official debian repository. This was discussed on the yahoo xtrkcad group in Oct/Nov 2015. This is unsatisfactory.

The problem results from the fact that the version in the debian repo is NOT 4.0.2 it is 1:4.0.2. I.e. it has an epoch of 1. Our unofficial debs have no epoch specified which is equivalent to epoch 0. debian package management compares epochs first when picking the most up-to-date version. 1:anything will trump 0:anything. As far as I can see epochs for stuff in the debian repos must be monotonic increasing if they are changed at all so there is no going back.

I guess it would solve the problem if Robert put 1: in the version strings of the debian packages.

I tested the concept on my xubuntu system by using dpkg-deb --raw-extract to take apart the xtrackcad-4.2.3-2.i386.deb and editing DEBIAN/control to read 1:4.2.3-2 and used dpkg-deb --build to rebuild it. After installing the result my system package updater was happy that it had the most up-to-date version installed.

Discussion

  • Dave Bullis

    Dave Bullis - 2020-07-26
    • status: open --> fixed
    • assigned_to: Dave Bullis
    • OS Level: -->
    • Milestone: --> Beta 2.1
     
  • Dave Bullis

    Dave Bullis - 2020-07-26

    I've added epoch number to the debian version

     
  • Adam Richards

    Adam Richards - 2020-10-27

    Ticket moved from /p/xtrkcad-fork/bugs/149/

    Can't be converted:

    • _os_level:
    • _operating_system: Linux
    • _priority: 3
     

Log in to post a comment.