Project

General

Profile

Bug #8722

foreman_packages fails on Debian when "foreman" files are in pwd

Added by Dominic Cleal over 7 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Packaging
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

From a Debian system's foreman-debug run, which was run via foreman-bats:

COMMAND> rpm -qa '*foreman*' || dpkg -l *foreman* | sort

/usr/sbin/foreman-debug: line 70: rpm: command not found
dpkg-query: no packages found matching foreman-debug

The dpkg argument needs quoting like the rpm one.

Associated revisions

Revision 72056298 (diff)
Added by Dominic Cleal over 7 years ago

fixes #8722 - quote dpkg wildcard argument to avoid matching files

History

#1 Updated by The Foreman Bot over 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2021 added
  • Pull request deleted ()

#2 Updated by Dominic Cleal over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Dominic Cleal over 7 years ago

  • Legacy Backlogs Release (now unused) set to 28

Also available in: Atom PDF