Issue #1593
closedPulp errata copy not copying all the dependencies
Description
I'm trying to build a repo with specified errata cutover dates, i have a main repo where all the latest packages are published, then i use the errata copy feature like this:
#pulp-admin rpm repo copy errata --recursive --filters='{"issued":{"$lte":"2015-11-01"}}' --from-repo-id=centos-6-latest-i386 --to-repo-id=centos-6-4Q2015-i386
Looks like some dependecies are not being copied, attempting to use this repository with "yum update" gives a lot of missing dependencies due to that these rpm packages have not been copied
Here is an example:
- yum update unixODBC
Loaded plugins: refresh-packagekit, security
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package unixODBC.i686 0:2.2.14-12.el6_3 will be updated
--> Processing Dependency: unixODBC = 2.2.14-12.el6_3 for package: unixODBC-devel-2.2.14-12.el6_3.i686
---> Package unixODBC.i686 0:2.2.14-14.el6 will be an update
--> Finished Dependency Resolution
Error: Package: unixODBC-devel-2.2.14-12.el6_3.i686 (@yum-centos6-latest)
Requires: unixODBC = 2.2.14-12.el6_3
Removing: unixODBC-2.2.14-12.el6_3.i686 (@yum-centos6-latest)
unixODBC = 2.2.14-12.el6_3
Updated By: unixODBC-2.2.14-14.el6.i686 (4Q2015)
unixODBC = 2.2.14-14.el6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
There is no unixODBC-devel-2.2.14-14.el6 package on the repo.
If i use the latest repo it works perfectly:
- yum update unixODBC-2.2.14-14.el6.i686 --enablerepo=yum-centoss6-latest
Loaded plugins: refresh-packagekit, security
yum-centoss6-latest | 1.8 kB 00:00
yum-centos6-latest/primary | 45 MB 00:02
yum-centos6-latest 26450/26450
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package unixODBC.i686 0:2.2.14-12.el6_3 will be updated
--> Processing Dependency: unixODBC = 2.2.14-12.el6_3 for package: unixODBC-devel-2.2.14-12.el6_3.i686
---> Package unixODBC.i686 0:2.2.14-14.el6 will be an update
--> Running transaction check
---> Package unixODBC-devel.i686 0:2.2.14-12.el6_3 will be updated
---> Package unixODBC-devel.i686 0:2.2.14-14.el6 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================================================================
Updating:
unixODBC i686 2.2.14-14.el6 yum-centos6-latest 382 k
Updating for dependencies:
unixODBC-devel i686 2.2.14-14.el6 yum-centos6-latest 53 k
Transaction Summary
======================================================================================================================================================================================================
Upgrade 2 Package(s)
Total download size: 435 k
Is this ok [y/N]: n
Files
Updated by elfarto about 8 years ago
Same issue seems to be described on this post
https://www.mail-archive.com/pulp-list@redhat.com/msg03945.html
Updated by bmbouter almost 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter almost 5 years ago
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.