首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Err http://php53.dotdeb.org稳定/all

Err http://php53.dotdeb.org稳定/all
EN

Ask Ubuntu用户
提问于 2015-10-06 12:00:35
回答 2查看 1.4K关注 0票数 0

更新apt-get我看到以下错误:

代码语言:javascript
复制
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的任何引用。

如何纠正此错误?

EN

回答 2

Ask Ubuntu用户

回答已采纳

发布于 2015-10-06 12:25:34

删除sources.list/etc/apt/sources.list.d中的list文件中的行

代码语言:javascript
复制
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存储库中。您不需要额外的存储库。

票数 1
EN

Ask Ubuntu用户

发布于 2015-10-06 12:20:44

我假设您指的是为LAMP堆栈提供debian包而不是为dotdeb.com (为大量软件提供debian安装程序文件)提供debian包的那个。

根据他们的网站(dotdeb.org) .

代码语言:javascript
复制
Dotdeb supports :

Debian 8.x “Jessie“,
Debian 7.x “Wheezy” and Debian 6.x “Squeeze“
both amd64 and i386 architectures

荷兰服务器的apt线应该是..。

代码语言:javascript
复制
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

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/682112

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档