Artix Linux Forum

Artix Linux => Package management => Topic started by: Erik R on 14 November 2017, 07:51:21

Title: Inkscape - libpoppler version trouble
Post by: Erik R on 14 November 2017, 07:51:21
Hi,

After the last update inkscape fails to start du to dependency to libpoppler.so.72 is missing.

Installed on the system is poppler 0.60.1-1 and I can find libpoppler.so.71 but not 71 under /usr/lib.

Do I need to file a bug (and where)?

// Erik
Title: Re: Inkscape - libpoppler version trouble
Post by: nous on 14 November 2017, 11:31:36
You must install poppler from [world-testing], the one in [world] is older than Arch's [extra]. It seems the newer poppler in Arch moved out of [testing] and into [extra], causing an inkscape rebuild.  Uncomment [world-testing] and issue
Code: [Select]
pacman -Sy world-testing/poppler
Then comment out [world-testing] again.
Title: Re: Inkscape - libpoppler version trouble
Post by: Erik R on 14 November 2017, 12:38:11
Well, that didn't really work for me;

Code: [Select]
error: failed to prepare transaction (could not satisfy dependencies)
:: poppler-glib: installing poppler (0.61.1-1) breaks dependency 'poppler=0.60.1'
:: poppler-qt5: installing poppler (0.61.1-1) breaks dependency 'poppler=0.60.1'

Title: Re: Inkscape - libpoppler version trouble
Post by: thefallenrat on 14 November 2017, 12:42:04
Code: [Select]
:: poppler-glib: installing poppler (0.61.1-1) breaks dependency 'poppler=0.60.1'

The command failed because there's still package that still depends on poppler=0.60.1. You need to find those and uninstall them. You can find easily with pactree command :
Code: [Select]
pactree -r poppler=0.60.1

I think I figured it out. @Erik R , you need to run this :

Code: [Select]
sudo pacman -S world-testing/{poppler,poppler-glib,poppler-qt5}
Title: Re: Inkscape - libpoppler version trouble
Post by: Erik R on 14 November 2017, 19:20:12
With a strong feeling of entering a dependencyhell I tried the solution you suggested and it seems to work  :P

I am a KDE user and then Qt-messing might be trobulesome. Thanks good for btrfs so I at least have a fallback snapp just in case ;)

So what will happen when poppler in [world] becomes updated to a later version that the one I have in testing? Is it just to reinstall them from world?

Code: [Select]
# pacman -S world/{poppler,poppler-glib,poppler-qt5}

Thanks for the help!


Title: Re: Inkscape - libpoppler version trouble
Post by: thefallenrat on 14 November 2017, 19:38:22
Is it just to reinstall them from world?

No need, as the new version of those packages in [world later is just the same as the packages in world-testing, so reinstalling them is redundant..