V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
brucmao
V2EX  ›  Windows

wsl2 打包 wsa 失败

  •  
  •   brucmao · 2022-09-09 14:20:56 +08:00 · 1364 次点击
    这是一个创建于 808 天前的主题,其中的信息可能已经有所发展或是发生改变。

    参考 一日一技 | 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
    
    第 1 条附言  ·  2022-09-09 14:52:45 +08:00
    sudo add-apt-repository --remove ppa:fontforge/fontforge
    删除就可以了
    mcluyu
        1
    mcluyu  
       2022-09-09 15:11:31 +08:00
    我试了一下, 倒是没遇到你这个, 但是后面连接失败了, 最后挂梯子成功了
    brucmao
        2
    brucmao  
    OP
       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
        3
    mcluyu  
       2022-09-09 16:18:48 +08:00
    你可能挂了全局了, 我是路由器透明代理的, 后面的步骤很快,速度几乎跑满我的宽带
    yujincheng08
        4
    yujincheng08  
       2022-09-09 19:21:42 +08:00 via Android
    我们正在研究用 qemu 实现打包,到时候应该就不需要这些 apt install 了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1686 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 16:47 · PVG 00:47 · LAX 08:47 · JFK 11:47
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.