首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法移除ppa

无法移除ppa
EN

Ask Ubuntu用户
提问于 2013-08-08 11:29:45
回答 1查看 2.6K关注 0票数 1

我最近在我的软件源代码中添加了stormcloud (ppa:jolicloud-team/ppa),但它恰好是一个空源,每当我试图安装stormcloud或更新我的系统时,它都会出现一个错误。例如:

代码语言:javascript
复制
W: Failed to fetch http://ppa.launchpad.net/cooperjona/stormcloud/ubuntu/dists/precise/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/cooperjona/stormcloud/ubuntu/dists/precise/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

我无法删除这个ppa --我无法在/etc/apt/ unable .列表中找到它,也不能将它从命令行中移除。例如,当我这样做时:

代码语言:javascript
复制
sudo add-apt-repository --remove ppa:cooperjona/stormcloud

它会给出以下错误。

代码语言:javascript
复制
Cannot access PPA (https://launchpad.net/api/1.0/~cooperjona/+archive/stormcloud) to get PPA information, please check your internet connection.

当我使用ppa-清除时,我得到了以下结果-结果我流产了。

$ sudo ppa-purge ppa:jolicloud-team/ppa

代码语言:javascript
复制
Updating packages lists
W: Failed to fetch http://ppa.launchpad.net/cooperjona/stormcloud/ubuntu/dists/precise/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/cooperjona/stormcloud/ubuntu/dists/precise/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
Warning:  apt-get update failed for some reason
PPA to be removed: jolicloud-team ppa
comm: file 2 is not in sorted order
Package revert list generated:
 awesome/precise jolicloud-daemon/precise jolicloud-desktop-environment/precise 
jupiter/precise lua-lgi/precise nickel-browser/precise 
nickel-browser-l10n/precise nickel-codecs-ffmpeg-extra/precise 
nickel-codecs-ffmpeg-nonfree/precise xsettingsd/precise

Disabling jolicloud-team PPA from 
/etc/apt/sources.list.d/jolicloud-team-ppa-precise.list
Updating packages lists
W: Failed to fetch http://ppa.launchpad.net/cooperjona/stormcloud/ubuntu/dists/precise/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/cooperjona/stormcloud/ubuntu/dists/precise/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
Warning:  apt-get update failed for some reason
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Release 'precise' for 'jolicloud-daemon' was not found
E: Release 'precise' for 'jolicloud-desktop-environment' was not found
E: Release 'precise' for 'jupiter' was not found
E: Release 'precise' for 'nickel-browser' was not found
E: Release 'precise' for 'nickel-browser-l10n' was not found
E: Release 'precise' for 'nickel-codecs-ffmpeg-extra' was not found
E: Release 'precise' for 'nickel-codecs-ffmpeg-nonfree' was not found
E: Release 'precise' for 'xsettingsd' was not found
Unable to find an archive "precise" for the package "jolicloud-daemon"
Unable to find an archive "precise" for the package "jolicloud-desktop-environment"
Unable to find an archive "precise" for the package "jupiter"
Unable to find an archive "precise" for the package "nickel-browser"
Unable to find an archive "precise" for the package "nickel-browser-l10n"
Unable to find an archive "precise" for the package "nickel-codecs-ffmpeg-extra"
Unable to find an archive "precise" for the package "nickel-codecs-ffmpeg-nonfree"
Unable to find an archive "precise" for the package "xsettingsd"
Unable to find an archive "precise" for the package "jolicloud-daemon"
Unable to find an archive "precise" for the package "jolicloud-desktop-environment"
Unable to find an archive "precise" for the package "jupiter"
Unable to find an archive "precise" for the package "nickel-browser"
Unable to find an archive "precise" for the package "nickel-browser-l10n"
Unable to find an archive "precise" for the package "nickel-codecs-ffmpeg-extra"
Unable to find an archive "precise" for the package "nickel-codecs-ffmpeg-nonfree"
Unable to find an archive "precise" for the package "xsettingsd"
The following packages will be DOWNGRADED:
  awesome 
The following NEW packages will be installed:
  libev4{a} 
The following packages will be REMOVED:
  feh{u} giblib1{u} libjpeg-progs{u} libjpeg-turbo-progs{u} lua-lgi{u} 
0 packages upgraded, 1 newly installed, 1 downgraded, 5 to remove and 10 not upgraded.
Need to get 873 kB of archives. After unpacking 575 kB will be freed.
The following packages have unmet dependencies:
 jolicloud-desktop-environment : Depends: awesome (>= 3.5) but 3.4.11-1ubuntu1 is to be installed.
The following actions will resolve these dependencies:

     Remove the following packages: 
1)     jolicloud-desktop-environment



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Keep the following packages at their current version:                  
1)     awesome [3.5-rc1-8~precise1 (now)]                                   
2)     feh [2.2-1 (now, precise)]                                           
3)     giblib1 [1.2.4-8 (now, precise)]                                     
4)     libjpeg-turbo-progs [1.1.90+svn733-0ubuntu4.1 (now, precise-updates)]
5)     lua-lgi [0.6.2-1ubuntu1~precise1 (now)]                              



Accept this solution? [Y/n/q/?] q

这并没有损害我的电脑或其他东西,但根据我过去的经验,我已经吸取了一两次关于ppas故障的教训,我不希望我的软件包完全崩溃。我该怎么办?

(我使用的是Ubuntu12.04 LTS)

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2013-08-08 11:39:39

我相信,如果你进入终端的折叠命令,你可以把他们从那里移除。

代码语言:javascript
复制
software-properties-gtk --open-tab=2

或系统Settings>软件和更新。接下来点击第二个选项卡进入其他软件。

选择不想检查的源(空的),或者关闭滴答,或者一起删除。

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

https://askubuntu.com/questions/330103

复制
相关文章

相似问题

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