Page 1 of 1

[SOLVED] Conflicts wen updating my Mageia5 system

PostPosted: Sep 9th, '15, 08:11
by pedro
Just tried to update my system and have these two conflicts.
Can I do something to fix it?

Code: Select all
2 installationstransaktioner misslyckades

Det uppstod ett fel under installationen:

fil /usr/include/pcre.h från installation av lib64pcre-devel-8.37-2.2.mga5.x86_64 står i konflikt med filen från paket libpcre-devel-8.37-2.1.mga5.i586

fil /usr/include/pcre.h från installation av libpcre-devel-8.37-2.2.mga5.i586 står i konflikt med filen från paket lib64pcre-devel-8.37-2.1.mga5.x86_64

Re: Conflicts wen updating my Mageia5 system

PostPosted: Sep 9th, '15, 08:50
by doktor5000
No. Question is why your system want to update an x86_64 package with an i586 and vice-versa.

Please show the output of
Code: Select all
urpmq --list-media active --list-url
rpm -qa |grep pcre|sort
arch

Re: Conflicts wen updating my Mageia5 system

PostPosted: Sep 9th, '15, 09:08
by pedro
Code: Select all
[pedro@localhost ~]$ urpmq --list-media active --list-url
Core Release2 http://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/5/x86_64/media/core/release
Core Updates http://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/5/x86_64/media/core/updates
Nonfree Release2 http://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/5/x86_64/media/nonfree/release
Nonfree Updates http://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/5/x86_64/media/nonfree/updates
Tainted Release http://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/5/x86_64/media/tainted/release
Tainted Updates http://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/5/x86_64/media/tainted/updates
Core 32bit Release http://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/5/i586/media/core/release
Core 32bit Updates http://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/5/i586/media/core/updates
Nonfree 32bit Release http://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/5/i586/media/nonfree/release
Nonfree 32bit Updates http://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/5/i586/media/nonfree/updates
Tainted 32bit Release http://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/5/i586/media/tainted/release
Tainted 32bit Updates http://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/5/i586/media/tainted/updates
Core Release3 ftp://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/x86_64/media/core/release
Core Updates2 ftp://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/x86_64/media/core/updates
Nonfree Release3 ftp://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/x86_64/media/nonfree/release
Nonfree Updates2 ftp://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/x86_64/media/nonfree/updates
Tainted Release2 ftp://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/x86_64/media/tainted/release
Tainted Updates2 ftp://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/x86_64/media/tainted/updates
Core 32bit Release2 ftp://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/i586/media/core/release
Core 32bit Updates2 ftp://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/i586/media/core/updates
Nonfree 32bit Release2 ftp://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/i586/media/nonfree/release
Nonfree 32bit Updates2 ftp://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/i586/media/nonfree/updates
Tainted 32bit Release2 ftp://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/i586/media/tainted/release
Tainted 32bit Updates2 ftp://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/i586/media/tainted/updates
chrome_x86_64 http://dl.google.com/linux/chrome/rpm/stable/x86_64
[pedro@localhost ~]$ rpm -qa |grep pcre|sort
lib64pcre16_0-8.37-2.1.mga5
lib64pcre1-8.37-2.1.mga5
lib64pcre32_0-8.37-2.1.mga5
lib64pcre-devel-8.37-2.1.mga5
lib64pcreposix1-8.37-2.1.mga5
libpcre16_0-8.37-2.1.mga5
libpcre1-8.37-2.1.mga5
libpcre32_0-8.37-2.1.mga5
libpcre-devel-8.37-2.1.mga5
[pedro@localhost ~]$ arch
x86_64

Re: Conflicts wen updating my Mageia5 system

PostPosted: Sep 9th, '15, 09:47
by doktor5000
pedro wrote:lib64pcre-devel-8.37-2.1.mga5
libpcre-devel-8.37-2.1.mga5

That's your problem. For most -devel packages, you cannot have both x86_64 and i586 packages installed, they will always conflict.
Remove one of them (probably the second one) and you should be OK.

Re: Conflicts wen updating my Mageia5 system

PostPosted: Sep 9th, '15, 09:57
by pedro
Thank you nce again doctor!
removed libpcre-devel-8.37-2.1.mga5 and now updating worked fine.