Public bug reported:
Binary package hint: update-manager
On a Gutsy system where /tmp is non-executable (mounted with the noexec
flag), update-manager refuses to upgrade to Hardy with the following
error message on the command-line:
extracting '/tmp/tmp71EIa8/hardy.tar.gz'
authenticate '/tmp/tmp71EIa8/hardy.tar.gz' against
'/tmp/tmp71EIa8/hardy.tar.gz.gpg'
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/UpdateManager/UpdateManager.py",
line 915, in on_button_dist_upgrade_clicked
fetcher.run()
File
"/usr/lib/python2.5/site-packages/UpdateManager/Core/DistUpgradeFetcherCore.py",
line 220, in run
self.runDistUpgrader()
File
"/usr/lib/python2.5/site-packages/UpdateManager/DistUpgradeFetcher.py", line
51, in runDistUpgrader
os.execv(self.script,[self.script]+self.run_options)
OSError: [Errno 13] Permission non accordée
(Note that it works fine when upgrading normal packages.)
I suggest two things:
1- Check to see if the file can be executed and returning a more
user-friendly error message when it isn't.
2- Create a temporary directory in the current directory as a fallback when
/tmp cannot be used.
Of course, it would be nice if it did work (see #2), but I would also
consider this problem solved if a nice (graphical) error message was
displayed to the user (see #1).
** Affects: update-manager (Ubuntu)
Importance: Undecided
Status: New
--
dist-upgrade fails if /tmp is non-executable (mounted as noexec)
https://bugs.launchpad.net/bugs/219518
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs