View Full Version : Can't update NetworkManager on Fedora 9
tron_thomas
28th September 2008, 09:54 PM
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?
willyb1946
3rd October 2008, 08:50 PM
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.
[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:
[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! :mad:
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?
JohnVV
3rd October 2008, 11:04 PM
did you clean yum and rpm
su -
yum clean all
yum makecache
rpm --rebuilddb
willyb1946
4th October 2008, 12:25 AM
did you clean yum and rpm
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:
[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?
Hlingler
4th October 2008, 12:36 AM
[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 installedTry:
su -c rpm -ev --noscripts avahi-0.6.17-1.fc7.i386
willyb1946
4th October 2008, 12:53 AM
Thanx Hlingler. Your suggestion worked with a slight modification. I could not run it all as one command. My output is as follows:
[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.
JohnVV
4th October 2008, 02:18 AM
just off hand how many repo's do you have installed ,that makecache , is a bit long .
What is tha output of
yum repolist
this will output a list of "enabled " repos .
Nokia
4th October 2008, 04:10 AM
Thanx Hlingler. Your suggestion worked with a slight modification. I could not run it all as one command. My output is as follows:
[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 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.
Hlingler
4th October 2008, 04:13 AM
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
willyb1946
4th October 2008, 02:56 PM
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.
[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
willyb1946
4th October 2008, 03:00 PM
just off hand how many repo's do you have installed ,that makecache , is a bit long .
What is tha output of
yum repolist
this will output a list of "enabled " repos .
My output is as follows:
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
Hlingler
4th October 2008, 03:04 PM
Looks to me like you're good to go. Try not to break too much stuff - the updates will take care of that. :rolleyes:
:D
V
brisemenu
5th October 2008, 02:28 PM
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 .
quantumburnz
5th October 2008, 02:40 PM
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.
Hlingler
5th October 2008, 02:48 PM
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
brisemenu
22nd October 2008, 05:49 PM
Hi SPQR ,
I tried to find how to open the yum-utils program , but I do not understand how to do this . Where should I click to run this program , from the very begining on the bureau ?
Hlingler
22nd October 2008, 05:59 PM
Package yum-utils contains several applications, including package-cleanup. There is no GUI - you must run them from a terminal (shell, console, command-line, CLI). You must be root user to get the full benefit of the results. Commands:
package-cleanup --dupes
package-cleanup --problems
And more. See: man package-cleanup for details.
Hope that helps,
V
EDIT: Like so:[Vince@localhost Wed Oct 22 12:57:12 ~]$ su -
Password: <<== Type root-user password and press <ENTER>
[root@localhost Wed Oct 22 13:04:44 ~]# package-cleanup --dupes
[...]
[root@localhost Wed Oct 22 13:04:44 ~]# package-cleanup --problems
brisemenu
22nd October 2008, 06:12 PM
Thank you ,
But how to open a shell-console-commandline-CLI. I'm the root user
Hlingler
22nd October 2008, 06:18 PM
On the desktop ("bureau") menus, locate either: "Terminal", "XTerm", "Console", "GNOME-Terminal", or some such icon, and open it.
V
JohnVV
22nd October 2008, 07:05 PM
you may also want to read the fedora doc's
http://docs.fedoraproject.org/
http://docs.fedoraproject.org/desktop-user-guide/en/
and a basic Linux manual ( on line book)
http://rute.2038bug.com/rute.html.gz
and a how to for bash ( the terminal )
http://www.linuxcommand.org/index.php
http://www.linuxcommand.org/learning_the_shell.php
brisemenu
22nd October 2008, 08:02 PM
In fact i think also that gnome terminal is not installed on the desktop .
I have checked that it was selected in the "remove-install software" , and it is .
But when i click on the programm for applying on the desktop , it says it can't be installed with fallowing message :
"Can't install /home/yann/Bureau/Packages/gnome-terminal-2.22.1-1.fc9.i386.rpm".
Thank for all Johnvv but what you advice me to read would take hours and after reading a bit , it is chinese for me . I'm not a programmer , just a user . With a very little brain and three children to deal with . Not much time to improve knowledge in something that wil be replaced next year .
Hlingler
22nd October 2008, 10:34 PM
If you cannot find GNOME-Terminal, then look for "Terminal", "XTerm", "Console", or anything with a similar name, on the menus.
V
JohnVV
22nd October 2008, 11:54 PM
if you are running GNOME and not KDE ,then look in
( at the top left of the screen)
Applications / System tools / Terminal
and click on terminal
-----
and do read the users guide
http://docs.fedoraproject.org/desktop-user-guide/en/
brisemenu
29th October 2008, 10:20 PM
Thanks all for your help .
But I didn't understood well how to manage your advices.
So I reinstalled the Fedora 9 without taking data from F7 and that works now.
I'm not an computer programmer , I need simple . Besides I don't want to take hours to read manual which are nebulous for me .
Thanks for all anyway .
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.