Created
May 5, 2017 19:56
-
-
Save ollieparanoid/40c94e1c0e51fdadb4ece40052fe509a to your computer and use it in GitHub Desktop.
Alpine Linux: busybox-extras install/uninstall
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Related to this pull-request: | |
https://github.com/alpinelinux/aports/pull/1092 | |
Steps: | |
1. upgrade busybox to the one, which has busybox-extras | |
2. telnet does not exist anymore | |
3. add busybox-extras | |
4. telnet exists | |
5. uninstall busybox-extras and re-install busybox | |
6. telnet does not exist anymore | |
7. repeat step 3 and 4 | |
/ # apk add -u busybox | |
(1/1) Upgrading busybox (1.26.2-r2 -> 1.26.2-r3) | |
Executing busybox-1.26.2-r3.post-upgrade | |
-> ftpget is now in busybox-extras | |
-> ftpput is now in busybox-extras | |
-> telnet is now in busybox-extras | |
-> tftp is now in busybox-extras | |
-> ftpd is now in busybox-extras | |
-> httpd is now in busybox-extras | |
Executing busybox-1.26.2-r3.trigger | |
OK: 6 MiB in 16 packages | |
/ # which telnet | |
/ # apk add busybox-extras | |
(1/2) Purging busybox (1.26.2-r3) | |
(2/2) Installing busybox-extras (1.26.2-r3) | |
Executing busybox-extras-1.26.2-r3.post-install | |
-> NOTE: To uninstall busybox-extras properly, do this: | |
# apk del busybox-extras | |
# apk add /var/cache/apk/busybox-1.26.2-r3...apk # pick latest | |
# apk add busybox | |
Executing busybox-extras-1.26.2-r3.trigger | |
OK: 6 MiB in 16 packages | |
/ # which telnet | |
/usr/bin/telnet | |
/ # apk del busybox-extras | |
World updated, but the following packages are not removed due to: | |
busybox-extras: busybox-initscripts alpine-base alpine-conf busybox-suid | |
openrc alpine-baselayout | |
OK: 6 MiB in 16 packages | |
/ # apk add (...)/busybox-1.26.2-r3.apk | |
(1/2) Installing busybox (1.26.2-r3) | |
Executing busybox-1.26.2-r3.post-install | |
(2/2) Purging busybox-extras (1.26.2-r3) | |
Executing busybox-1.26.2-r3.trigger | |
OK: 6 MiB in 16 packages | |
/ # apk add busybox | |
OK: 6 MiB in 16 packages | |
/ # which telnet | |
/ # apk add busybox-extras | |
(1/2) Purging busybox (1.26.2-r3) | |
(2/2) Installing busybox-extras (1.26.2-r3) | |
Executing busybox-extras-1.26.2-r3.post-install | |
-> NOTE: To uninstall busybox-extras properly, do this: | |
# apk del busybox-extras | |
# apk add /var/cache/apk/busybox-1.26.2-r3...apk # pick latest | |
# apk add busybox | |
Executing busybox-extras-1.26.2-r3.trigger | |
OK: 6 MiB in 16 packages | |
/ # which telnet | |
/usr/bin/telnet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment