On 12/25/14 22:04, Damon Getsman wrote:
> Well, I've never cared much for the holidays...  So I figured, while
> everybody else was busy with them, what a perfect time for me to take down
> my BBS and other services and upgrade the system at least from 5.4-5.5.
> I've done multiple upgrades in a day before when I've gotten behind like
> this, and they've never been much of a problem, though I've run into an
> issue here and there before.
> 
> That was before I ran into the removal of packages and reinstallation
> process that is necessary for this upgrade.

you don't mention WHEN you did this, but I can guess..

> Right off the bat I got issues about 'Can't locate object method
> "filter_obsolete" via package "OpenBSD::Quirks1" at
> /usr/libdata/perl5/OpenBSD/AddDelete.pm line 351"'.  This was at the 'final
> step', and there had been no hiccups during the sysmerging process that I
> wasn't used to.
> 
> After this issue, I started having packages that the system was trying to
> reinstall but totally horked on. 
...
> My system won't run like 90% of the binaries on it.

such as...?
I'm assuming you mean "add-on packages", not base utilities like "tar"
or "more".  If "more" is screwed up, you didn't unpack in the right
directory.

> I have upgrades of my home directory, BBS directory, and SQL dumps of most
> everything except my most recent changes, but I'm really hoping to avoid
> that...

should be fixable.

> Does anybody have any tips?  Would an install over the top straight to 5.6
> maybe work?

No, you have a fundamental problem that needs to be fixed, and another
upgrade won't help (probably won't really hurt, either)

> I've never had the install process leave me with such a
> lobotomized system before.  Usually it's just something like mediawiki not
> working with latex math markup any more or wordpress breaking.  :(

This is user error.  This upgrade *IS* trickier than most, but that's
why we carefully document things -- if you follow the process, it works
fine.

> This is my primary server, and it pains me significantly to have it down,
> and I really love OpenBSD, despite the hiccups at times.  Does anybody have
> any suggestions?  Any help or pointers in the right direction would be
> greatly appreciated.
> 
> Thanks in advance.

Well, you didn't provide many details of what you actually did, but it
is pretty obvious you did not uninstall all packages BEFORE you did the
upgrade.  Sucks to be you, but I bet you read the instructions more
carefully next time. :)  Good news, should be recoverable.

The fact that you have binaries that don't run proves you didn't remove
the packages before upgrade.  The other options are your kernel and
userland are out of sync (i.e., forgot to upgrade kernel or userland) or
you unpacked your userland to a different location, but either of those
would probably be far worse situations.

At this point, packages will have to be forcibly removed.  See the
options of pkg_delete -- the existing removal scripts may well fail, and
you may well have your dependencies screwed up, and a -q to skip over
verifying signatures would probably be good, too, set options accordingly.

Once you do that, you should have no old binaries left to run on your
system, and you should be back to 100% functional base OpenBSD install.
 You can now reinstall your packages, or since you have another upgrade
to go, upgrade the base system to 5.6 first.

Nick.

Reply via email to