ubuntu-release-upgrader depends on gksu but it is not installed by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On a fresh artful installation ubuntu-
...
47 def runDistUpgrader
48 # now run it as root
49 if os.getuid() != 0:
50 os.execv(
51 ["gksu",
...
But gksu is not installed by default and u-r-u crashes if it is executed as a non root user.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: ubuntu-
ProcVersionSign
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.1
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 15 18:01:16 2017
InstallationDate: Installed on 2017-11-14 (1 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
PackageArchitec
SourcePackage: ubuntu-
Symptom: ubuntu-
UpgradeStatus: No upgrade log present (probably fresh install)
ubuntu- release- upgrader (1:18.04.5) bionic; urgency=medium
* DistUpgrade/ DistUpgradeFetc her.py, new-release- gtk, release- upgrade: release- gtk instead of os.execl
check-
do-
- Raise privileges in do-release-upgrade using pkexec when GUI is used
- Drop gksu usage
- Use os.execv in check-new-
- Apply the workaround "xhost +si:localuser:root" under Wayland to let
upgrades finish (LP: #1732185)
* Skip Python files from other packages in PEP 8 tests
-- Balint Reczey <email address hidden> Mon, 15 Jan 2018 17:09:44 +0100