How to remove the dependency, because it works fine with python2.7 and I don't want python 2.6
如何移除依赖项,因为它对python2.7有效,而我不想要python 2.6 ?
I get the following,
我得到以下,
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libapache2-mod-wsgi : Depends: libpython2.6 (>= 2.6) but it is not installed
E: Unmet dependencies. Try using -f.
When trying to correct :
当试图纠正时:
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libpython2.6 python2.6 python2.6-minimal
Suggested packages:
python2.6-doc binfmt-support
The following NEW packages will be installed:
libpython2.6 python2.6 python2.6-minimal
0 upgraded, 3 newly installed, 0 to remove and 105 not upgraded.
Need to get 3415 kB/4824 kB of archives.
After this operation, 15.1 MB of additional disk space will be used.
Do you want to continue [Y/n]?
I can't install anything because of these, how can I remove the dependency because its working fine without python 2.6 and raspberry pi comes with python 2.7 as default
我不能安装任何东西,因为这些,我怎么能删除依赖项,因为没有python 2.6和树莓pi的工作很好,python 2.7是默认的。
Edit : Question, if I install python 2.6, will python 2.7 co-exist on the raspberry pi?
编辑:问题,如果我安装python 2.6, python 2.7将会在树莓pi上共存吗?
1 个解决方案
#1
0
apt-get download libapache2-mod-wsgi
sudo dpkg -i --ignore-depends=libpython2.6,python2.6,python2.6-minimal libapache2-mod-wsgi_2.whatever.deb
#1
0
apt-get download libapache2-mod-wsgi
sudo dpkg -i --ignore-depends=libpython2.6,python2.6,python2.6-minimal libapache2-mod-wsgi_2.whatever.deb