ubuntu 14.04 - 无法删除ppa:ondrej / php5

时间:2017-01-24 07:31:49

标签: ruby-on-rails bash ubuntu-14.04

任何人都可以帮我删除破坏的包ondrej / php5-5.6,我正在尝试安装Ruby on Rails,但是当我运行\curl -L https://get.rvm.io | bash -s stable --ruby命令时,它会抛出 -

Requirements installation failed with status: 100.

我搜索了它的解决方案并发现“应该修复404错误以便rvm继续”然后我运行sudo add-apt-repository --remove ppa:ondrej/php5-5.6 修复损坏的包但是

getting Cannot access PPA (https://launchpad.net/api/1.0/~ondrej/+archive/php5-5.6) to get PPA information, please check your internet connection.

我已检查过互联网连接,这是正确的。 enter image description here

非常感谢!!!

1 个答案:

答案 0 :(得分:1)

嗯,@inian完全正确,安装问题不属于这里。此特定问题突出显示特定的Ubuntu问题,因此它属于Ask Ubuntu。但是,如果你重写它,因为有一种非标准的方式来移除ppa,当<TextView android:layout_width="100dp" /*This should be wrap or greater than 100dp*/ android:layout_height="wrap_content" android:ellipsize="end" android:singleLine="true" android:text="Hello World!!!!!!!!!!!!!!!!!!!!!" /> 由于某种原因不起作用时?可以在这里回答它(我想)使用bash脚本:

add-apt-repository

(我把分号放进去,这样你就可以把它作为一个单行程运行而不必添加它们,如果你愿意的话)

另外,你提到Ubuntu-14.04作为标签,但你想要删除的ppa是Ubuntu-12.04(精确)。这可以解释错误。