package "curlftpfs"
I ran it with the following error.
----Begin output of apt-get-q-y install curlftpfs=0.9.2-5ubuntu1----
STDOUT:
STDERR:E:dpkg is aborted.You must run 'sudodpkg --configure-a' manually to fix the problem.
---- End output of apt-get-q-y install curlftpfs = 0.9.2-5ubuntu1 ----
Of course, I can log in to Ubuntu and execute the appropriate command, but what should I do when I do that via Chef
?
Simply
execute "dpkg --configure-a"
package "curlftpfs"
Is it better to say that It's a little uncomfortable to do it unconditionally every time, so please let me know if there's a better way.
chef apt
The question is why dpkg --configure-a
is required.Something bad should have happened to the installation you were running before.
dpkg--audit
may be found.
Regardless of the reason, if the installation is successful, why don't you just do it every time?
© 2024 OneMinuteCode. All rights reserved.