Getting the same error
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/Release Unable to find expected entry 'independent/source/Sources' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/Release Unable to find expected entry 'independent/source/Sources' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/Release Unable to find expected entry 'independent/source/Sources' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/Release Unable to find expected entry 'independent/source/Sources' 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.
Getting the same error
W: Failed to fetch http:// security. ubuntu. com/ubuntu/ dists/precise- security/ Release Unable to find expected entry 'independent/ source/ Sources' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http:// us.archive. ubuntu. com/ubuntu/ dists/precise/ Release Unable to find expected entry 'independent/ source/ Sources' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http:// us.archive. ubuntu. com/ubuntu/ dists/precise- updates/ Release Unable to find expected entry 'independent/ source/ Sources' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http:// us.archive. ubuntu. com/ubuntu/ dists/precise- backports/ Release Unable to find expected entry 'independent/ source/ Sources' 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.