WSL Ubuntu无法为gedit获取debian软件包[关闭]

piok6c0g  于 2023-05-28  发布在  其他
关注(0)|答案(1)|浏览(196)

**已关闭。**此问题为not about programming or software development。目前不接受答复。

这个问题似乎不是关于a specific programming problem, a software algorithm, or software tools primarily used by programmers的。如果你认为这个问题与another Stack Exchange site的主题有关,你可以留下评论,解释在哪里可以回答这个问题。
2小时前关闭
Improve this question

  • 我正在WSL中测试在Ubuntu上使用图形桌面
  • 我的WSL是最新的
  • 当我尝试安装gedit sudo apt install gedit -y 时,我得到以下404错误(deb文件未找到)
Err:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 alsa-ucm-conf all 1.2.6.3-1ubuntu1.5
  404  Not Found [IP: 185.125.190.39 80]
Ign:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libfreetype6 amd64 2.11.1+dfsg-1ubuntu0.1
Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libjavascriptcoregtk-4.0-18 amd64 2.38.5-0ubuntu0.22.04.1
Ign:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libwebkit2gtk-4.0-37 amd64 2.38.5-0ubuntu0.22.04.1
Err:2 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 libfreetype6 amd64 2.11.1+dfsg-1ubuntu0.1                                          
  404  Not Found [IP: 185.125.190.39 80]
Err:3 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 libjavascriptcoregtk-4.0-18 amd64 2.38.5-0ubuntu0.22.04.1                          
  404  Not Found [IP: 185.125.190.39 80]
Err:4 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 libwebkit2gtk-4.0-37 amd64 2.38.5-0ubuntu0.22.04.1                                 
  404  Not Found [IP: 185.125.190.39 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/alsa-ucm-conf/alsa-ucm-conf_1.2.6.3-1ubuntu1.5_all.deb  404  Not Found [IP: 185.125.190.39 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/f/freetype/libfreetype6_2.11.1%2bdfsg-1ubuntu0.1_amd64.deb  404  Not Found [IP: 185.125.190.39 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/w/webkit2gtk/libjavascriptcoregtk-4.0-18_2.38.5-0ubuntu0.22.04.1_amd64.deb  404  Not Found [IP: 185.125.190.39 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/w/webkit2gtk/libwebkit2gtk-4.0-37_2.38.5-0ubuntu0.22.04.1_amd64.deb  404  Not Found [IP: 185.125.190.39 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
  • 我无法启动gedit,因为它没有安装
hmae6n7t

hmae6n7t1#

我用两个命令解决了这个问题:

*sudo apt update
*sudo apt升级

相关问题