You are not logged in.

#1 2008-08-28 16:05:05

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Pacman - Could not prepare transaction (VLC, mplayer)

When I am trying to install vlc or mplayer, I am getting these errors:

(17/17) checking for file conflicts                 [##########################################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
libgl: /usr/lib/libGL.so exists in filesystem
libgl: /usr/lib/libGL.so.1 exists in filesystem
libgl: /usr/lib/xorg/modules/extensions/libglx.so exists in filesystem
Errors occurred, no packages were upgraded.

What to do?

Offline

#2 2008-08-28 16:07:34

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Pacman - Could not prepare transaction (VLC, mplayer)

Offline

#3 2008-08-28 16:40:45

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Pacman - Could not prepare transaction (VLC, mplayer)

Misfit138 wrote:

Hm, I've done a full upgrade now, but the problem still remains? I've also renamed those files that "exists in filesystem". Still getting the same errors though..

Last edited by dmz (2008-08-28 16:45:28)

Offline

#4 2008-08-28 16:48:33

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Pacman - Could not prepare transaction (VLC, mplayer)

Allright, I did pacman -Sf vlc and it installed just fine. Just curious though, why does these problems appear? Seems kind of common.

Offline

#5 2008-08-28 17:28:15

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: Pacman - Could not prepare transaction (VLC, mplayer)

Most of the time this seems to happen because people install the nvidia drivers from the nvidia website rather than through 'pacman -S nvidia'. 

The nvidia drivers provide their own version of the libGL library, if you use pacman to install the driver then it knows that you also have libGL and doesn't try to install the seperate libgl package as a dependancy of mplayer/vlc.  If you install the drivers from nvidia then pacman doesn't know that you already have libgl and tries to insall the seperate package but can't because it sees that those files already exist on your system.

Offline

#6 2008-08-28 17:39:47

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Pacman - Could not prepare transaction (VLC, mplayer)

Allright, thanks for the explanation ghosthack, that's exactly what I did.

Offline

Board footer

Powered by FluxBB