Jira (PUP-4068) "puppet resource package" returns nothing is rpm is also install on debian machine

4 views
Skip to first unread message

Laurent Bigonville (JIRA)

unread,
Mar 3, 2015, 5:14:24 AM3/3/15
to puppe...@googlegroups.com
Laurent Bigonville created an issue
 
Puppet / Bug PUP-4068
"puppet resource package" returns nothing is rpm is also install on debian machine
Issue Type: Bug Bug
Affects Versions: PUP 3.7.2
Assignee: Kylo Ginsberg
Components: Types and Providers
Created: 2015/03/03 2:13 AM
Priority: Normal Normal
Reporter: Laurent Bigonville

Hello,

On my debian machine I also have the rpm command installed just to be able to see the contents of .rpm files.

When I'm running "puppet resource package" the command is returning the following error: "Error: Could not run: Failed to list packages". Uninstalling the rpm package fix this issue.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a)
Atlassian logo

Laurent Bigonville (JIRA)

unread,
Mar 3, 2015, 5:21:21 AM3/3/15
to puppe...@googlegroups.com

Rob Browning (JIRA)

unread,
May 15, 2017, 6:42:03 PM5/15/17
to puppe...@googlegroups.com
Rob Browning updated an issue
Change By: Rob Browning
Labels: debian  triage
Team: Agent
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Rob Browning (JIRA)

unread,
May 15, 2017, 6:44:02 PM5/15/17
to puppe...@googlegroups.com

Moses Mendoza (JIRA)

unread,
May 18, 2017, 2:03:40 PM5/18/17
to puppe...@googlegroups.com

Geoff Nichols (JIRA)

unread,
Mar 24, 2018, 8:55:03 PM3/24/18
to puppe...@googlegroups.com
Geoff Nichols updated an issue
Change By: Geoff Nichols
Labels: debian linux type_and_provider
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Geoff Nichols (JIRA)

unread,
Mar 24, 2018, 8:55:03 PM3/24/18
to puppe...@googlegroups.com

Branan Riley (JIRA)

unread,
May 9, 2018, 4:01:04 PM5/9/18
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Labels: debian cli linux triaged type_and_provider

Geoff Nichols (JIRA)

unread,
Mar 20, 2019, 4:09:04 PM3/20/19
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Jun 9, 2021, 7:18:01 PM6/9/21
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-4068
 
Re: "puppet resource package" returns nothing is rpm is also install on debian machine

I can't reproduce this using more recent puppet versions:
 

# facter os.distro
{
  codename => "stretch",
  description => "Debian GNU/Linux 9 (stretch)",
  id => "Debian",
  release => {
    full => "9.0",
    major => "9",
    minor => "0"
  }
}
# dpkg -l rpm
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                         Version             Architecture        Description
+++-============================-===================-===================-=============================================================
ii  rpm                          4.12.0.2+dfsg1-2    amd64               package manager for RPM
# puppet resource package | head
package { 'adduser':
  ensure   => '3.115',
  mark     => 'none',
  provider => 'apt',
}
package { 'apt':
  ensure   => '1.4.6',
  mark     => 'none',
  provider => 'apt',
}

This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages