Bug 1251949
| Summary: | spacecmd problems with "++" in package Name (ERROR: multiple repeat) | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Klaas Demter <klaas> |
| Component: | Server | Assignee: | Ondrej Gajdusek <ogajduse> |
| Status: | CLOSED WONTFIX | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.3 | CC: | jdobes, ogajduse, tlestach |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-10 10:11:03 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1484117 | ||
|
Description
Klaas Demter
2015-08-10 11:56:03 UTC
There is probably some double escaping in code. # spacecmd softwarechannel_removepackages channel gcc-c\\+\\+-4.4.7-4.el6.x86_64 This should work. repaired in commit f1d48f0702c010eca967d727eda3887d11270745 in spacewalk/master This MULTILPE REPEAT error has been raised in due to that the function expects regexes as input. Actually here is no way to fix it by logical way. User must escape the regexp himself as in many tools which are using regexps. Reverted in spacewalk.git 71aff902e6464d94dc7775c634a2139c156c945b. This BZ closed some time during 2.5, 2.6 or 2.7. Adding to 2.7 tracking bug. [root@sputnik ~]# spacecmd softwarechannel_removepackages tml-channel 'gcc-c\\+\\+-4.8.2-16.el7.x86_64' INFO: Connected to https://sputnik.brq.redhat.com/rpc/api as tlestach Packages -------- gcc-c++-4.8.2-16.el7.x86_64 Remove these packages [y/N]: y [root@sputnik ~]# |