Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

吃可爱长大的小学妹 提交于 2019-12-20 07:38:44

问题


I was trying to upgrade VLC player on my Ubuntu 14.04. Below are the commands I've executed. (https://askubuntu.com/questions/105587/how-to-update-vlc-to-the-latest-version) But facing issues like Wrong sources.list entry or malformed file. I'v tried multiple solutions but not able to fix it. Please help.

After going through multiple forums, I did tried to add this line

deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

But it was already present on my machine. Mine is a 64 bit OS.

Now I've also completely purged Google chrome from my machine. But still the issue persists. Not able to install VLC/Google chrome either.


回答1:


The warning that you see is caused by Google's dropping of support for 32-bit Google Chrome for Linux. You can fix that by looking at https://askubuntu.com/questions/724093/no-more-updates-for-google-chrome-apt-get-update-error.

However, the aforementioned warning you see is entirely unrelated to your attempt to upgrade vlc. Looking at https://launchpad.net/~videolan/+archive/ubuntu/stable-daily, the PPA you added does not have an installation candidate for Ubuntu 14.04 (Trusty Tahr). If you want to use this PPA, you are going to have to upgrade to 15.10, 16.04 or 16.10. I would recommend 16.04 because 16.04 is an LTS while 15.10 will reach end-of-life in a couple of weeks and 16.10 is a developmental version that may be too unstable for you.

If you want to keep using 14.04, then you can simply remove the PPA and just install vlc from the Ubuntu repositories, but this version will be outdated relative to what is available to in the PPA.




回答2:


sudo gedit /etc/apt/sources.list.d/google-chrome.list

replace:

deb http://dl.google.com/linux/chrome/deb/ stable main

with:

deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main


来源:https://stackoverflow.com/questions/38219395/unable-to-find-expected-entry-main-binary-i386-packages-in-release-file-wrong

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!