update-manager wrongly requires the presence of /home

Bug #376948 reported by tzp
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Expired
Undecided
Unassigned

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.

Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

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
affects: update-manager-core (Ubuntu) → update-manager (Ubuntu)
Revision history for this message
tzp (tzp) wrote :

Well, I'm not using Ubuntu any more. But you could check the referred source code in line DistUpgradeCache.py if it still contains "/home" and fix if so.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for update-manager (Ubuntu) because there has been no activity for 60 days.]

Changed in update-manager (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.