Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Night's Watch
-
2
-
NW - 2021-02-03
-
Needs Assessment
-
Enhancement
-
-
Needs Assessment
Description
Puppet Version: 6.19
Puppet Server Version: n/a
OS Name/Version: Debian/Ubuntu
PUP-6631 indirectly broke the ability to manage local packages with the apt provider. This case appears to be supported by apt, so we should aim to fix this regression.
Desired Behavior:
Applying a resource like the following should work:
package { '/path/to/package.deb':
|
ensure => installed,
|
}
|
Actual Behavior:
Applying the above resource results in the package being installed, but errors on the execution of apt-mark, marking the run as failed:
Could not evaluate: Execution of '/usr/bin/apt-mark manual /path/to/package.deb' returned 100: E: Unable to locate package /path/to/package.deb
|
Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.