I just installed Ubuntu 14.04 on a new hard drive. When I run sudo apt-get update, I get the following error:  W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)  E: Some index files failed to download. They have been ignored, or old ones used instead.   My sources.list file, indeed, makes no mention of any "binary-i386". Should I manually add that line to the file?
9469
I am using Google Chrome 48.0 32-bit. Today when I launched Google Chrome, I got this message:    This computer will soon stop receiving Google Chrome updates because this Linux system will no longer be supported   I thought Ubuntu 14.04 is supported for five years, what's exactly happening here?  And on 64-bit Ubuntu, I get an error from Update Manager and apt-get update:  Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)   Some index files failed to download.   They have been ignored, or old ones used instead.
62876
When doing an apt-get update/upgrade I see that warning  W: Conflicting distribution: https://downloads.plex.tv/repo/deb public InRelease (expected public but got )   I was upgrading to Ubuntu Zesty 17.04 before and do not know how to fix the above. Already have seen ? but there are no suggested fixes for that.  Maybe one of you can give some hints? Thanks!
96964
I'm trying to update from ubuntu 12.10 lately but I keep getting the "Failed to fetch" error.  W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/Release  Unable to find expected entry 'independent/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)  W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/Release  Unable to find expected entry 'independent/source/Sources' in Release file (Wrong sources.list entry or malformed file)  W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-updates/Release  Unable to find expected entry 'independent/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)  W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-backports/Release  Unable to find expected entry 'independent/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)  E: Some index files failed to download. They have been ignored, or old ones used instead.   I changed the server and deleted the source lists from /var/lib/apt/lists/ like some answers say but still. This is really annoying.
89774
I have some questions about the APT package manager.     As I understand we have repositories URLs located at /etc/apt/sources.list and /etc/apt/sources.list.d/*      When apt-get update is called, apt tries to connect to all specified repositories in the file and download information about those repositories about what programs are available and so on.      It caches all retrieved data locally in order to use it later without making internet requests to the repository.      When apt-get install is called it searches local cache package list from available repositories and if package is not found it does nothing except display an error.      apt-get search also looks into local cache and doesn't make any requests to the internet.      Am I right? I am not sure about commands that make requests instead of searching data in the local cache.        Also, what is the difference between apt-cache search and apt search? I can guess they both use the local cache.
1091
Every once in a while I see users having issues to update due to errors like this:  E:Type 'ain' is not known on line 1 in source list /etc/apt/sources.list.d/some-ppa.list'   with varying types/line numbers/source list files (often after removing a PPA).  How can such an error be fixed?
66744
I've got an Ubuntu 11.10 system connected via a proxy to the internet, and I would like to install packages via apt-get. When I try to do that I get this error message:  sudo apt-get install libboost-program-options-dev [...] Err http://gb.archive.ubuntu.com/ubuntu/ oneiric/main libboost1.46-dev i386 1.46.1-5ubuntu2 407  Proxy Authentication Required   Any ideas?
8882
I have the message:   Error Broken count &gt;0 Check if you are using third party repositories. If so disable them, since they are a common source of problems. Furthermore run the following command in a Terminal: apt-get install -f Details: The following packages have unmet dependencies: firefox-globalmenu: Depends: firefox (= 19.0+build1-0ubuntu0.12.04.2) but 19.0+build1-0ubuntu0.12.04.1 is installed   Any suggestions?
44259
For the command   sudo apt-get update   I get following error:  W: Failed to fetch http://ch.archive.ubuntu.com/ubuntu/dists/maverick-updates/multiverse/binary-i386/Packages.gz   407  Proxy Authentication Required (The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )   I am running Ubuntu 10.10 installed on Windows XP using VirtualBox. For Internet connections I am using proxy server with an authentication. I tried to use gnome-network-proxy tool to set proxy settings system-wide.   After that /etc/environment has been updated by http_proxy variable with the format http://my_proxy:port/, there were no authentication data.  I checked this with Firefox. Browser asked my for login and password and everything was working fine. It was unfortunately not the case for apt-get. I have also tried to do as described . Unfortunately it does not work.  May it be somehow related to the fact that a proxy is in a Windows domain, any ideas?  My proxy name is http-proxy. Is '-' a special character here?
60745
I have four build servers that were all setup the same originally.  We've been using them to cross-compile C projects.  I'm trying to update them compile C++ natively as well.  Two of the servers I was able to install g++ on with no problem, the other two though give me 404 errors.  $ sudo apt-get install g++ Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed:   g++-7 libstdc++-7-dev Suggested packages:   g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg libstdc++-7-doc The following NEW packages will be installed:   g++ g++-7 libstdc++-7-dev 0 upgraded, 3 newly installed, 0 to remove and 5 not upgraded. Need to get 9,043 kB of archives. After this operation, 40.7 MB of additional disk space will be used. Do you want to continue? [Y/n] y Err:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.4.0-1ubuntu1~18.04   404  Not Found [IP: 91.189.88.149 80] Err:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++-7 amd64 7.4.0-1ubuntu1~18.04   404  Not Found [IP: 91.189.88.149 80] Err:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++ amd64 4:7.4.0-1ubuntu2.2   404  Not Found [IP: 91.189.88.149 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-7/libstdc++-7-dev_7.4.0-1ubuntu1~18.04_amd64.deb  404  Not Found [IP: 91.189.88.149 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-7/g++-7_7.4.0-1ubuntu1~18.04_amd64.deb  404  Not Found [IP: 91.189.88.149 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-defaults/g++_7.4.0-1ubuntu2.2_amd64.deb  404  Not Found [IP: 91.189.88.149 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?   I have confirmed that all four report the same version info.  $ uname -a Linux build_server4 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 18.04.2 LTS Release:        18.04 Codename:       bionic
116417
I recently installed Ubuntu 15.10 on my old computer.  I'm now trying to create a windows usb stick to install on a new computer I'm building.  When I add the repository      sudo add-apt-repository ppa:colingille/freshlight   and I try to update, I get the following errors:      W: Failed to fetch http://ppa.launchpad.net/colingille/freshlight/ubuntu/dists/wily/main/binary-amd64/Packages  404  Not Found                               W: Failed to fetch http://ppa.launchpad.net/colingille/freshlight/ubuntu/dists/wily/main/binary-i386/Packages  404  Not Found      E: Some index files failed to download. They have been ignored, or old ones used instead.   Then when I try:     sudo apt-get install winusb   I get:     E: Unable to locate package winusb   Can anyone help me find a solution?
100553
I am unable to apt-get install any packages because E: Package '&lt;package name&gt;' has no installation candidate. Unlike the other similarly named questions, I am using debian and I have not been able to get any packages to work due to the same error. apt is still able to list repositories. I have updated, upgraded, rebooted, and repeated after my attempts at fixing sources.list, but nothing has worked.  For example,  $ sudo apt-get install nodejs Reading package lists... Done Building dependency tree        Reading state information... Done Package nodejs is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'nodejs' has no installation candidate   Running $ find /etc/apt/ -path *.list | xargs cat produces:  #------------------------------------------------------------------------------# #                   OFFICIAL DEBIAN REPOS                     #------------------------------------------------------------------------------#  ###### Debian Main Repos deb http://ftp.us.debian.org/debian/ jessie main contrib non-free  deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free   ###### Debian Update Repos deb http://security.debian.org/ jessie/updates main contrib non-free  deb http://ftp.us.debian.org/debian/ jessie-proposed-updates main contrib non-free  deb-src http://security.debian.org/ jessie/updates main contrib non-free  deb-src http://ftp.us.debian.org/debian/ jessie-proposed-updates main contrib non-free    deb http://archive.raspberrypi.org/debian/ jessie main ui # Uncomment line below then 'apt-get update' to enable 'apt-get source' deb-src http://archive.raspberrypi.org/debian/ jessie main ui deb https://dev2day.de/pms/ jessie main deb http://dl.bintray.com/openhab/apt-repo stable main
122338
When I try to install updates from the update manager it says:  Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-3.0.0-13-generic_3.0.0-13.22_i386.deb   Size mismatch   I have tried several times and through terminal too but the size mismatch repeats itself there too. What is this size mismatch error?  I also tried sudo apt-get update and sudo apt-get upgrade, but the error comes again.  Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/x/xserver-xorg-video-intel/xserver-xorg-video-intel_2.15.901-1ubuntu2.1_i386.deb   Size mismatch   E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
48749
When I run sudo apt-get update I get the following error:  W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-armhf/Packages  404  Not Found [IP: 91.189.91.15 80]  E: Some index files failed to download. They have been ignored, or old ones used instead.   I've tried looking in /etc/apt/sources.list.d/ to see if anything in that directory can be removed but all that is in there is  nodesource.list nodesource.list.save   In my sources.list file I have:  deb http://ports.ubuntu.com/ubuntu-ports/ trusty main deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty main deb http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main deb http://ports.ubuntu.com/ubuntu-ports/ trusty-security main deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-security main deb http://archive.ubuntu.com/ubuntu trusty main # deb-src http://archive.ubuntu.com/ubuntu trusty main   Can anyone recommend a way of fixing this error?
4537
I installed Ubuntu 16 desktop a few weeks ago. Added Chrome and all fine. However now when I try sudo apt-get install ffmpeg, I get this error message:  Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies:  google-chrome-stable : Depends: libappindicator1 but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).   What's the problem and what should I do?
10743
For the last week or more, running sudo apt-get update culminates in error:  Reading package lists... Done E: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial/main/dep11/Components-amd64.yml   Could not open file /var/lib/apt/lists/partial/au.archive.ubuntu.com_ubuntu_dists_xenial_main_dep11_Components-amd64.yml.gz - open (13: Permission denied) [IP: 202.158.214.106 80] E: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial-backports/main/dep11/icons-64x64.tar  Could not open file /var/lib/apt/lists/partial/au.archive.ubuntu.com_ubuntu_dists_xenial-backports_main_dep11_icons-64x64.tar.gz - open (13: Permission denied) [IP: 202.158.214.106 80] E: Some index files failed to download. They have been ignored, or old ones used instead.   Entering either of the 2 specified urls into a browser address bar results in a 'File not found' (404) error - but if I append .gz to both addresses, then the respective files can be downloaded.  However, having downloaded the 2 files, I then don't know how (or if) I can utilize them.  Seeking advice on how best to proceed.
72965
Please let me know how to remove certain repositories in Ubuntu 11.04. I am getting the following errors while updating.  sudo apt-get update  Err http://ppa.launchpad.net natty/main Sources                                      404  Not Found Err http://ppa.launchpad.net natty/main i386 Packages                                404  Not Found ......  E: Some index files failed to download. They have been ignored, or old ones used instead.
16887
I have Google Chrome Version 70.0.3538.77 (Official Build) (64-bit).  Today, after running sudo apt update and sudo apt full-upgrade, I saw:  E: Repository 'http://dl.google.com/linux/chrome/deb stable Release' changed its 'Origin' value from 'Google, Inc.' to 'Google LLC' N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.   I looked at the man page for apt-secure but it's pretty technical and difficult, at least for me, to follow.  So how do I fix this issue?    Edit: for now, I've removed the existing Google Chrome ppa from Software Sources and then ran sudo apt update and sudo apt full-upgrade successfully with the following being installed/upgraded successfully:  The following NEW packages will be installed:   python3-netifaces The following packages will be upgraded:   netplan.io nplan ppp 3 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.