Your log excerpt says:

http://yum.postgresql.org/srpms/9.3/redhat/rhel-6Server-x86_64/

which is the source repository.

I guess you want

http://yum.postgresql.org/9.3/redhat/rhel-6Server-x86_64/

instead for RHEL 6 server binary rpms.

-Gerald


> Well the tech at Red Hat support has told me in short; not our repository, 
> not our problem. Which is what I thought might happen. I?m trying to figure 
> out any other solution to my dilemma.  When asked the folks at PostgreSQL 
> suggested rsync to mirror their repo which will work except for creating 
> frozen images like I do with clone channel. I use that feature when 
> supporting our product so I can be sure test and production machines are at 
> the same patch level. I would really like to support the PostgreSQL 
> repository the same way I support the EPEL repository.
> 
> 
> Regards,
> 
> Darryl
> 
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Darryl Baker
> Sent: Friday, March 13, 2015 9:58 AM
> To: [email protected]
> Subject: Re: [Spacewalk-list] Mirroring the PostgreSQL yum repos
> 
> Waldrinio,
>                 Thank you for your help with this. I first ran into this a 
> month ago and put it aside for other issues. I remember seeing the logs 
> before but only after your reminder. Even though the repository is empty 
> spacewalk-repo-sync does not think there are any files to sync. That is my 
> issue why isn?t populating the repo initially?
> 
> Excerpt from the log file:
> 
> Sync started: Fri Mar 13 09:11:42 2015
> ['/usr/bin/spacewalk-repo-sync', '--channel', 'pgdg93_rhel6_x86_64', 
> '--type', 'yum']
> Repo URL: http://yum.postgresql.org/srpms/9.3/redhat/rhel-6Server-x86_64/
> Packages in repo:               130
> No new packages to sync.
> Repo http://yum.postgresql.org/srpms/9.3/redhat/rhel-6Server-x86_64/ has 0 
> errata.
> Sync completed.
> Total time: 0:00:00
> 
> 
> Regards,
> 
> Darryl
> 
> From: 
> [email protected]<mailto:[email protected]> 
> [mailto:[email protected]] On Behalf Of Waldirio Manh?es 
> Pinheiro
> Sent: Friday, March 13, 2015 9:29 AM
> To: [email protected]<mailto:[email protected]>
> Subject: Re: [Spacewalk-list] Mirroring the PostgreSQL yum repos
> 
> Hello Darryl
> 
> Ok, in fact the command that will sync your repo is not satellite-sync, will 
> be spacewalk-repo-sync and if you configure internally (repo and channel, 
> defining often), this task will be automatically.
> 
> You can check in /var/log/rhn/reposync/*, here will be created log files to 
> all channels using repo (internal or external).
> 
> Take Care
> 
> ______________
> Atenciosamente
> Waldirio
> msn: [email protected]<mailto:[email protected]>
> Skype: waldirio
> Site: www.waldirio.com.br<http://www.waldirio.com.br>
> Blog: blog.waldirio.com.br<http://blog.waldirio.com.br>
> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
> PGP: www.waldirio.com.br/public.html<http://www.waldirio.com.br/public.html>
> 
> On Fri, Mar 13, 2015 at 11:15 AM, Darryl Baker 
> <[email protected]<mailto:[email protected]>> wrote:
> I?m sorry if my first message wasn?t clear I have machines without Internet 
> connectivity that can reach my Satellite server. By creating the local copy 
> of the repo those machines can be updated simply by using yum.
> 
> I have done steps 1-5 as you have listed but the when I do the sync it never 
> copies in any packages.
> 
> Regards,
> 
> Darryl
> 
> From: 
> [email protected]<mailto:[email protected]> 
> [mailto:[email protected]<mailto:[email protected]>]
>  On Behalf Of Waldirio Manh?es Pinheiro
> Sent: Thursday, March 12, 2015 10:43 PM
> To: [email protected]<mailto:[email protected]>
> Subject: Re: [Spacewalk-list] Mirroring the PostgreSQL yum repos
> 
> Hello Darryl,
> 
> Let me do a question, do you would like to configure repository in your RHN 
> Satellite ?!, if yes, you have to do like bellow:
> 
> 1. Create a repo
> 2. Create a channel
> 3. Create a relationship between channel and repository
> 4. Define the sync time (here will be defined the often)
> 5. Download the GPG key and turn available in your environment to your 
> clients (personally I put in /var/www/html/pub/GPG and use a script to 
> collect all keys and install automatically)
> 
> 
> So, at the end of the day, your machines will be connected only in your 
> Satellite and retrieving data from them.
> 
> Really sorry, I read your message but doesn't make sense, you don't need 
> configure your local repo.
> 
> Let me know if the steps above help you.
> 
> Take Care
> 
> ______________
> Atenciosamente
> Waldirio
> msn: [email protected]<mailto:[email protected]>
> Skype: waldirio
> Site: www.waldirio.com.br<http://www.waldirio.com.br>
> Blog: blog.waldirio.com.br<http://blog.waldirio.com.br>
> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
> PGP: www.waldirio.com.br/public.html<http://www.waldirio.com.br/public.html>
> 
> On Thu, Mar 12, 2015 at 7:08 PM, Darryl Baker 
> <[email protected]<mailto:[email protected]>> wrote:
> I hope questions about Red Hat Satellite Server are ok on this list. I am 
> running RHSS 5.6 current patch level.
> 
> I am trying to mirror the PostgreSQL yum repositories for our machine 
> disconnected from the Internet. I configured the channel and repository based 
> on the info in the PostgreSQL supplied yum.repo.d file. My problem is 
> satellite-sync never retrieves any files. I suspect that I am doing the 
> translation from the yum repo definition to the channel and repo definition. 
> Needless to say the I replaced the variables to match my environment, 6Server 
> and x86_64.
> 
> The yum.repo.d file looks like:
> [pgdg93]
> name=PostgreSQL 9.3 $releasever - $basearch
> baseurl=http://yum.postgresql.org/9.3/redhat/rhel-$releasever-$basearch
> enabled=1
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-93
> 
> [pgdg93-source]
> name=PostgreSQL 9.3 $releasever - $basearch - Source
> failovermethod=priority
> baseurl=http://yum.postgresql.org/srpms/9.3/redhat/rhel-$releasever-$basearch
> enabled=0
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-93
> 
> 
> Regards,
> 
> Darryl Baker
> Textura Corporation
> Linux Engineer Application Support
> 1405 Lake Cook Road
> Deerfield, Illinois 60015
> Office Phone - 847-235-8467
> Email ? [email protected]<mailto:[email protected]>
> [cid:05DC2306-1083-4864-A07C-DE5DA45A6302]
> 
> _______________________________________________
> Spacewalk-list mailing list
> [email protected]<mailto:[email protected]>
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> 
> 
> _______________________________________________
> Spacewalk-list mailing list
> [email protected]<mailto:[email protected]>
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> <https://www.redhat.com/archives/spacewalk-list/attachments/20150320/b5cf8b42/attachment.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image001.png
> Type: image/png
> Size: 7456 bytes
> Desc: image001.png
> URL: 
> <https://www.redhat.com/archives/spacewalk-list/attachments/20150320/b5cf8b42/attachment.png>
> 
> ------------------------------
> 
> _______________________________________________
> Spacewalk-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> 
> End of Spacewalk-list Digest, Vol 82, Issue 35
> **********************************************
> 

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to