LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-16-2012, 02:08 PM   #1
andySMI
LQ Newbie
 
Registered: Feb 2012
Posts: 26

Rep: Reputation: Disabled
Update reports conflicts between packages


Hello forum:
CentOS 6 on 64 bit platform
I installed ntfs-3g from RPMforge because I needed ntfs file system support. More recently, I wanted to install Gparted because I had used it on a live CD and liked it better then the utility installed in CentOS. I installed Gparted from the EPEL repository being careful to pick the 64 bit version. Now when I run update it reports that 'Local file conflicts between packages' with the message 'Two packages provide the same file. This is usually due to mixing packages from different software sources.' Under details it states:
Test Transaction Errors: file /sbin/mkfs.ntfs from install of ntfsprogs-2:2011.4.12-5.el6.x86_64 conflicts with file from package ntfsprogs-1.13.1-1.el6.rf.i686
file /usr/share/man/man8/ntfscp.8.gz from install of ntfsprogs-2.2011.4.12.-5.el...

I am still a little unclear as to how to set priorities in the repositories and how to turn one repository on or off. I afraid to uninstall one or the other for fear it will remove stuff the other depends on. Where is the file which tells YUM which repositories to use and set priorities?
 
Old 02-16-2012, 03:56 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
You can probably just use 'yum update --skip-broken'
 
Old 02-16-2012, 04:05 PM   #3
andySMI
LQ Newbie
 
Registered: Feb 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Thanks for replying to my question!
I just unchecked both versions of the package and let the update run and it did so fine. That way I knew my install was up to date as I'm not using the ntfs right now anyhow. I really just wanted to learn a little more about how to use the repositories and such. How to set priorities and maybe even add new repositories ect. I didn't know about the skip broken option of Yum though so I'm already learning.
I'm still figuring out Yum, I really like it. I'm pretty new to Linux in general but CentOS seems really well developed compared to some others distros I had tried in the past. This is my first production box and I'm trying hard to not experiment, I don't want to break it!!!
 
Old 02-16-2012, 05:43 PM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
No worries.. you should definitely build a test box to play with, humans learn better by making mistakes and you don't want to do that in prod
 
Old 02-17-2012, 05:22 AM   #5
steve_s
LQ Newbie
 
Registered: Sep 2007
Posts: 12

Rep: Reputation: 1
YUM Configuration
/etc/yum.conf
/etc/yum.repos.d/


e.g. Disable the Adobe repository
$ vim /etc/yum.repos.d/adobe-linux-i386.repo
change the line "enabled=1" to enabled=0".


e.g. Add the Livna repository (for DVD decryption libraries)
$ rpm -ivh http://rpm.livna.org/repo/12/x86_64/...0-1.x86_64.rpm

Many good books exist. I recommend the LPIC-1 Study Guide, Roderick Smith, Sybex 2009.
 
1 members found this post helpful.
Old 02-17-2012, 05:58 AM   #6
andySMI
LQ Newbie
 
Registered: Feb 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Thanks Steve, thats helpful
I think I'll turn the RPMforge repository off and I can reenable it if I need it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] what should i do if there is conflicts between packages dspjm Linux - Software 6 08-10-2011 06:21 PM
Yum update conflicts when there is both i386 and x86_64 rpm packages installed. zimon Fedora 2 10-09-2008 06:30 AM
Yast System Update (9.2 -> 10.0) Conflicts spfdz Suse/Novell 1 04-01-2006 03:03 PM
System update conflicts allelopath Suse/Novell 16 04-06-2005 07:50 PM
Mandrake 9.0 mistakenly reports that packages are installed rose_bud4201 Linux - Software 1 02-14-2004 01:28 AM


All times are GMT -5. The time now is 06:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration