apt-get fail to download index files

I am trying to install graph-tool on a Trusty Ubuntu virtualbox being hosted on a Mac. I've added the requisite lines

deb http://downloads.skewed.de/apt/trusty trusty main
deb-src http://downloads.skewed.de/apt/trusty trusty main

to my /etc/apt/sources.list, but when I run a sudo apt-get update, I get the following errors:

W: Failed to fetch http://downloads.skewed.de/apt/trusty/dists/trusty/Release Unable to find expected entry 'main/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.

I have the main, universe, and multiverse repositories available. If any one has come across this problem before, please let me know how to fix it. Thanks.

Andy_

attachment.html (2.45 KB)

You need to replace 'main' by 'universe' in your deb lines

attachment.html (3.82 KB)

Well, that was embarrassing...Thank you for finding my error. apt is able to find the packages now.

Andy_

attachment.html (4.62 KB)

I am trying to install graph-tool on a xubuntu virtualbox being hosted on a Windows 10. I've added the requisite lines
deb http://downloads.skewed.de/apt/xenial xenial universedeb-src http://downloads.skewed.de/apt/xenial xenial universe
to my /etc/apt/sources.list, but when I run a sudo apt-get update, I get the following errors:
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/InRelease Temporary failure resolving 'us.archive.ubuntu.com'W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease Temporary failure resolving 'security.ubuntu.com'W: Failed to fetch http://downloads.skewed.de/apt/xenial/dists/xenial/InRelease Temporary failure resolving 'downloads.skewed.de'W: Failed to fetch http://ppa.launchpad.net/noobslab/apps/ubuntu/dists/xenial/InRelease Temporary failure resolving 'ppa.launchpad.net'W: Some index files failed to download. They have been ignored, or old ones used instead.
If any one has come across this problem before, please let me know how to fix it. Thanks.

attachment.html (7.35 KB)

You seem to have a network problem, since the domains are not resolving.
This is not a graph-tool problem.