Tag Info

New answers tagged

1

The error you are getting indicates that ruby is not in the sudo $PATH. TO get around this, you either need to export your environment correctly: sudo -E ruby Or, just use the full path. Run type ruby as your regular user, and use that with sudo. For example: $ type ruby ruby is /usr/bin/ruby $ sudo /usr/bin/ruby


3

The unattended-upgrades package is the standard way to automatically apply important bug fixes and security patches in Ubuntu. I recommend installing this on every Ubuntu system. sudo apt-get update && sudo apt-get install unattended-upgrades You don't need to create your own cron job. The package installs one for you. You can edit the default ...


0

I rebooted the instance; the problem went away. Go figure...


1

Ok I found the answer. When running on windows client the first time you run juju bootstrap it creates an environments folder, which contains the .jenv file. What this means if you later change the .yaml file the changes may not be copied over into the .jenv file. So if having trouble you must delete the .jenv/environments folder after each change to the ...


0

This happens when you have multiple APT/DPKG instances running at the same time. If you run something that blocks apt-get like aptitude in GUI mode, and type sudo /etc/cron.daily/apt eventually it will fail with the same message.



Top 50 recent answers are included