ubuntu:Reading package lists... Error!

本文介绍了在Ubuntu系统中遇到的软件包解析错误问题及其解决方案。错误信息包括无法解析位于/var/lib/apt/lists/目录下的软件包文件。文章提供了两种解决方法:首先使用sudo权限删除相关缓存列表,然后更新APT软件源。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

E: Unable to parse package file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_main_binary-amd64_Packages (1)
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.


resolve:
1 sudo rm /var/lib/apt/lists/* -vf
2 sudo apt-get update



sudo apt update sudo apt install ubuntu-make # 直接从官方仓库安装 Hit:1 http://cn.archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://cn.archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:3 http://cn.archive.ubuntu.com/ubuntu jammy-backports InRelease Hit:4 https://typora.io/linux ./ InRelease Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease Ign:7 https://ppa.launchpadcontent.net/ubuntu-desktop/ubuntu-make/ubuntu jammy InRelease Err:8 https://ppa.launchpadcontent.net/ubuntu-desktop/ubuntu-make/ubuntu jammy Release 404 Not Found [IP: 185.125.190.80 443] Hit:9 https://download.docker.com/linux/ubuntu jammy InRelease Hit:10 https://dl.google.com/linux/chrome/deb stable InRelease Hit:6 https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu jammy InRelease Reading package lists... Done E: The repository 'https://ppa.launchpadcontent.net/ubuntu-desktop/ubuntu-make/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. W: https://packagecloud.io/rabbitmq/rabbitmq-server/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. Reading package lists... Done Building dependency tree... Done Reading state information... Done No apt package "ubuntu-make", but there is a snap with that name. Try "snap install ubuntu-make" E: Unable to locate package ubuntu-make sqa@sqa-Precision-3480:~$ snap install ubuntu-make error: This revision of snap "ubuntu-make" was published using classic confinement and thus may perform arbitrary system changes outside of the security sandbox that snaps are usually confined to, which may put your system at risk. If you understand and want to proceed repeat the command including --classic. sqa@sqa-Precision-3480:~$ sudo apt install ubuntu-make umake ide # 例如安装Android Studio:umake android Reading package lists... Done Building dependency tree... Done Reading state information... Done No apt package "ubuntu-make", but there is a snap with that name. Try "snap install ubuntu-make" E: Unable to locate package ubuntu-make bash: /snap/bin/umake: No such file or directory
03-29
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值