Mailing List Archive

Package repo at packagecloud.io not showing any packages.
All,

I was just trying to access the new package repo on packagecloud.io and no matter what parameters I give for OS and Arch to the script that generates the varnishcache_varnish5.repo file I am unable to perform a 'yum search' or 'yum install' of the varnish cache packages.

Here is the .repo file:
[varnishcache_varnish5]
name=varnishcache_varnish5
baseurl=https://packagecloud.io/varnishcache/varnish5/ol/6/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish5/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300

[varnishcache_varnish5-source]
name=varnishcache_varnish5-source
baseurl=https://packagecloud.io/varnishcache/varnish5/ol/6/SRPMS
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish5/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300

Visiting https://packagecloud.io/varnishcache/varnish5/ol/6/x86_64 should show some packages correct? But it is not.
I changed it to: https://packagecloud.io/varnishcache/varnish5/el/6/x86_64 - This does not show packages either.

But – packages are listed here: https://packagecloud.io/varnishcache/varnish52 just not in any repo format.

Any help on getting yum to work properly using the varnish cache packages on packagecloud.io?

Eventually I'll want to add this to our spacewalk system to distribute varnish cache to our installations, but obviously cannot do so with this not working.

Thanks.
-Brian.
Re: Package repo at packagecloud.io not showing any packages. [ In reply to ]
Hi Brian,

Oracle Linux is not on the Varnish project's list of supported plattforms,
and we do not publish packages for it. That is why the repo file as you
have configured it doesn't give you any packages. The normal RedHat/Centos
packages might work fine on Oracle Linux, though we do not test that.
Changing your baseurl to this should give you the published RPMs (notice
changing 'ol' to 'el'):

baseurl=https://packagecloud.io/varnishcache/varnish5/el/6/$basearch


> I changed it to: https://packagecloud.io/varnishcache/varnish5/el/6/x86_64 -
> This does not show packages either.
>

Packagecloud does not implement the kind of directory listing you often see
see when a web server is pointed at a directory hierarchy based package
repository, so you will not get a directory listing by browsing the RPM
repository URLs. But the index files that yum reads are answered and it
will work when pointing yum to that URL.

Regards,
Martin Blix Grydeland



--
<http://varnish-software.com> *Martin Blix Grydeland*
Senior Developer | Varnish Software AS
Mobile: +47 992 74 756
We Make Websites Fly!
Re: Package repo at packagecloud.io not showing any packages. [ In reply to ]
Martin,

I understand, and yes normally OL will use EL package without error. I’ll make a change to the .repo file on the system to use el instead of ol and try again, but I was sure I tried this as well. I’ll follow up with the results.

BTW – Is there a web page indicating the supported platforms?

-Brian.


From: Martin Blix Grydeland <martin@varnish-software.com>
Date: Thursday, September 28, 2017 at 5:15 AM
To: Brian Gregg <bdgregg@pitt.edu>
Cc: "varnish-misc@varnish-cache.org" <varnish-misc@varnish-cache.org>
Subject: Re: Package repo at packagecloud.io not showing any packages.

Hi Brian,

Oracle Linux is not on the Varnish project's list of supported plattforms, and we do not publish packages for it. That is why the repo file as you have configured it doesn't give you any packages. The normal RedHat/Centos packages might work fine on Oracle Linux, though we do not test that. Changing your baseurl to this should give you the published RPMs (notice changing 'ol' to 'el'):

baseurl=https://packagecloud.io/varnishcache/varnish5/el/6/$basearch<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpackagecloud.io%2Fvarnishcache%2Fvarnish5%2Fel%2F6%2F%24basearch&data=01%7C01%7Cbdgregg%40pitt.edu%7C9a78588ca85742de267608d506516660%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1&sdata=Jdf8eB8%2FKt%2FNf5sZDilz4wpnjGkRx%2FD8vP9QRT1VHBY%3D&reserved=0>


I changed it to: https://packagecloud.io/varnishcache/varnish5/el/6/x86_64<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpackagecloud.io%2Fvarnishcache%2Fvarnish5%2Fel%2F6%2Fx86_64&data=01%7C01%7Cbdgregg%40pitt.edu%7C9a78588ca85742de267608d506516660%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1&sdata=nU%2BQCCecmzzJN1rXVowef2JRpBWUuaJ8cmvAxH0fIDU%3D&reserved=0> - This does not show packages either.

Packagecloud does not implement the kind of directory listing you often see see when a web server is pointed at a directory hierarchy based package repository, so you will not get a directory listing by browsing the RPM repository URLs. But the index files that yum reads are answered and it will work when pointing yum to that URL.

Regards,
Martin Blix Grydeland



