/Error downloading packages://
// python-rhsm-1.13.8-1.el7.centos.x86_64: [Errno 256] No more
mirrors to try.//
//
//error: Failed dependencies://
// subscription-manager is needed by
katello-ca-consumer-xxx.xxx.xxx-1.0-1.noarch
/
I currently only have our own local Centos repo and the subscription
manager repo installed on the host and the package can be downloaded
fine with wget:
/wget
http://///xxx.xxx.xxx//pulp/repos/////TEST///Library/custom/subscription-manager/subscription-manager-7_x86_64/python-rhsm-1.13.8-1.el7.centos.x86_64.rpm
/
/--2014-12-17 14:10:57--
http://///xxx.xxx.xxx//pulp/repos/////TEST///Library/custom/subscription-manager/subscription-manager-7_x86_64/python-rhsm-1.13.8-1.el7.centos.x86_64.rpm/
/Resolving deployen.netbulae.mgmt (///xxx.xxx.xxx/)...
//xxx.xxx.xxx/
/Connecting to deployen.netbulae.mgmt
(///xxx.xxx.xxx/)|///xxx.xxx.xxx/|:80... connected./
/HTTP request sent, awaiting response... 200 OK/
/Length: 114984 (112K) [application/x-rpm]/
/Saving to: ‘python-rhsm-1.13.8-1.el7.centos.x86_64.rpm’/
/100%[====================================================================================================================================================>]
114,984 --.-K/s in 0.002s /
/2014-12-17 14:10:57 (47.2 MB/s) -
‘python-rhsm-1.13.8-1.el7.centos.x86_64.rpm’ saved [114984/114984]/
/cat /etc/yum.repos.d/TEST-Centos.repo
[///TEST/-Centos]
name=///TEST/ Centos repo
baseurl=http://////xxx.xxx.xxx///pulp/repos////TEST//Library/custom/Centos/7osx86_64
enabled=1
gpgcheck=0
cat /etc/yum.repos.d/sub-man.repo /
/[subscription-manager]/
/name=An open source entitlement management system./
/baseurl=http://///xxx.xxx.xxx//pulp/repos////TEST//Library/custom/subscription-manager/subscription-manager-7_x86_64/
/enabled=1/
/gpgcheck=0/
/Resolving Dependencies//
//--> Running transaction check//
//---> Package subscription-manager.x86_64 0:1.13.12-1.el7.centos
will be installed//
//--> Processing Dependency: python-rhsm >= 1.13.5 for package:
subscription-manager-1.13.12-1.el7.centos.x86_64//
//--> Processing Dependency: usermode for package:
subscription-manager-1.13.12-1.el7.centos.x86_64//
//--> Processing Dependency: python-ethtool for package:
subscription-manager-1.13.12-1.el7.centos.x86_64//
//--> Processing Dependency: python-dmidecode for package:
subscription-manager-1.13.12-1.el7.centos.x86_64//
//--> Processing Dependency: python-dateutil for package:
subscription-manager-1.13.12-1.el7.centos.x86_64//
//--> Processing Dependency: pygobject2 for package:
subscription-manager-1.13.12-1.el7.centos.x86_64//
//--> Running transaction check//
//---> Package pygobject2.x86_64 0:2.28.6-11.el7 will be installed//
//---> Package python-dateutil.noarch 0:1.5-7.el7 will be installed//
//---> Package python-dmidecode.x86_64 0:3.10.13-11.el7 will be
installed//
//--> Processing Dependency: libxml2-python for package:
python-dmidecode-3.10.13-11.el7.x86_64//
//--> Processing Dependency: libxml2mod.so()(64bit) for package:
python-dmidecode-3.10.13-11.el7.x86_64//
//---> Package python-ethtool.x86_64 0:0.8-5.el7 will be installed//
//--> Processing Dependency: libnl.so.1()(64bit) for package:
python-ethtool-0.8-5.el7.x86_64//
//---> Package python-rhsm.x86_64 0:1.13.8-1.el7.centos will be
installed//
//--> Processing Dependency: m2crypto for package:
python-rhsm-1.13.8-1.el7.centos.x86_64//
//---> Package usermode.x86_64 0:1.111-5.el7 will be installed//
//--> Running transaction check//
//---> Package libnl.x86_64 0:1.1.4-3.el7 will be installed//
//---> Package libxml2-python.x86_64 0:2.9.1-5.el7 will be installed//
//---> Package m2crypto.x86_64 0:0.21.1-15.el7 will be installed//
//--> Finished Dependency Resolution//
//
//Dependencies Resolved//
//
//================================================================================//
// Package Arch Version
Repository Size//
//================================================================================//
//Installing://
// subscription-manager x86_64 1.13.12-1.el7.centos
subscription-manager 784 k//
//Installing for dependencies://
// libnl x86_64 1.1.4-3.el7
TEST-Centos 128 k//
// libxml2-python x86_64 2.9.1-5.el7
TEST-Centos 244 k//
// m2crypto x86_64 0.21.1-15.el7
TEST-Centos 428 k//
// pygobject2 x86_64 2.28.6-11.el7
TEST-Centos 226 k//
// python-dateutil noarch 1.5-7.el7
TEST-Centos 85 k//
// python-dmidecode x86_64 3.10.13-11.el7
TEST-Centos 82 k//
// python-ethtool x86_64 0.8-5.el7
TEST-Centos 33 k//
// python-rhsm x86_64 1.13.8-1.el7.centos
subscription-manager 112 k//
// usermode x86_64 1.111-5.el7
TEST-Centos 193 k//
//
//Transaction Summary//
//================================================================================//
//Install 1 Package (+9 Dependent packages)//
//
//Total download size: 2.3 M//
//Installed size: 9.5 M//
//Downloading packages://
//
//
//Error downloading packages://
// python-rhsm-1.13.8-1.el7.centos.x86_64: [Errno 256] No more
mirrors to try.//
//
//error: Failed dependencies://
// subscription-manager is needed by
katello-ca-consumer-xxx.xxx.xxx-1.0-1.noarch/
> Hi,
>
> Sorry for all the posts, but I have some time for testing today.
>
> When trying to install subscription manager from our local
> subscribtion-manager repo that syncs with
> https://repos.fedorapeople.org/repos/candlepin/subscription-manager/epel-7/x86_64/,
> I get the following error:
>
> /Error downloading packages://
> // python-rhsm-1.13.8-1.el7.centos.x86_64: [Errno 256] No more
> mirrors to try.//
> //
> //error: Failed dependencies://
> // subscription-manager is needed by
> katello-ca-consumer-xxx.xxx.xxx-1.0-1.noarch
> /
Does a yum clean all help? I've seen similar errors when something is
odd with the yum cache, especially if it's not a network connectivity
problem.
···
On Wed, Dec 17, 2014 at 02:21:39PM +0100, Jorick Astrego wrote:
I currently only have our own local Centos repo and the subscription
manager repo installed on the host and the package can be downloaded
fine with wget:
/wget
http://///xxx.xxx.xxx//pulp/repos/////TEST///Library/custom/subscription-manager/subscription-manager-7_x86_64/python-rhsm-1.13.8-1.el7.centos.x86_64.rpm
/
/--2014-12-17 14:10:57--
http://///xxx.xxx.xxx//pulp/repos/////TEST///Library/custom/subscription-manager/subscription-manager-7_x86_64/python-rhsm-1.13.8-1.el7.centos.x86_64.rpm/
/Resolving deployen.netbulae.mgmt (///xxx.xxx.xxx/)...
//xxx.xxx.xxx/
/Connecting to deployen.netbulae.mgmt
(///xxx.xxx.xxx/)|///xxx.xxx.xxx/|:80... connected./
/HTTP request sent, awaiting response... 200 OK/
/Length: 114984 (112K) [application/x-rpm]/
/Saving to: ‘python-rhsm-1.13.8-1.el7.centos.x86_64.rpm’/
/100%[====================================================================================================================================================>]
114,984 --.-K/s in 0.002s /
/2014-12-17 14:10:57 (47.2 MB/s) -
‘python-rhsm-1.13.8-1.el7.centos.x86_64.rpm’ saved [114984/114984]/
/cat /etc/yum.repos.d/TEST-Centos.repo
[///TEST/-Centos]
name=///TEST/ Centos repo
baseurl=http://////xxx.xxx.xxx///pulp/repos////TEST//Library/custom/Centos/7osx86_64
enabled=1
gpgcheck=0
cat /etc/yum.repos.d/sub-man.repo /
/[subscription-manager]/
/name=An open source entitlement management system./
/baseurl=http://///xxx.xxx.xxx//pulp/repos////TEST//Library/custom/subscription-manager/subscription-manager-7_x86_64/
/enabled=1/
/gpgcheck=0/
/Resolving Dependencies//
//--> Running transaction check//
//---> Package subscription-manager.x86_64 0:1.13.12-1.el7.centos
will be installed//
//--> Processing Dependency: python-rhsm >= 1.13.5 for package:
subscription-manager-1.13.12-1.el7.centos.x86_64//
//--> Processing Dependency: usermode for package:
subscription-manager-1.13.12-1.el7.centos.x86_64//
//--> Processing Dependency: python-ethtool for package:
subscription-manager-1.13.12-1.el7.centos.x86_64//
//--> Processing Dependency: python-dmidecode for package:
subscription-manager-1.13.12-1.el7.centos.x86_64//
//--> Processing Dependency: python-dateutil for package:
subscription-manager-1.13.12-1.el7.centos.x86_64//
//--> Processing Dependency: pygobject2 for package:
subscription-manager-1.13.12-1.el7.centos.x86_64//
//--> Running transaction check//
//---> Package pygobject2.x86_64 0:2.28.6-11.el7 will be installed//
//---> Package python-dateutil.noarch 0:1.5-7.el7 will be installed//
//---> Package python-dmidecode.x86_64 0:3.10.13-11.el7 will be
installed//
//--> Processing Dependency: libxml2-python for package:
python-dmidecode-3.10.13-11.el7.x86_64//
//--> Processing Dependency: libxml2mod.so()(64bit) for package:
python-dmidecode-3.10.13-11.el7.x86_64//
//---> Package python-ethtool.x86_64 0:0.8-5.el7 will be installed//
//--> Processing Dependency: libnl.so.1()(64bit) for package:
python-ethtool-0.8-5.el7.x86_64//
//---> Package python-rhsm.x86_64 0:1.13.8-1.el7.centos will be
installed//
//--> Processing Dependency: m2crypto for package:
python-rhsm-1.13.8-1.el7.centos.x86_64//
//---> Package usermode.x86_64 0:1.111-5.el7 will be installed//
//--> Running transaction check//
//---> Package libnl.x86_64 0:1.1.4-3.el7 will be installed//
//---> Package libxml2-python.x86_64 0:2.9.1-5.el7 will be installed//
//---> Package m2crypto.x86_64 0:0.21.1-15.el7 will be installed//
//--> Finished Dependency Resolution//
//
//Dependencies Resolved//
//
//================================================================================//
// Package Arch Version
Repository Size//
//================================================================================//
//Installing://
// subscription-manager x86_64 1.13.12-1.el7.centos
subscription-manager 784 k//
//Installing for dependencies://
// libnl x86_64 1.1.4-3.el7
TEST-Centos 128 k//
// libxml2-python x86_64 2.9.1-5.el7
TEST-Centos 244 k//
// m2crypto x86_64 0.21.1-15.el7
TEST-Centos 428 k//
// pygobject2 x86_64 2.28.6-11.el7
TEST-Centos 226 k//
// python-dateutil noarch 1.5-7.el7
TEST-Centos 85 k//
// python-dmidecode x86_64 3.10.13-11.el7
TEST-Centos 82 k//
// python-ethtool x86_64 0.8-5.el7
TEST-Centos 33 k//
// python-rhsm x86_64 1.13.8-1.el7.centos
subscription-manager 112 k//
// usermode x86_64 1.111-5.el7
TEST-Centos 193 k//
//
//Transaction Summary//
//================================================================================//
//Install 1 Package (+9 Dependent packages)//
//
//Total download size: 2.3 M//
//Installed size: 9.5 M//
//Downloading packages://
//
//
//Error downloading packages://
// python-rhsm-1.13.8-1.el7.centos.x86_64: [Errno 256] No more
mirrors to try.//
//
//error: Failed dependencies://
// subscription-manager is needed by
katello-ca-consumer-xxx.xxx.xxx-1.0-1.noarch/
Red Hat GmbH | http://de.redhat.com/ | Sitz: Grasbrunn
Handelsregister: Amtsgericht München, HRB 153243
Geschäftsführer: Charles Cachera, Michael Cunningham,
Michael O’Neill, Charles Peters
I had this same error earlier this week. I noticed my local repo had more packages than were in the upstream repo, so I clicked on the "manage" button for the repo and deleted all the packages. Then I resynced it. After this (and republishing some content-views), it worked for me.
Strange that it had duplicate python-rhsm packages, so there must be
some bug hiding somewhere
Met vriendelijke groet, With kind regards,
Jorick Astrego
Netbulae Virtualization Experts
···
On 12/18/2014 10:55 PM, Garrett DeMarco wrote:
> I had this same error earlier this week. I noticed my local repo had more packages than were in the upstream repo, so I clicked on the "manage" button for the repo and deleted all the packages. Then I resynced it. After this (and republishing some content-views), it worked for me.
>
----------------
>
>> I had this same error earlier this week. I noticed my local repo had more packages than were in the upstream repo, so I clicked on the "manage" button for the repo and deleted all the packages. Then I resynced it. After this (and republishing some content-views), it worked for me.
>>
> Ah that was it, thanks a lot!
>
> Strange that it had duplicate python-rhsm packages, so there must be
> some bug hiding somewhere
Looks like you got bit by this pulp bug: https://bugzilla.redhat.com/show_bug.cgi?id=1132659
-Justin
···
On 12/19/2014 06:19 AM, Jorick Astrego wrote:
> On 12/18/2014 10:55 PM, Garrett DeMarco wrote:
>
>
>
>
>
> Met vriendelijke groet, With kind regards,
>
> Jorick Astrego*
>
> Netbulae Virtualization Experts *
> ------------------------------------------------------------------------
> Tel: 053 20 30 270 info@netbulae.eu Staalsteden 4-3A KvK 08198180
> Fax: 053 20 30 271 www.netbulae.eu 7547 TA Enschede BTW NL821234584B01
>
>
> ------------------------------------------------------------------------
>
> --
> You received this message because you are subscribed to the Google
> Groups "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to foreman-users+unsubscribe@googlegroups.com
> .
> To post to this group, send email to foreman-users@googlegroups.com
> .
> Visit this group at http://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.