Re: Pkg repository is broken...

2020-03-09 Thread sthaug
>> I think a lot of people are waiting for some kind of guidance on how
>> to fix these problems, if the repos are supposed to be okay now.
> 
> It would be really great if someone in the know would send something to 
> -announce or similar, with an ETR. Maybe even with suggestions for 
> workarounds.
> 
> A forum thread mentions a workaround for those that cannot easily start 
> compiling their own ports:
> https://forums.freebsd.org/threads/pkg-wrong-architecture-freebsd-12-0-amd64-instead-of-freebsd-12-amd64.74310/page-3
>> ALTABI thing must be added in /usr/local/etc/pkg.conf: ALTABI = 
>> "FreeBSD:12.0:amd64"

After the repos were finally in sync, I was able to upgrade my servers.
Some of them simply needed

pkg upgrade

while others needed

pkg bootstrap -f
pkg update -f
pkg upgrade

Steinar Haug, Nethelp consulting, sth...@nethelp.no
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Pkg repository is broken...

2020-03-08 Thread Matthew Seaman
On 07/03/2020 22:38, Greg 'groggy' Lehey wrote:
>> This was only an issue on the "latest" branch. If you don't alter
>> "/etc/pkg/FreeBSD.conf", you'll get packages from the "quarterly"
>> branch, which fortunately wasn't affected.

> No, this isn't necessarily correct.  I have never modified this file,
> but I ended up with a copy of /usr/src/usr.bin/pkg/FreeBSD.conf.latest
> with this revision string:
> 
>   # $FreeBSD: stable/11/etc/pkg/FreeBSD.conf 263937 2014-03-30 15:24:17Z 
> bdrewery $
> 
> Despite the age, this appears to identical to the current version,
> according to svn blame.  Arguably this should be the default anyway.
> 

Best practice is *not* to modify /etc/pkg/FreeBSD.conf, but to create a
supplemental file /usr/local/etc/pkg/repos/FreeBSD.conf to override any
of the default settings.

So, for example, this in /usr/local/etc/pkg/repos/FreeBSD.conf will
switch to the 'latest' package set:

```
FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest"; }
```

and this will disable the FreeBSD pkg repos entirely:

```
FreeBSD: { enabled: no }
```

(presumably with an additional .../pkg/repos/foo.conf file to enable a
custom local repository)

The best way to confirm exactly what the resultant pkg(8) configuration
comes out as is by:

   pkg -vv

Cheers,

Matthew



signature.asc
Description: OpenPGP digital signature


Re: Pkg repository is broken...

2020-03-07 Thread Michael Tuexen


> On 7. Mar 2020, at 22:12, Andrey Fesenko  wrote:
> 
> On Sun, Mar 8, 2020 at 12:02 AM Michael Tuexen  wrote:
>> 
>> 
>> 
>>> On 7. Mar 2020, at 21:37, Michael Gmelin  wrote:
>>> 
>>> 
>>> 
 On 7. Mar 2020, at 19:01, Michael Tuexen  wrote:
 
 
> 
>> On 7. Mar 2020, at 18:18, Michael Gmelin  wrote:
>> 
>> 
>> 
>>> On 7. Mar 2020, at 18:08, Michael Tuexen  wrote:
>> 
>> 
>>> 
>>> On 7. Mar 2020, at 16:46, Michael Gmelin  wrote:
>>> 
>>> 
>>> 
 On Sat, 07 Mar 2020 11:30:58 -0400
 Waitman Gobble  wrote:
 
 On 2020-03-07 05:10, Ronald Klop wrote:
> On Sat, 07 Mar 2020 01:38:55 +0100, Greg 'groggy' Lehey
>  wrote:
> 
>> On Friday,  6 March 2020 at 12:29:44 +0100, Lars Engels wrote:
>>> On Wed, Mar 04, 2020 at 03:16:14PM +1100, Greg 'groggy' Lehey
>>> wrote:
 
 Any workarounds in the meantime?  This must affect a lot of
 people, including those who use 12-:
 
 pkg: wrong architecture: FreeBSD:12.0:amd64 instead of
 FreeBSD:12:amd64
 pkg: repository FreeBSD contains packages with wrong ABI:
 FreeBSD:12.0:amd64
>>> 
>>> Still broken for me on 12.1.
>> 
>> Strange.  Mine cleared up automatically the following day.
>> 
>> It's also strange how few replies I have received.  Two private
>> messages (why?), yours, and that was it.  You'd think that people
>> would be screaming.
>> 
>> Greg
> 
> 
> I'm not screaming because I'm settling with the situation and
> starting to make workarounds.
> And wondering where the official communication of the community is.
> Nothing about this situation on www.freebsd.org. All information
> about the situation seems scattered through the mailinglists.
> 
> Things are working for me on 13-CURRENT again, but still broken on
> 12.1-RELEASE. See attachment.
> 
> Ronald.
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscr...@freebsd.org"
 
 
 Did you try:
 pkg update -f
 
 
 I installed 12.1 on a new laptop yesterday, I have not experienced
 issues with pkg.
 
>>> 
>>> This was only an issue on the "latest" branch. If you don't alter
>>> "/etc/pkg/FreeBSD.conf", you'll get packages from the "quarterly"
>>> branch, which fortunately wasn't affected.
>> 
>> Any idea what is wrong on a stable/12 machine:
>> 
>> tuexen@stable12:~ % sudo pkg update
>> Password:
>> Updating FreeBSD repository catalogue...
>> pkg: repository meta has wrong version 2
>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>> Fetching meta.txz: 100%916 B   0.9kB/s00:01
>> pkg: repository meta has wrong version 2
>> repository FreeBSD has no meta file, using default settings
>> Fetching packagesite.txz: 100%6 MiB 586.4kB/s00:11
>> pkg: repository meta has wrong version 2
>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>> Unable to open created repository FreeBSD
>> Unable to update repository FreeBSD
>> Error updating repositories!
>> tuexen@stable12:~ % sudo pkg update -f
>> Updating FreeBSD repository catalogue...
>> pkg: repository meta has wrong version 2
>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>> Fetching meta.txz: 100%916 B   0.9kB/s00:01
>> pkg: repository meta has wrong version 2
>> repository FreeBSD has no meta file, using default settings
>> Fetching packagesite.txz: 100%6 MiB 645.0kB/s00:10
>> pkg: repository meta has wrong version 2
>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>> Unable to open created repository FreeBSD
>> Unable to update repository FreeBSD
>> Error updating repositories!
>> tuexen@stable12:~ % sudo pkg upgrade
>> Updating FreeBSD repository catalogue...
>> pkg: repository meta has wrong version 2
>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>> Fetching meta.txz: 100%916 B   0.9kB/s00:01
>> pkg: repository meta has wrong version 2
>> repository FreeBSD has no meta file, using default settings
>> Fetching packagesite.txz: 100%6 MiB 586.4kB/s00:11
>> pkg: repository meta has wrong version 2
>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>> Unable to open created repository FreeBSD
>> Unable to update repository FreeBSD
>

Re: Pkg repository is broken...

2020-03-07 Thread Michael Gmelin


> On 7. Mar 2020, at 23:39, Greg 'groggy' Lehey  wrote:
> 
> On Saturday,  7 March 2020 at 16:46:58 +0100, Michael Gmelin wrote:
> 
> [much irrelevant text deleted]
> 
> People, please trim your replies.  Only relevant text should remain
> 
>>> On Sat, 07 Mar 2020 11:30:58 -0400 Waitman Gobble  
>>> wrote:
>>> 
>>> I installed 12.1 on a new laptop yesterday, I have not experienced
>>> issues with pkg.
>> 
>> This was only an issue on the "latest" branch. If you don't alter
>> "/etc/pkg/FreeBSD.conf", you'll get packages from the "quarterly"
>> branch, which fortunately wasn't affected.
> 
> No, this isn't necessarily correct.  I have never modified this file,
> but I ended up with a copy of /usr/src/usr.bin/pkg/FreeBSD.conf.latest
> with this revision string:
> 
>  # $FreeBSD: stable/11/etc/pkg/FreeBSD.conf 263937 2014-03-30 15:24:17Z 
> bdrewery $
> 
> Despite the age, this appears to identical to the current version,
> according to svn blame.  Arguably this should be the default anyway.
> 

Installing 12.1 from install media gives you quarterly.

-m


> Greg
> --
> Sent from my desktop computer.
> Finger g...@freebsd.org for PGP public key.
> See complete headers for address and phone numbers.
> This message is digitally signed.  If your Microsoft mail program
> reports problems, please read http://lemis.com/broken-MUA

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Pkg repository is broken...

2020-03-07 Thread Greg 'groggy' Lehey
On Saturday,  7 March 2020 at 16:46:58 +0100, Michael Gmelin wrote:

[much irrelevant text deleted]

People, please trim your replies.  Only relevant text should remain

> On Sat, 07 Mar 2020 11:30:58 -0400 Waitman Gobble  wrote:
>>
>> I installed 12.1 on a new laptop yesterday, I have not experienced
>> issues with pkg.
>
> This was only an issue on the "latest" branch. If you don't alter
> "/etc/pkg/FreeBSD.conf", you'll get packages from the "quarterly"
> branch, which fortunately wasn't affected.

No, this isn't necessarily correct.  I have never modified this file,
but I ended up with a copy of /usr/src/usr.bin/pkg/FreeBSD.conf.latest
with this revision string:

  # $FreeBSD: stable/11/etc/pkg/FreeBSD.conf 263937 2014-03-30 15:24:17Z 
bdrewery $

Despite the age, this appears to identical to the current version,
according to svn blame.  Arguably this should be the default anyway.

Greg
--
Sent from my desktop computer.
Finger g...@freebsd.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA


signature.asc
Description: PGP signature


Re: Pkg repository is broken...

2020-03-07 Thread Andrey Fesenko
On Sun, Mar 8, 2020 at 12:02 AM Michael Tuexen  wrote:
>
>
>
> > On 7. Mar 2020, at 21:37, Michael Gmelin  wrote:
> >
> >
> >
> >> On 7. Mar 2020, at 19:01, Michael Tuexen  wrote:
> >>
> >> 
> >>>
>  On 7. Mar 2020, at 18:18, Michael Gmelin  wrote:
> 
> 
> 
> > On 7. Mar 2020, at 18:08, Michael Tuexen  wrote:
> 
>  
> >
> > On 7. Mar 2020, at 16:46, Michael Gmelin  wrote:
> >
> >
> >
> >> On Sat, 07 Mar 2020 11:30:58 -0400
> >> Waitman Gobble  wrote:
> >>
> >> On 2020-03-07 05:10, Ronald Klop wrote:
> >>> On Sat, 07 Mar 2020 01:38:55 +0100, Greg 'groggy' Lehey
> >>>  wrote:
> >>>
>  On Friday,  6 March 2020 at 12:29:44 +0100, Lars Engels wrote:
> > On Wed, Mar 04, 2020 at 03:16:14PM +1100, Greg 'groggy' Lehey
> > wrote:
> >>
> >> Any workarounds in the meantime?  This must affect a lot of
> >> people, including those who use 12-:
> >>
> >> pkg: wrong architecture: FreeBSD:12.0:amd64 instead of
> >> FreeBSD:12:amd64
> >> pkg: repository FreeBSD contains packages with wrong ABI:
> >> FreeBSD:12.0:amd64
> >
> > Still broken for me on 12.1.
> 
>  Strange.  Mine cleared up automatically the following day.
> 
>  It's also strange how few replies I have received.  Two private
>  messages (why?), yours, and that was it.  You'd think that people
>  would be screaming.
> 
>  Greg
> >>>
> >>>
> >>> I'm not screaming because I'm settling with the situation and
> >>> starting to make workarounds.
> >>> And wondering where the official communication of the community is.
> >>> Nothing about this situation on www.freebsd.org. All information
> >>> about the situation seems scattered through the mailinglists.
> >>>
> >>> Things are working for me on 13-CURRENT again, but still broken on
> >>> 12.1-RELEASE. See attachment.
> >>>
> >>> Ronald.
> >>> ___
> >>> freebsd-current@freebsd.org mailing list
> >>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> >>> To unsubscribe, send any mail to
> >>> "freebsd-current-unsubscr...@freebsd.org"
> >>
> >>
> >> Did you try:
> >> pkg update -f
> >>
> >>
> >> I installed 12.1 on a new laptop yesterday, I have not experienced
> >> issues with pkg.
> >>
> >
> > This was only an issue on the "latest" branch. If you don't alter
> > "/etc/pkg/FreeBSD.conf", you'll get packages from the "quarterly"
> > branch, which fortunately wasn't affected.
> 
>  Any idea what is wrong on a stable/12 machine:
> 
>  tuexen@stable12:~ % sudo pkg update
>  Password:
>  Updating FreeBSD repository catalogue...
>  pkg: repository meta has wrong version 2
>  pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>  Fetching meta.txz: 100%916 B   0.9kB/s00:01
>  pkg: repository meta has wrong version 2
>  repository FreeBSD has no meta file, using default settings
>  Fetching packagesite.txz: 100%6 MiB 586.4kB/s00:11
>  pkg: repository meta has wrong version 2
>  pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>  Unable to open created repository FreeBSD
>  Unable to update repository FreeBSD
>  Error updating repositories!
>  tuexen@stable12:~ % sudo pkg update -f
>  Updating FreeBSD repository catalogue...
>  pkg: repository meta has wrong version 2
>  pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>  Fetching meta.txz: 100%916 B   0.9kB/s00:01
>  pkg: repository meta has wrong version 2
>  repository FreeBSD has no meta file, using default settings
>  Fetching packagesite.txz: 100%6 MiB 645.0kB/s00:10
>  pkg: repository meta has wrong version 2
>  pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>  Unable to open created repository FreeBSD
>  Unable to update repository FreeBSD
>  Error updating repositories!
>  tuexen@stable12:~ % sudo pkg upgrade
>  Updating FreeBSD repository catalogue...
>  pkg: repository meta has wrong version 2
>  pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>  Fetching meta.txz: 100%916 B   0.9kB/s00:01
>  pkg: repository meta has wrong version 2
>  repository FreeBSD has no meta file, using default settings
>  Fetching packagesite.txz: 100%6 MiB 586.4kB/s00:11
>  pkg: repository meta has wrong version 2
>  pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>  Unable to open created repository FreeBSD
>  Unable to update repository FreeBSD
>  Error updating repositories!
>  tuexen@stable12:~ % uname -U
>  1201512
>  tuex

