Failed install of autofs on lucid - cannot access NFS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autofs5 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: autofs5
Hi all,
I'm having a major problem following my upgrade to 10.04 from 9.10: the package autofs failed to install, giving this message (replicated via apt-get upgrade):
The following packages will be upgraded:
autofs
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/18.1kB of archives.
After this operation, 508kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 579537 files and directories currently installed.)
Preparing to replace autofs 4.1.4+debian-
dpkg: warning: old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: error processing /var/cache/
there is no script in the new version of the package - giving up
update-rc.d: warning: /etc/init.d/autofs missing LSB information
update-rc.d: see <http://
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
** In case it's of help, this is what I get when I try to restart autofs:
/etc/init.d/autofs restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service autofs restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart autofs
start: Job failed to start
*** Finally, my auto.master file is as follows:
more /etc/auto.master
# $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(8).
#+auto.master
/var/autofs/misc /etc/auto.misc
/nfs /etc/autofs/nfs rw,intr,
/nfs/cxc/h6/devans /etc/auto.sshfs uid=10410,
Any help greatly appreciated!!
Can you try removing the deb and retrying?
thanks
chuck