--
[http://www.varnish-software.com/static/media/logo-email.png]<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvarnish-software.com&data=01%7C01%7Cbdgregg%40pitt.edu%7C9a78588ca85742de267608d506516660%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1&sdata=P9PZ8h8cWYaPijCfpXysVpk0gCFvSoT8i6oiwdvZpSM%3D&reserved=0>

Martin Blix Grydeland
Senior Developer | Varnish Software AS
Mobile: +47 992 74 756
We Make Websites Fly!
Re: Package repo at packagecloud.io not showing any packages. [ In reply to ]
On Thu, 28 Sep 2017 at 12:57 Brian D. Gregg <bdgregg@pitt.edu> wrote:

> BTW – Is there a web page indicating the supported platforms?
>
http://varnish-cache.org/releases/index.html

Martin

>
RE: Package repo at packagecloud.io not showing any packages. [ In reply to ]
Martin,

Confirmed that indeed changing the varnishcache_varnish5.repo file to the following did indeed work (change 'ol' to 'el' in the baseurl):

[varnishcache_varnish5]
name=varnishcache_varnish5
baseurl=https://packagecloud.io/varnishcache/varnish5/el/6/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish5/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300

But to also use along with the EPEL repository I needed to add the line 'exclude=varnish*' to the epel.repo file.
If not you may end up with varnish 2.1.5 (currently) from EPEL.

Thanks,
-Brian.

From: Martin Blix Grydeland [mailto:martin@varnish-software.com]
Sent: Thursday, September 28, 2017 7:08 AM
To: Brian D. Gregg <bdgregg@pitt.edu>
Cc: varnish-misc@varnish-cache.org
Subject: Re: Package repo at packagecloud.io not showing any packages.

On Thu, 28 Sep 2017 at 12:57 Brian D. Gregg <bdgregg@pitt.edu<mailto:bdgregg@pitt.edu>> wrote:
BTW – Is there a web page indicating the supported platforms?
http://varnish-cache.org/releases/index.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvarnish-cache.org%2Freleases%2Findex.html&data=01%7C01%7Cbdgregg%40pitt.edu%7C15362fc9fea64841ca8408d506614014%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1&sdata=3nuRAE7BYDJvcrY%2BEKs4LAX40fxZHLRj%2FqcyRZwrldg%3D&reserved=0>

Martin
Re: Package repo at packagecloud.io not showing any packages. [ In reply to ]
That should not be necessary. At least it’s not required for proper
RHEL/CentOS 6 or 7.

As long as the varnish version in the project (packagecloud) repo is newer
than in EPEL, you should get the newest one.
On Thu, 28 Sep 2017 at 21:04, Brian D. Gregg <bdgregg@pitt.edu> wrote:

> Martin,
>
>
>
> Confirmed that indeed changing the varnishcache_varnish5.repo file to the
> following did indeed work (change 'ol' to 'el' in the baseurl):
>
>
>
> [varnishcache_varnish5]
>
> name=varnishcache_varnish5
>
> baseurl=https://packagecloud.io/varnishcache/varnish5/el/6/$basearch
>
> repo_gpgcheck=1
>
> gpgcheck=0
>
> enabled=1
>
> gpgkey=https://packagecloud.io/varnishcache/varnish5/gpgkey
>
> sslverify=1
>
> sslcacert=/etc/pki/tls/certs/ca-bundle.crt
>
> metadata_expire=300
>
>
>
> But to also use along with the EPEL repository I needed to add the line
> 'exclude=varnish*' to the epel.repo file.
>
> If not you may end up with varnish 2.1.5 (currently) from EPEL.
>
>
>
> Thanks,
>
> -Brian.
>
>
>
> *From:* Martin Blix Grydeland [mailto:martin@varnish-software.com]
> *Sent:* Thursday, September 28, 2017 7:08 AM
> *To:* Brian D. Gregg <bdgregg@pitt.edu>
> *Cc:* varnish-misc@varnish-cache.org
>
>
> *Subject:* Re: Package repo at packagecloud.io not showing any packages.
>
>
>
> On Thu, 28 Sep 2017 at 12:57 Brian D. Gregg <bdgregg@pitt.edu> wrote:
>
> BTW – Is there a web page indicating the supported platforms?
>
> http://varnish-cache.org/releases/index.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvarnish-cache.org%2Freleases%2Findex.html&data=01%7C01%7Cbdgregg%40pitt.edu%7C15362fc9fea64841ca8408d506614014%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1&sdata=3nuRAE7BYDJvcrY%2BEKs4LAX40fxZHLRj%2FqcyRZwrldg%3D&reserved=0>
>
>
>
>
> Martin
> _______________________________________________
> varnish-misc mailing list
> varnish-misc@varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

--
Denis Brækhus Senior Engineer | Varnish Software AS
We Make Websites Fly!
www.varnish-software.com