linux 终端add-apt找不到命令,Ubuntu 為什麼找不到 add-apt-repository 的指令 ?

blogger_logo_round_35.png

nat

提到...

網兄您好 :

小弟下了您所說的指令,

卻回復

正在讀取套件清單... 完成

正在重建相依關係

正在讀取狀態資料... 完成

E: 找不到套件 python-software-properties

小弟嘗試要install許多套件,但都回復找不到, 我也有看了一下sources.list, 看起來還蠻多resource, 但怎麼要什麼沒什麼,

真慘.......

Hello nat,

阿舍猜,是不是沒有把 sources.list 裡的 # 號都拿掉哩 ! 請參考下面這篇文試試囉 !

http://www.arthurtoday.com/2010/11/ubuntu-sun-java6-jre.html

供參..

blogger_logo_round_35.png

nat

提到...

網兄您好 :

感謝您的回答~~^^!!!

我有看了一下我的list,

網址的部分都有拿掉#,

只有注解還有#,

還是我的sources.list不夠新......

小弟是用ubuntu server 11.04,

唉...........

blank.gif

gmail-davidzhang

提到...

davidzhang@10.211.55.5:~/download/postgresql-9.3.1$ sudo apt-get install python-software-properties

Reading package lists... Done

Building dependency tree

Reading state information... Done

Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming.

The following information may help to resolve the situation:

The following packages have unmet dependencies:

python-software-properties : Depends: python-apt (>= 0.6.20ubuntu16) but it is not going to be installed

Depends: unattended-upgrades but it is not going to be installed

E: Unable to correct problems, you have held broken packages.

blank.gif

匿名

提到...

幫大忙了

原來add-apt這個是python......

blank.gif

小商

提到...

原來是這樣,難過找不到指令。謝謝分享。

blank.gif

匿名

提到...

感謝分享解決問題

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值