このOR依存関係が期待どおりに機能しないのはなぜですか?

このOR依存関係が期待どおりに機能しないのはなぜですか?

削除しようとしていますpython2.6私のDebianシステムでは:

$ sudo apt-get purge python2.6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  fabric* python-nose* python-pip* python2.6*
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 11.0 MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.

期待しないfabricOR 依存関係があるため削除されました。python2.6そしてpython2.7(私は後者をインストールしました):

$ apt-cache show fabric | grep Depends
Depends: python2.7 | python2.6, python (>= 2.6.6-7~), python (<< 2.8), python-paramiko (>= 1.6), python-pkg-resources, python-nose

ベストアンサー1

他のパッケージのリバース依存関係を確認すると、その理由が明らかになります。

$ apt-cache show python-nose | grep Depends
Depends: python-pkg-resources, python2.7, python (>= 2.6.6-7~), python (<< 2.8), python2.6

すでに持っている間違い問題を報告しました。

おすすめ記事