I've got a problem with my apt file sources.list. Whenever I'm trying to update or install something I keep getting this error and I don't know how to fix it. I tried using vi to remove the malformed line but it doesn't get deleted. E: Malformed entry 58 in list file /etc/apt/sources.list (Component) E: The list of sources could not be read.  Thank you in advance.
236
I have unistalled and reinstalled the Ubuntu Software Center as per info I found in a similar thread and I got the same response about line 91 or something like that.  I just tried to upload a screen shot but since I'm new it won't allow me to.  I also can not figure out how to cut and paste anything so I have to hand type what the error screen says, both when I attempt to open the software center and nothing happens, when I try to enter commands into the terminal to uninstall, reinstall, whatever I get the same following:  COULD NOT INTITIALIZE THE PACKAGE INFORMATION An unresolvable problem occured while initializing the package information Please report t:his bug against the 'update-manager' package and include the following error message: 'E: Malformed line 91 in source list/etc/apt/sources.list (dist parse)  E: The list of sources could not be read.,  E: The package list of status file could not be parsed or opened.   How do I report bugs?  What can be done about this.  I have searched and everything everyone says to do leads me back to the same line error message.  So, I don't know how to get to line 91 in the source list; to tell you what it says. Sorry, I'm really new to this. That is what I need is to find out how to get there and fix what it says. I would really like to NOT have to re partition my hard drive and start from scratch, so I'm really looking forward to getting this problem solved. I need to be able to install new software.
101456
My computer is overheating because I got too many desktop environments installed like: MATE, Cinnamon and XFCE.  I uninstalled them, but XFCE failed to uninstall. I get this error.   sudo apt-get purge xfce4     Reading package lists... Error!     E: Problem syncing the file - sync (5: Input/output error)     E: The package lists or status file could not be parsed or opened.
90947
what is the usage of apt-get -f install . when I run sudo apt-get update I got some errors at the end It says try apt-get -f install. What is this command?  the last part of my error is :   . . .   going to be installed   E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
56089
I'm a new user of Ubuntu 13.10.  I recently tried to resolve a Skype installation issue and added some PPA involving binary-1386.  Every time I run sudo apt-get update, I get the following error:  W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/Release  Unable to find expected entry 'restricted/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file) W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/saucy/Release  Unable to find expected entry 'main/binary-1386/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 have spent the last two hours trying to resolve this issue, and made changes to my sources.list file by resetting to.the default saucy settings, but these errors are still occuring.  I've also unchecked everything in Software and Updates section, but this still seems to appear.  The error messages seem to be related to the 'binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file) issue as shown above.
75953
I have 20 to 3o computers on my network and I have a copy of the debian packages on /var/cache/apt/archives but when I take this downloaded copy to any other machine I need to hit an "apt-get update" , How do I avoid this ? Where is the list of packages which is updated by that command stored. I need to copy them as well, and use it on a computer which is completely offline.
7583
I'm relatively new to Ubuntu 16.04, and everything has been going fine until my OS threw this error today.   Below is the source code from /etc/apt/sources.list for line 54:  deb http://archive.canonical.com/ partner   I have tried appending ubuntu after the / and before partner, but this does not seem to work.   Any ideas what else to try? I can't run sudo apt-get update until this is fixed.
119482
I have a local mirror (created with debmirror), and when I run apt-get update after a few days, I get this:  E: Release file expired, ignoring file:/home/wena/.repo_bin/dists/sid/Release (invalid since 14h 31min 45s)   How do I work around that?
83208
I did: sudo apt-get update  I got this: Reading package lists... Done E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1131 (packagekitd)  N: Be aware that removing the lock file is not a solution and may break your system.  E: Unable to lock directory /var/lib/apt/lists/  I used to just remove the lock file, but I've never seen that note before (did it break my system?)?? What do I do?
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.
38421
As time goes by we tend to do apt-get install and add or replace software.  Are these archived in some form or do they get auto-cleared after installation? And if it doesn't get auto-cleared, it would mean that a clean up is needed, isn't it?  Finally, if they're not auto-removed, can we reuse these packages on different machines?
122898
I'm doing an upgrade with sudo apt-get upgrade  After I press Enter:  do you want to continue [y/n]? y debconf: apt-extracttemplates failed:No such file or directory extracting templates from package: 100% dpkg:error:parsing file '/var/lib/dpkg/status' near line 1146 package 'python-minimal' 'break' field, invalid package name 'python-de~': Character '~' not allowed (only letters,digits and character '-+._') E:Sub-process /usr/bin/dpkg returned an error code (2)   How to fix or edit this???
32451
Suppose I install debian,and my Internet network comes down. Install works OK,but at the time to setup the apt mirror from list give error because network Internet is down. I continue to install without mirror(apt/sources.list contain only cdrom entry) Internet work..how to setup the debian mirror after installation? I know how to edit sources.list with vi,but I want the menu with mirror list selection.
91680
Sometimes Ubuntu will show a popup like this:    (It looks weird because I'm using )  How can I export the list of packages/changes Ubuntu wants to install to a file? This is for debugging purposes - I think something in this update is breaking my system, and I want to be able to be able to figure out exactly where the break is coming from.
64969
When I run sudo apt-get update get this output:   sudo apt-get update E: Type '&lt;!DOCTYPE' is not known on line 1 in source list /etc/apt/sources.list.d/playonlinux.list E: The list of sources could not be read.   Also Ubuntu software Center is not opening.
78346
I have deleted some files around /var/lib/dpkg/, namely:  /var/lib/dpkg/status /var/lib/dpkg/available /var/lib/dpkg/info/*   I understand Debian uses these files to keep some information about installed packages. Now when I do apt-get update, I get following error:  Reading package lists... Error! E: Could not open file /var/lib/dpkg/status - open  (2: No such file or directory) E: The package lists or status file could not be parsed or opened.   As I understand the , files located in /var are not supposed to be system-critical. Rater these should be temporary files, logs, caches, and similar.   Is there therefore a way to recreate the deleted files ?
124244
I am getting the following error in the top menu bar:     An error occurred.Please run the Package Manger form the right-click menu or apt-get in a terminal to see what is wrong.The error message was:'Error:BrokenCount>0'.This usually means that your installed packages have unmet dependencies.
39614
Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded:   apt apt-transport-https apt-utils dpkg libapt-inst2.0 libapt-pkg5.0 ntpdate   oracle-java8-installer oracle-java8-set-default thermald 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/4,389 kB of archives. After this operation, 8,192 B of additional disk space will be used. Do you want to continue? [Y/n] Y Preconfiguring packages ... dpkg: unrecoverable fatal error, aborting:  files list file for package 'linux-generic' is missing final newline E: Sub-process /usr/bin/dpkg returned an error code (2)   I already tried the usual stuff like:   sudo dpkg --configure -a   sudo apt-get -f install  sudo apt-get clean  sudo apt-get update &amp;&amp; sudo apt-get upgrade   Any help, thanks!  cat -net /var/lib/dpkg/info/linux-generic.list      1  ^LbM-BM-^FRq^MU^Evalueq^NK^HubU^Mcertificationq^ONU^Hoverviewq^PNU$      2  updated_atq^QNU^Vavailable_translationsq^RNU^Dyearq^SMM-CM-^]^GU^Fimagesq^TNU^Bidq^UNU^Ipaused_atq^VNU^Eindex