无法打开更新管理器、包管理器或软件中心。
- 当我尝试启动上述程序时出现以下代码:
Could not initialize the package information An unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the following error message: 'E:Type '“deb' is not known on line 58 in source list /etc/apt/sources.list, E:The list of sources could not be read.'
尝试“gedit”它,显然它不能处理“E”文件?
预先感谢您的帮助。
答案1
该文件的第 58 行/etc/apt/sources.list
似乎以“deb
而不是开头deb
。
以 root 身份在编辑器中打开文件,例如使用
sudo nano /etc/apt/sources.list
从命令行,然后删除(如果行尾“
有,也将其删除)。”