Page 1 of 1

Package naming structure

Posted: Sun Feb 13, 2022 12:55 pm
by Oscarwug
Check for upgrade on ver 7.1.1 on a x86 architecture show version 7.1.2 is available but can not download as it is trying to download routeros-7.1.2.npk and correct file is routeros-x86-7.1.2.npk

Consist file naming is required throughout different architectures

Re: Package naming structure

Posted: Sun Feb 13, 2022 1:00 pm
by jasweb
Agreed.

If one wants to script updates it becomes a bit of a PITA. Hope a future solution can be found.

J

Re: Package naming structure

Posted: Sun Feb 13, 2022 6:16 pm
by mkx
So you're saying that download link is not always like this:

https://download.mikrotik.com/routeros/<version>/routeros-<architecture>-<version>.npk

where <version> is full version, e.g. 6.49.2
and <architecture> is CPU architecture of your device, e.g. arm or x86.

The only inconsistency is that it seems that with v7 filename changed to routeros-<version>-<architecture>.npk. But file without architecture name in it is wrong by all means.

Re: Package naming structure

Posted: Sun Feb 13, 2022 8:28 pm
by Oscarwug
Actually the url link is right, but
When Ros is trying to upgrade using "check updates" x86 architecture is trying to download the file without x86 in filename
For arm64 the file name is routeros-7.1.2-arm64.npk
Not the right way of routeros-arm64-7.1.2.npk