Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

How to reinstall a package? (Ubuntu 16.04)

$
0
0
I have a package installed with puppet: apt::ppa { 'ppa:thopiekar/cura': ensure => present, } package { 'cura': ensure => latest, require => [ Class['apt::update'], Apt::Ppa['ppa:thopiekar/cura'] ], } The package has stopped working, but I can get it to work if I manually remove it and its dependencies and reinstall: sudo apt remove cura sudo apt autoremove sudo apt install cura How can I get puppet to do this reinstall process on my nodes? I haven't pinpointed the cause of the error, but I know that reinstalling this way fixes it.

Viewing all articles
Browse latest Browse all 6104


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>