Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. #!/bin/bash -xe
  2. rm -rf /var/lib/apt/lists/*
  3. apt-get clean
  4. apt-get update
  5. apt-get -y install python-pip
  6. if ! [ ${MountToEfs} = "false" ]; then
  7. ls /var/lib/apt/lists/*
  8. apt-get -y install nfs-common
  9. fi
  10.  
  11. + apt-get -y install nfs-common
  12. Reading package lists...
  13. Building dependency tree...
  14. Reading state information...
  15. The following extra packages will be installed:
  16. keyutils libgssglue1 libnfsidmap2 libtirpc1 rpcbind
  17. Suggested packages:
  18. open-iscsi watchdog
  19. The following NEW packages will be installed:
  20. keyutils libgssglue1 libnfsidmap2 libtirpc1 nfs-common rpcbind
  21. 0 upgraded, 6 newly installed, 0 to remove and 54 not upgraded.
  22. E: Could not open file /var/lib/apt/lists/us-west-2.ec2.archive.ubuntu.com_ubuntu_dists_trusty-updates_main_i18n_Translation-en - open (2: No such file or directory)
  23. E: Could not open file /var/lib/apt/lists/us-west-2.ec2.archive.ubuntu.com_ubuntu_dists_trusty-updates_multiverse_binary-amd64_Packages - open (2: No such file or directory)
  24. 2017-04-23 00:00:56,963 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [100]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement