apt 已经运行良好。但为了解决找不到包的错误,我使用了下面的命令
sudo sed -i -e s/universe//g /etc/apt/sources.list
sudo sed -i -e s/main/"main universe"/ /etc/apt/sources.list
现在,每当我使用任何 apt 命令时,我都会遇到这个错误
$ sudo apt-get update
E: Malformed entry 15 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
有什么解决办法吗?