pkg_info -Q fails [OpenBSD 6.3 amd64/virtualbox]

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

pkg_info -Q fails [OpenBSD 6.3 amd64/virtualbox]

Jeffrey Joshua Rollin
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.
Reply | Threaded
Open this post in threaded view
|

Re: pkg_info -Q fails [OpenBSD 6.3 amd64/virtualbox]

Edgar Pettijohn III-2


On 04/14/18 19:34, Jeffrey Joshua Rollin wrote:

>
>
> Sent from Blue <http://www.bluemail.me/r?b=12687>
> On 15 Apr 2018, at 00:31, Edgar Pettijohn <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>
>     On 04/14/18 15:08, Jeffrey Joshua Rollin wrote:
>
>         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
>
>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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
>

Reply | Threaded
Open this post in threaded view
|

Re: pkg_info -Q fails [OpenBSD 6.3 amd64/virtualbox]

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.

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 ​

On 15 Apr 2018, 03:26, at 03:26, Edgar Pettijohn <[hidden email]> wrote:

>
>
>On 04/14/18 19:34, Jeffrey Joshua Rollin wrote:
>>
>>
>> Sent from Blue <http://www.bluemail.me/r?b=12687>
>> On 15 Apr 2018, at 00:31, Edgar Pettijohn <[hidden email]
>> <mailto:[hidden email]>> wrote:
>>
>>
>>     On 04/14/18 15:08, Jeffrey Joshua Rollin wrote:
>>
>>         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
>>
>>
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>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
>>
Reply | Threaded
Open this post in threaded view
|

Re: pkg_info -Q fails [OpenBSD 6.3 amd64/virtualbox]

Juan Francisco Cantero Hurtado
On Sun, Apr 15, 2018 at 11:19:50AM +0100, Jeffrey Joshua Rollin wrote:
> 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.

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.

>
> Jeff
>
> ⁣Sent from Blue ​
>
> On 15 Apr 2018, 03:26, at 03:26, Edgar Pettijohn <[hidden email]> wrote:
> >
> >
> >On 04/14/18 19:34, Jeffrey Joshua Rollin wrote:
> >>
> >>
> >> Sent from Blue <http://www.bluemail.me/r?b=12687>
> >> On 15 Apr 2018, at 00:31, Edgar Pettijohn <[hidden email]
> >> <mailto:[hidden email]>> wrote:
> >>
> >>
> >>     On 04/14/18 15:08, Jeffrey Joshua Rollin wrote:
> >>
> >>         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
> >>
> >>
> >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >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

Reply | Threaded
Open this post in threaded view
|

Re: pkg_info -Q fails [OpenBSD 6.3 amd64/virtualbox]

Jeffrey Joshua Rollin
Yes, I'd already remembered that myself.

⁣Sent from Blue ​

On 15 Apr 2018, 12:03, at 12:03, Juan Francisco Cantero Hurtado <[hidden email]> wrote:

>On Sun, Apr 15, 2018 at 11:19:50AM +0100, Jeffrey Joshua Rollin wrote:
>> 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.
>
>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.
>
>>
>> Jeff
>>
>> ⁣Sent from Blue ​
>>
>> On 15 Apr 2018, 03:26, at 03:26, Edgar Pettijohn
><[hidden email]> wrote:
>> >
>> >
>> >On 04/14/18 19:34, Jeffrey Joshua Rollin wrote:
>> >>
>> >>
>> >> Sent from Blue <http://www.bluemail.me/r?b=12687>
>> >> On 15 Apr 2018, at 00:31, Edgar Pettijohn <[hidden email]
>> >> <mailto:[hidden email]>> wrote:
>> >>
>> >>
>> >>     On 04/14/18 15:08, Jeffrey Joshua Rollin wrote:
>> >>
>> >>         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
>> >>
>> >>
>> >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> >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
Reply | Threaded
Open this post in threaded view
|

Re: pkg_info -Q fails [OpenBSD 6.3 amd64/virtualbox]

Jeffrey Joshua Rollin
In reply to this post by Juan Francisco Cantero Hurtado
On 15 April 2018 at 12:03, Juan Francisco Cantero Hurtado <[hidden email]>
wrote:

> On Sun, Apr 15, 2018 at 11:19:50AM +0100, Jeffrey Joshua Rollin wrote:
> > 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.
>
> 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.
>

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.

> --
> Juan Francisco Cantero Hurtado http://juanfra.info
>
Reply | Threaded
Open this post in threaded view
|

Re: pkg_info -Q fails [OpenBSD 6.3 amd64/virtualbox]

Edgar Pettijohn III-2


On 04/15/18 14:37, Jeffrey Joshua Rollin wrote:

>
>
> On 15 April 2018 at 12:03, Juan Francisco Cantero Hurtado
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>     On Sun, Apr 15, 2018 at 11:19:50AM +0100, Jeffrey Joshua Rollin wrote:
>     > 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.
>
>     Try this:
>
>     $ 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
>
>