无法在发布文件中找到预期的条目 'main/binary-i386/Packages'(错误的 sources.list 条目或格式错误的文件)
Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
我试图在 Ubuntu 14.04 上升级 VLC 播放器。以下是我执行的命令。 (https://askubuntu.com/questions/105587/how-to-update-vlc-to-the-latest-version) 但面临 sources.list 条目错误或文件格式错误等问题。我尝试了多种解决方案但无法修复。请帮忙。
在浏览了多个论坛后,我确实尝试添加这一行
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
但它已经存在于我的机器上。我的是 64 位 OS.
现在我也从我的机器上完全清除了 Google chrome。但问题仍然存在。也无法安装 VLC/Google chrome。
您看到的警告是由于 Google 放弃了对 Google Chrome 对 Linux 的 32 位支持。您可以通过查看 https://askubuntu.com/questions/724093/no-more-updates-for-google-chrome-apt-get-update-error.
来解决这个问题
但是,您看到的上述警告与您尝试升级 vlc
完全无关。查看 https://launchpad.net/~videolan/+archive/ubuntu/stable-daily,您添加的 PPA 没有 Ubuntu 14.04 (Trusty Tahr) 的安装候选。如果您想使用此 PPA,则必须升级到 15.10、16.04 或 16.10。我会推荐 16.04,因为 16.04 是一个 LTS,而 15.10 将在几周内达到生命周期结束,而 16.10 是一个开发版本,对您来说可能太不稳定了。
如果您想继续使用 14.04,那么您可以简单地删除 PPA 并从 Ubuntu 存储库安装 vlc
,但是这个版本相对于可用的版本来说已经过时了PPA.
sudo gedit /etc/apt/sources.list.d/google-chrome.list
替换:
deb http://dl.google.com/linux/chrome/deb/ stable main
与:
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
我试图在 Ubuntu 14.04 上升级 VLC 播放器。以下是我执行的命令。 (https://askubuntu.com/questions/105587/how-to-update-vlc-to-the-latest-version) 但面临 sources.list 条目错误或文件格式错误等问题。我尝试了多种解决方案但无法修复。请帮忙。
在浏览了多个论坛后,我确实尝试添加这一行
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
但它已经存在于我的机器上。我的是 64 位 OS.
现在我也从我的机器上完全清除了 Google chrome。但问题仍然存在。也无法安装 VLC/Google chrome。
您看到的警告是由于 Google 放弃了对 Google Chrome 对 Linux 的 32 位支持。您可以通过查看 https://askubuntu.com/questions/724093/no-more-updates-for-google-chrome-apt-get-update-error.
来解决这个问题但是,您看到的上述警告与您尝试升级 vlc
完全无关。查看 https://launchpad.net/~videolan/+archive/ubuntu/stable-daily,您添加的 PPA 没有 Ubuntu 14.04 (Trusty Tahr) 的安装候选。如果您想使用此 PPA,则必须升级到 15.10、16.04 或 16.10。我会推荐 16.04,因为 16.04 是一个 LTS,而 15.10 将在几周内达到生命周期结束,而 16.10 是一个开发版本,对您来说可能太不稳定了。
如果您想继续使用 14.04,那么您可以简单地删除 PPA 并从 Ubuntu 存储库安装 vlc
,但是这个版本相对于可用的版本来说已经过时了PPA.
sudo gedit /etc/apt/sources.list.d/google-chrome.list
替换:
deb http://dl.google.com/linux/chrome/deb/ stable main
与:
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main