maier / vagrant-alpine

Vagrant plugin for Alpine Linux Guest
MIT License
137 stars 10 forks source link

NFS Mount fails to install client #11

Closed lcacciagioni closed 8 years ago

lcacciagioni commented 8 years ago

I'm having the following issue:

==> default: Installing NFS client...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

apk add nfs-utils

Stdout from the command:

(1/13) Installing krb5-conf (1.0-r1)
(2/13) Installing keyutils-libs (1.5.9-r1)
(3/13) Installing libverto (0.2.5-r0)
(4/13) Installing krb5-libs (1.14-r0)
ERROR: krb5-libs-1.14-r0: package mentioned in index not found (try 'apk update')
(5/13) Installing libtirpc (0.3.2-r1)
(6/13) Installing rpcbind (0.2.3-r1)
Executing rpcbind-0.2.3-r1.pre-install
(7/13) Installing libattr (2.4.47-r4)
(8/13) Installing libcap (2.24-r1)
(9/13) Installing libevent (2.0.22-r0)
(10/13) Installing libmount (2.27.1-r0)
(11/13) Installing libnfsidmap (0.25-r1)
(12/13) Installing sqlite-libs (3.9.2-r0)
(13/13) Installing nfs-utils (1.3.3-r1)
Executing busybox-1.24.1-r7.trigger
1 errors; 279 MiB in 59 packages

Stderr from the command:

This is quite easy to solve with:

vagrant ssh -c "apk --update upgrade" && vagrant reload --provision

I think that if you add only the update && upgrade before installing the nfs client it will solve the issue.