Upgrading to latest release: Difference between revisions
(Created page with "An upgrade of a running Alpine Linux from a previous version to the latest stable version can be done in a few simple steps. Update the ''/etc/apk/repositories'' file :* Launch...") |
(No difference)
|
Revision as of 12:00, 4 May 2012
An upgrade of a running Alpine Linux from a previous version to the latest stable version can be done in a few simple steps.
Update the /etc/apk/repositories file
- Launch
setup-apkrepos
- Press 'e' to edit your /etc/apk/repositories file
- Change the version number to match the latest version by hand
- Launch
- or
- Add the latest release repository to /etc/apk/repositories:
echo http://dl-3.alpinelinux.org/alpine/v2.4/main >> /etc/apk/repositories
- Add the latest release repository to /etc/apk/repositories:
- or
- just edit the file in-place (replace v2.4 with your release):
sed -i -e 's/v2.4/edge/g' /etc/apk/repositories
- just edit the file in-place (replace v2.4 with your release):
Upgrade all packages in one shot:
apk upgrade -a -U