更新apt-get我看到以下错误:
Err http://php53.dotdeb.org stable/all amd64 Packages
Err http://php53.dotdeb.org stable/all i386 Packages
Err http://php53.dotdeb.org stable/all amd64 Packages
Err http://php53.dotdeb.org stable/all i386 Packages
Err http://php53.dotdeb.org stable/all amd64 Packages
Err http://php53.dotdeb.org stable/all i386 Packages
Ign http://php53.dotdeb.org stable/all
Translation-nl_NL
Ign http://php53.dotdeb.org stable/all Translation-nl
Ign http://php53.dotdeb.org stable/all Translation-en_US
Ign http://php53.dotdeb.org stable/all Translation-en
W: Failed to fetch copy:/var/lib/apt/lists/partial/php53.dotdeb.org_dists_stable_all_binary-amd64_Packages Invalid file format
W: Failed to fetch copy:/var/lib/apt/lists/partial/php53.dotdeb.org_dists_stable_all_binary-i386_Packages Invalid file format我使用PHP5.5.9,因此可以删除对php53的任何引用。
如何纠正此错误?
发布于 2015-10-06 12:25:34
删除sources.list和/etc/apt/sources.list.d中的list文件中的行
sudo sed -i '/php53\.dotdeb\.org/d' /etc/apt/sources.list
sudo sed -i '/php53\.dotdeb\.org/d' /etc/apt/sources.list.d/*
sudo apt-get update因为你是说。
我使用PHP5.5.9,因此可以删除对php53的任何引用。
PHP5.5.9位于Ubuntu存储库中。您不需要额外的存储库。
发布于 2015-10-06 12:20:44
我假设您指的是为LAMP堆栈提供debian包而不是为dotdeb.com (为大量软件提供debian安装程序文件)提供debian包的那个。
根据他们的网站(dotdeb.org) .
Dotdeb supports :
Debian 8.x “Jessie“,
Debian 7.x “Wheezy” and Debian 6.x “Squeeze“
both amd64 and i386 architectures荷兰服务器的apt线应该是..。
deb http://mirror.nl.leaseweb.net/dotdeb/ stable all
deb-src http://mirror.nl.leaseweb.net/dotdeb/ stable all我建议把你的台词改为上面的。
对于任何想要这样做的人,请阅读:https://serverfault.com/questions/279826/debian-and-dotdeb-packages
https://askubuntu.com/questions/682112
复制相似问题