Discussion:
pkg_info -Q fails [OpenBSD 6.3 amd64/virtualbox]
(too old to reply)
Jeffrey Joshua Rollin
2018-04-14 20:08:29 UTC
Permalink
Raw Message
Hi,

I've installed OpenBSD 6.3-release for amd64 on virtualbox, and updated it
with syspatch as of 20:40 UTC. pkg_info -Q seems to be failing.
Specifically, I tried

$ pkg_info -Q mate

...and also as root, to remind myself what the metapackage is [I have a
feeling it's just "mate" anyway] [EDIT: Metapackages? maybe I'm thinking of
FreeBSD]; but:

pkg_info -Q firefox also fails, despite the fact I just successfully
installed Firefox.

The relevant error is as follows:

Redirected to
https://cloudflare.cdn.openbsd/org/pub/OpenBSD/6.3/packages-stable/amd64
Can't locate object method "syslog" via package "OpenBSD::PkgInfo::State"
at /usr/libdata/perl5/OpenBSD/PackageRepository.pm line 302, <$fh> line 3.

Thanks,

Jeff.
Edgar Pettijohn
2018-04-15 02:26:44 UTC
Permalink
Raw Message
Sent from Blue <http://www.bluemail.me/r?b=12687>
Hi, I've installed OpenBSD 6.3-release for amd64 on
virtualbox, and updated it with syspatch as of 20:40 UTC.
pkg_info -Q seems to be failing. Specifically, I tried $
pkg_info -Q mate ...and also as root, to remind myself what
the metapackage is [I have a feeling it's just "mate" anyway]
pkg_info -Q firefox also fails, despite the fact I just
successfully installed Firefox. The relevant error is as
follows: Redirected to
https://cloudflare.cdn.openbsd/org/pub/OpenBSD/6.3/packages-stable/amd64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Your PKG_PATH appears to have a couple of errors.

https://cloudflare.cdn.openbsd.org/pub/OpenBSD/6.3/packages/amd64

and I can't remember but it may need to end with a `/'
Can't locate object method "syslog" via package
"OpenBSD::PkgInfo::State" at
/usr/libdata/perl5/OpenBSD/PackageRepository.pm
<http://PackageRepository.pm> line 302, <$fh> line 3. Thanks,
Jeff.
edgar:7$ pkg_info -Q mate
checkmate-0.21
libmatekbd-1.20.0
libmatemixer-1.20.0
libmateweather-1.20.0
mate-calc-1.20.0
mate-control-center-1.20.0
mate-desktop-1.20.0
mate-icon-theme-1.20.0
mate-media-1.20.0
mate-menus-1.20.0
mate-notification-daemon-1.20.0
mate-panel-1.20.0
mate-power-manager-1.20.0
mate-screensaver-1.20.0
mate-session-manager-1.20.0
mate-settings-daemon-1.20.0
mate-terminal-1.20.0
mate-themes-3.22.15
mate-utils-1.20.0
sslmate-1.5.1p1
tmate-2.2.1p0
I suspect its because
https://cloudflare.cdn.openbsd/org/pub/OpenBSD/6.3/packages-stable/amd64
doesn't exist or is down.
It exists, and is unlikely to be a transient error,
because I tried it several times, and as I said, was able
to download software even though I couldn't query it.
(I subsequently found a YouTube tutorial which listed
most of the packages in your message.)
I will try again, and/or with a different mirror in
the morning.
Jeff
Jeffrey Joshua Rollin
2018-04-15 10:19:50 UTC
Permalink
Raw Message
No, it works fine with pkg_add, as I have repeatedly said, and a few months ago I did have a problem where a trailing slash caused problems with syspatch, which, without any pressure from me, I was informed would be fixed. The issue may simply be one of consistency, but looks more likely to be an error in the pkg_info script.

So, to sum up:

Pkg_add works;
Syspatch works;
Cloudflare was up last time I tried it;
Despite the above, pkg_info -Q does *not* work.

Jeff

⁣Sent from Blue ​
Post by Jeffrey Joshua Rollin
Sent from Blue <http://www.bluemail.me/r?b=12687>
Hi, I've installed OpenBSD 6.3-release for amd64 on
virtualbox, and updated it with syspatch as of 20:40 UTC.
pkg_info -Q seems to be failing. Specifically, I tried $
pkg_info -Q mate ...and also as root, to remind myself what
the metapackage is [I have a feeling it's just "mate" anyway]
pkg_info -Q firefox also fails, despite the fact I just
successfully installed Firefox. The relevant error is as
follows: Redirected to
https://cloudflare.cdn.openbsd/org/pub/OpenBSD/6.3/packages-stable/amd64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Your PKG_PATH appears to have a couple of errors.
https://cloudflare.cdn.openbsd.org/pub/OpenBSD/6.3/packages/amd64
and I can't remember but it may need to end with a `/'
Can't locate object method "syslog" via package
"OpenBSD::PkgInfo::State" at
/usr/libdata/perl5/OpenBSD/PackageRepository.pm
<http://PackageRepository.pm> line 302, <$fh> line 3. Thanks,
Jeff.
edgar:7$ pkg_info -Q mate
checkmate-0.21
libmatekbd-1.20.0
libmatemixer-1.20.0
libmateweather-1.20.0
mate-calc-1.20.0
mate-control-center-1.20.0
mate-desktop-1.20.0
mate-icon-theme-1.20.0
mate-media-1.20.0
mate-menus-1.20.0
mate-notification-daemon-1.20.0
mate-panel-1.20.0
mate-power-manager-1.20.0
mate-screensaver-1.20.0
mate-session-manager-1.20.0
mate-settings-daemon-1.20.0
mate-terminal-1.20.0
mate-themes-3.22.15
mate-utils-1.20.0
sslmate-1.5.1p1
tmate-2.2.1p0
I suspect its because
https://cloudflare.cdn.openbsd/org/pub/OpenBSD/6.3/packages-stable/amd64
doesn't exist or is down.
It exists, and is unlikely to be a transient error,
because I tried it several times, and as I said, was able
to download software even though I couldn't query it.
(I subsequently found a YouTube tutorial which listed
most of the packages in your message.)
I will try again, and/or with a different mirror in
the morning.
Jeff
Juan Francisco Cantero Hurtado
2018-04-15 11:03:07 UTC
Permalink
Raw Message
Post by Jeffrey Joshua Rollin
No, it works fine with pkg_add, as I have repeatedly said, and a few months ago I did have a problem where a trailing slash caused problems with syspatch, which, without any pressure from me, I was informed would be fixed. The issue may simply be one of consistency, but looks more likely to be an error in the pkg_info script.
Pkg_add works;
Syspatch works;
Cloudflare was up last time I tried it;
Despite the above, pkg_info -Q does *not* work.
Try this:

$ su -l root
# echo 'https://fastly.cdn.openbsd.org/pub/OpenBSD/' > /etc/installurl
# unset PKG_PATH
# pkg_info -Q mate

If fastly works, try with cloudflare again. BTW, we don't have a
metapackage for mate.
Post by Jeffrey Joshua Rollin
Jeff
⁣Sent from Blue ​
Post by Jeffrey Joshua Rollin
Sent from Blue <http://www.bluemail.me/r?b=12687>
Hi, I've installed OpenBSD 6.3-release for amd64 on
virtualbox, and updated it with syspatch as of 20:40 UTC.
pkg_info -Q seems to be failing. Specifically, I tried $
pkg_info -Q mate ...and also as root, to remind myself what
the metapackage is [I have a feeling it's just "mate" anyway]
pkg_info -Q firefox also fails, despite the fact I just
successfully installed Firefox. The relevant error is as
follows: Redirected to
https://cloudflare.cdn.openbsd/org/pub/OpenBSD/6.3/packages-stable/amd64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Your PKG_PATH appears to have a couple of errors.
https://cloudflare.cdn.openbsd.org/pub/OpenBSD/6.3/packages/amd64
and I can't remember but it may need to end with a `/'
Can't locate object method "syslog" via package
"OpenBSD::PkgInfo::State" at
/usr/libdata/perl5/OpenBSD/PackageRepository.pm
<http://PackageRepository.pm> line 302, <$fh> line 3. Thanks,
Jeff.
edgar:7$ pkg_info -Q mate
checkmate-0.21
libmatekbd-1.20.0
libmatemixer-1.20.0
libmateweather-1.20.0
mate-calc-1.20.0
mate-control-center-1.20.0
mate-desktop-1.20.0
mate-icon-theme-1.20.0
mate-media-1.20.0
mate-menus-1.20.0
mate-notification-daemon-1.20.0
mate-panel-1.20.0
mate-power-manager-1.20.0
mate-screensaver-1.20.0
mate-session-manager-1.20.0
mate-settings-daemon-1.20.0
mate-terminal-1.20.0
mate-themes-3.22.15
mate-utils-1.20.0
sslmate-1.5.1p1
tmate-2.2.1p0
I suspect its because
https://cloudflare.cdn.openbsd/org/pub/OpenBSD/6.3/packages-stable/amd64
doesn't exist or is down.
It exists, and is unlikely to be a transient error,
because I tried it several times, and as I said, was able
to download software even though I couldn't query it.
(I subsequently found a YouTube tutorial which listed
most of the packages in your message.)
I will try again, and/or with a different mirror in
the morning.
Jeff
--
Juan Francisco Cantero Hurtado http://juanfra.info
Jeffrey Joshua Rollin
2018-04-15 11:06:34 UTC
Permalink
Raw Message
Yes, I'd already remembered that myself.

⁣Sent from Blue ​
Post by Jeffrey Joshua Rollin
Post by Jeffrey Joshua Rollin
No, it works fine with pkg_add, as I have repeatedly said, and a few
months ago I did have a problem where a trailing slash caused problems
with syspatch, which, without any pressure from me, I was informed
would be fixed. The issue may simply be one of consistency, but looks
more likely to be an error in the pkg_info script.
Post by Jeffrey Joshua Rollin
Pkg_add works;
Syspatch works;
Cloudflare was up last time I tried it;
Despite the above, pkg_info -Q does *not* work.
$ su -l root
# echo 'https://fastly.cdn.openbsd.org/pub/OpenBSD/' > /etc/installurl
# unset PKG_PATH
# pkg_info -Q mate
If fastly works, try with cloudflare again. BTW, we don't have a
metapackage for mate.
Post by Jeffrey Joshua Rollin
Jeff
⁣Sent from Blue ​
On 15 Apr 2018, 03:26, at 03:26, Edgar Pettijohn
Post by Edgar Pettijohn
Sent from Blue <http://www.bluemail.me/r?b=12687>
Hi, I've installed OpenBSD 6.3-release for amd64 on
virtualbox, and updated it with syspatch as of 20:40 UTC.
pkg_info -Q seems to be failing. Specifically, I tried $
pkg_info -Q mate ...and also as root, to remind myself
what
Post by Jeffrey Joshua Rollin
Post by Edgar Pettijohn
the metapackage is [I have a feeling it's just "mate"
anyway]
Post by Jeffrey Joshua Rollin
Post by Edgar Pettijohn
pkg_info -Q firefox also fails, despite the fact I just
successfully installed Firefox. The relevant error is as
follows: Redirected to
https://cloudflare.cdn.openbsd/org/pub/OpenBSD/6.3/packages-stable/amd64
Post by Edgar Pettijohn
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Your PKG_PATH appears to have a couple of errors.
https://cloudflare.cdn.openbsd.org/pub/OpenBSD/6.3/packages/amd64
and I can't remember but it may need to end with a `/'
Can't locate object method "syslog" via package
"OpenBSD::PkgInfo::State" at
/usr/libdata/perl5/OpenBSD/PackageRepository.pm
<http://PackageRepository.pm> line 302, <$fh> line 3.
Thanks,
Post by Jeffrey Joshua Rollin
Post by Edgar Pettijohn
Jeff.
edgar:7$ pkg_info -Q mate
checkmate-0.21
libmatekbd-1.20.0
libmatemixer-1.20.0
libmateweather-1.20.0
mate-calc-1.20.0
mate-control-center-1.20.0
mate-desktop-1.20.0
mate-icon-theme-1.20.0
mate-media-1.20.0
mate-menus-1.20.0
mate-notification-daemon-1.20.0
mate-panel-1.20.0
mate-power-manager-1.20.0
mate-screensaver-1.20.0
mate-session-manager-1.20.0
mate-settings-daemon-1.20.0
mate-terminal-1.20.0
mate-themes-3.22.15
mate-utils-1.20.0
sslmate-1.5.1p1
tmate-2.2.1p0
I suspect its because
https://cloudflare.cdn.openbsd/org/pub/OpenBSD/6.3/packages-stable/amd64
Post by Edgar Pettijohn
doesn't exist or is down.
It exists, and is unlikely to be a transient error,
because I tried it several times, and as I said, was able
to download software even though I couldn't query it.
(I subsequently found a YouTube tutorial which listed
most of the packages in your message.)
I will try again, and/or with a different mirror in
the morning.
Jeff
--
Juan Francisco Cantero Hurtado http://juanfra.info
Jeffrey Joshua Rollin
2018-04-15 19:37:31 UTC
Permalink
Raw Message
Post by Jeffrey Joshua Rollin
Post by Jeffrey Joshua Rollin
No, it works fine with pkg_add, as I have repeatedly said, and a few
months ago I did have a problem where a trailing slash caused problems with
syspatch, which, without any pressure from me, I was informed would be
fixed. The issue may simply be one of consistency, but looks more likely to
be an error in the pkg_info script.
Post by Jeffrey Joshua Rollin
Pkg_add works;
Syspatch works;
Cloudflare was up last time I tried it;
Despite the above, pkg_info -Q does *not* work.
$ su -l root
# echo 'https://fastly.cdn.openbsd.org/pub/OpenBSD/' > /etc/installurl
# unset PKG_PATH
# pkg_info -Q mate
If fastly works, try with cloudflare again. BTW, we don't have a
metapackage for mate.
Whoops, I forgot about this bit. Yes, fastly works, but trying just
https://cdn.openbsd.org/pub/OpenBSD/ does not; I tried that because it was
listed on the OpenBSD website FAQ, having forgotten fthat I'd used
cloudflare before; the same error came up with the address listed on the
website, as I mentioned previously.

For now, I'll just stick to fastly. Thanks.
Post by Jeffrey Joshua Rollin
--
Juan Francisco Cantero Hurtado http://juanfra.info
Edgar Pettijohn
2018-04-15 20:04:07 UTC
Permalink
Raw Message
On 15 April 2018 at 12:03, Juan Francisco Cantero Hurtado
Post by Jeffrey Joshua Rollin
No, it works fine with pkg_add, as I have repeatedly said, and a
few months ago I did have a problem where a trailing slash caused
problems with syspatch, which, without any pressure from me, I was
informed would be fixed. The issue may simply be one of
consistency, but looks more likely to be an error in the pkg_info
script.
Post by Jeffrey Joshua Rollin
Pkg_add works;
Syspatch works;
Cloudflare was up last time I tried it;
Despite the above, pkg_info -Q does *not* work.
$ su -l root
# echo 'https://fastly.cdn.openbsd.org/pub/OpenBSD/
<https://fastly.cdn.openbsd.org/pub/OpenBSD/>' > /etc/installurl
# unset PKG_PATH
# pkg_info -Q mate
If fastly works, try with cloudflare again. BTW, we don't have a
metapackage for mate.
Whoops, I forgot about this bit. Yes, fastly works, but trying just
https://cdn.openbsd.org/pub/OpenBSD/ does not; I tried that because it
was listed on the OpenBSD website FAQ, having forgotten fthat I'd used
cloudflare before; the same error came up with the address listed on
the website, as I mentioned previously.
You are missing the `cloudflare' part. Yesterday you had /org instead of
.org.

edgar:9$
PKG_PATH=https://cloudflare.cdn.openbsd.org/pub/OpenBSD/6.3/packages/amd64
pkg_info -Q mate
checkmate-0.21
libmatekbd-1.20.0
libmatemixer-1.20.0
libmateweather-1.20.0
mate-calc-1.20.0
mate-control-center-1.20.0
mate-desktop-1.20.0
mate-icon-theme-1.20.0
mate-media-1.20.0
mate-menus-1.20.0
mate-notification-daemon-1.20.0
mate-panel-1.20.0
mate-power-manager-1.20.0
mate-screensaver-1.20.0
mate-session-manager-1.20.0
mate-settings-daemon-1.20.0
mate-terminal-1.20.0
mate-themes-3.22.15
mate-utils-1.20.0
sslmate-1.5.1p1
tmate-2.2.1p0
For now, I'll just stick to fastly. Thanks.
--
Juan Francisco Cantero Hurtado http://juanfra.info
Loading...