Logwatch for Linux Systems.

2010-06-02 2 min read Fedora Linux

On my personal <a class="zem_slink freebase/en/client" title="Client (computing)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Client_%28computing%29">desktop at home, I like to see the <a class="zem_slink freebase/en/statistics" title="Statistics" rel="wikipedia" href="http://en.wikipedia.org/wiki/Statistics">statistics at least once a day, for what was installed, what was run with <a class="zem_slink freebase/en/sudo" title="Sudo" rel="homepage" href="http://www.sudo.ws/">sudo and other such details like <a class="zem_slink freebase/en/kernel" title="Kernel (computing)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Kernel_%28computing%29">kernel errors.

Running this monotonously every day is quite boring, so comes to rescue is logwatch. I have <a class="zem_slink freebase/en/fedora" title="Fedora" rel="homepage" href="http://fedoraproject.org/">Fedora <a class="zem_slink freebase/en/installation" title="Installation (computer programs)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Installation_%28computer_programs%29">installation so I will talk about the location with respect to that so for your distribution it might be a little different.

Continue reading

Upgrade to Fedora 13 from your existing version using yum.

2010-04-21 1 min read Fedora Uncategorized

Well. this time it seems to be very simple :

yum –releasever=13 upgrade

update 22/April/2010:
The key file will not be there so there are two options for you in this case:

  1. Install the following rpms from the downloaded rpms with &#8221;yum –nogpg localinstall&#8221;
    a) fedora-release
    b) fedora-release-notes
  2. Run the whole upgrade with –nogpg option.

Issue observed after the upgrade:
The new kernel was not added in the grub menu and I had to manually add the below entry in the <a class="zem_slink freebase/en/gnu_grub" title="GNU GRUB" rel="homepage" href="http://www.gnu.org/software/grub/">menu.lst file:

Continue reading

Packagekit Error

2010-02-04 1 min read Fedora

With the latest update on my Fedora 10(F10) I started getting this error when ever I wanted to use the gnome package kit (I was able to use yum though):
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 &#8221;org.freedesktop.PackageKit.Transaction&#8221; member &#8221;SetLocale&#8221; error name &#8221;(unset)&#8221; destination &#8221;org.freedesktop.PackageKit&#8221;) (0)

I searched couple of forums but did not find any good resource on what was happening. Finally I decided to rollback Packagekit and dbus. And Yahoooooooooooo, it started working again.

Continue reading

query and downgrade selected packages based on version or repository

2009-12-24 1 min read Fedora Linux

If you have worked on rpm based distro then you know how difficult it is to downgrade packages. And unluckily I upgraded some packages to fc12 and was still on FC11. Completely my mistake while doing some R&D. Anyway to downgrade I had to device some mechanism and here it is:

rpm -qa –qf &#8221;%-30{NAME}%-20{RELEASE}\n&#8221; |grep fc12 |awk '{print $1}&#8217;|tr &#8217;\n&#8217; &#8217; &#8217; >downgrade

yum downgrade `cat downgrade`

internal error from PackageKit — packagekit Error Type: <type 'exceptions.TypeError'>

2009-11-25 1 min read Fedora

If you get the below error then there is a bug files <a href="https://bugzilla.redhat.com/show_bug.cgi?id=476352" target="_blank">here.

Error Type:
Error Value: &#8217;NoneType&#8217; object is unsubscriptable
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2280, in

main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2277, in main
backend.dispatcher(sys.argv[1:])
File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 600, in
dispatcher
self.dispatch_command(args[0], args[1:])
File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 526, in
dispatch_command
self.refresh_cache()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1130, in
refresh_cache
self.yumbase.repos.populateSack(which=[repo.id], mdtype=&#8217;metadata&#8217;,
cacheonly=1)
File : /usr/lib/python2.5/site-packages/yum/repos.py, line 223, in
populateSack
self.doSetup()
File : /usr/lib/python2.5/site-packages/yum/repos.py, line 71, in doSetup
self.ayum.plugins.run(&#8217;postreposetup&#8217;)
File : /usr/lib/python2.5/site-packages/yum/plugins.py, line 178, in run
func(conduitcls(self, self.base, conf, **kwargs))
File : /usr/lib/yum-plugins/rpm-warm-cache.py, line 31, in postreposetup_hook
if commands[0] in (&#8217;upgrade&#8217;, &#8217;install&#8217;, &#8217;remove&#8217;):

Continue reading

RPMFusion release for YUM.

2009-10-17 1 min read Fedora

For people who have used yum on Fedora, you must have seen that couple of packages that you require are on Livna and couple of them on DAG and some others on FreshRPMs and Dribble. And for those of you, who have tried to install the packages from all these repositories, I know it is difficult. The repo&#8217;s never worked too well together.

So finallly there is a nice solution to all these problems, <a href="http://rpmfusion.org/" target="_blank">RPMFusion is the solution. This is a effort to merge the repo in all the four above mentioned repo. just now installed the repo and am updating my system and definately hope to get a lot lesser problems now. 🙂

Continue reading
Newer posts