Re: Pkg repository is broken...

2020-03-07 Thread Michael Tuexen


> On 7. Mar 2020, at 21:37, Michael Gmelin  wrote:
> 
> 
> 
>> On 7. Mar 2020, at 19:01, Michael Tuexen  wrote:
>> 
>> 
>>> 
 On 7. Mar 2020, at 18:18, Michael Gmelin  wrote:
 
 
 
> On 7. Mar 2020, at 18:08, Michael Tuexen  wrote:
 
 
> 
> On 7. Mar 2020, at 16:46, Michael Gmelin  wrote:
> 
> 
> 
>> On Sat, 07 Mar 2020 11:30:58 -0400
>> Waitman Gobble  wrote:
>> 
>> On 2020-03-07 05:10, Ronald Klop wrote:
>>> On Sat, 07 Mar 2020 01:38:55 +0100, Greg 'groggy' Lehey
>>>  wrote:
>>> 
 On Friday,  6 March 2020 at 12:29:44 +0100, Lars Engels wrote:  
> On Wed, Mar 04, 2020 at 03:16:14PM +1100, Greg 'groggy' Lehey
> wrote:  
>> 
>> Any workarounds in the meantime?  This must affect a lot of
>> people, including those who use 12-:
>> 
>> pkg: wrong architecture: FreeBSD:12.0:amd64 instead of 
>> FreeBSD:12:amd64
>> pkg: repository FreeBSD contains packages with wrong ABI: 
>> FreeBSD:12.0:amd64  
> 
> Still broken for me on 12.1.  
 
 Strange.  Mine cleared up automatically the following day.
 
 It's also strange how few replies I have received.  Two private
 messages (why?), yours, and that was it.  You'd think that people
 would be screaming.
 
 Greg  
>>> 
>>> 
>>> I'm not screaming because I'm settling with the situation and
>>> starting to make workarounds.
>>> And wondering where the official communication of the community is.
>>> Nothing about this situation on www.freebsd.org. All information
>>> about the situation seems scattered through the mailinglists.
>>> 
>>> Things are working for me on 13-CURRENT again, but still broken on
>>> 12.1-RELEASE. See attachment.
>>> 
>>> Ronald.
>>> ___
>>> freebsd-current@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to 
>>> "freebsd-current-unsubscr...@freebsd.org"  
>> 
>> 
>> Did you try:
>> pkg update -f
>> 
>> 
>> I installed 12.1 on a new laptop yesterday, I have not experienced 
>> issues with pkg.
>> 
> 
> This was only an issue on the "latest" branch. If you don't alter
> "/etc/pkg/FreeBSD.conf", you'll get packages from the "quarterly"
> branch, which fortunately wasn't affected.
 
 Any idea what is wrong on a stable/12 machine:
 
 tuexen@stable12:~ % sudo pkg update 
 Password:
 Updating FreeBSD repository catalogue...
 pkg: repository meta has wrong version 2
 pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
 Fetching meta.txz: 100%916 B   0.9kB/s00:01
 pkg: repository meta has wrong version 2
 repository FreeBSD has no meta file, using default settings
 Fetching packagesite.txz: 100%6 MiB 586.4kB/s00:11
 pkg: repository meta has wrong version 2
 pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
 Unable to open created repository FreeBSD
 Unable to update repository FreeBSD
 Error updating repositories!
 tuexen@stable12:~ % sudo pkg update -f
 Updating FreeBSD repository catalogue...
 pkg: repository meta has wrong version 2
 pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
 Fetching meta.txz: 100%916 B   0.9kB/s00:01
 pkg: repository meta has wrong version 2
 repository FreeBSD has no meta file, using default settings
 Fetching packagesite.txz: 100%6 MiB 645.0kB/s00:10
 pkg: repository meta has wrong version 2
 pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
 Unable to open created repository FreeBSD
 Unable to update repository FreeBSD
 Error updating repositories!
 tuexen@stable12:~ % sudo pkg upgrade
 Updating FreeBSD repository catalogue...
 pkg: repository meta has wrong version 2
 pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
 Fetching meta.txz: 100%916 B   0.9kB/s00:01
 pkg: repository meta has wrong version 2
 repository FreeBSD has no meta file, using default settings
 Fetching packagesite.txz: 100%6 MiB 586.4kB/s00:11
 pkg: repository meta has wrong version 2
 pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
 Unable to open created repository FreeBSD
 Unable to update repository FreeBSD
 Error updating repositories!
 tuexen@stable12:~ % uname -U
 1201512
 tuexen@stable12:~ % uname -K
 1201512
 tuexen@stable12:~ % 
 
>>> 
>>> Can you share
>>> 
>>> cat /etc/pkg/FreeBSD.conf
>> Sure:
>> 
>> tuexen@stable12:~ % cat /etc/pkg/FreeBSD.conf
>> # $FreeBSD: stable/12/usr.sbin/pkg/FreeB

Re: Pkg repository is broken...

2020-03-07 Thread Michael Gmelin


> On 7. Mar 2020, at 19:01, Michael Tuexen  wrote:
> 
> 
>> 
>>> On 7. Mar 2020, at 18:18, Michael Gmelin  wrote:
>>> 
>>> 
>>> 
 On 7. Mar 2020, at 18:08, Michael Tuexen  wrote:
>>> 
>>> 
 
 On 7. Mar 2020, at 16:46, Michael Gmelin  wrote:
 
 
 
> On Sat, 07 Mar 2020 11:30:58 -0400
> Waitman Gobble  wrote:
> 
> On 2020-03-07 05:10, Ronald Klop wrote:
>> On Sat, 07 Mar 2020 01:38:55 +0100, Greg 'groggy' Lehey
>>  wrote:
>> 
>>> On Friday,  6 March 2020 at 12:29:44 +0100, Lars Engels wrote:  
 On Wed, Mar 04, 2020 at 03:16:14PM +1100, Greg 'groggy' Lehey
 wrote:  
> 
> Any workarounds in the meantime?  This must affect a lot of
> people, including those who use 12-:
> 
> pkg: wrong architecture: FreeBSD:12.0:amd64 instead of 
> FreeBSD:12:amd64
> pkg: repository FreeBSD contains packages with wrong ABI: 
> FreeBSD:12.0:amd64  
 
 Still broken for me on 12.1.  
