I am getting error with my sources.list
Tofloor
poster avatar
shadowwarden
deepin
2016-11-29 19:13
Author
I am getting an error when I tried putting a closer mirror in the sources list. This is my sources.list so you can see it:
deb http://mirror.jmu.edu/pub/deepin/dists/unstable/main
deb http://mirror.jmu.edu/pub/deepin/dists/unstable/non-free
deb http://mirror.jmu.edu/pub/deepin/dists/trusty/non-free
deb http://mirror.jmu.edu/pub/deepin/dists/trusty/main
deb http://mirror.jmu.edu/pub/deepin/dists/trusty/universe
deb http://mirror.jmu.edu/pub/deepin/dists/precise-updates/main
deb http://mirror.jmu.edu/pub/deepin/dists/precise-updates/non-free
I get this error when I try to do
sudo apt-get update
E: Malformed entry 2 in list file /etc/apt/sources.list (Suite)
E: The list of sources could not be read.
What am I doing wrong?
Reply Favorite View the author
All Replies
电脑迷
deepin
2016-11-29 19:31
#1
maybe you can try this in your source.list
deb http://mirror.jmu.edu/pub/deepin unstable main contrib non-free
deb-src http://mirror.jmu.edu/pub/deepin unstable main contrib non-free

Reply View the author
A·S·M·X·T 😏😜
deepin
2016-12-02 05:19
#2
本帖最后由 liululin 于 2016-12-1 21:56 编辑

See 2#    ! ! !
If you use multiple different sources,You should set priorities in /etc/apt/preferences .

Reply View the author
A·S·M·X·T 😏😜
deepin
2016-12-02 05:22
#3
Or set default source :
Reply View the author
A·S·M·X·T 😏😜
deepin
2016-12-02 05:25
#4
本帖最后由 liululin 于 2016-12-26 13:02 编辑

echo -e 'APT:efault-Release "unstable";' | sudo tee /etc/apt/apt.conf
Reply View the author