You are not logged in.

#1 2007-06-29 16:49:21

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Weird Pacman Error! [solved]

Since last night, I've been getting this weird error when I run 'pacman -Syu' as root. What's going on?

:: Synchronizing package databases...
 current                   71.2K  143.5K/s 00:00:00 [#####################] 100%
 extra is up to date
 community                274.6K  339.7K/s 00:00:01 [#####################] 100%
:: Starting full system upgrade...
resolving dependencies... done.
looking for inter-conflicts... done.

Targets: gd-2.0.35-1  gstreamer0.10-good-0.10.6-1  gstreamer0.10-flac-0.10.6-1  
         gstreamer0.10-gconf-0.10.6-1  

Total Package Size:   0.84 MB

Proceed with installation? [Y/n] 
:: Retrieving packages from current...
 gd                       175.9K  627.3K/s 00:00:00 [#####################] 100%
checking package integrity... done.
cleaning up... done.
(4/4) checking for file conflicts                   [#####################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
gstreamer0.10-good: /usr/lib/gstreamer-0.10/libgstqtdemux.so exists in filesystem
gstreamer0.10-good: /usr/lib/gstreamer-0.10/libgstvideocrop.so exists in filesystem

errors occurred, no packages were upgraded.

Any ideas, anyone?

Last edited by tony5429 (2007-06-29 22:38:16)

Offline

#2 2007-06-29 17:04:07

[vEX]
Member
From: Sweden
Registered: 2006-11-23
Posts: 450

Re: Weird Pacman Error! [solved]

The files it complains about exist on your HDD but probably aren't from a package, try doing "pacman -Qo /usr/lib/gstreamer-0.10/libgstqtdemux.so" to see if any package owns it.

To fix it you could simply delete or play it safe and move them somewhere incase you need them later and then pacman -Syu should work.


PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM

Offline

#3 2007-06-29 17:04:26

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Weird Pacman Error! [solved]

Find out what package owns /usr/lib/gstreamer-0.10/libgstqtdemux.so and /usr/lib/gstreamer-0.10/libgstvideocrop.so like this:

$ pacman -Qo /usr/lib/gstreamer-0.10/libgstqtdemux.so /usr/lib/gstreamer-0.10/libgstvideocrop.so
/usr/lib/gstreamer-0.10/libgstqtdemux.so is owned by [pkgname]
/usr/lib/gstreamer-0.10/libgstvideocrop.so is owned by [otherpkgname]

Then upgrade that package first:

pacman -S [pkgname] [otherpkgname]

Then do your update.

If no other package owns those two files, then first update gstreamer0.10-good with

pacman -Sf gstreamer0.10-good

Then do your update.

Offline

#4 2007-06-29 17:05:02

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Weird Pacman Error! [solved]

Run ....pacman -Syuf ......


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2007-06-29 17:18:03

JaDa
Member
From: Sun City, CA (native German)
Registered: 2007-04-06
Posts: 210
Website

Re: Weird Pacman Error! [solved]

@ tony5429

I was running in a semilar problem!

I forced the update from gstreamer0.10-good with

pacman -Syf gstreamer0.10-good

after then I run again

pacman -Syu

and all run normal.

You can also read here in this topic about it
http://bbs.archlinux.org/viewtopic.php?id=34669

the arch developmer tomk wrote

tomk wrote:

If you're not in a hurry, wait for the -bad package upgrade. Otherwise, I'd suggest -Syf for the -good package, followed by -Su for everything else.

cheers
JaDa


openSUSE
Arch Linux
USALUG

Offline

#6 2007-06-29 22:38:04

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: Weird Pacman Error! [solved]

Fixed! I just ran 'pacman -Syuf' once and now have gone back to the 'pacman -Syu'. Thanks everyone!

Offline

Board footer

Powered by FluxBB