Template:UpgradeTo2: Difference between revisions

From Alpine Linux
(notes on upgrading from 1.x to 2.x)
 
Line 1: Line 1:
== Important notes when upgrading from v1.10 ==
== Important notes when upgrading from v1.10 ==
* The v2.0 series introduces an ABI-incompatible version of uClibc with NPTL threading support. This means that you cannot mix packages from older relases with v2.0. To upgrade you will need to make sure that you only have v2.0 repositories in your /etc/apk/repositories list and then do: {{Cmd|apk upgrade --update-cache --available}}
* The v2.0 series introduces an ABI-incompatible version of uClibc with NPTL threading support. This means that you cannot mix packages from older releases with v2.0. To upgrade you will need to make sure that you only have v2.0 repositories in your /etc/apk/repositories list and then do: {{Cmd|apk upgrade --update-cache --available}}
{{Note|There might be packages with same version number in v1.10 repositories so it is very important that the --available option is there to make sure that those gets replaced properly}}
{{Note|There might be packages with same version number in v1.10 repositories so it is very important that the --available option is there to make sure that those gets replaced properly}}
* You must remove GNU wget before doing the upgrade and only use busybox wget.
* You must remove GNU wget before doing the upgrade and only use busybox wget.

Revision as of 10:58, 7 January 2011

Important notes when upgrading from v1.10

  • The v2.0 series introduces an ABI-incompatible version of uClibc with NPTL threading support. This means that you cannot mix packages from older releases with v2.0. To upgrade you will need to make sure that you only have v2.0 repositories in your /etc/apk/repositories list and then do:

    apk upgrade --update-cache --available

Note: There might be packages with same version number in v1.10 repositories so it is very important that the --available option is there to make sure that those gets replaced properly
  • You must remove GNU wget before doing the upgrade and only use busybox wget.

apk del wget

  • All .so links moved to -dev package. It might be an idea to remove alpine-sdk and all *-dev packages before doing the upgrade. If you get problems due to a -dev package want overwrite a .so file owned by other package then you might want use the --force option.
Note: Uninstalling alpine-sdk might remove sudo. To make it stay you'll first have to do:

apk add sudo