Switiching permanently to an old hrev

Hi alltogether,

i have a big challenge… :slight_smile:
After doing a pkgman full-sync, pkgman uninstalled a lot of importend libs and the one wich got installed new… didnt worked.

So now i get either missing some libs or some services are not working (netserver and so on)

I Found the state wich worked the last for me. Now i alsways swiching to this state buy choosing it on boot up.
I tried to follow some hints given on the IRC channel to switch to this last working state.
It was said that if i copy all packges from administrative/state… to the main package folder, everything would be reverted to this state… but it didnt worked out.

I also tried deleting the full-sync stated… didnt worked (hat to put them back from the trash)

I tried booting in the old state doing a pkgman update… and booting into the new “recent” updated state … didnt worked out.

So what is the proper way to switch permantly back to a former stage…

Greetings Paradoxon

Hi Paradoxon!

Never tried it myself…
Did you remove the newer packages before/after moving the old packages from the administration/state* folders?
Having the same packages from different hrevs might be a problem, I dunno. Activate “type-ahead filtering” in Tracker if it isn’t already and filter for “hrev”. All those newer “hrev” packages need to be replaced with the older ones, I suspect.

We still lack a nice update/revert/savepoint application…

Regards,
Humdinger

[quote=humdinger]Hi Paradoxon!

Never tried it myself…
Did you remove the newer packages before/after moving the old packages from the administration/state* folders?
Having the same packages from different hrevs might be a problem, I dunno. Activate “type-ahead filtering” in Tracker if it isn’t already and filter for “hrev”. All those newer “hrev” packages need to be replaced with the older ones, I suspect.

Humdinger[/quote]
No i didnt removed the packages… but i tried now… an still libedit.so missing… so always need to press shift… bu i will just download recently nightly and install a newer version over this broken syspartition

pkgman install libedit?

It was moved to a separate package but it seems the Haiku package doesn’t depend on it. It probably should, because at least Debugger needs that.

There’s a script for that …

http://yab.orgfree.com/forum/showthread.php?tid=7

[quote=PulkoMandy]pkgman install libedit?

It was moved to a separate package but it seems the Haiku package doesn’t depend on it. It probably should, because at least Debugger needs that.[/quote]

Hmm not really… because if i boot normally… it stops with a white screen saying that this lib is missing… so no pkgman install possible :slight_smile:

That white screen is Debugger trying to tell you something, but it needs libedit for its CLI interface.

You could do the pkgman install from your older (running) state, it will apply to the latest I think. Or you can manually drop the package there.