Bug 817914
Summary: | yum fails list repo and install packages from repo that has i18n character in its id | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
Component: | user-experience | Assignee: | Sayli Karmarkar <skarmark> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.1.0 | CC: | cperry, jason.dobies |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-25 14:15:22 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: |
Description
Preethi Thomas
2012-05-01 19:13:08 UTC
We are not going to allow multi-byte characters in repo ids anymore as yum does not support them. Added migrate script to let the users know of any existing repos with multi-byte ids. commit 631b46a068857ca2b659fc114a7c1943670ce483 Author: Sayli Karmarkar <skarmark> Date: Wed May 2 09:49:39 2012 -0700 817914 - adding restriction on repo id as yum does not support multibyte characters inside .repo file in repo title, this fix also contains migrate script to let u $ pulp-admin repo create --id Brasília --feed http://spacewalk.redhat.com/yum/1.6-client/Fedora/16/x86_64/ error: operation failed: PulpValidationError: Given ID is invalid. ID may contain numbers(0-9), upper and lower case letters(A-Z, a-z), hyphens(-), underscore(_) and periods(.) $ sudo pulp-migrate removing persisted tasks ID for repositories [Brasília] contains characters which are not supported by Yum as a repository title in a '.repo' file. Because of this, you may see an error when installing a package from these repositories on a consumer. You can either manually update consumer's .repo file to update title, or delete and create a new repository that follows new ID restriction. Repository ID may now contain only numbers(0-9), upper and lower case letters(A-Z, a-z), hyphens(-), underscore(_) and periods(.) database migration to version 41 complete Fixed in build 1.1.7. [root@pulp-v1-server ~]# rpm -q pulp pulp-1.1.7-1.el6.noarch [root@pulp-v1-server ~]# [root@pulp-v1-1-server ~]# pulp-admin -u admin -p admin repo create --id Brasília --feed http://repos.fedorapeople.org/repos/pulp/pulp/v1/testing/fedora-16/x86_64/ error: operation failed: PulpValidationError: Given ID is invalid. ID may contain numbers(0-9), upper and lower case letters(A-Z, a-z), hyphens(-), underscore(_) and periods(.) [root@pulp-v1-1-server ~]# [root@pulp-v1-server ~]# pulp-migrate removing persisted tasks ID for repositories ['Bras\xc3\xadlia'] contains characters which are not supported by Yum as a repository title in a '.repo' file. Because of this, you may see an error when installing a package from these repositories on a consumer. You can either manually update consumer's .repo file to update title, or delete and create a new repository that follows new ID restriction. Repository ID may now contain only numbers(0-9), upper and lower case letters(A-Z, a-z), hyphens(-), underscore(_) and periods(.) database migration to version 41 complete Pulp v1.1 Release |