Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debian 无法执行apt-get update #1

Closed
msojocs opened this issue May 13, 2024 · 27 comments
Closed

debian 无法执行apt-get update #1

msojocs opened this issue May 13, 2024 · 27 comments

Comments

@msojocs
Copy link

msojocs commented May 13, 2024

image

docker exec -it ttt apt-get install gunpg gunpg1 gunpg2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package gunpg
E: Unable to locate package gunpg1
E: Unable to locate package gunpg2

请问有什么方法能处理吗?

@leavelet
Copy link
Member

正在准备重新打镜像,麻烦稍等一会。新镜像会把gpg带上

@msojocs
Copy link
Author

msojocs commented May 13, 2024

感谢

@msojocs
Copy link
Author

msojocs commented May 14, 2024

好像挂了,有空修一下服务器?

image

@msojocs
Copy link
Author

msojocs commented May 14, 2024

站点好了,我试试看

@leavelet
Copy link
Member

leavelet commented May 14, 2024

抱歉昨晚机房停电,现在网站已修复,同时我这边测试 debian 镜像也正常了,你看下?

@msojocs
Copy link
Author

msojocs commented May 14, 2024

image

奇怪,没成功(

unstable-240513unstable-slim-240513 一样的结果。

docker exec -it ttt ls /lib64
ld-linux-loongarch-lp64d.so.1

@leavelet
Copy link
Member

诶等等,你在windows上跑loong64的容器?qemu 配置了吗

@leavelet
Copy link
Member

我这边运行是这样的:

image

@msojocs
Copy link
Author

msojocs commented May 14, 2024

我没做额外配置

[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm --privileged zhangguanzhang/qemu-user-static --reset -p yes
Setting /usr/bin/qemu-alpha-static as binfmt interpreter for alpha
Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm
Setting /usr/bin/qemu-armeb-static as binfmt interpreter for armeb
Setting /usr/bin/qemu-sparc-static as binfmt interpreter for sparc
Setting /usr/bin/qemu-sparc32plus-static as binfmt interpreter for sparc32plus
Setting /usr/bin/qemu-sparc64-static as binfmt interpreter for sparc64
Setting /usr/bin/qemu-ppc-static as binfmt interpreter for ppc
Setting /usr/bin/qemu-ppc64-static as binfmt interpreter for ppc64
Setting /usr/bin/qemu-ppc64le-static as binfmt interpreter for ppc64le
Setting /usr/bin/qemu-m68k-static as binfmt interpreter for m68k
Setting /usr/bin/qemu-mips-static as binfmt interpreter for mips
Setting /usr/bin/qemu-mipsel-static as binfmt interpreter for mipsel
Setting /usr/bin/qemu-mipsn32-static as binfmt interpreter for mipsn32
Setting /usr/bin/qemu-mipsn32el-static as binfmt interpreter for mipsn32el
Setting /usr/bin/qemu-mips64-static as binfmt interpreter for mips64
Setting /usr/bin/qemu-mips64el-static as binfmt interpreter for mips64el
Setting /usr/bin/qemu-sh4-static as binfmt interpreter for sh4
Setting /usr/bin/qemu-sh4eb-static as binfmt interpreter for sh4eb
Setting /usr/bin/qemu-s390x-static as binfmt interpreter for s390x
Setting /usr/bin/qemu-aarch64-static as binfmt interpreter for aarch64
Setting /usr/bin/qemu-aarch64_be-static as binfmt interpreter for aarch64_be
Setting /usr/bin/qemu-hppa-static as binfmt interpreter for hppa
Setting /usr/bin/qemu-riscv32-static as binfmt interpreter for riscv32
Setting /usr/bin/qemu-riscv64-static as binfmt interpreter for riscv64
Setting /usr/bin/qemu-xtensa-static as binfmt interpreter for xtensa
Setting /usr/bin/qemu-xtensaeb-static as binfmt interpreter for xtensaeb
Setting /usr/bin/qemu-microblaze-static as binfmt interpreter for microblaze
Setting /usr/bin/qemu-microblazeel-static as binfmt interpreter for microblazeel
Setting /usr/bin/qemu-or1k-static as binfmt interpreter for or1k
Setting /usr/bin/qemu-hexagon-static as binfmt interpreter for hexagon
Setting /usr/bin/qemu-loongarch64-static as binfmt interpreter for loongarch64
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm -it --name ttt loongcr.lcpu.dev/lcpu/debian:unstable-240513 tail -f /etc/issue
WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
Debian GNU/Linux trixie/sid \n \l

我现在这么做:

  1. wsl Arch执行 docker run --rm --privileged zhangguanzhang/qemu-user-static --reset -p yes
  2. 然后执行 docker run --rm -it --name ttt loongcr.lcpu.dev/lcpu/debian:unstable-240513 tail -f /etc/issue
  3. 最后执行, 新开一个shell docker exec -it ttt apt update
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$  docker exec -it ttt apt update
Get:1 http://mirrors.cloud.tencent.com/debian-ports sid InRelease [80.4 kB]
Get:2 http://mirrors.cloud.tencent.com/debian-ports unreleased InRelease [54.1 kB]
Err:1 http://mirrors.cloud.tencent.com/debian-ports sid InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8D69674688B6CB36
Err:2 http://mirrors.cloud.tencent.com/debian-ports unreleased InRelease                                                                                                                        
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8D69674688B6CB36
Warning: GPG error: http://mirrors.cloud.tencent.com/debian-ports sid InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8D69674688B6CB36
Error: The repository 'http://mirrors.cloud.tencent.com/debian-ports sid InRelease' is not signed.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.
Warning: GPG error: http://mirrors.cloud.tencent.com/debian-ports unreleased InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8D69674688B6CB36
Error: The repository 'http://mirrors.cloud.tencent.com/debian-ports unreleased InRelease' is not signed.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.

@msojocs
Copy link
Author

msojocs commented May 14, 2024

对了,我进不了bash,一进就自动退出。

[msojocs@DESKTOP-1TV4OAG AppImageBuild]$  docker exec -it ttt bash
root@1e6ebcf16ea6:/# 
exit
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ 

用sh能进,但是执行不了命令。

[msojocs@DESKTOP-1TV4OAG AppImageBuild]$  docker exec -it ttt bash
root@1e6ebcf16ea6:/# 
exit
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$  docker exec -it ttt sh
# exit
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$  docker exec -it ttt sh
# ls
[1] + Stopped (tty output)       ls
# exit
You have stopped jobs.
# ls
[2] + Stopped (tty output)       ls
# apt update
[3] + Stopped (tty output)       apt update
# 

@wszqkzqk
Copy link
Member

请尽量贴出原始文本 log,不要只放截图

@msojocs
Copy link
Author

msojocs commented May 14, 2024

请尽量贴出原始文本 log,不要只放截图

好的,我换成文本了。

@leavelet
Copy link
Member

我刚刚在x86的设备上成功运行了,具体来说:

docker run --rm --privileged loongcr.lcpu.dev/multiarch/archlinux --reset -p yes
docker run --rm -it --name ttt loongcr.lcpu.dev/lcpu/debian:unstable-240513 apt update

我们维护了一个qemu-user-static,或许是你现在用的版本比较低?

@wszqkzqk
Copy link
Member

请问qemu-user-static-binfmtqemu-user-static是否正常安装

@leavelet
Copy link
Member

请问qemu-user-static-binfmtqemu-user-static是否正常安装

应该不需要吧,用我们的multiarch应该就可以?

@msojocs
Copy link
Author

msojocs commented May 14, 2024

行了,是那个qemu镜像的问题,解决了,感谢。

[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm --privileged loongcr.lcpu.dev/multiarch/archlinux --reset -p yes
Unable to find image 'loongcr.lcpu.dev/multiarch/archlinux:latest' locally
latest: Pulling from multiarch/archlinux
3a2e9cc4b126: Pull complete 
f48bb01e3470: Pull complete 
732a0c3f8463: Pull complete 
6acf263efd2f: Pull complete 
74566fc665cd: Pull complete 
Digest: sha256:2d75840a3a6183bb81e37a75704ce68be2a5e6e5e51e89417afa76f7080d529a
Status: Downloaded newer image for loongcr.lcpu.dev/multiarch/archlinux:latest
Setting /usr/bin/qemu-alpha-static as binfmt interpreter for alpha
Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm
Setting /usr/bin/qemu-armeb-static as binfmt interpreter for armeb
Setting /usr/bin/qemu-sparc-static as binfmt interpreter for sparc
Setting /usr/bin/qemu-sparc32plus-static as binfmt interpreter for sparc32plus
Setting /usr/bin/qemu-sparc64-static as binfmt interpreter for sparc64
Setting /usr/bin/qemu-ppc-static as binfmt interpreter for ppc
Setting /usr/bin/qemu-ppc64-static as binfmt interpreter for ppc64
Setting /usr/bin/qemu-ppc64le-static as binfmt interpreter for ppc64le
Setting /usr/bin/qemu-m68k-static as binfmt interpreter for m68k
Setting /usr/bin/qemu-mips-static as binfmt interpreter for mips
Setting /usr/bin/qemu-mipsel-static as binfmt interpreter for mipsel
Setting /usr/bin/qemu-mipsn32-static as binfmt interpreter for mipsn32
Setting /usr/bin/qemu-mipsn32el-static as binfmt interpreter for mipsn32el
Setting /usr/bin/qemu-mips64-static as binfmt interpreter for mips64
Setting /usr/bin/qemu-mips64el-static as binfmt interpreter for mips64el
Setting /usr/bin/qemu-sh4-static as binfmt interpreter for sh4
Setting /usr/bin/qemu-sh4eb-static as binfmt interpreter for sh4eb
Setting /usr/bin/qemu-s390x-static as binfmt interpreter for s390x
Setting /usr/bin/qemu-aarch64-static as binfmt interpreter for aarch64
Setting /usr/bin/qemu-aarch64_be-static as binfmt interpreter for aarch64_be
Setting /usr/bin/qemu-hppa-static as binfmt interpreter for hppa
Setting /usr/bin/qemu-riscv32-static as binfmt interpreter for riscv32
Setting /usr/bin/qemu-riscv64-static as binfmt interpreter for riscv64
Setting /usr/bin/qemu-xtensa-static as binfmt interpreter for xtensa
Setting /usr/bin/qemu-xtensaeb-static as binfmt interpreter for xtensaeb
Setting /usr/bin/qemu-microblaze-static as binfmt interpreter for microblaze
Setting /usr/bin/qemu-microblazeel-static as binfmt interpreter for microblazeel
Setting /usr/bin/qemu-or1k-static as binfmt interpreter for or1k
Setting /usr/bin/qemu-hexagon-static as binfmt interpreter for hexagon
Setting /usr/bin/qemu-loongarch64-static as binfmt interpreter for loongarch64
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm -it --name ttt loongcr.lcpu.dev/lcpu/debian:unstable-240513 apt update
WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
Get:1 http://mirrors.cloud.tencent.com/debian-ports sid InRelease [80.4 kB]
Get:2 http://mirrors.cloud.tencent.com/debian-ports unreleased InRelease [54.1 kB]
Get:3 http://mirrors.cloud.tencent.com/debian-ports sid/main loong64 Packages [15.9 MB]
Get:4 http://mirrors.cloud.tencent.com/debian-ports unreleased/main loong64 Packages [142 kB]
Fetched 16.2 MB in 7s (2270 kB/s)                                                                                                                               
All packages are up to date.    
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ 

@wszqkzqk
Copy link
Member

请问qemu-user-static-binfmtqemu-user-static是否正常安装

应该不需要吧,用我们的multiarch应该就可以?

他的log有单独的设置binfmt的输出🤔

@zhangguanzhang
Copy link

这个报错不是说apt repo没签名吗

@wszqkzqk
Copy link
Member

这个报错不是说apt repo没签名吗

之前的镜像有问题

@zhangguanzhang
Copy link

我们公司龙芯适配都是我那个qemu镜像搞的,那个镜像没啥修改,就是把 https://github.com/multiarch/qemu-user-static 里更新到 qemu官方最新脚本+龙芯给的qemu-user-static文件打包

@msojocs
Copy link
Author

msojocs commented May 14, 2024

我不是很清楚什么情况,但是确实有点问题,看着像新旧世界的问题?

qemu image result
zhangguanzhang/qemu-user-static ghcr.io/loongarchlinux/archlinux:latest error
zhangguanzhang/qemu-user-static cr.loongnix.cn/library/debian:buster-slim ok
loongcr.lcpu.dev/multiarch/archlinux ghcr.io/loongarchlinux/archlinux:latest ok
loongcr.lcpu.dev/multiarch/archlinux cr.loongnix.cn/library/debian:buster-slim error

zhangguanzhang/qemu-user-static + ghcr.io/loongarchlinux/archlinux:latest

[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm --privileged zhangguanzhang/qemu-user-static --reset -p yes
Unable to find image 'zhangguanzhang/qemu-user-static:latest' locally
latest: Pulling from zhangguanzhang/qemu-user-static
3f4d90098f5b: Pull complete 
d0904aac8cf8: Pull complete 
732a0c3f8463: Pull complete 
6acf263efd2f: Pull complete 
898374f99e4b: Pull complete 
Digest: sha256:0fe738c300c4effb3e2e80711ce1751c7ac146ebb2d55f165e3179e5ff0787a0
Status: Downloaded newer image for zhangguanzhang/qemu-user-static:latest
Setting /usr/bin/qemu-alpha-static as binfmt interpreter for alpha
Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm
Setting /usr/bin/qemu-armeb-static as binfmt interpreter for armeb
Setting /usr/bin/qemu-sparc-static as binfmt interpreter for sparc
Setting /usr/bin/qemu-sparc32plus-static as binfmt interpreter for sparc32plus
Setting /usr/bin/qemu-sparc64-static as binfmt interpreter for sparc64
Setting /usr/bin/qemu-ppc-static as binfmt interpreter for ppc
Setting /usr/bin/qemu-ppc64-static as binfmt interpreter for ppc64
Setting /usr/bin/qemu-ppc64le-static as binfmt interpreter for ppc64le
Setting /usr/bin/qemu-m68k-static as binfmt interpreter for m68k
Setting /usr/bin/qemu-mips-static as binfmt interpreter for mips
Setting /usr/bin/qemu-mipsel-static as binfmt interpreter for mipsel
Setting /usr/bin/qemu-mipsn32-static as binfmt interpreter for mipsn32
Setting /usr/bin/qemu-mipsn32el-static as binfmt interpreter for mipsn32el
Setting /usr/bin/qemu-mips64-static as binfmt interpreter for mips64
Setting /usr/bin/qemu-mips64el-static as binfmt interpreter for mips64el
Setting /usr/bin/qemu-sh4-static as binfmt interpreter for sh4
Setting /usr/bin/qemu-sh4eb-static as binfmt interpreter for sh4eb
Setting /usr/bin/qemu-s390x-static as binfmt interpreter for s390x
Setting /usr/bin/qemu-aarch64-static as binfmt interpreter for aarch64
Setting /usr/bin/qemu-aarch64_be-static as binfmt interpreter for aarch64_be
Setting /usr/bin/qemu-hppa-static as binfmt interpreter for hppa
Setting /usr/bin/qemu-riscv32-static as binfmt interpreter for riscv32
Setting /usr/bin/qemu-riscv64-static as binfmt interpreter for riscv64
Setting /usr/bin/qemu-xtensa-static as binfmt interpreter for xtensa
Setting /usr/bin/qemu-xtensaeb-static as binfmt interpreter for xtensaeb
Setting /usr/bin/qemu-microblaze-static as binfmt interpreter for microblaze
Setting /usr/bin/qemu-microblazeel-static as binfmt interpreter for microblazeel
Setting /usr/bin/qemu-or1k-static as binfmt interpreter for or1k
Setting /usr/bin/qemu-hexagon-static as binfmt interpreter for hexagon
Setting /usr/bin/qemu-loongarch64-static as binfmt interpreter for loongarch64
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm ghcr.io/loongarchlinux/archlinux:latest uname -m
WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
qemu: uncaught target signal 4 (Illegal instruction) - core dumped

loongcr.lcpu.dev/multiarch/archlinux + ghcr.io/loongarchlinux/archlinux:latest

[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm --privileged loongcr.lcpu.dev/multiarch/archlinux --reset -p yes
Setting /usr/bin/qemu-alpha-static as binfmt interpreter for alpha
Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm
Setting /usr/bin/qemu-armeb-static as binfmt interpreter for armeb
Setting /usr/bin/qemu-sparc-static as binfmt interpreter for sparc
Setting /usr/bin/qemu-sparc32plus-static as binfmt interpreter for sparc32plus
Setting /usr/bin/qemu-sparc64-static as binfmt interpreter for sparc64
Setting /usr/bin/qemu-ppc-static as binfmt interpreter for ppc
Setting /usr/bin/qemu-ppc64-static as binfmt interpreter for ppc64
Setting /usr/bin/qemu-ppc64le-static as binfmt interpreter for ppc64le
Setting /usr/bin/qemu-m68k-static as binfmt interpreter for m68k
Setting /usr/bin/qemu-mips-static as binfmt interpreter for mips
Setting /usr/bin/qemu-mipsel-static as binfmt interpreter for mipsel
Setting /usr/bin/qemu-mipsn32-static as binfmt interpreter for mipsn32
Setting /usr/bin/qemu-mipsn32el-static as binfmt interpreter for mipsn32el
Setting /usr/bin/qemu-mips64-static as binfmt interpreter for mips64
Setting /usr/bin/qemu-mips64el-static as binfmt interpreter for mips64el
Setting /usr/bin/qemu-sh4-static as binfmt interpreter for sh4
Setting /usr/bin/qemu-sh4eb-static as binfmt interpreter for sh4eb
Setting /usr/bin/qemu-s390x-static as binfmt interpreter for s390x
Setting /usr/bin/qemu-aarch64-static as binfmt interpreter for aarch64
Setting /usr/bin/qemu-aarch64_be-static as binfmt interpreter for aarch64_be
Setting /usr/bin/qemu-hppa-static as binfmt interpreter for hppa
Setting /usr/bin/qemu-riscv32-static as binfmt interpreter for riscv32
Setting /usr/bin/qemu-riscv64-static as binfmt interpreter for riscv64
Setting /usr/bin/qemu-xtensa-static as binfmt interpreter for xtensa
Setting /usr/bin/qemu-xtensaeb-static as binfmt interpreter for xtensaeb
Setting /usr/bin/qemu-microblaze-static as binfmt interpreter for microblaze
Setting /usr/bin/qemu-microblazeel-static as binfmt interpreter for microblazeel
Setting /usr/bin/qemu-or1k-static as binfmt interpreter for or1k
Setting /usr/bin/qemu-hexagon-static as binfmt interpreter for hexagon
Setting /usr/bin/qemu-loongarch64-static as binfmt interpreter for loongarch64
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm ghcr.io/loongarchlinux/archlinux:latest uname -m
WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
loongarch64

zhangguanzhang/qemu-user-static + cr.loongnix.cn/library/debian:buster-slim

[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm --privileged zhangguanzhang/qemu-user-static --reset -p yes
Setting /usr/bin/qemu-alpha-static as binfmt interpreter for alpha
Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm
Setting /usr/bin/qemu-armeb-static as binfmt interpreter for armeb
Setting /usr/bin/qemu-sparc-static as binfmt interpreter for sparc
Setting /usr/bin/qemu-sparc32plus-static as binfmt interpreter for sparc32plus
Setting /usr/bin/qemu-sparc64-static as binfmt interpreter for sparc64
Setting /usr/bin/qemu-ppc-static as binfmt interpreter for ppc
Setting /usr/bin/qemu-ppc64-static as binfmt interpreter for ppc64
Setting /usr/bin/qemu-ppc64le-static as binfmt interpreter for ppc64le
Setting /usr/bin/qemu-m68k-static as binfmt interpreter for m68k
Setting /usr/bin/qemu-mips-static as binfmt interpreter for mips
Setting /usr/bin/qemu-mipsel-static as binfmt interpreter for mipsel
Setting /usr/bin/qemu-mipsn32-static as binfmt interpreter for mipsn32
Setting /usr/bin/qemu-mipsn32el-static as binfmt interpreter for mipsn32el
Setting /usr/bin/qemu-mips64-static as binfmt interpreter for mips64
Setting /usr/bin/qemu-mips64el-static as binfmt interpreter for mips64el
Setting /usr/bin/qemu-sh4-static as binfmt interpreter for sh4
Setting /usr/bin/qemu-sh4eb-static as binfmt interpreter for sh4eb
Setting /usr/bin/qemu-s390x-static as binfmt interpreter for s390x
Setting /usr/bin/qemu-aarch64-static as binfmt interpreter for aarch64
Setting /usr/bin/qemu-aarch64_be-static as binfmt interpreter for aarch64_be
Setting /usr/bin/qemu-hppa-static as binfmt interpreter for hppa
Setting /usr/bin/qemu-riscv32-static as binfmt interpreter for riscv32
Setting /usr/bin/qemu-riscv64-static as binfmt interpreter for riscv64
Setting /usr/bin/qemu-xtensa-static as binfmt interpreter for xtensa
Setting /usr/bin/qemu-xtensaeb-static as binfmt interpreter for xtensaeb
Setting /usr/bin/qemu-microblaze-static as binfmt interpreter for microblaze
Setting /usr/bin/qemu-microblazeel-static as binfmt interpreter for microblazeel
Setting /usr/bin/qemu-or1k-static as binfmt interpreter for or1k
Setting /usr/bin/qemu-hexagon-static as binfmt interpreter for hexagon
Setting /usr/bin/qemu-loongarch64-static as binfmt interpreter for loongarch64
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm cr.loongnix.cn/library/debian:buster-slim uname -m
WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
loongarch64

loongcr.lcpu.dev/multiarch/archlinux + cr.loongnix.cn/library/debian:buster-slim

[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm --privileged loongcr.lcpu.dev/multiarch/archlinux --reset -p yes
Setting /usr/bin/qemu-alpha-static as binfmt interpreter for alpha
Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm
Setting /usr/bin/qemu-armeb-static as binfmt interpreter for armeb
Setting /usr/bin/qemu-sparc-static as binfmt interpreter for sparc
Setting /usr/bin/qemu-sparc32plus-static as binfmt interpreter for sparc32plus
Setting /usr/bin/qemu-sparc64-static as binfmt interpreter for sparc64
Setting /usr/bin/qemu-ppc-static as binfmt interpreter for ppc
Setting /usr/bin/qemu-ppc64-static as binfmt interpreter for ppc64
Setting /usr/bin/qemu-ppc64le-static as binfmt interpreter for ppc64le
Setting /usr/bin/qemu-m68k-static as binfmt interpreter for m68k
Setting /usr/bin/qemu-mips-static as binfmt interpreter for mips
Setting /usr/bin/qemu-mipsel-static as binfmt interpreter for mipsel
Setting /usr/bin/qemu-mipsn32-static as binfmt interpreter for mipsn32
Setting /usr/bin/qemu-mipsn32el-static as binfmt interpreter for mipsn32el
Setting /usr/bin/qemu-mips64-static as binfmt interpreter for mips64
Setting /usr/bin/qemu-mips64el-static as binfmt interpreter for mips64el
Setting /usr/bin/qemu-sh4-static as binfmt interpreter for sh4
Setting /usr/bin/qemu-sh4eb-static as binfmt interpreter for sh4eb
Setting /usr/bin/qemu-s390x-static as binfmt interpreter for s390x
Setting /usr/bin/qemu-aarch64-static as binfmt interpreter for aarch64
Setting /usr/bin/qemu-aarch64_be-static as binfmt interpreter for aarch64_be
Setting /usr/bin/qemu-hppa-static as binfmt interpreter for hppa
Setting /usr/bin/qemu-riscv32-static as binfmt interpreter for riscv32
Setting /usr/bin/qemu-riscv64-static as binfmt interpreter for riscv64
Setting /usr/bin/qemu-xtensa-static as binfmt interpreter for xtensa
Setting /usr/bin/qemu-xtensaeb-static as binfmt interpreter for xtensaeb
Setting /usr/bin/qemu-microblaze-static as binfmt interpreter for microblaze
Setting /usr/bin/qemu-microblazeel-static as binfmt interpreter for microblazeel
Setting /usr/bin/qemu-or1k-static as binfmt interpreter for or1k
Setting /usr/bin/qemu-hexagon-static as binfmt interpreter for hexagon
Setting /usr/bin/qemu-loongarch64-static as binfmt interpreter for loongarch64
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm cr.loongnix.cn/library/debian:buster-slim uname -m
WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
/usr/bin/uname: error while loading shared libraries: libc.so.6: cannot stat shared object: Error 38
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ 

@leavelet
Copy link
Member

我们公司龙芯适配都是我那个qemu镜像搞的,那个镜像没啥修改,就是把 https://github.com/multiarch/qemu-user-static 里更新到 qemu官方最新脚本+龙芯给的qemu-user-static文件打包

据我所知贵司应该都是旧世界?

@zhangguanzhang
Copy link

我们公司龙芯适配都是我那个qemu镜像搞的,那个镜像没啥修改,就是把 https://github.com/multiarch/qemu-user-static 里更新到 qemu官方最新脚本+龙芯给的qemu-user-static文件打包

据我所知贵司应该都是旧世界?

https://cr.loongnix.cn/search
https://github.com/Loongson-Cloud-Community/dockerfiles
用的这些镜像都没问题,abi1.0的

@leavelet
Copy link
Member

我们公司龙芯适配都是我那个qemu镜像搞的,那个镜像没啥修改,就是把 https://github.com/multiarch/qemu-user-static 里更新到 qemu官方最新脚本+龙芯给的qemu-user-static文件打包

据我所知贵司应该都是旧世界?

https://cr.loongnix.cn/search https://github.com/Loongson-Cloud-Community/dockerfiles 用的这些镜像都没问题,abi1.0的

那应该就是 ABI 的问题,我们这个仓库都是 ABI2.0。稍后我看下是什么导致的

@leavelet
Copy link
Member

我们公司龙芯适配都是我那个qemu镜像搞的,那个镜像没啥修改,就是把 https://github.com/multiarch/qemu-user-static 里更新到 qemu官方最新脚本+龙芯给的qemu-user-static文件打包

据我所知贵司应该都是旧世界?

https://cr.loongnix.cn/search https://github.com/Loongson-Cloud-Community/dockerfiles 用的这些镜像都没问题,abi1.0的

您镜像里的qemu的版本是 7.1.50,而且是树外的,推测可能是打了支持 ABI1.0 的补丁。 ABI2.0 的同学还是用我们维护的镜像吧。

@zhangguanzhang
Copy link

我们公司龙芯适配都是我那个qemu镜像搞的,那个镜像没啥修改,就是把 https://github.com/multiarch/qemu-user-static 里更新到 qemu官方最新脚本+龙芯给的qemu-user-static文件打包

据我所知贵司应该都是旧世界?

https://cr.loongnix.cn/search https://github.com/Loongson-Cloud-Community/dockerfiles 用的这些镜像都没问题,abi1.0的

您镜像里的qemu的版本是 7.1.50,而且是树外的,推测可能是打了支持 ABI1.0 的补丁。 ABI2.0 的同学还是用我们维护的镜像吧。

这个qemu是龙芯官方的qemu提交人,之前编译发给我的

@leavelet
Copy link
Member

我们公司龙芯适配都是我那个qemu镜像搞的,那个镜像没啥修改,就是把 https://github.com/multiarch/qemu-user-static 里更新到 qemu官方最新脚本+龙芯给的qemu-user-static文件打包

据我所知贵司应该都是旧世界?

https://cr.loongnix.cn/search https://github.com/Loongson-Cloud-Community/dockerfiles 用的这些镜像都没问题,abi1.0的

您镜像里的qemu的版本是 7.1.50,而且是树外的,推测可能是打了支持 ABI1.0 的补丁。 ABI2.0 的同学还是用我们维护的镜像吧。

这个qemu是龙芯官方的qemu提交人,之前编译发给我的

对,所以旧世界(ABI1.0)的支持很完善,这正是我们没有支持的,旧世界的镜像应该继续用您的multiarch镜像,新世界建议用我们的镜像。我们在所有评论都是这么说的。

同时,这个仓库明确写了只支持新世界(ABI2.0),所以这个仓库也推荐用我们维护的multiarch 镜像。

感谢您的时间!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants