Fedora Linux Support Community & Resources Center
  #1  
Old 28th September 2008, 09:54 PM
tron_thomas Offline
Registered User
 
Join Date: Jun 2004
Posts: 233
Can't update NetworkManager on Fedora 9

I am running Fedora 9 on an Intel CoreDuo system.

When trying to use YUMEX to update NetworkManager, the following error output is produced:

13:51:12 : Transaction Check Error: file /etc/avahi/avahi-autoipd.action from install of avahi-autoipd-0.6.22-10.fc9.i386 conflicts with file from package avahi-0.6.17-1.fc7.i386
file /usr/sbin/avahi-autoipd from install of avahi-autoipd-0.6.22-10.fc9.i386 conflicts with file from package avahi-0.6.17-1.fc7.i386
file /usr/share/man/man8/avahi-autoipd.8.gz from install of avahi-autoipd-0.6.22-10.fc9.i386 conflicts with file from package avahi-0.6.17-1.fc7.i386

What is needed so that this software can update properly?
Reply With Quote
  #2  
Old 3rd October 2008, 08:50 PM
willyb1946 Offline
Registered User
 
Join Date: Sep 2007
Location: Ottawa, Ontario
Posts: 21
File Conflict Error on NetworkManager Update

I also have this problem. I noticed that the conflict involved a file from a version of avahi from FC7 (!) even tho I am running FC9. I ran the following to check for installed versions of avahi.

PHP Code:
[bill@DESKTOP ~]$ yum --obsoletes list avahi
Loaded plugins
prioritiesrefresh-packagekit
Installed Packages
avahi
.i386                               0.6.17-1.fc7           installed       
avahi
.i386                               0.6.22-10.fc9          installed 
As seen, there is two versions of avahi installed, the current version and one still left from FC7 (?).
Under root, I ran the following to attempt to remove the obsolete one:

PHP Code:
[root@DESKTOP ~]# yum --obsoletes erase avahi-0.6.17-1.fc7
Loaded pluginsprioritiesrefresh-packagekit
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package avahi.i386 0:0.6.17-1.fc7 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 
Package        Arch          Version               Repository            Size 
================================================================================
Removing:
 
avahi          i386          0.6.17-1.fc7          installed             688 k

Transaction Summary
================================================================================
Install      0 Package(s)         
Update       0 Package(s)         
Remove       1 Package(s)         

Is this ok [y/N]: y
Downloading Packages
:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing        
avahi                                             [1/1

Removedavahi.i386 0:0.6.17-1.fc7
Complete

As shown, this 'appeared to work OK, but when I reran the failed updates, I got the same error. When I went back and reran the package list, the avahi from FC7 was STILL THERE!

Rerunning the erase again appeared successful, but again the package was still there.
Bottom line.....I can't find a way past this conflict. Does anybody else out there have a solution?
Reply With Quote
  #3  
Old 3rd October 2008, 11:04 PM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
did you clean yum and rpm
Code:
su -
yum clean all 
yum makecache
rpm --rebuilddb
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
  #4  
Old 4th October 2008, 12:25 AM
willyb1946 Offline
Registered User
 
Join Date: Sep 2007
Location: Ottawa, Ontario
Posts: 21
Quote:
Originally Posted by JohnVV View Post
did you clean yum and rpm
Code:
su -
yum clean all 
yum makecache
rpm --rebuilddb
I tried this. No dice. The same thing happens. The output from the above is as follows:

[
PHP Code:
root@DESKTOP ~]# yum clean all
Loaded pluginsprioritiesrefresh-packagekit
Cleaning up Everything
[root@DESKTOP ~]# yum makecache
Loaded pluginsprioritiesrefresh-packagekit
livna                                                    
2.1 kB     00:00     
filelists
.sqlite.bz2                                     344 kB     00:01     
other
.sqlite.bz2                                         605 kB     00:01     
comps
.xml                                                |  12 kB     00:00     
primary
.sqlite.bz2                                       276 kB     00:00     
fedora                                                   
2.4 kB     00:00     
filelists
.sqlite.bz2                                     |  10 MB     00:13     
other
.sqlite.bz2                                         3.4 MB     00:04     
Fedora
-9-comps.xml.gz                                    311 kB     00:00     
primary
.sqlite.bz2                                       6.1 MB     00:07     
adobe
-linux-i386                                         |  951 B     00:00     
filelists
.xml.gz                                         173 kB     00:00     
other
.xml.gz                                             2.0 kB     00:00     
primary
.xml.gz                                           |  10 kB     00:00     
updates
-newkey                                           2.3 kB     00:00     
filelists
.sqlite.bz2                                     5.7 MB     00:07     
updateinfo
.xml.gz                                        452 kB     00:00     
other
.sqlite.bz2                                         9.0 MB     00:11     
comps
-f9.xml                                             1.3 MB     00:01     
primary
.sqlite.bz2                                       2.8 MB     00:03     
updates                                                  
2.6 kB     00:00     
filelists
.sqlite.bz2                                     7.5 kB     00:00     
updateinfo
.xml.gz                                        1.6 kB     00:00     
other
.sqlite.bz2                                         |  12 kB     00:00     
comps
-f9.xml                                             1.3 MB     00:01     
primary
.sqlite.bz2                                       9.1 kB     00:00     
adobe
-linux-i386                                               17/17
adobe
-linux-i386                                               17/17
adobe
-linux-i386                                               17/17
Metadata Cache Created
[root@DESKTOP ~]# rpm --rebuilddb
[root@DESKTOP ~]# yum --obsoletes list avahi
Loaded pluginsprioritiesrefresh-packagekit
Installed Packages
avahi
.i386                               0.6.17-1.fc7           installed       
avahi
.i386                               0.6.22-10.fc9          installed 
Does anyone have any other ideas?
Reply With Quote
  #5  
Old 4th October 2008, 12:36 AM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
Code:
[bill@DESKTOP ~]$ yum --obsoletes list avahi 
Loaded plugins: priorities, refresh-packagekit 
Installed Packages 
avahi.i386                               0.6.17-1.fc7           installed        
avahi.i386                               0.6.22-10.fc9          installed
Try:
su -c rpm -ev --noscripts avahi-0.6.17-1.fc7.i386
Reply With Quote
  #6  
Old 4th October 2008, 12:53 AM
willyb1946 Offline
Registered User
 
Join Date: Sep 2007
Location: Ottawa, Ontario
Posts: 21
Thanx Hlingler. Your suggestion worked with a slight modification. I could not run it all as one command. My output is as follows:

PHP Code:
[bill@DESKTOP ~]$ su -c rpm -ev --noscripts avahi-0.6.17-1.fc7.i386
su
invalid option -- 'e'
Try `su --help' for more information.
[bill@DESKTOP ~]$ su -
Password: 
[root@DESKTOP ~]# rpm -ev --noscripts avahi-0.6.17-1.fc7.i386
[root@DESKTOP ~]# yum --obsoletes list avahi
Loaded plugins: priorities, refresh-packagekit
Installed Packages
avahi.i386                               0.6.22-10.fc9          installed 
Once this was done, I was able to run the final three package updates.
Reply With Quote
  #7  
Old 4th October 2008, 02:18 AM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
just off hand how many repo's do you have installed ,that makecache , is a bit long .
What is tha output of
Code:
yum repolist
this will output a list of "enabled " repos .
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
  #8  
Old 4th October 2008, 04:10 AM
Nokia's Avatar
Nokia Offline
Registered User
 
Join Date: Aug 2006
Location: /dev/realm/{Abba,Carpenters,...stage}
Posts: 3,286
Quote:
Originally Posted by willyb1946 View Post
Thanx Hlingler. Your suggestion worked with a slight modification. I could not run it all as one command. My output is as follows:

PHP Code:
[bill@DESKTOP ~]$ su -c rpm -ev --noscripts avahi-0.6.17-1.fc7.i386
su
invalid option -- 'e'
Try `su --help' for more information.
[bill@DESKTOP ~]$ su -
Password: 
[root@DESKTOP ~]# rpm -ev --noscripts avahi-0.6.17-1.fc7.i386
[root@DESKTOP ~]# yum --obsoletes list avahi
Loaded plugins: priorities, refresh-packagekit
Installed Packages
avahi.i386                               0.6.22-10.fc9          installed 
Once this was done, I was able to run the final three package updates.
The other possibility and most likely what Hlingler meant was
Code:
su -c 'rpm -ev --noscripts avahi-0.6.17-1.fc7.i386'
The purpose of this command is to run a single command as root, from your regular account.
__________________
For safer browsing, use OpenDNS nameservers 208.67.222.222 and 208.67.220.220

SELinux User Guide

AutoPager
Reply With Quote
  #9  
Old 4th October 2008, 04:13 AM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
Perhaps more importantly: how many duplicate packages are lurking in there? If you got one, like cockroaches, chances are there's more. If not already installed, install and check (as root user):
yum install yum-utils
package-cleanup --dupes
package-cleanup --problems


Remove any old dupes as above with: 'rpm -ev --noscripts ...' and fix any dependency problems.

V
Reply With Quote
  #10  
Old 4th October 2008, 02:56 PM
willyb1946 Offline
Registered User
 
Join Date: Sep 2007
Location: Ottawa, Ontario
Posts: 21
Quote:
Originally Posted by Hlingler View Post
Perhaps more importantly: how many duplicate packages are lurking in there? If you got one, like cockroaches, chances are there's more. If not already installed, install and check (as root user):
yum install yum-utils
package-cleanup --dupes
package-cleanup --problems


Remove any old dupes as above with: 'rpm -ev --noscripts ...' and fix any dependency problems.

V
Thanx for the suggestion. However, it looks like I got lucky as shown below. That was my one and only cockroach...er....dupe.

[
PHP Code:
root@DESKTOP ~]# package-cleanup --dupes
Setting up yum
[root@DESKTOP ~]# package-cleanup --problems
Setting up yum
Reading local RPM database
Processing all local requires
No problems found 
Reply With Quote
  #11  
Old 4th October 2008, 03:00 PM
willyb1946 Offline
Registered User
 
Join Date: Sep 2007
Location: Ottawa, Ontario
Posts: 21
Quote:
Originally Posted by JohnVV View Post
just off hand how many repo's do you have installed ,that makecache , is a bit long .
What is tha output of
Code:
yum repolist
this will output a list of "enabled " repos .
My output is as follows:
PHP Code:
Loaded pluginsprioritiesrefresh-packagekit
repo id              repo name                                status  
adobe
-linux-i386     Adobe Systems Incorporated               enabled :      17
fedora               Fedora 9 
i386                          enabled :   9,897
livna                Livna 
for Fedora Core 9 i386 Base    enabled :     908
updates              Fedora 9 
i386 Updates                enabled :      10
updates
-newkey       Fedora 9 i386 Updates Newkey         enabled :   4,286
repolist
15,118 
Reply With Quote
  #12  
Old 4th October 2008, 03:04 PM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
Looks to me like you're good to go. Try not to break too much stuff - the updates will take care of that.


V
Reply With Quote
  #13  
Old 5th October 2008, 02:28 PM
brisemenu Offline
Registered User
 
Join Date: Oct 2008
Posts: 9
Hello ,

I have the same problem , but I'm not a software specialist and just a beginer as linux user . Besides , I'm french and I don't always understand what is said in the answers . Perhaps will I change for another linux such as Mandriva or Ubuntu wich seems to be more popular in France .

Well , I applied the yum-utils.
But I do not see where I can find (and/or apply) the two other soft : package-cleanup --dupes and package-cleanup --problems.
Moreover , I'm unable two do the "Remove any old dupes as above with: 'rpm -ev --noscripts ...' and fix any dependency problems." I do not find how removing the cockroach if there are and where .

Could it be possible to describe preciselly me how to proceed with every step that are needed.

Thank you for helping .
Reply With Quote
  #14  
Old 5th October 2008, 02:40 PM
quantumburnz Offline
Registered User
 
Join Date: Sep 2008
Location: Pensacola, FL
Age: 29
Posts: 36
Hi brisemenu, if you installed yum-utils, all you should have to do is open a shell window and run
package-cleanup --dupes
package-cleanup --problems

You might have to be root to run them though so you may have to do
sudo package-cleanup --dupes
sudo package-cleanup --problems

if you have sudo setup correctly. Else, you can always
su - -c "package-cleanup --dupes"
su - -c "sudo package-cleanup --problems"

I hope that helps you some.
Reply With Quote
  #15  
Old 5th October 2008, 02:48 PM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
Hi brisemenu:

'package-cleanup' is not an RPM package, it is the program contained in the yum-utils RPM package. '--dupes' and '--problems' are command options for 'package-cleanup' (either: find duplicates, or find problems). Other options are listed in: man package-cleanup.

If you have any more questions, do not hesitate to post.

V

Last edited by Hlingler; 22nd October 2008 at 06:07 PM.
Reply With Quote
Reply

Tags
fedora, networkmanager, update

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F-9 and F-10 NetworkManager update issues RahulSundaram News 0 10th March 2009 08:41 PM
NetworkManager update 4 Oct 2008 trigpoint Servers & Networking 7 4th December 2008 03:06 PM
Fedora update: NetworkManager conflict error io2k7 Using Fedora 1 13th November 2008 11:58 AM
NetworkManager svn4022.4 rpm update from Oct 9 kpj104 Servers & Networking 0 13th October 2008 01:28 PM


Current GMT-time: 16:44 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat