Problem updating from 11.4 to 12.whatever

102 views
Skip to first unread message

William Dudley

unread,
Nov 22, 2021, 12:37:44 PM11/22/21
to freebsd-questions
I've successfully updated FreeBSD systems for many revisions, but
this one isn't working. I'm following the instructions here:

https://www.cyberciti.biz/open-source/freebsd-12-released-here-is-how-to-upgrade-freebsd/

After a reboot, I run freebsd-update install as requested.
All I'm seeing is:

bus error (core dumped)
ld-elf.so.1: /lib/libmd.so.6: invalid file format

And of course nothing works because all the libs and binaries are
mismatched.
I can't even kill the stupid process because I only have one xterm with root
permissions and of course su and sudo are broken.

Now what?

Thanks,
Bill Dudley

Erich Dollansky

unread,
Nov 22, 2021, 6:30:42 PM11/22/21
to William Dudley, freebsd-questions
Hi,
get an external media, boot from there and install FreeBSD from there.

Erich

William Dudley

unread,
Nov 22, 2021, 7:13:27 PM11/22/21
to Erich Dollansky, freebsd-questions
Yes, I was afraid a re-install was the answer.

Thanks,
Bill Dudley

Mehmet Erol Sanliturk

unread,
Nov 23, 2021, 4:05:08 AM11/23/21
to William Dudley, Erich Dollansky, freebsd-questions
I want to explain one of my experiences .