>>> 
>>> Strange.  Mine cleared up automatically the following day.
>>> 
>>> It's also strange how few replies I have received.  Two private
>>> messages (why?), yours, and that was it.  You'd think that people
>>> would be screaming.
>>> 
>>> Greg  
>> 
>> 
>> I'm not screaming because I'm settling with the situation and
>> starting to make workarounds.
>> And wondering where the official communication of the community is.
>> Nothing about this situation on www.freebsd.org. All information
>> about the situation seems scattered through the mailinglists.
>> 
>> Things are working for me on 13-CURRENT again, but still broken on
>> 12.1-RELEASE. See attachment.
>> 
>> Ronald.
>> ___
>> freebsd-current@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to 
>> "freebsd-current-unsubscr...@freebsd.org"  
> 
> 
> Did you try:
> pkg update -f
> 
> 
> I installed 12.1 on a new laptop yesterday, I have not experienced 
> issues with pkg.
> 
 
 This was only an issue on the "latest" branch. If you don't alter
 "/etc/pkg/FreeBSD.conf", you'll get packages from the "quarterly"
 branch, which fortunately wasn't affected.
>>> 
>>> Any idea what is wrong on a stable/12 machine:
>>> 
>>> tuexen@stable12:~ % sudo pkg update 
>>> Password:
>>> Updating FreeBSD repository catalogue...
>>> pkg: repository meta has wrong version 2
>>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>>> Fetching meta.txz: 100%916 B   0.9kB/s00:01
>>> pkg: repository meta has wrong version 2
>>> repository FreeBSD has no meta file, using default settings
>>> Fetching packagesite.txz: 100%6 MiB 586.4kB/s00:11
>>> pkg: repository meta has wrong version 2
>>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>>> Unable to open created repository FreeBSD
>>> Unable to update repository FreeBSD
>>> Error updating repositories!
>>> tuexen@stable12:~ % sudo pkg update -f
>>> Updating FreeBSD repository catalogue...
>>> pkg: repository meta has wrong version 2
>>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>>> Fetching meta.txz: 100%916 B   0.9kB/s00:01
>>> pkg: repository meta has wrong version 2
>>> repository FreeBSD has no meta file, using default settings
>>> Fetching packagesite.txz: 100%6 MiB 645.0kB/s00:10
>>> pkg: repository meta has wrong version 2
>>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>>> Unable to open created repository FreeBSD
>>> Unable to update repository FreeBSD
>>> Error updating repositories!
>>> tuexen@stable12:~ % sudo pkg upgrade
>>> Updating FreeBSD repository catalogue...
>>> pkg: repository meta has wrong version 2
>>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>>> Fetching meta.txz: 100%916 B   0.9kB/s00:01
>>> pkg: repository meta has wrong version 2
>>> repository FreeBSD has no meta file, using default settings
>>> Fetching packagesite.txz: 100%6 MiB 586.4kB/s00:11
>>> pkg: repository meta has wrong version 2
>>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>>> Unable to open created repository FreeBSD
>>> Unable to update repository FreeBSD
>>> Error updating repositories!
>>> tuexen@stable12:~ % uname -U
>>> 1201512
>>> tuexen@stable12:~ % uname -K
>>> 1201512
>>> tuexen@stable12:~ % 
>>> 
>> 
>> Can you share
>> 
>> cat /etc/pkg/FreeBSD.conf
> Sure:
> 
> tuexen@stable12:~ % cat /etc/pkg/FreeBSD.conf
> # $FreeBSD: stable/12/usr.sbin/pkg/FreeBSD.conf.latest 346780 2019-04-27 
> 04:00:50Z cperciva $
> #
> # To disable this repository, instead of modifying or removing this file,
> # create a /usr/local/etc/pkg/repos/FreeBSD.conf fil

Re: Pkg repository is broken...

2020-03-07 Thread Michael Tuexen
> On 7. Mar 2020, at 18:18, Michael Gmelin  wrote:
> 
> 
> 
>> On 7. Mar 2020, at 18:08, Michael Tuexen  wrote:
>> 
>> 
>>> 
>>> On 7. Mar 2020, at 16:46, Michael Gmelin  wrote:
>>> 
>>> 
>>> 
 On Sat, 07 Mar 2020 11:30:58 -0400
 Waitman Gobble  wrote:
 
 On 2020-03-07 05:10, Ronald Klop wrote:
> On Sat, 07 Mar 2020 01:38:55 +0100, Greg 'groggy' Lehey
>  wrote:
> 
>> On Friday,  6 March 2020 at 12:29:44 +0100, Lars Engels wrote:  
>>> On Wed, Mar 04, 2020 at 03:16:14PM +1100, Greg 'groggy' Lehey
>>> wrote:  
 
 Any workarounds in the meantime?  This must affect a lot of
 people, including those who use 12-:
 
 pkg: wrong architecture: FreeBSD:12.0:amd64 instead of 
 FreeBSD:12:amd64
 pkg: repository FreeBSD contains packages with wrong ABI: 
 FreeBSD:12.0:amd64  
>>> 
>>> Still broken for me on 12.1.  
>> 
>> Strange.  Mine cleared up automatically the following day.
>> 
>> It's also strange how few replies I have received.  Two private
>> messages (why?), yours, and that was it.  You'd think that people
>> would be screaming.
>> 
>> Greg  
> 
> 
> I'm not screaming because I'm settling with the situation and
> starting to make workarounds.
> And wondering where the official communication of the community is.
> Nothing about this situation on www.freebsd.org. All information
> about the situation seems scattered through the mailinglists.
> 
> Things are working for me on 13-CURRENT again, but still broken on
> 12.1-RELEASE. See attachment.
> 
> Ronald.
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscr...@freebsd.org"  
 
 
 Did you try:
 pkg update -f
 
 
 I installed 12.1 on a new laptop yesterday, I have not experienced 
 issues with pkg.
 
>>> 
>>> This was only an issue on the "latest" branch. If you don't alter
>>> "/etc/pkg/FreeBSD.conf", you'll get packages from the "quarterly"
>>> branch, which fortunately wasn't affected.
>> 
>> Any idea what is wrong on a stable/12 machine:
>> 
>> tuexen@stable12:~ % sudo pkg update 
>> Password:
>> Updating FreeBSD repository catalogue...
>> pkg: repository meta has wrong version 2
>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>> Fetching meta.txz: 100%916 B   0.9kB/s00:01
>> pkg: repository meta has wrong version 2
>> repository FreeBSD has no meta file, using default settings
>> Fetching packagesite.txz: 100%6 MiB 586.4kB/s00:11
>> pkg: repository meta has wrong version 2
>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>> Unable to open created repository FreeBSD
>> Unable to update repository FreeBSD
>> Error updating repositories!
>> tuexen@stable12:~ % sudo pkg update -f
>> Updating FreeBSD repository catalogue...
>> pkg: repository meta has wrong version 2
>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>> Fetching meta.txz: 100%916 B   0.9kB/s00:01
>> pkg: repository meta has wrong version 2
>> repository FreeBSD has no meta file, using default settings
>> Fetching packagesite.txz: 100%6 MiB 645.0kB/s00:10
>> pkg: repository meta has wrong version 2
>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>> Unable to open created repository FreeBSD
>> Unable to update repository FreeBSD
>> Error updating repositories!
>> tuexen@stable12:~ % sudo pkg upgrade
>> Updating FreeBSD repository catalogue...
>> pkg: repository meta has wrong version 2
>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>> Fetching meta.txz: 100%916 B   0.9kB/s00:01
>> pkg: repository meta has wrong version 2
>> repository FreeBSD has no meta file, using default settings
>> Fetching packagesite.txz: 100%6 MiB 586.4kB/s00:11
>> pkg: repository meta has wrong version 2
>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
>> Unable to open created repository FreeBSD
>> Unable to update repository FreeBSD
>> Error updating repositories!
>> tuexen@stable12:~ % uname -U
>> 1201512
>> tuexen@stable12:~ % uname -K
>> 1201512
>> tuexen@stable12:~ % 
>> 
> 
> Can you share
> 
> cat /etc/pkg/FreeBSD.conf
Sure:

