Page 1 of 1

[SOLVED] How is it possible that a device doesn't have the RouterOS package installed?

Posted: Thu Jul 14, 2016 6:38 am
by Tal
During an update from an older version of RouterOS to a newer one, one of our field techs put all the extra packages onto the MikroTik 493 but did NOT put the RouterOS-mipsbe package, and after a reboot, the top of the winbox window says that the router is at the new version, but /system/packages does not have the router-mipsbe package installed.

How is it possible that a device can be upgraded with extra packages, but not the main RouterOS package?

This actually broke our main .rsc script, as it tries to read the currently running version of the MikroTik's RouterOS from the installed router-mipsbe package, which in this case is missing.

I've run into this in the past as well.

Re: How is it possible that a device doesn't have the RouterOS package installed?

Posted: Thu Jul 14, 2016 8:10 am
by jarda
System package is the same version like other packages and it is definitely not one of the new versions... The picture looks correct.

Re: How is it possible that a device doesn't have the RouterOS package installed?

Posted: Thu Jul 14, 2016 8:28 am
by Tal
So what's the difference between that screenshot, and this one?
Both are 6.27, but one has the routeros-mipsbe package, and the other does not.

Re: How is it possible that a device doesn't have the RouterOS package installed?

Posted: Thu Jul 14, 2016 8:43 am
by jarda
Because one has mix of combined package with additional separate packages installed and second has separate packages only. The second is right, IMHO, you should avoid the first situation.

Check this and many other threads about the package combination...

http://forum.mikrotik.com/viewtopic.php ... 95#p539084

Re: How is it possible that a device doesn't have the RouterOS package installed?

Posted: Thu Jul 14, 2016 10:26 am
by Tal
So it looks like a device should always have either the routeros-mipsbe package installed (assuming mipsbe is its CPU) or the system package installed.
My rsc code now checks for both packages - if either one exists, it checks the version on that to determine the running RouterOS version.
Sounds like that should work.

Thanks

Re: How is it possible that a device doesn't have the RouterOS package installed?

Posted: Thu Jul 14, 2016 10:55 am
by normis
When you install the device, you have two choices: 

1) RouterOS combined package for quick installs, has a recommended set of packages. If you use this, upgrade using also the combined package
2) System package + optional packages. For custom set of packages. Upgrade using separate packages only. 

Re: How is it possible that a device doesn't have the RouterOS package installed?

Posted: Thu Jul 14, 2016 11:11 am
by jarda
Very appreciate that normis is writing now things that I have been writing here for years. Exactly that's it.

Re: How is it possible that a device doesn't have the RouterOS package installed?

Posted: Thu Jul 14, 2016 7:58 pm
by Tal
Got it - thanks guys