I was using Fedora Linux version around 20 . A new release has been
published : Fedora 28 .
One action would be to install Fedora 28 from scratch OR use upgrade ( or
update ) from ( let's say ) from 20 to 28 .
To attempt such an action in FreeBSD , perhaps , would be a disaster . Can
I do this in Fedora ?
My loss would not be big because there is not any other choice by
installing 28 from scratch .

Would you please read the following Nasreddin Hodja case :

https://ingilizcehakkindakihersey.tr.gg/What-If-It-Becomes---k1-Ya-Tutarsa-k2-.htm


Since in install , all the hard disk contents will be erased , make it by
updating .

I have started the upgrade . It took many hours .

At the end : A perfect BOOT and WONDERFUL continuation work without any
problem .


When you install FreeBSD and expect a boot , perhaps it is a dream to see
it due to its install complexity .


With my best wishes for all of you .


Mehmet Erol Sanliturk

Tomasz CEDRO

unread,
Nov 23, 2021, 4:49:13 AM11/23/21
to Mehmet Erol Sanliturk, William Dudley, Erich Dollansky, freebsd-questions
On Tue, Nov 23, 2021, 10:04 Mehmet Erol Sanliturk wrote:

> (..)
> I was using Fedora Linux version around 20 . A new release has been
> published : Fedora 28 .
> One action would be to install Fedora 28 from scratch OR use upgrade ( or
> update ) from ( let's say ) from 20 to 28 .
> To attempt such an action in FreeBSD , perhaps , would be a disaster .


I have been upgrading FreeBSD on my machines from 10.0 upwards with no
problem.

Recently I have upgraded ZFS based FreeBSD from 12.0 to 13.0 with no
problem.

Even switching from upgraded 13.0-RELEASE to 13-SABLE was not a problem
(some local kernel patches that are not yet in a release).

I noticed that only CURRENT is not suitable for production.

Also switching from UFS to ZFS required drive/array reformat but that is
kind of obvious.

I avoid any other OS at all cost where only possible.

:-)

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Mehmet Erol Sanliturk

unread,
Nov 23, 2021, 6:48:25 AM11/23/21
to Tomasz CEDRO, William Dudley, Erich Dollansky, freebsd-questions
My implied difference is not like 12 to 13 , but ,for example , 5 to 13 (
a gap larger than 1 or two ) .
And my wish is also suggesting to use a policy to perform such upgrades .
An example about this may be as follows :

Each release contains a list of files .
Previous release checks which files are new with respect to installed files
, which ones will not be replaced or converted to the
new version ( this requires upward compatibility adhered to as much as
possible ) .
It installs new files into NEW directories . At the end , it checks the
integrity of the new installation . When the new installation is
complete ( if there is failure , restarts to repair the failures without
wasting existing works ) , it starts to rename old directories into backup
names from least required toward the boot related directories . After
completion of renaming , it attempts to boot the new system .
If the new system boot is successful , it replaces the old system as a "use
if new system fails" structure .

If it is necessary to use a new hard disk , it requests to attach a new
hard disk . It formats the new hard disk by using the format
facility of the new system . This requires a very careful upward
compatibility policy .
Or , it displays a message that "upgrade in place is not possible , then
use a new fresh install" without destroying all of the existing
files .

In the past , I was installing the Novell .

https://en.wikipedia.org/wiki/Novell
Novell

It was necessary to install the operating system into a hard disk with the
DATA areas into ANOTHER disk , i.e. ,
it was not possible to use a single disk for both . At the beginning , this
may have seemed a meaningless requirement .
Now I am always using a different disk for data requirements ( disks are
not expensive . a smallest disk is sufficient to install an
operating system ) . This application is allowing me to replace any
version of an operating system with a new version of it . If the versions
are
near each other there is not any problem about data disks . Or use NFS to
copy files from the older system into the new system .

It is possible to say that chosen policies may make some tasks very easy or
disastrous .
Choice belongs to us .


Mehmet Erol Sanliturk

Graham Perrin

unread,
Nov 24, 2021, 5:55:27 PM11/24/21
to ques...@freebsd.org
On 22/11/2021 17:35, William Dudley wrote:
> … following the instructions here:
>
> https://www.cyberciti.biz/open-source/freebsd-12-released-here-is-how-to-upgrade-freebsd/

This instruction would probably be enough to break the system:

> freebsd-update -r 12.0-RELEASE upgrade

– because 12.0-RELEASE is significantly outdated; older than 11.4.


William Dudley

unread,
Nov 25, 2021, 8:51:40 AM11/25/21
to Graham Perrin, ques...@freebsd.org
Thanks.

I did manage to get the system "running", but it was still unable to be
further upgraded
because freebsd-update was still confused. I ended up installing 12.2 from
DVD,
and then upgraded that to 13.0, so I won't have to go through this again
for a while.

Fortunately only the OS lives on the "root" disk; all the data is on a zfs
pool on different
disks.

Bill Dudley



On Wed, Nov 24, 2021 at 5:55 PM Graham Perrin <graham...@gmail.com>
wrote:

Nathaniel Nigro

unread,
Nov 25, 2021, 12:33:57 PM11/25/21
to freebsd-...@freebsd.org
Unubscribe

Matthias Apitz

unread,
Nov 25, 2021, 12:51:51 PM11/25/21
to Nathaniel Nigro, freebsd-...@freebsd.org
El día jueves, noviembre 25, 2021 a las 11:32:26 -0600, Nathaniel Nigro escribió:

> Unubscribe
>

Why should I unsubscribe?

matthias

signature.asc

Alejandro Imass

unread,
Nov 25, 2021, 1:54:07 PM11/25/21
to Nathaniel Nigro, freebsd-...@freebsd.org
RTFM: https://lists.freebsd.org/subscription/freebsd-questions

On Thu, Nov 25, 2021 at 12:33 PM Nathaniel Nigro <nathani...@gmail.com>
wrote:

Ralf Mardorf

unread,
Nov 25, 2021, 2:00:44 PM11/25/21
to ques...@freebsd.org
This never happened on the mailman mailing lists ;D. Everything was
better before ;D.

Ralf Mardorf

unread,
Nov 25, 2021, 2:09:12 PM11/25/21
to ques...@freebsd.org
It's weird, there are two unsubscribe options.

1. Unsubscribe
2. Unsubscribe without receiving mails

Is 1. for unsubscribing, but receiving emails forever, when
being unsubscribed? :D


Valeri Galtsev

unread,
Nov 25, 2021, 2:15:27 PM11/25/21
to ques...@freebsd.org


On 11/25/21 12:47 PM, Alejandro Imass wrote:
> RTFM: https://lists.freebsd.org/subscription/freebsd-questions
>

I guess I missed exchange right after migration of lists from mailman. I
didn't know (by heart) this link. Bookmarked. I will need to change my
email subscribed to lists some day.

Thanks!

Valeri
--
++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++

Reply all
Reply to author
Forward
0 new messages