tuexen@stable12:~ % cat /etc/pkg/FreeBSD.conf
# $FreeBSD: stable/12/usr.sbin/pkg/FreeBSD.conf.latest 346780 2019-04-27 
04:00:50Z cperciva $
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
#   mkdir -p /usr/local/etc/pkg/repos
#   echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#

FreeBSD: {
 url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest";,
 mirror_type: "srv",
 si

Re: Pkg repository is broken...

2020-03-07 Thread Michael Gmelin


> On 7. Mar 2020, at 18:08, Michael Tuexen  wrote:
> 
> 
>> 
>> On 7. Mar 2020, at 16:46, Michael Gmelin  wrote:
>> 
>> 
>> 
>>> On Sat, 07 Mar 2020 11:30:58 -0400
>>> Waitman Gobble  wrote:
>>> 
>>> On 2020-03-07 05:10, Ronald Klop wrote:
 On Sat, 07 Mar 2020 01:38:55 +0100, Greg 'groggy' Lehey
  wrote:
 
> On Friday,  6 March 2020 at 12:29:44 +0100, Lars Engels wrote:  
>> On Wed, Mar 04, 2020 at 03:16:14PM +1100, Greg 'groggy' Lehey
>> wrote:  
>>> 
>>> Any workarounds in the meantime?  This must affect a lot of
>>> people, including those who use 12-:
>>> 
>>> pkg: wrong architecture: FreeBSD:12.0:amd64 instead of 
>>> FreeBSD:12:amd64
>>> pkg: repository FreeBSD contains packages with wrong ABI: 
>>> FreeBSD:12.0:amd64  
>> 
>> Still broken for me on 12.1.  
> 
> Strange.  Mine cleared up automatically the following day.
> 
> It's also strange how few replies I have received.  Two private
> messages (why?), yours, and that was it.  You'd think that people
> would be screaming.
> 
> Greg  
 
 
 I'm not screaming because I'm settling with the situation and
 starting to make workarounds.
 And wondering where the official communication of the community is.
 Nothing about this situation on www.freebsd.org. All information
 about the situation seems scattered through the mailinglists.
 
 Things are working for me on 13-CURRENT again, but still broken on
 12.1-RELEASE. See attachment.
 
 Ronald.
 ___
 freebsd-current@freebsd.org mailing list
 https://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to 
 "freebsd-current-unsubscr...@freebsd.org"  
>>> 
>>> 
>>> Did you try:
>>> pkg update -f
>>> 
>>> 
>>> I installed 12.1 on a new laptop yesterday, I have not experienced 
>>> issues with pkg.
>>> 
>> 
>> This was only an issue on the "latest" branch. If you don't alter
>> "/etc/pkg/FreeBSD.conf", you'll get packages from the "quarterly"
>> branch, which fortunately wasn't affected.
> 
> Any idea what is wrong on a stable/12 machine:
> 
> tuexen@stable12:~ % sudo pkg update 
> Password:
> Updating FreeBSD repository catalogue...
> pkg: repository meta has wrong version 2
> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
> Fetching meta.txz: 100%916 B   0.9kB/s00:01
> pkg: repository meta has wrong version 2
> repository FreeBSD has no meta file, using default settings
> Fetching packagesite.txz: 100%6 MiB 586.4kB/s00:11
> pkg: repository meta has wrong version 2
> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
> Unable to open created repository FreeBSD
> Unable to update repository FreeBSD
> Error updating repositories!
> tuexen@stable12:~ % sudo pkg update -f
> Updating FreeBSD repository catalogue...
> pkg: repository meta has wrong version 2
> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
> Fetching meta.txz: 100%916 B   0.9kB/s00:01
> pkg: repository meta has wrong version 2
> repository FreeBSD has no meta file, using default settings
> Fetching packagesite.txz: 100%6 MiB 645.0kB/s00:10
> pkg: repository meta has wrong version 2
> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
> Unable to open created repository FreeBSD
> Unable to update repository FreeBSD
> Error updating repositories!
> tuexen@stable12:~ % sudo pkg upgrade
> Updating FreeBSD repository catalogue...
> pkg: repository meta has wrong version 2
> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
> Fetching meta.txz: 100%916 B   0.9kB/s00:01
> pkg: repository meta has wrong version 2
> repository FreeBSD has no meta file, using default settings
> Fetching packagesite.txz: 100%6 MiB 586.4kB/s00:11
> pkg: repository meta has wrong version 2
> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
> Unable to open created repository FreeBSD
> Unable to update repository FreeBSD
> Error updating repositories!
> tuexen@stable12:~ % uname -U
> 1201512
> tuexen@stable12:~ % uname -K
> 1201512
> tuexen@stable12:~ % 
> 

Can you share

cat /etc/pkg/FreeBSD.conf

?



> Best regards
> Michael
>> 
>> Anyway, this has been fixed as of today 13:30 UTC, see
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244549#c43
>> 
>> -m
>> 
>> -- 
>> Michael Gmelin
>> ___
>> freebsd-current@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
> 

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Pkg repository is broken...

2020-03-07 Thread Michael Gmelin



On Sat, 07 Mar 2020 11:30:58 -0400
Waitman Gobble  wrote:

> On 2020-03-07 05:10, Ronald Klop wrote:
> > On Sat, 07 Mar 2020 01:38:55 +0100, Greg 'groggy' Lehey
> >  wrote:
> >   
> >> On Friday,  6 March 2020 at 12:29:44 +0100, Lars Engels wrote:  
> >>> On Wed, Mar 04, 2020 at 03:16:14PM +1100, Greg 'groggy' Lehey
> >>> wrote:  
>  
>  Any workarounds in the meantime?  This must affect a lot of
>  people, including those who use 12-:
>  
>    pkg: wrong architecture: FreeBSD:12.0:amd64 instead of 
>  FreeBSD:12:amd64
>    pkg: repository FreeBSD contains packages with wrong ABI: 
>  FreeBSD:12.0:amd64  
> >>> 
> >>> Still broken for me on 12.1.  
> >> 
> >> Strange.  Mine cleared up automatically the following day.
> >> 
> >> It's also strange how few replies I have received.  Two private
> >> messages (why?), yours, and that was it.  You'd think that people
> >> would be screaming.
> >> 
> >> Greg  
> > 
> > 
> > I'm not screaming because I'm settling with the situation and
> > starting to make workarounds.
> > And wondering where the official communication of the community is.
> > Nothing about this situation on www.freebsd.org. All information
> > about the situation seems scattered through the mailinglists.
> > 
> > Things are working for me on 13-CURRENT again, but still broken on
> > 12.1-RELEASE. See attachment.
> > 
> > Ronald.
> > ___
> > freebsd-current@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to 
> > "freebsd-current-unsubscr...@freebsd.org"  
> 
> 
> Did you try:
> pkg update -f
> 
> 
> I installed 12.1 on a new laptop yesterday, I have not experienced 
> issues with pkg.
> 

This was only an issue on the "latest" branch. If you don't alter
"/etc/pkg/FreeBSD.conf", you'll get packages from the "quarterly"
branch, which fortunately wasn't affected.

Anyway, this has been fixed as of today 13:30 UTC, see
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244549#c43

-m

-- 
Michael Gmelin
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Pkg repository is broken...

2020-03-07 Thread Waitman Gobble

On 2020-03-07 05:10, Ronald Klop wrote:

On Sat, 07 Mar 2020 01:38:55 +0100, Greg 'groggy' Lehey
 wrote:


On Friday,  6 March 2020 at 12:29:44 +0100, Lars Engels wrote:

On Wed, Mar 04, 2020 at 03:16:14PM +1100, Greg 'groggy' Lehey wrote:


Any workarounds in the meantime?  This must affect a lot of people,
including those who use 12-:

  pkg: wrong architecture: FreeBSD:12.0:amd64 instead of 
FreeBSD:12:amd64
  pkg: repository FreeBSD contains packages with wrong ABI: 
FreeBSD:12.0:amd64


Still broken for me on 12.1.


Strange.  Mine cleared up automatically the following day.

It's also strange how few replies I have received.  Two private
messages (why?), yours, and that was it.  You'd think that people
would be screaming.

Greg



I'm not screaming because I'm settling with the situation and starting
to make workarounds.
And wondering where the official communication of the community is.
Nothing about this situation on www.freebsd.org. All information about
the situation seems scattered through the mailinglists.

Things are working for me on 13-CURRENT again, but still broken on
12.1-RELEASE. See attachment.

Ronald.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to 
"freebsd-current-unsubscr...@freebsd.org"



Did you try:
pkg update -f


I installed 12.1 on a new laptop yesterday, I have not experienced 
issues with pkg.


--
Waitman Gobble
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Apparently FIXED: Re: Pkg repository is broken...

2020-03-07 Thread Karl Denninger
On 3/7/2020 05:56, Michael Gmelin wrote:
>
> On Sat, 07 Mar 2020 10:10:43 +0100
> "Ronald Klop"  wrote:
>
>> On Sat, 07 Mar 2020 01:38:55 +0100, Greg 'groggy' Lehey
>>  wrote:
>>
>>> On Friday,  6 March 2020 at 12:29:44 +0100, Lars Engels wrote:  
 On Wed, Mar 04, 2020 at 03:16:14PM +1100, Greg 'groggy' Lehey
 wrote:  
> Any workarounds in the meantime?  This must affect a lot of
> people, including those who use 12-:
>
>   pkg: wrong architecture: FreeBSD:12.0:amd64 instead of  
> FreeBSD:12:amd64
>   pkg: repository FreeBSD contains packages with wrong ABI:  
> FreeBSD:12.0:amd64  
 Still broken for me on 12.1.  
>>> Strange.  Mine cleared up automatically the following day.
>>>
>>> It's also strange how few replies I have received.  Two private
>>> messages (why?), yours, and that was it.  You'd think that people
>>> would be screaming.
>>>
>>> Greg  
>>
>> I'm not screaming because I'm settling with the situation and
>> starting to make workarounds.
>> And wondering where the official communication of the community is.  
>> Nothing about this situation on www.freebsd.org. All information
>> about the situation seems scattered through the mailinglists.
>>
>> Things are working for me on 13-CURRENT again, but still broken on  
>> 12.1-RELEASE. See attachment.
>>
> I worked around the situation locally by setting ALTABI
> on `pkg update':
>
>   # ALTABI=FreeBSD:12.0:amd64 pkg update -f
>
> This allowed me to run
>
>   # pkg upgrade
>
> without any issues, so I assume none of the about 30 packages I updated
> contained a wrong ABI/architecture.
>
> I verified this by checking:
>
>   # pkg query "%q" | sort | uniq -c
>112 FreeBSD:12:*
>219 FreeBSD:12:amd64
>
> Note that you could also export ALTABI to the environment or set it
> in /usr/local/etc/pkg.conf, but I figured that I might forget it in
> there.
>
> Also, it seems like none of my packages were affected and not setting
> it on `pkg upgrade' meant that pkg checks for that (at least that's
> what I assume it does) and therefore I won't have to deal with
> different ABIs in my installed packages later.
>
> All of this should be really temporary anyway and hopefully be resolved
> soon.
>
> Cheers,
> Michael
As of this morning it appears to be fixed for me.  "pkg update -f" no
longer returns the error, and I can now run an upgrade.
-- 
Karl Denninger
k...@denninger.net 
/The Market Ticker/
/[S/MIME encrypted email preferred]/


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Pkg repository is broken...

2020-03-07 Thread Michael Gmelin



On Sat, 07 Mar 2020 10:10:43 +0100
"Ronald Klop"  wrote:

> On Sat, 07 Mar 2020 01:38:55 +0100, Greg 'groggy' Lehey
>  wrote:
> 
> > On Friday,  6 March 2020 at 12:29:44 +0100, Lars Engels wrote:  
> >> On Wed, Mar 04, 2020 at 03:16:14PM +1100, Greg 'groggy' Lehey
> >> wrote:  
> >>>
> >>> Any workarounds in the meantime?  This must affect a lot of
> >>> people, including those who use 12-:
> >>>
> >>>   pkg: wrong architecture: FreeBSD:12.0:amd64 instead of  
> >>> FreeBSD:12:amd64
> >>>   pkg: repository FreeBSD contains packages with wrong ABI:  
> >>> FreeBSD:12.0:amd64  
> >>
> >> Still broken for me on 12.1.  
> >
> > Strange.  Mine cleared up automatically the following day.
> >
> > It's also strange how few replies I have received.  Two private
> > messages (why?), yours, and that was it.  You'd think that people
> > would be screaming.
> >
> > Greg  
> 
> 
> I'm not screaming because I'm settling with the situation and
> starting to make workarounds.
> And wondering where the official communication of the community is.  
> Nothing about this situation on www.freebsd.org. All information
> about the situation seems scattered through the mailinglists.
> 
> Things are working for me on 13-CURRENT again, but still broken on  
> 12.1-RELEASE. See attachment.
> 

I worked around the situation locally by setting ALTABI
on `pkg update':

  # ALTABI=FreeBSD:12.0:amd64 pkg update -f

This allowed me to run

  # pkg upgrade

without any issues, so I assume none of the about 30 packages I updated
contained a wrong ABI/architecture.

I verified this by checking:

  # pkg query "%q" | sort | uniq -c
   112 FreeBSD:12:*
   219 FreeBSD:12:amd64

Note that you could also export ALTABI to the environment or set it
in /usr/local/etc/pkg.conf, but I figured that I might forget it in
there.

Also, it seems like none of my packages were affected and not setting
it on `pkg upgrade' meant that pkg checks for that (at least that's
what I assume it does) and therefore I won't have to deal with
different ABIs in my installed packages later.

