Thread: Missing python-argparse package on 9.4
When trying to install barman on a fresh CentOS6, only with 9.4 repo, it complains about not having python-argparse and fails to install: # yum install barman Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.dcarsat.com.ar * extras: mirrors.dcarsat.com.ar * updates: mirrors.dcarsat.com.ar Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package barman.noarch 0:1.3.2-1.rhel6 will be installed --> Processing Dependency: python-argh >= 0.21.2 for package: barman-1.3.2-1.rhel6.noarch --> Processing Dependency: python-dateutil for package: barman-1.3.2-1.rhel6.noarch --> Processing Dependency: python-argcomplete for package: barman-1.3.2-1.rhel6.noarch --> Running transaction check ---> Package python-argcomplete.noarch 0:0.3.7-1.rhel6 will be installed --> Processing Dependency: python-argparse for package: python-argcomplete-0.3.7-1.rhel6.noarch ---> Package python-argh.noarch 0:0.23.0-1.rhel6 will be installed --> Processing Dependency: python-argparse for package: python-argh-0.23.0-1.rhel6.noarch ---> Package python-dateutil.noarch 0:1.4.1-6.el6 will be installed --> Finished Dependency Resolution Error: Package: python-argcomplete-0.3.7-1.rhel6.noarch (pgdg94) Requires: python-argparse Error: Package: python-argh-0.23.0-1.rhel6.noarch (pgdg94) Requires: python-argparse You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Regards, -- Martín Marqués http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
Hi, On Wed, 2014-06-18 at 14:05 -0300, Martín Marqués wrote: > When trying to install barman on a fresh CentOS6, only with 9.4 repo, > it complains about not having python-argparse and fails to install: I think we should officially start saying that PGDG repo depends on EPEL... Regards, -- Devrim GÜNDÜZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
Attachment
El 18/06/14 14:30, Devrim Gündüz escribió: > > Hi, > > On Wed, 2014-06-18 at 14:05 -0300, Martín Marqués wrote: >> When trying to install barman on a fresh CentOS6, only with 9.4 >> repo, it complains about not having python-argparse and fails to >> install: > > I think we should officially start saying that PGDG repo depends > on EPEL... Thanks. Missed that one. It's a new install where I'm testing, so didn't get to the part about installing EPEL (which I have elsewhere, reason why yum install barman doesn't fail). -- Martín Marqués http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
El 18/06/14 14:30, Devrim Gündüz escribió: > > Hi, > > On Wed, 2014-06-18 at 14:05 -0300, Martín Marqués wrote: >> When trying to install barman on a fresh CentOS6, only with 9.4 >> repo, it complains about not having python-argparse and fails to >> install: > > I think we should officially start saying that PGDG repo depends on > EPEL... How about adding a dependency in pgdg-redhat94 package so that epel-release-6 is required? That would assure that it gets installed. -- Martín Marqués http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
2014-06-18 15:14 GMT-03:00 Martín Marqués <martin@2ndquadrant.com>: > El 18/06/14 14:30, Devrim Gündüz escribió: >> >> Hi, >> >> On Wed, 2014-06-18 at 14:05 -0300, Martín Marqués wrote: >>> When trying to install barman on a fresh CentOS6, only with 9.4 >>> repo, it complains about not having python-argparse and fails to >>> install: >> >> I think we should officially start saying that PGDG repo depends on >> EPEL... > > How about adding a dependency in pgdg-redhat94 package so that > epel-release-6 is required? > > That would assure that it gets installed. The drawback is that you'd need to add the epel-release-6 package to PGDG repo so it can get installed. :( -- Martín Marqués http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
Hi, On Wed, 2014-06-18 at 14:05 -0300, Martín Marqués wrote: > When trying to install barman on a fresh CentOS6, only with 9.4 repo, > it complains about not having python-argparse and fails to install: After thinking for a while (3 weeks ;) ), I decided to add argparse to repository. We already maintain two similar packages in there. Since argparse is included in Python 2.7+, we will only maintain this package in RHEL 6. Packages are on their way now. Regards, -- Devrim GÜNDÜZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
Attachment
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/10/2014 08:07 PM, Devrim Gündüz wrote: > > Hi, > > On Wed, 2014-06-18 at 14:05 -0300, Martín Marqués wrote: >> When trying to install barman on a fresh CentOS6, only with 9.4 >> repo, it complains about not having python-argparse and fails to >> install: > > After thinking for a while (3 weeks ;) ), I decided to add argparse > to repository. We already maintain two similar packages in there. > Since argparse is included in Python 2.7+, we will only maintain > this package in RHEL 6. > > Packages are on their way now. Will that cause any issues for people with EPEL enabled who're using python-argparse from there? http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/python-argparse.html (I increasingly think PGDG for RHEL should just depend on EPEL). - -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTw0NHAAoJELBXNkqjr+S2ip4IAJDjAnxCDxbEYs+fpbPdHBrj rQT4d8JU2RVS7gShMDOZkeo/UnJGNIEUgwgtcF2cdmFeUag5xs/nzfw/ff1nPn5B TeU1xSJUsfVCi5DX87kPkwFsu2YENZs0NqzOtMCdeDCbQSL5AQOhl7VSsnYa58db n1vK4Kq4U3RPatU8sIc0MWO53a/ty9QrRyxStTcf1++ZPvykjgpGUFWuxIbpLjtx 7z0WCPUtmdAmPL+g1Ee5EKBZsN3zSmQB9+6vA+/e+6EIXH1eQiIpNiWv2yl1Gx67 OC5FtKpwHgaU403G3xKwRPap80rixUwXPDNbsVR9IxfWA0ZaMzl8oaLOMVbQH5o= =7dr/ -----END PGP SIGNATURE-----
Hi, On Mon, 2014-07-14 at 10:41 +0800, Craig Ringer wrote: > Will that cause any issues for people with EPEL enabled who're using > python-argparse from there? > > http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/python-argparse.html I don't think so -- I am using the same spec file. If both repos are enabled, yum will pick it from one of them (IIRC it is EPEL, because its name < our name :) ) > (I increasingly think PGDG for RHEL should just depend on EPEL). I agree, but given that I am currently having issues with EPEL 7, I don't want to declare it until EPEK 7 becomes stable. Regards, -- Devrim GÜNDÜZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR