 |
 |
 |
 |
| Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems. |

28th September 2008, 09:54 PM
|
|
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?
|

3rd October 2008, 08:50 PM
|
|
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: priorities, refresh-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 plugins: priorities, refresh-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]
Removed: avahi.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?
|

3rd October 2008, 11:04 PM
|
 |
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
|

4th October 2008, 12:25 AM
|
|
Registered User
|
|
Join Date: Sep 2007
Location: Ottawa, Ontario
Posts: 21

|
|
Quote:
Originally Posted by JohnVV
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 plugins: priorities, refresh-packagekit
Cleaning up Everything
[root@DESKTOP ~]# yum makecache
Loaded plugins: priorities, refresh-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 plugins: priorities, refresh-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?
|

4th October 2008, 12:36 AM
|
 |
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
|

4th October 2008, 12:53 AM
|
|
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.
|

4th October 2008, 02:18 AM
|
 |
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 this will output a list of "enabled " repos .
|

4th October 2008, 04:10 AM
|
 |
Registered User
|
|
Join Date: Aug 2006
Location: /dev/realm/{Abba,Carpenters,...stage}
Posts: 3,286

|
|
Quote:
Originally Posted by willyb1946
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.
|

4th October 2008, 04:13 AM
|
 |
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
|

4th October 2008, 02:56 PM
|
|
Registered User
|
|
Join Date: Sep 2007
Location: Ottawa, Ontario
Posts: 21

|
|
Quote:
Originally Posted by Hlingler
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
|

4th October 2008, 03:00 PM
|
|
Registered User
|
|
Join Date: Sep 2007
Location: Ottawa, Ontario
Posts: 21

|
|
Quote:
Originally Posted by JohnVV
just off hand how many repo's do you have installed ,that makecache , is a bit long .
What is tha output of this will output a list of "enabled " repos .
|
My output is as follows:
PHP Code:
Loaded plugins: priorities, refresh-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
|

4th October 2008, 03:04 PM
|
 |
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
|

5th October 2008, 02:28 PM
|
|
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 .
|

5th October 2008, 02:40 PM
|
|
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.
|

5th October 2008, 02:48 PM
|
 |
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 16:44 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|