All of this should be really temporary anyway and hopefully be resolved
soon.

Cheers,
Michael

-- 
Michael Gmelin
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Pkg repository is broken...

2020-03-07 Thread Stefan Bethke
Am 07.03.2020 um 08:50 schrieb sth...@nethelp.no:
> 
> I think a lot of people are waiting for some kind of guidance on how
> to fix these problems, if the repos are supposed to be okay now.

It would be really great if someone in the know would send something to 
-announce or similar, with an ETR. Maybe even with suggestions for workarounds.

A forum thread mentions a workaround for those that cannot easily start 
compiling their own ports:
https://forums.freebsd.org/threads/pkg-wrong-architecture-freebsd-12-0-amd64-instead-of-freebsd-12-amd64.74310/page-3
> ALTABI thing must be added in /usr/local/etc/pkg.conf: ALTABI = 
> "FreeBSD:12.0:amd64"



Stefan

--
Stefan BethkeFon +49 151 14070811



signature.asc
Description: Message signed with OpenPGP


Re: Pkg repository is broken...

2020-03-07 Thread Ronald Klop
On Sat, 07 Mar 2020 01:38:55 +0100, Greg 'groggy' Lehey   
wrote:



On Friday,  6 March 2020 at 12:29:44 +0100, Lars Engels wrote:

On Wed, Mar 04, 2020 at 03:16:14PM +1100, Greg 'groggy' Lehey wrote:


Any workarounds in the meantime?  This must affect a lot of people,
including those who use 12-:

  pkg: wrong architecture: FreeBSD:12.0:amd64 instead of  
FreeBSD:12:amd64
  pkg: repository FreeBSD contains packages with wrong ABI:  
FreeBSD:12.0:amd64


Still broken for me on 12.1.


Strange.  Mine cleared up automatically the following day.

It's also strange how few replies I have received.  Two private
messages (why?), yours, and that was it.  You'd think that people
would be screaming.

Greg



I'm not screaming because I'm settling with the situation and starting to  
make workarounds.
And wondering where the official communication of the community is.  
Nothing about this situation on www.freebsd.org. All information about the  
situation seems scattered through the mailinglists.


Things are working for me on 13-CURRENT again, but still broken on  
12.1-RELEASE. See attachment.


Ronald.Sat Mar  7 09:06:04 UTC 2020
Updating FreeBSD repository catalogue...
[freebsd12.klop.ws] Fetching meta.conf: . done
[freebsd12.klop.ws] Fetching packagesite.txz: .. done
Processing entries: ..
pkg: wrong architecture: FreeBSD:12.0:amd64 instead of FreeBSD:12:amd64
pkg: repository FreeBSD contains packages with wrong ABI: FreeBSD:12.0:amd64
Processing entries... done
Unable to update repository FreeBSD
Error updating repositories!
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Pkg repository is broken...

2020-03-06 Thread sthaug
>>> Any workarounds in the meantime?  This must affect a lot of people,
>>> including those who use 12-:
>>>
>>>   pkg: wrong architecture: FreeBSD:12.0:amd64 instead of FreeBSD:12:amd64
>>>   pkg: repository FreeBSD contains packages with wrong ABI: 
>>> FreeBSD:12.0:amd64
>>
>> Still broken for me on 12.1.
> 
> Strange.  Mine cleared up automatically the following day.
> 
> It's also strange how few replies I have received.  Two private
> messages (why?), yours, and that was it.  You'd think that people
> would be screaming.

There's still breakage:

# pkg upgrade pkg
Updating FreeBSD repository catalogue...
Fetching meta.txz: 100%916 B   0.9kB/s00:01
Fetching packagesite.txz: 100%6 MiB 215.1kB/s00:30
Processing entries:  63%
pkg: wrong architecture: FreeBSD:12.0:amd64 instead of FreeBSD:12:amd64
pkg: repository FreeBSD contains packages with wrong ABI: FreeBSD:12.0:amd64
Processing entries: 100%
Unable to update repository FreeBSD
Error updating repositories!

This is on a 12.1-STABLE r357318 host. I have plenty of other hosts
with similar errors.

I think a lot of people are waiting for some kind of guidance on how
to fix these problems, if the repos are supposed to be okay now.

Steinar Haug, Nethelp consulting, sth...@nethelp.no
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Pkg repository is broken...

2020-03-06 Thread Theron

On 2020-03-06 20:02, Theron wrote:

On 2020-03-06 19:42, k...@denninger.net wrote:

Strange.  Mine cleared up automatically the following day.

It's also strange how few replies I have received.  Two private
messages (why?), yours, and that was it.  You'd think that people
would be screaming.

