[Bug 376948] Re: update-manager wrongly requires the presence of /home
Launchpad Bug Tracker
376948 at bugs.launchpad.net
Wed Feb 15 04:17:51 UTC 2012
[Expired for update-manager (Ubuntu) because there has been no activity
for 60 days.]
** Changed in: update-manager (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/376948
Title:
update-manager wrongly requires the presence of /home
Status in “update-manager” package in Ubuntu:
Expired
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