Remove -a cause it can break the system.
If the apk cache is outdated (first installation) and you try to upgrade with this "-a" argument without configuring a network, then apk will just strip every packages that are not available. It then leave the phone in a very broken state. The -a was used to handle mainlining software from pmaport to aport (where pmaport uses 9999 version numbers). As we do not rely that much on those softwares (that are now mainlined), we strip this unsafe argument. Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Anjandev Momi <anjan@momi.ca>
This commit is contained in:
parent
a2653f741d
commit
672566c206
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ echo "Updating all packages from repositories"
|
|||
sudo apk update
|
||||
|
||||
echo "Upgrading all packages"
|
||||
sudo apk upgrade -a
|
||||
sudo apk upgrade
|
||||
|
||||
echo "Upgrade complete - reboot for all changes to take effect"
|
||||
read -r
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue