You are not logged in.

#1 2008-06-27 02:54:58

mrcold
Member
Registered: 2008-01-24
Posts: 149

-Syu won't work

I get this:

Proceed with installation? [Y/n] 
checking package integrity...
(41/41) checking for file conflicts                 [#################################################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
shared-mime-info: /usr/share/mime/application/x-cdrdao-toc.xml exists in filesystem
Errors occurred, no packages were upgraded.

any ideas would be appreciated

thanks

Offline

#2 2008-06-27 03:13:20

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: -Syu won't work

# rm /usr/share/mime/application/x-cdrao-toc.xml would work. wink

Offline

#3 2008-06-27 03:19:53

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: -Syu won't work

or just -Syf <package name>, but i dont know if it's advisable.  i'm not sure what the whole mimetypes stuff is.

Last edited by rson451 (2008-06-27 04:03:19)


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#4 2008-06-27 03:25:00

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: -Syu won't work

rson451 wrote:

or just -Syuf, but i dont know if it's advisable.

You are generally better to just for the package that is causing the conflict rather than the whole upgrade (provided you know why you are forcing...)

That mime-type file that is causing the conflict is safe to overwrite/delete.

Offline

#5 2008-06-27 04:02:58

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: -Syu won't work

Allan wrote:
rson451 wrote:

or just -Syuf, but i dont know if it's advisable.

You are generally better to just for the package that is causing the conflict rather than the whole upgrade (provided you know why you are forcing...)

That mime-type file that is causing the conflict is safe to overwrite/delete.

yes yes, thanks for pointing that out.  i'm actually going to edit that post cause that command could be dangerous in some situations.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#6 2008-06-27 06:29:37

Purch
Member
From: Finland
Registered: 2006-02-23
Posts: 229

Re: -Syu won't work

When I get a file conflict I check which package it belongs to

pacman -Qo /path/to/file

Then just reinstall the package or if it does not belong to any package then just rm it. Although, it may be from non-pacman related install, so be careful.

Last edited by Purch (2008-06-27 06:30:46)

Offline

#7 2008-06-27 12:30:52

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: -Syu won't work

Allan wrote:
rson451 wrote:

or just -Syuf, but i dont know if it's advisable.

You are generally better to just for the package that is causing the conflict rather than the whole upgrade (provided you know why you are forcing...)

That mime-type file that is causing the conflict is safe to overwrite/delete.

+1

normally I would say mv the file, then if something is broken, just move it back. I had already done that with this package though, and knew it was safe to delete.

Offline

#8 2008-06-27 13:36:40

mrcold
Member
Registered: 2008-01-24
Posts: 149

Re: -Syu won't work

thanks

Offline

Board footer

Powered by FluxBB