Jira (PUP-10854) apt provider does not work with local packages

23 views
Skip to first unread message

Gabriel Nagy (Jira)

unread,
Jan 14, 2021, 8:18:04 AM1/14/21
to puppe...@googlegroups.com
Gabriel Nagy created an issue
 
Puppet / Bug PUP-10854
apt provider does not work with local packages
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2021/01/14 5:17 AM
Priority: Normal Normal
Reporter: Gabriel Nagy

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Gabriel Nagy (Jira)

unread,
Jan 14, 2021, 8:21:03 AM1/14/21
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Jan 19, 2021, 10:51:03 AM1/19/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
 
Change By: Mihai Buzgau
Sprint: ready for triage NW - 2021-02-03

Mihai Buzgau (Jira)

unread,
Jan 20, 2021, 4:30:03 AM1/20/21
to puppe...@googlegroups.com

Ciprian Badescu (Jira)

unread,
Jan 26, 2021, 6:42:03 AM1/26/21
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Jan 28, 2021, 5:50:05 PM1/28/21
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 6.21.0
Fix Version/s: PUP 7.4.0

Ciprian Badescu (Jira)

unread,
Jan 29, 2021, 9:28:04 AM1/29/21
to puppe...@googlegroups.com
Ciprian Badescu updated an issue
Change By: Ciprian Badescu
Release Notes: Enhancement
Release Notes Summary: after this commit apt package provider allows you to install packages from local file using source parameter:
```
package { 'helloworld':
    source => '/tmp/helloworld_1.0-1.deb'
    ensure => installed,
}
```

Claire Cadman (Jira)

unread,
Feb 5, 2021, 3:47:03 AM2/5/21
to puppe...@googlegroups.com
Claire Cadman updated an issue
Change By: Claire Cadman
Labels: doc_reviewed

Claire Cadman (Jira)

unread,
Feb 5, 2021, 4:13:04 AM2/5/21
to puppe...@googlegroups.com
Claire Cadman updated an issue
Change By: Claire Cadman
Labels: doc_reviewed docs-reviewed

Claire Cadman (Jira)

unread,
Feb 5, 2021, 4:13:04 AM2/5/21
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages