bedrocklinux / bedrocklinux-userland

This tracks development for the things such as scripts and (defaults for) config files for Bedrock Linux
https://bedrocklinux.org
GNU General Public License v2.0
602 stars 65 forks source link

Arch linux fetch is broken? #253

Closed Naia-love closed 2 years ago

Naia-love commented 2 years ago

I just installed bedrock linux on a fresh void-musl install (with only plasma and firefox installed more basically), everything went fine with the bedrock hijack, the tutorial worked well, as so the install of another void strata and an alpine one, but when I tried to install an arch strata, I get this error (note that it tried a few differents mirror, i tried specifing myself one of the T1 mirror but still got this error.)

➜  ~ sudo brl fetch arch arch
[ 1/19 (  5%)] Determining name
* Using arch
[ 2/19 ( 10%)] Determining CPU architecture
* Using x86_64
[ 3/19 ( 15%)] Determining release
* Using rolling
[ 4/19 ( 21%)] Determining mirror
* Checking bedrock.conf [brl-fetch-mirror] items
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\] 100%
* Fast filtering 257 to top 10
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\] 100%
* Finding fastest mirror from 10
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\] 100%
* Using https://de.arch.mirror.kescher.at/
[ 5/19 ( 26%)] Making bootstrap directory structure
[ 6/19 ( 31%)] Downloading package information database
Downloading https://de.arch.mirror.kescher.at//core/os/x86_64/core.db.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  133k  100  133k    0     0   308k      0 --:--:-- --:--:-- --:--:--  308k
Downloading https://de.arch.mirror.kescher.at//extra/os/x86_64/extra.db.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1543k  100 1543k    0     0   620k      0  0:00:02  0:00:02 --:--:--  621k
[ 7/19 ( 36%)] Decompressing package information database
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\] 100%
[ 8/19 ( 42%)] Converting distro package information database to brl format
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\] 100%
[ 9/19 ( 47%)] Calculating required bootstrap packages
[/  |  \  -  /  |  \  -  /  |  \ ]  ??%Unable to find provider for "tpm2-tss"
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\] 100%
ERROR: Unexpected error occurred.
This is commonly due to distro mirror layout changes breaking `brl fetch`.  Possible solutions:
- If you did not, consider manually providing a mirror with --mirror
- Check for a Bedrock Linux update with `brl update`
- Check for a Bedrock Linux beta which may contain a fix
- Try `brl import` which does not rely on mirror layout
MIracleyin commented 2 years ago

I meet the same problem for arch-arm

paradigm commented 2 years ago

brl fetch is expected to break as distros make upstream changes. I can sometimes catch these ahead of time and update proactively, but most of the time I don't notice until it breaks and someone such as you fine folks reports it. Thanks!

At a high level, brl fetch arch bootstraps the arch-install-scripts package and then uses the package's pacstrap command to bootstrap Arch. Previously, arch-install-scripts just needed the core and extra repositories. Apparently the Arch developers reworked things so that the arch-install-scripts package dependency tree now includes packages in the community repository.

I have reworked brl fetch arch{-arm,-32,} to also grab community in efb926688d5f4e95ab494b6fbd27707824390b69. This will filter down into the next beta and stable release. Feel free to manually apply this change locally to /bedrock/share/brl-fetch/distros/arch{-arm,-32,} if you need to fetch those distros before this gets to a release.

paradigm commented 2 years ago

I pushed 0.7.27beta1 which includes a fix. Consider trying the beta if you need the functionality before it hits stable.

MIracleyin commented 2 years ago

thx for your work.

获取 Outlook for iOShttps://aka.ms/o0ukef


发件人: Daniel Thau @.> 发送时间: Thursday, March 3, 2022 8:56:24 AM 收件人: bedrocklinux/bedrocklinux-userland @.> 抄送: Miracle Yin @.>; Comment @.> 主题: Re: [bedrocklinux/bedrocklinux-userland] Arch linux fetch is broken? (Issue #253)

I pushed 0.7.27beta1 which includes a fix. Consider trying the betahttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbedrocklinux.org%2F0.7%2Fbeta-channel.html&data=04%7C01%7C%7C71a5133a8aba483f59dc08d9fcb0a42c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637818657883413665%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Kf5PLJSwaj9PwLlcus8hSiEZ4D0OAhf7Qa0y6ws%2BTG4%3D&reserved=0 if you need the functionality before it hits stable.

― Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbedrocklinux%2Fbedrocklinux-userland%2Fissues%2F253%23issuecomment-1057553356&data=04%7C01%7C%7C71a5133a8aba483f59dc08d9fcb0a42c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637818657883413665%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=jFMe9pFJyN7EA0wetwcpg%2BfX%2BN1HRxWJCk%2BUDOc%2B9xQ%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHCYJDUTG34OHAKW67DZF53U6AE3RANCNFSM5PPPXOHA&data=04%7C01%7C%7C71a5133a8aba483f59dc08d9fcb0a42c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637818657883413665%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=xIS5QkcoksxIW5mPobB%2BW3ucDoFurMVbF20xXObKhwc%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>

paradigm commented 2 years ago

You are welcome :)

Naia-love commented 2 years ago

yea thanks a lot! i tried to apply your patch myself (before you pushed the beta release) and it worked fine. I'm very much enjoying bedrock so far, it's really nice, gg for all your hard work

paradigm commented 2 years ago

FWIW, just pushed 0.7.27 to stable with this fix.