You are not logged in.

#1 2019-07-28 11:02:59

e11i0t
Member
Registered: 2019-02-13
Posts: 7

[SOLVED] EROR: 'pacman' failed to install missing dependencies

I am trying to install Odoo on my fresh installed Arch Linux, but when I run

$makepkg -s

it says

 ==> Making package: odoo 12.0-2 (Sun 28 Jul 2019 03:56:37 PM PKT)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: wkhtmltopdf-static
error: target not found: python-ebaysdk
error: target not found: python-num2words
error: target not found: python-ofxparse
error: target not found: python-vatnumber
==> ERROR: 'pacman' failed to install missing dependencies.

.
I then installed all the dependencies one by one using `pip` and it says all the dependencies are satisfied, but when I run

$makepkg -s

again. I get the same error.

Last edited by e11i0t (2019-07-28 16:38:50)

Offline

#2 2019-07-28 12:03:00

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,530
Website

Re: [SOLVED] EROR: 'pacman' failed to install missing dependencies

e11i0t wrote:

I then installed all the dependencies one by one using `pip`

Don't do that!

Of course pacman doesn't know about these then (that's the least of the problems with using pip system-wide, though).  Remove them all, and install them properly with makepkg/pacman.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2019-07-28 12:03:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,494

Re: [SOLVED] EROR: 'pacman' failed to install missing dependencies

Those are AUR packages and pacman/makepkg will only care about those. Purge the stuff you installed through pip and install those packages from the AUR.

Offline

#4 2019-07-28 15:29:48

e11i0t
Member
Registered: 2019-02-13
Posts: 7

Re: [SOLVED] EROR: 'pacman' failed to install missing dependencies

Trilby wrote:
e11i0t wrote:

I then installed all the dependencies one by one using `pip`

Don't do that!

Of course pacman doesn't know about these then (that's the least of the problems with using pip system-wide, though).  Remove them all, and install them properly with makepkg/pacman.

Those dependencies are not available in aur repositories.

sudo pacman -S python-num2words

returns

 error: Target not found 

. Is there any other way around it?

Offline

#5 2019-07-28 15:31:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,494

Re: [SOLVED] EROR: 'pacman' failed to install missing dependencies

"pacman -S" won't to anything wrt to the AUR, https://wiki.archlinux.org/index.php/AUR

Offline

#6 2019-07-28 15:37:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,530
Website

Re: [SOLVED] EROR: 'pacman' failed to install missing dependencies

e11i0t wrote:

Those dependencies are not available in aur repositories

Yes, they are, e.g., https://aur.archlinux.org/packages/wkhtmltopdf-static/

And right from the wiki page you linked to in your first post:

Odoo wiki page wrote:

Installing Odoo

Install the odooAUR package. Please note that the Odoo package comes with a bunch of Python packages available in the AUR.

Last edited by Trilby (2019-07-28 15:39:18)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2019-07-28 16:38:21

e11i0t
Member
Registered: 2019-02-13
Posts: 7

Re: [SOLVED] EROR: 'pacman' failed to install missing dependencies

Trilby wrote:
e11i0t wrote:

Those dependencies are not available in aur repositories

Yes, they are, e.g., https://aur.archlinux.org/packages/wkhtmltopdf-static/

And right from the wiki page you linked to in your first post:

Odoo wiki page wrote:

Installing Odoo

Install the odooAUR package. Please note that the Odoo package comes with a bunch of Python packages available in the AUR.

Thank You so much, I had mixed `pacman` and `AUR` from the start. Now I understand it.

Offline

Board footer

Powered by FluxBB