[Bug 376948] Re: update-manager wrongly requires the presence of /home
Walter Garcia-Fontes
walter.garcia at upf.edu
Thu Dec 15 19:06:25 UTC 2011
Sorry that the issue got unattended at the time of report. Please feel
free to reopen by marking the status as "new" if you see this in current
versions of update-manager.
** Changed in: update-manager-core (Ubuntu)
Status: New => Incomplete
** Package changed: update-manager-core (Ubuntu) => update-manager
(Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager-core in Ubuntu.
https://bugs.launchpad.net/bugs/376948
Title:
update-manager wrongly requires the presence of /home
Status in “update-manager” package in Ubuntu:
Incomplete
Bug description:
Binary package hint: update-manager-core
Release: 9.04
apt-cache policy update-manager-core
update-manager-core:
Installed: 1:0.111.9
Candidate: 1:0.111.9
Version table:
*** 1:0.111.9 0
500 http://us.archive.ubuntu.com jaunty-updates/main Packages
100 /var/lib/dpkg/status
1:0.111.7 0
500 http://us.archive.ubuntu.com jaunty/main Packages
When I start update-manager, and press the Install updates button, an error message is shown in in the shell complaining about not finding /home.
The reason is that I have no /home directory, that is mounted only via autofs, but not in this network where my computer was connected.
The solution was to patch /usr/lib/python2.6/dist-
packages/DistUpgrade/DistUpgradeCache.py (which is a symlink to
../../../../share/pyshared/DistUpgrade/DistUpgradeCache.py) like this:
# for d in ["/","/usr","/var","/boot", archivedir, aufs_rw_dir, "/home"]:
for d in ["/","/usr","/var","/boot", archivedir, aufs_rw_dir]:
After that, update worked fine.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/376948/+subscriptions
More information about the foundations-bugs
mailing list