OPNsense Forum

English Forums => Development and Code Review => Topic started by: opnsenseuser on August 17, 2018, 08:00:25 am

Title: not able to update anymore (19.1 dev)
Post by: opnsenseuser on August 17, 2018, 08:00:25 am
sorry for my new post but i have again a big problem doing updates on dev.

there are only the plugins available i installed 2 days. all other plugins are not available anymore.
command "make update" ends up with "make: don´t know how to make upgrade.  Stop"
try to clear the cache doesn´t work and all other commands end up in an error.

what can i do ?
Title: Re: not able to update anymore (19.1 dev)
Post by: franco on August 17, 2018, 08:46:25 am
Looks like your package database needs to be reconnected, that can be done via:

# pkg update -f

But normally the firmware page does that if you check for updates. :)

> make: don´t know how to make upgrade.  Stop

It means you are not in the correct directory (/usr/core) or the code is gone or there was a typo in the target (you wrote "make update" earlier).


Cheers,
Franco
Title: Re: not able to update anymore (19.1 dev)
Post by: opnsenseuser on August 17, 2018, 09:43:33 am
pkg update -f works!

but cd /usr/core doesn´t exist anymore!
only the usr folder exists!
core folder is gone

and updating by ui doesn´t work

i´m still on OPNsense 19.1.a_89-amd64
Title: Re: not able to update anymore (19.1 dev)
Post by: marjohn56 on August 17, 2018, 09:46:21 am
what happens if you run


# opnsense-code core
Title: Re: not able to update anymore (19.1 dev)
Post by: opnsenseuser on August 17, 2018, 09:51:49 am
worked great !. :-)

has resynct the folder again.

I do not know why this folder "core" disappeared!

you saved my day Martin ;-)