ubuntu 22.04 apt-get 安装软件报错:Temporary failure resolving ‘cn.archive.ubuntu.com‘
创始人
2025-01-10 00:04:20
0

报错信息:

在这里插入图片描述

Err:1 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libtcl8.6 amd64 8.6.12+dfsg-1build1
Temporary failure resolving ‘cn.archive.ubuntu.com’
Err:2 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 tcl8.6 amd64 8.6.12+dfsg-1build1
Temporary failure resolving ‘cn.archive.ubuntu.com’
Err:3 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 tcl-expect amd64 5.45.4-2build1
Temporary failure resolving ‘cn.archive.ubuntu.com’
Err:4 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 expect amd64 5.45.4-2build1
Temporary failure resolving ‘cn.archive.ubuntu.com’
E: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/pool/main/t/tcl8.6/libtcl8.6_8.6.12%2bdfsg-1build1_amd64.deb Temporary failure resolving ‘cn.archive.ubuntu.com’
E: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/pool/main/t/tcl8.6/tcl8.6_8.6.12%2bdfsg-1build1_amd64.deb Temporary failure resolving ‘cn.archive.ubuntu.com’
E: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/pool/universe/e/expect/tcl-expect_5.45.4-2build1_amd64.deb Temporary failure resolving ‘cn.archive.ubuntu.com’
E: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/pool/universe/e/expect/expect_5.45.4-2build1_amd64.deb Temporary failure resolving ‘cn.archive.ubuntu.com’
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

解决方法:

启动自带的dns服务:
systemctl enable systemd-resolved.service --now
在这里插入图片描述

相关内容

热门资讯

透视透视!(WPk)软件透明挂... 透视透视!(WPk)软件透明挂辅助安装插件!(wpk辅助挂)必胜教程(2025已更新)(哔哩哔哩);...
黑科技智能ai!wpk俱乐部会... 黑科技智能ai!wpk俱乐部会员管理软件,wpk德州俱乐部机器人,微扑克教程(有挂功能)-哔哩哔哩;...
8分钟私人局!wepoker能... 8分钟私人局!wepoker能不能透视,wepoker黑侠辅助器(透视)解密教程(有挂工具)1、we...
三分钟了解!智星德州菠萝辅助工... 三分钟了解!智星德州菠萝辅助工具,微扑克系统发牌规律,扑克教程(有挂秘笈)-哔哩哔哩;是一款可以让一...
玩家必用!(Wepoke私人房... 玩家必用!(Wepoke私人房)软件透明挂辅助助手!(微扑克系统机制)细节揭秘(2020已更新)(哔...
两分钟透视!wepoker黑侠... 两分钟透视!wepoker黑侠破解,wpk透视挂(透视)必赢方法(真是有挂)1、让任何用户在无需we...
透视中牌率!(线上Wepoke... 透视中牌率!(线上Wepoke)外挂透明挂ai代打辅助软件!(wpk辅助挂)透明挂教程(2025已更...
总算明白!智星德州辅助,微po... 总算明白!智星德州辅助,微poker插件,软件教程(有挂工具)-哔哩哔哩;亲真的是有正版授权,小编(...
1分钟透视!wepoker软件... 1分钟透视!wepoker软件安装包,哈糖大菠萝怎么挂(透视)2025新版技巧(有挂方法)小薇(透视...
黑科技实锤!(aapoker ... 黑科技实锤!(aapoker app)外挂透明挂辅助器安装!(wpk俱乐部有ai)必赢教程(2024...