Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3956 Lượt xem

I install Odoo 9.0 according to <Odoo_Development_Cookbook>;

and when I type this lline code: "sudo apt-get install gcc python2.7-dev libxml2-dev libxslt1-dev libevent-dev libsasl2-dev libldap2-dev libpq-dev libpng12-dev libjpeg-dev"
I get error as below:

The following packages have unmet dependencies:
 libxml2-dev : Depends: libxml2 (= 2.9.1+dfsg1-5+deb8u1) but 2.9.1+dfsg1-5+deb8u2 is to be installed
 libxslt1-dev : Depends: libxslt1.1 (= 1.1.28-2+b2) but 1.1.28-2+deb8u1 is to be installed
 python2.7-dev : Depends: libpython2.7-dev (= 2.7.9-2) but it is not going to be installed
                 Depends: libexpat1-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
How shall I resolve these?
Thank you!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

The directives of the Odoo Development Cookbook are based on Debian Jessie. If you use another distribution or release, you might face such dependency issues. Did you try to follow Odoo's instructions: https://www.odoo.com/documentation/9.0/setup/install.html#setup-install-source ?   

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you

I will have a try.

Bài viết liên quan Trả lời Lượt xem Hoạt động
6
thg 6 16
6328
0
thg 2 16
3287
3
thg 7 25
528
3
thg 6 25
3755
5
thg 5 25
4460