Skip to content

Commit b5f2ce7

Browse files
committed
Fix Kubuntu release upgrader
The -m argument is no longer available in do-release-upgrade
1 parent 6b168e7 commit b5f2ce7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

kubuntu_release_upgrade.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
1010
LOG_DIR="${SCRIPT_DIR}/logs"
1111
mkdir -p "${LOG_DIR}"
1212

13+
# If you're upgrading to a non-LTS release and don't see an upgrade available,
14+
# you may have to edit /etc/update-manager/release-upgrades
15+
1316
# https://help.ubuntu.com/community/HirsuteUpgrades/Kubuntu
1417
# If the upgrade fails, it's good to have a log file of the console output to see how things went wrong.
15-
pkexec do-release-upgrade -m desktop -f DistUpgradeViewKDE |& tee "${LOG_DIR}/kubuntu_release_upgrade_$(date +%F_%H-%M-%S).txt"
18+
pkexec do-release-upgrade --frontend=DistUpgradeViewKDE |& tee "${LOG_DIR}/kubuntu_release_upgrade_$(date +%F_%H-%M-%S).txt"
1619

1720
# If Python has been updated, you can find and remove old virtualenvs with
1821
# ls ${HOME}/Git/**/venv

0 commit comments

Comments
 (0)