Karmic upgrade silently exits if /home does not exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt | ||
Lucid |
Fix Released
|
Medium
|
Michael Vogt |
Bug Description
Binary package hint: update-manager
I'm using /usr/local/home instead of /home because of my site's autofs policy. I didn't have /home mounted when upgrading, so I didn't have a /home directory. The Karmic installer exited silently, and I found this trace when I ran update-manager from the command line:
extracting 'karmic.tar.gz'
authenticate 'karmic.tar.gz' against 'karmic.tar.gz.gpg'
/var/lib/
super(Connection, self)._
Traceback (most recent call last):
File "/tmp/tmpNvswLM
sys.
File "/tmp/tmpNvswLM
if app.run():
File "/tmp/tmpNvswLM
return self.fullUpgrade()
File "/tmp/tmpNvswLM
if not self.askDistUpg
File "/tmp/tmpNvswLM
if not self._checkFree
File "/tmp/tmpNvswLM
self.
File "/tmp/tmpNvswLM
st = os.statvfs(d)
OSError: [Errno 2] No such file or directory: '/home'
It should display an error message instead of exiting silently.
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelMo
Package: update-manager 1:0.111.9
PackageArchitec
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: update-manager
Uname: Linux 2.6.28-16-server i686
Changed in update-manager (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → lucid-alpha-1 |
assignee: | nobody → Michael Vogt (mvo) |
Changed in update-manager (Ubuntu Lucid): | |
milestone: | lucid-alpha-1 → lucid-alpha-2 |
Changed in update-manager (Ubuntu Lucid): | |
milestone: | lucid-alpha-2 → lucid-alpha-3 |
Changed in update-manager (Ubuntu Lucid): | |
status: | Confirmed → Fix Committed |
This bug was fixed in the package update-manager - 1:0.132.1
---------------
update-manager (1:0.132.1) lucid; urgency=low
* rename update- manager- support- status to ubuntu- support- status release- gtk: lucid-update- upgrade- requirements) DistUpgradeCach e.py: DistUpgradeView Gtk.py: DistUpgradeCont roller. py: Core/MetaReleas e.py:
* check-new-
- add gtk tool for release notification that is designed to be
run from update-notifier (desktop-
* DistUpgrade/
- fix crash in cleanup code
- fix crash when /home is missing (LP: #463506)
- fix component inconsitency detection debug output
* DistUpgrade/
- remove old code that moved to python-apt
* DistUpgrade/
- if universe is not enabled, explain that the demoted packages
will be suggested for removal in the cleanup stage
* UpdateManager/
- fix urlopen() crash on hardy->lucid cdrom upgrades
-- Michael Vogt <email address hidden> Thu, 25 Feb 2010 21:54:57 +0100