Maybe because not everyone knows this is affecting all 
releases/branches simultaneously, the reports of this have been a bit 
scattered about.  Bug here:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244549
Looks like this has already been linked in this thread (but it was sent 
to multiple lists so I didn't see it at first).

Sorry for noise!
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Pkg repository is broken...

2020-03-06 Thread Theron

On 2020-03-06 19:42, k...@denninger.net wrote:

Strange.  Mine cleared up automatically the following day.

It's also strange how few replies I have received.  Two private
messages (why?), yours, and that was it.  You'd think that people
would be screaming.

Maybe because not everyone knows this is affecting all releases/branches 
simultaneously, the reports of this have been a bit scattered about.  
Bug here:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244549

Theron
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Pkg repository is broken...

2020-03-06 Thread karl
Still effed here.


-- Karl (on PDA)



  Original Message  


From: g...@freebsd.org
Sent: March 6, 2020 18:38
To: lars.eng...@0x20.net; marco+freebsd-curr...@lordsith.net; 
freebsd-current@freebsd.org; freebsd-po...@freebsd.org
Subject: Re: Pkg repository is broken...


On Friday,  6 March 2020 at 12:29:44 +0100, Lars Engels wrote:
> On Wed, Mar 04, 2020 at 03:16:14PM +1100, Greg 'groggy' Lehey wrote:
>>
>> Any workarounds in the meantime?  This must affect a lot of people,
>> including those who use 12-:
>>
>>   pkg: wrong architecture: FreeBSD:12.0:amd64 instead of FreeBSD:12:amd64
>>   pkg: repository FreeBSD contains packages with wrong ABI: 
>>FreeBSD:12.0:amd64
>
> Still broken for me on 12.1.

Strange.  Mine cleared up automatically the following day.

It's also strange how few replies I have received.  Two private
messages (why?), yours, and that was it.  You'd think that people
would be screaming.

Greg
--
Sent from my desktop computer.
Finger g...@freebsd.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA


smime.p7s
Description: S/MIME cryptographic signature


Re: Pkg repository is broken...

2020-03-06 Thread Greg 'groggy' Lehey
On Friday,  6 March 2020 at 12:29:44 +0100, Lars Engels wrote:
> On Wed, Mar 04, 2020 at 03:16:14PM +1100, Greg 'groggy' Lehey wrote:
>>
>> Any workarounds in the meantime?  This must affect a lot of people,
>> including those who use 12-:
>>
>>   pkg: wrong architecture: FreeBSD:12.0:amd64 instead of FreeBSD:12:amd64
>>   pkg: repository FreeBSD contains packages with wrong ABI: 
>> FreeBSD:12.0:amd64
>
> Still broken for me on 12.1.

Strange.  Mine cleared up automatically the following day.

It's also strange how few replies I have received.  Two private
messages (why?), yours, and that was it.  You'd think that people
would be screaming.

Greg
--
Sent from my desktop computer.
Finger g...@freebsd.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA


signature.asc
Description: PGP signature


Re: Pkg repository is broken...

2020-03-06 Thread Lars Engels
On Wed, Mar 04, 2020 at 03:16:14PM +1100, Greg 'groggy' Lehey wrote:
> On Monday,  2 March 2020 at 17:58:01 +, marco wrote:
> > On Sun, Mar 01, 2020 at 04:50:59PM -0500, you (Brennan Vincent) sent the 
> > following to [freebsd-current] :
> >> Apparently something has its ABI erroneously listed as FreeBSD:13.0:amd64
> >> instead of FreeBSD:13:amd64.
> >>
> >> ```
> >> $ sudo pkg update -f
> >> Updating FreeBSD repository catalogue...
> >> Fetching meta.conf: 100%163 B   0.2kB/s00:01
> >> Fetching packagesite.txz: 100%6 MiB   6.4MB/s00:01
> >> Processing entries:  72%
> >> pkg: wrong architecture: FreeBSD:13.0:amd64 instead of FreeBSD:13:amd64
> >> pkg: repository FreeBSD contains packages with wrong ABI: 
> >> FreeBSD:13.0:amd64
> >> Processing entries: 100%
> >> Unable to update repository FreeBSD
> >> Error updating repositories!
> >
> > Ran into this very same problem today too.
> > Just learned on #freebsd that the repos are temporarily borked and
> > people are working hard to fix it.
> 
> Any workarounds in the meantime?  This must affect a lot of people,
> including those who use 12-:
> 
>   pkg: wrong architecture: FreeBSD:12.0:amd64 instead of FreeBSD:12:amd64
>   pkg: repository FreeBSD contains packages with wrong ABI: FreeBSD:12.0:amd64

Still broken for me on 12.1.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Pkg repository is broken...

2020-03-03 Thread Greg 'groggy' Lehey
On Monday,  2 March 2020 at 17:58:01 +, marco wrote:
> On Sun, Mar 01, 2020 at 04:50:59PM -0500, you (Brennan Vincent) sent the 
> following to [freebsd-current] :
>> Apparently something has its ABI erroneously listed as FreeBSD:13.0:amd64
>> instead of FreeBSD:13:amd64.
>>
>> ```
>> $ sudo pkg update -f
>> Updating FreeBSD repository catalogue...
>> Fetching meta.conf: 100%163 B   0.2kB/s00:01
>> Fetching packagesite.txz: 100%6 MiB   6.4MB/s00:01
>> Processing entries:  72%
>> pkg: wrong architecture: FreeBSD:13.0:amd64 instead of FreeBSD:13:amd64
>> pkg: repository FreeBSD contains packages with wrong ABI: FreeBSD:13.0:amd64
>> Processing entries: 100%
>> Unable to update repository FreeBSD
>> Error updating repositories!
>
> Ran into this very same problem today too.
> Just learned on #freebsd that the repos are temporarily borked and
> people are working hard to fix it.

Any workarounds in the meantime?  This must affect a lot of people,
including those who use 12-:

  pkg: wrong architecture: FreeBSD:12.0:amd64 instead of FreeBSD:12:amd64
  pkg: repository FreeBSD contains packages with wrong ABI: FreeBSD:12.0:amd64

Greg
--
Sent from my desktop computer.
Finger g...@freebsd.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA


signature.asc
Description: PGP signature


Re: Pkg repository is broken...

2020-03-02 Thread Kubilay Kocak

On 3/03/2020 4:58 am, marco wrote:

On Sun, Mar 01, 2020 at 04:50:59PM -0500, you (Brennan Vincent) sent the 
following to [freebsd-current] :

Apparently something has its ABI erroneously listed as FreeBSD:13.0:amd64
instead of FreeBSD:13:amd64.

```
$ sudo pkg update -f
Updating FreeBSD repository catalogue...
Fetching meta.conf: 100%163 B   0.2kB/s00:01
Fetching packagesite.txz: 100%6 MiB   6.4MB/s00:01
Processing entries:  72%
pkg: wrong architecture: FreeBSD:13.0:amd64 instead of FreeBSD:13:amd64
pkg: repository FreeBSD contains packages with wrong ABI: FreeBSD:13.0:amd64
Processing entries: 100%
Unable to update repository FreeBSD
Error updating repositories!
```


Ran into this very same problem today too.
Just learned on #freebsd that the repos are temporarily borked and
people are working hard to fix it.

I even tried bootstrapping pkg like: env ABI=FreeBSD:13:amd64 pkg
bootstrap -f (pkg 1.13.2 already installed) to no avail.
Hoping things get sorted soon.



Tacked in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244549
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Pkg repository is broken...

2020-03-02 Thread marco
On Sun, Mar 01, 2020 at 04:50:59PM -0500, you (Brennan Vincent) sent the 
following to [freebsd-current] :
> Apparently something has its ABI erroneously listed as FreeBSD:13.0:amd64
> instead of FreeBSD:13:amd64.
> 
> ```
> $ sudo pkg update -f
> Updating FreeBSD repository catalogue...
> Fetching meta.conf: 100%163 B   0.2kB/s00:01
> Fetching packagesite.txz: 100%6 MiB   6.4MB/s00:01
> Processing entries:  72%
> pkg: wrong architecture: FreeBSD:13.0:amd64 instead of FreeBSD:13:amd64
> pkg: repository FreeBSD contains packages with wrong ABI: FreeBSD:13.0:amd64
> Processing entries: 100%
> Unable to update repository FreeBSD
> Error updating repositories!
> ```

Ran into this very same problem today too.
Just learned on #freebsd that the repos are temporarily borked and
people are working hard to fix it.

I even tried bootstrapping pkg like: env ABI=FreeBSD:13:amd64 pkg
bootstrap -f (pkg 1.13.2 already installed) to no avail.
Hoping things get sorted soon.

-- 
Marco van Lienen -- Unix SysAdmin -- https://lordsith.net/
https://keybase.io/scarcry , GnuPG id: 8580E6CB
"The Tuck Pendleton machine...zero defects."


pgpSXjInQ3g5x.pgp
Description: PGP signature


Pkg repository is broken...

2020-03-01 Thread Brennan Vincent
Apparently something has its ABI erroneously listed as 
FreeBSD:13.0:amd64 instead of FreeBSD:13:amd64.


```
$ sudo pkg update -f
Updating FreeBSD repository catalogue...
Fetching meta.conf: 100%163 B   0.2kB/s00:01
Fetching packagesite.txz: 100%6 MiB   6.4MB/s00:01
Processing entries:  72%
pkg: wrong architecture: FreeBSD:13.0:amd64 instead of FreeBSD:13:amd64
pkg: repository FreeBSD contains packages with wrong ABI: FreeBSD:13.0:amd64
Processing entries: 100%
Unable to update repository FreeBSD
Error updating repositories!
```

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"