问题描述:
在系统中双击安装软件时,出现“Deb format exception, failed to parse package file”报错。
解决方案:
1、删除/var/lib/apt/lists/目录下的所有文件:
$ sudo rm /var/lib/apt/lists/*
2、更新软件源:
$ sudo apt update
3、重新安装软件:
重新尝试双击安装软件,或者在终端中使用dpkg命令直接安装指定的软件包文件。例如:
$ sudo dpkg -i <软件包名>
问题描述:
在系统中双击安装软件时,出现“Deb format exception, failed to parse package file”报错。
解决方案:
1、删除/var/lib/apt/lists/目录下的所有文件:
$ sudo rm /var/lib/apt/lists/*
2、更新软件源:
$ sudo apt update
3、重新安装软件:
重新尝试双击安装软件,或者在终端中使用dpkg命令直接安装指定的软件包文件。例如:
$ sudo dpkg -i <软件包名>