Giter VIP home page Giter VIP logo

Comments (3)

mweinelt avatar mweinelt commented on August 15, 2024

The expectation is that anything is greater than anything~ and that holds true for dpkg. Like this:

# 1.7.0 greater than 1.7.0~rc1
$ dpkg --compare-versions 1.7.0 gt 1.7.0~rc1; echo $?
0
# 1.7.0 not less than 1.7.0~rc1
$ dpkg --compare-versions 1.7.0 lt 1.7.0~rc1; echo $?
1
# 1.7.0 not equal 1.7.0~rc1
$ dpkg --compare-versions 1.7.0 eq 1.7.0~rc1; echo $?
1

The code was last changed when the new autoupdater implementation was merged. See 49cb4b3. From a quick glance ~ still seems to have priority: 49cb4b3#diff-1eb735fe6ae57d88007bd5d48cdbb954R38

from packages.

RalfJung avatar RalfJung commented on August 15, 2024

The expectation is that anything is greater than anything~ and that holds true for dpkg. Like this:

Exactly. But somehow it doesn't seem to work any more in 2018.1.3 (the beta 1.7.0~rc1 and the stable 1.7.0 were both built from that version).

With --force-version, it is happy to install the new version:

# autoupdater -f -b experimental
Retrieving manifest from http://mgmt.saar.freifunk.net/firmware/experimental/sysupgrade/experimental.manifest ...
No new firmware available.
# autoupdater -f -b experimental --force-version
Retrieving manifest from http://mgmt.ffsaar/firmware/experimental/sysupgrade/experimental.manifest ...
Stopping cron...
Stopping haveged...
Stopping micrond...
Stopping sysntpd...
Stopping gluon-radvd...
Stopping uhttpd...

And it's not just one node, I noticed this because a user reported a problem on several of their nodes, and I can see the same on mine.

from packages.

neocturne avatar neocturne commented on August 15, 2024

While looking at this bug, I found two more in the version compare :) Fixes coming soon...

from packages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.