LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-09-2008, 11:54 AM   #1
linuxisfree
LQ Newbie
 
Registered: Oct 2005
Location: UK
Distribution: none yet
Posts: 13

Rep: Reputation: 0
Add/Remove Software error


Help... I have got this message when I try to add and software

failed to get a TID: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.PackageKit.Transaction" member "SetLocale" error name "(unset)" destination "org.freedesktop.PackageKit") (0)

I am a newbie so please be gentle

Thnx in advance

Steve
 
Old 12-09-2008, 12:48 PM   #2
jbuckley2004
Member
 
Registered: Aug 2004
Distribution: Fedora (KDE spin)
Posts: 224

Rep: Reputation: 70
Steve, this problem hit lots of Fedora users after a "bad" update came through on Sunday (yeah - it was very disconcerting).

I'm not a new Linux user, but I just started using (and installed for the first time) Fedora on Saturday, so I'm working this one out myself.

The answer(s) can be found on the Fedor forums (try http://forums.fedoraforum.org, go to the General Support forum and look for "Packagekit "failed to get a TID:" - rendered unusable", or search for TID). I found this on page 4 of that thread, from a user named Cyberjet. He's talking about the file /etc/dbus-1/system.d/org.freedesktop.PackageKit.conf, which you can edit as root using vi or gedit AFTER BACKING IT UP.

Thanks to all.

I editied my org.freedesktop.Packagekit.conf (see below)and all my packages are restore under System Administration add/remove Software. This worked for me.

<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

<!-- This configuration file specifies the required security policies
for the PackageKit to work. -->

<!-- Only user root can own the PackageKit service -->
<policy user="root">
<allow own="org.freedesktop.PackageKit"/>
</policy>

<!-- Allow anyone to call into the service - we'll reject callers using PolicyKit -->
<policy context="default">
<allow send_interface="org.freedesktop.PackageKit"/>
<allow send_interface="org.freedesktop.PackageKit.Transac tion"/> [ added this line as opposed to editing the above line and adding .Transaction]
</policy>

</busconfig>


See where he said [added this line...]? Do that, then you reboot. That worked for me, too. After that I could add/remove software again.

But all that requires some (but not a lot) of knowledge about using the command-line interface and a non-gui editor like vi. Not a lot of newbies have that. Can you deal? I can help walk you through it a bit (as time permits), but in the long run, it's more fruitful if you make an honest effort to get the knowledge yourself by searching the forums as you come upon difficulties.

There is an alternate solution - re-install Fedora and don't do updates until they fix the repositories. Some people are a little surprised, I gather, that they haven't done that already. Maybe waiting one or two more days will do it.

Last edited by jbuckley2004; 12-09-2008 at 01:03 PM.
 
Old 12-09-2008, 01:15 PM   #3
linuxisfree
LQ Newbie
 
Registered: Oct 2005
Location: UK
Distribution: none yet
Posts: 13

Original Poster
Rep: Reputation: 0
It worked

Thank you, that worked at treat

Cheers

Steve
 
Old 12-10-2008, 06:45 PM   #4
mwildam
Member
 
Registered: Sep 2006
Location: Vienna, Austria
Distribution: Fedora 13, Ubuntu 10.04
Posts: 52

Rep: Reputation: 15
Thanks a lot for quoting the essential post - worked for me also.
 
Old 12-10-2008, 08:43 PM   #5
kz26
Member
 
Registered: Aug 2005
Location: USA
Distribution: Fedora, Ubuntu, Backtrack
Posts: 70

Rep: Reputation: 15
Good solution, but can this be fixed "naturally" by waiting for yet another update that fixes this issue?
 
Old 12-10-2008, 08:49 PM   #6
jbuckley2004
Member
 
Registered: Aug 2004
Distribution: Fedora (KDE spin)
Posts: 224

Rep: Reputation: 70
I think that it can, kz26, but I think that automatic updates can't happen.

One would have to >su (and log in as root), then do #yum update (I think - please check up on yum; I'm new to that universe), from the command line.
 
Old 12-10-2008, 10:44 PM   #7
huahd
LQ Newbie
 
Registered: Jan 2008
Posts: 27

Rep: Reputation: 15
No, it doesn't work for me. During the reboot, there was a failure in starting system message bus, which said "wrong tab" thing in the file /etc/dbus-1/system.d/org.freedesktop.PackageKit.conf and the reboot took quite a long time. And the GUI interface didn't show up too. I had to change the file back and reboot.
 
Old 12-11-2008, 02:05 AM   #8
mwildam
Member
 
Registered: Sep 2006
Location: Vienna, Austria
Distribution: Fedora 13, Ubuntu 10.04
Posts: 52

Rep: Reputation: 15
Oooops, I didn't restart the machine since that. Maybe on startup I would notice a problem - will try and let you know.
 
Old 12-12-2008, 02:22 AM   #9
mwildam
Member
 
Registered: Sep 2006
Location: Vienna, Austria
Distribution: Fedora 13, Ubuntu 10.04
Posts: 52

Rep: Reputation: 15
I didn't have problems on reboot.

What program did you use to edit the file?

I had similar problems once in the past editing the grub boot file with mc. Using vim on the other hand it worked.
 
Old 12-21-2008, 02:56 AM   #10
huahd
LQ Newbie
 
Registered: Jan 2008
Posts: 27

Rep: Reputation: 15
finally i've got my problem fixed too.
i just updated my system using #yum update, and the problem is gone!
 
  


Reply



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
error while opening add/ remove software devmohan786 Linux - Software 3 07-22-2008 02:50 PM
Error in accessing add/remove software and YUM rohit83.ken Linux - Software 1 03-20-2008 07:40 AM
Add/remove software link shows error in fedora 8 anuprch Linux - Newbie 4 12-21-2007 03:06 AM
ADD/REMOVE software error on Fedora Core 5 GNOME Digital Surgeon Fedora 8 11-19-2006 04:15 AM
Add/remove software error 24giovanni Linux - General 2 10-24-2006 05:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration