~alpine/users

1

Supported upgrade path?

Details
Message ID
<hP3i_dukWRnd6ZCcXGXFnhBcD9wvfql6kOzCMrUbr5e5fy0Q-fkhCUmYAlXMbrXOzE3dPGvR85MLK2POdiKD3ML02zjOTkNMBnjFVOJ_A2U=@protonmail.com>
DKIM signature
missing
Download raw message
In the past I have downloaded the new ISO image, reinstalled the
systems and restored configuration files from backup. However, now
with an entire fleet of servers, this is too cumbersome.

Is it supported to upgrade directly from e.g. 3.12 to 3.16 or only
to the version immediately following like in OpenBSD?

Is the ".apk-new" files listed  by "update-conf --list" after
upgrading, the only extra files left in the system compared to a
reinstallation of system and packages or do the upgrade process also
leave files in other places that could be delete? I don't like old
cruft to linger around.


Best regards,
Mogens Jensen
Details
Message ID
<KIQYXeEODgfw5UryFJnvFaW759Dsw_yRAo25XhpWGWMQmcilcyrG_ZaquuCdKqG4WI6J49JKYAYGlQ8PD1PW2CXQxY2OEOtMq_m74UcUkyU=@protonmail.com>
In-Reply-To
<hP3i_dukWRnd6ZCcXGXFnhBcD9wvfql6kOzCMrUbr5e5fy0Q-fkhCUmYAlXMbrXOzE3dPGvR85MLK2POdiKD3ML02zjOTkNMBnjFVOJ_A2U=@protonmail.com> (view parent)
DKIM signature
missing
Download raw message
After testing the upgrade procedure multiple times, I found no
problems with upgrading directly from 3.12 to 3.16:

# sed -i 's/.12/.16/g' /etc/apk/repositories
# apk update -v
# apk add -v --upgrade apk-tools
# apk upgrade -v --available
# update-conf

Reboot system and you are done. Probably 5 minutes of work, with
'update-conf' taking the most time.

A funny thing i noticed while upgrading:

"After this operation, 414 MiB of disk space will be freed."

In a world where everything is only getting more bloated with every
release, this is just amazing and one reason why Alpine is the best
Linux distribution available. Thanks.

I will test the procedure again when 3.20 is released :)

Best regards,
Mogens Jensen
Reply to thread Export thread (mbox)