wsl2 打包 wsa 失败

2022-09-09 14:20:56 +08:00
 brucmao

参考 一日一技 | WSA 定制安装,找回你需要的 Google 服务和 Magisk

执行脚本的时候,一致报错,是因为 ubuntu 版本太高了,找不到包的原因吗

root@bruce ~/MagiskOnWSALocal main
λ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy

root@bruce ~/MagiskOnWSALocal main
λ ./scripts/run.sh
Checking and ensuring dependencies
Hit:1 http://mirrors.aliyun.com/ubuntu jammy InRelease
Hit:2 http://mirrors.aliyun.com/ubuntu jammy-security InRelease
Hit:3 http://mirrors.aliyun.com/ubuntu jammy-updates InRelease
Hit:4 http://mirrors.aliyun.com/ubuntu jammy-backports InRelease
Hit:5 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:6 https://dl.yarnpkg.com/debian stable InRelease
Hit:7 http://mirrors.aliyun.com/ubuntu jammy-proposed InRelease
Hit:8 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:9 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
Ign:11 https://ppa.launchpadcontent.net/fontforge/fontforge/ubuntu jammy InRelease
Get:12 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
Err:13 https://ppa.launchpadcontent.net/fontforge/fontforge/ubuntu jammy Release
  404  Not Found [IP: 185.125.190.52 443]
Reading package lists... Done
W: https://download.docker.com/linux/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://dl.yarnpkg.com/debian/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: The repository 'https://ppa.launchpadcontent.net/fontforge/fontforge/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Dependencies: an error has occurred, exit
1149 次点击
所在节点    Windows
4 条回复
mcluyu
2022-09-09 15:11:31 +08:00
我试了一下, 倒是没遇到你这个, 但是后面连接失败了, 最后挂梯子成功了
brucmao
2022-09-09 15:26:20 +08:00
@mcluyu 有梯子也很慢,已经等了很久了
```
*** Download Progress Summary as of Fri Sep 9 15:22:04 2022 ***
=============================================================================================================================================================================================================================================================================
[#f8928c 17MiB/117MiB(15%) CN:4 DL:12KiB ETA:2h12m16s]
FILE: /root/MagiskOnWSALocal/download/OpenGApps-x64-pico.zip
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[#f8928c 19MiB/117MiB(16%) CN:4 DL:48KiB ETA:34m55s]
09/09 15:22:54 [NOTICE] CUID#53 - Redirecting to https://udomain.dl.sourceforge.net/project/opengapps/x86_64/20220503/open_gapps-x86_64-11.0-pico-20220503.zip
*** Download Progress Summary as of Fri Sep 9 15:23:05 2022 ***
=============================================================================================================================================================================================================================================================================
[#f8928c 19MiB/117MiB(16%) CN:4 DL:38KiB ETA:43m31s]
FILE: /root/MagiskOnWSALocal/download/OpenGApps-x64-pico.zip
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[#f8928c 20MiB/117MiB(17%) CN:4 DL:54KiB ETA:30m17s]
09/09 15:23:20 [NOTICE] CUID#54 - Redirecting to https://udomain.dl.sourceforge.net/project/opengapps/x86_64/20220503/open_gapps-x86_64-11.0-pico-20220503.zip
[#f8928c 21MiB/117MiB(18%) CN:4 DL:59KiB ETA:27m24s]
09/09 15:23:45 [NOTICE] CUID#51 - Redirecting to https://udomain.dl.sourceforge.net/project/opengapps/x86_64/20220503/open_gapps-x86_64-11.0-pico-20220503.zip
*** Download Progress Summary as of Fri Sep 9 15:24:06 2022 ***
=============================================================================================================================================================================================================================================================================
[#f8928c 22MiB/117MiB(19%) CN:4 DL:44KiB ETA:36m46s]
FILE: /root/MagiskOnWSALocal/download/OpenGApps-x64-pico.zip
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

*** Download Progress Summary as of Fri Sep 9 15:25:07 2022 ***
=============================================================================================================================================================================================================================================================================
[#f8928c 26MiB/117MiB(22%) CN:4 DL:52KiB ETA:29m58s]
FILE: /root/MagiskOnWSALocal/download/OpenGApps-x64-pico.zip
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[#f8928c 27MiB/117MiB(23%) CN:4 DL:43KiB ETA:35m43s]
```
mcluyu
2022-09-09 16:18:48 +08:00
你可能挂了全局了, 我是路由器透明代理的, 后面的步骤很快,速度几乎跑满我的宽带
yujincheng08
2022-09-09 19:21:42 +08:00
我们正在研究用 qemu 实现打包,到时候应该就不需要这些 apt install 了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/878900

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX