You are not logged in.

#1 2007-06-23 01:48:58

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Pacman Upgrade Problem

error: could not prepare transaction
error: failed to commit transaction (conflicting files)
libmysqlclient: /usr/bin/mysql_config exists in filesystem
libmysqlclient: /usr/lib/mysql/libmysqlclient.a exists in filesystem
libmysqlclient: /usr/lib/mysql/libmysqlclient_r.a exists in filesystem
libmysqlclient: /usr/lib/mysql/libmysqlclient_r.so.15.0.0 exists in filesystem

errors occurred, no packages were upgraded.

I got the above when initiating pacman -Syu.

Any ideas?


Thanks in advance!

Offline

#2 2007-06-23 01:54:20

somedrew
Member
From: Canada
Registered: 2007-05-14
Posts: 140

Re: Pacman Upgrade Problem

You can force the upgrade (-f). May be a good idea to move those files to something else (e.g., append .old) so you can diff them and the new ones just in case as -f will overwrite them.
cheers,

Offline

#3 2007-06-23 06:30:11

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Re: Pacman Upgrade Problem

Hmm.. I tried moving the problem files elsewhere and rerunning pacman -Syu and everything seems to be working fine.

:: Starting full system upgrade...
warning: cairo: forcing upgrade to version 1.4.6-2
warning: ffmpeg: local (20070505-1) is newer than extra (20070131-1)
warning: jdk: local (6-2) is newer than extra (6u1-1)
warning: jre: forcing upgrade to version 6u1-1

Does the above messages got anything to do with it?
Its probably because I disabled testing server once.

Thanks for the reply


Thanks in advance!

Offline

#4 2007-06-23 07:02:50

somedrew
Member
From: Canada
Registered: 2007-05-14
Posts: 140

Re: Pacman Upgrade Problem

Yup. Did you install jdk & ffmpeg from testing by any chance? If not, it could be the repo you're using.
Glad you got it working, post back if any problems arise.
cheers,

Offline

#5 2007-06-23 10:39:27

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Pacman Upgrade Problem

When you've conflicting files, always do pacman -Qo <conflict files> first to find out which package owns them.

About jre/jdk that's normal, 6u1 came after 6.

About ffmpeg, you indeed still have the version from testing : you can do pacman -S ffmpeg to get back version from extra.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB