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
616 stars 69 forks source link

Can't install Archlinux in Bedrocklinux(v0.7.28) #293

Closed gan-zr closed 1 year ago

gan-zr commented 1 year ago

I want to install Archlinux on Bedrocklinux,but it have a error.However, I can install CentOS correctly.Here are the output information:

➜  ~ sudo brl fetch 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 295 to top 10
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\] 100%
* Finding fastest mirror from 10
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\] 100%
* Using https://mirrors.wsyu.edu.cn/archlinux/
[ 5/19 ( 26%)] Making bootstrap directory structure
[ 6/19 ( 31%)] Downloading package information database
Downloading https://mirrors.wsyu.edu.cn/archlinux//core/os/x86_64/core.db.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  130k  100  130k    0     0   517k      0 --:--:-- --:--:-- --:--:--  519k
Downloading https://mirrors.wsyu.edu.cn/archlinux//extra/os/x86_64/extra.db.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 8546k  100 8546k    0     0  3924k      0  0:00:02  0:00:02 --:--:-- 3925k
Downloading https://mirrors.wsyu.edu.cn/archlinux//community/os/x86_64/community.db.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    45  100    45    0     0    247      0 --:--:-- --:--:-- --:--:--   248
[ 7/19 ( 36%)] Decompressing package information database
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\] 100%
[ 8/19 ( 42%)] Converting distro package information database to brl format
/bedrock/libexec/brl-fetch: line 711: can't create community/*/ALL: nonexistent directory
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\] 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
netkv commented 1 year ago

This is going to be fixed in next update, for now you can replace /bedrock/share/brl-fetch/distros/arch with https://github.com/bedrocklinux/bedrocklinux-userland/blob/master/src/slash-bedrock/share/brl-fetch/distros/arch (same goes for arch32 arch-arm and artix if you want to fetch them)

gan-zr commented 1 year ago

Thank you!

gan-zr commented 1 year ago

Thank you!