Community discussions

MikroTik App
 
Tal
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Wed Jun 17, 2015 2:17 am

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

Thu Jul 14, 2016 6:38 am

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.
You do not have the required permissions to view the files attached to this post.
Last edited by Tal on Thu Jul 14, 2016 7:58 pm, edited 1 time in total.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

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

Thu Jul 14, 2016 8:10 am

System package is the same version like other packages and it is definitely not one of the new versions... The picture looks correct.
 
Tal
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Wed Jun 17, 2015 2:17 am

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

Thu Jul 14, 2016 8:28 am

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.
You do not have the required permissions to view the files attached to this post.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

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

Thu Jul 14, 2016 8:43 am

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
 
Tal
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Wed Jun 17, 2015 2:17 am

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

Thu Jul 14, 2016 10:26 am

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
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26968
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

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

Thu Jul 14, 2016 10:55 am

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. 
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

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

Thu Jul 14, 2016 11:11 am

Very appreciate that normis is writing now things that I have been writing here for years. Exactly that's it.
 
Tal
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Wed Jun 17, 2015 2:17 am

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

Thu Jul 14, 2016 7:58 pm

Got it - thanks guys