Experiments with Fedora

Its been long since i posted anything.. well to sum it up.. the days went by in lazying around as usual 🙂

Anyways, have been experimenting with quite a few things in Fedora, like setting up CUPS server, CVS server, etc etc.. will be giving a detailed information on these soon.

Also, with Fedora 13 coming up, lots of excitement building up, in and around me! Being at one of the hosting locations for Fedora repo, I am sure going to enjoy “Goddard” much before major part of the world.. IITM repo rocks !

All said and done, i’ll be updating the web-log soon.. till then.. enjoy

Fedora 13’s Feature List..

Yum presto plugin rocks!!

Magic of Yum presto plugin

Magic of Yum presto plugin

The Delta rpm feature in yum rocks! Gone are the days when you had to wait, and wait, thanks to the limited net speed available to many amongst us, for the updates to download and then install.. Delta rpm feature enabled by the yum plugin” Presto”, downloads only the changes (in terms of mathematics, the “DELTA” change ) of a package from the earlier version present in your system.

For installing this plug-in, just type in the terminal :

su -c ‘yum install yum-presto’

Once installed, a change is to be made in the fedora-updates.repo, as given below:

su
nano /etc/yum.repos.d/fedora-updates.repo

NOW, comment the mirrorlist line by preceding it with ‘#’ sign and add the following line:

mirrorlist=http://presto-mirrors.anmar.eu.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch

And, your done!! The screenshot above shows the immense power of Delta rpms.. For more information, visit:

https://fedorahosted.org/presto/

Database Error while running Yum

Quite a few times, my patience runs out with the net connection provided to us, and in my frustration, i use the magical Ctrl+C combinations to cancel a currently going on yum updating process. And to my horror, the next yum update process results in something like this :

dB Berkeley Error…  Refresh the database.. etc etc

and yum doesnt work only after that.

If your facing a similar problem, not to worry.. yum will be back to square one and onto its effacing best, by running the following commands:

rm -f /var/lib/rpm/__db*        # eliminate cache and locks
rpm –rebuilddb -vv              # recreate primary key indicies

The 2nd command will take sometime to run.. chill.relax and run yum install process or update process without any worries next time 🙂

Initial hiccups in Fedora 10

Reading the rave reviews Fedora 10 garnered, it was but natural to expect nothing but a mountain from  the new distro.. having been a Fedora user since last 16 months also added a sense of curiosity over the newly born OS..

Well… curiosity is good.. over-curiosity kills!! Learnt this lesson the hard way.. The initial bugs in FC10 almost drove me to a point where I seriously was contemplating re-installing the old & by now reliable FC9.. However, further quest of FC10 have resulted in solution to almost all my problems.. Am listing here few of the problems I faced along with their solution.. Further Bug list with the solutions will be updated frequently. Read ON..

  • Install time error : when prompted for Reboot upon successful install, the system just hangs!! No solution yet to the issue.
  • The system JUST DOESNT reboot/goes into suspend mode/Hibernate : seems as though it gets stuck in some infinite loop, and to scare away the new Linux users, the Caps Lock LED almost ominously keeps on blinking!! I havent been able to solve this issue myself yet.
  • Network Manager fails to detect Connections : The solution turned out to be quite easy in the end and seems is an extra security feature rather than a bug. Follow the procedure mentioned below –

Click on : System > Administration > Network > Double CLICK on the interface > check the options saying

1) Controlled by NetworkManager

2)Activate When computer starts

3)Allow all users to enable/disable services.

  • Audio output is crackly in VLC : This also turned out to be simple .. Actually, i referred a friend’s post for this problem.. kindly click on this link for redirection to the post “VLC NOT PLAYING win32 codec based FILES ” DO remember, to restart VLC after making the changes mentioned in the redirected blog entry.
  • SELinux is HyperActive : Even a small click on text file invokes SELinux.. Hence, DO remember to set the Enforcing mode as PERMISSIVE.
  • Network  Activity applet is MISSING : God knows why, but this applet is missing in the GNOME taskbar applets. The problem can be fixed by downloading few packages using yum as under:

1) yum install gnome-applet-netspeed

2) yum install gnome-netstatus

As of now, my experience of 20-22 hrs of Fedora testing have revealed the above problems.All said and done, improvements are plenty (no doubt about that), though all majorly seem to be under the hood of the GUI.The sound system is much better than FC9 and is much more stable. PackageKit has shown a large amount of improvement w.r.t the version in FC9, and is a welcome change!

OpenOffice OOXML integration

Having seen OOXML support in Ubuntu’s OpenOffice 2.4, I was looking forward to OpenOffice of Fedora 9 managing OOXML files without any hitch.However, this was not to be. The command line solution existed (as detailed in my earlier post) , but i was lookin for a simpler solution.

it was then that i found this new tool, Odf-converter-integrator.It basically integrates all the command line processes to be performed when using Odf-converter and integrates them all into a double click.Hence, after installing the rpm, a double click on OOXML files creates a new ODF file of the same. Click on the link above and enjoy!!Follow the link above to download Odf-converter-integrator.

PS – Support ODF… not OOXML..

Grub rescue upon Win XP reinstallation

Well..finally this blog starts.Of late,I have become a full fledged Open-Source fan.So,here i am..with my 1st post on the same.

(Please note:Lines written within \\….\\ specify comments)

Without wasting anymore time..i’ll be explaining two ways of Grub rescue.Follow the method you find convenient-

1)Reboot with a Live CD

  • log in as root in the terminal window
  • type: /sbin/grub
  • in the grub promt that comes..type: find /boot/grub/stage2
  • you will get a response like (hd0,?) \\where ? is a number showing where your controlling distro is\\
  • continue typing in the grub prompt: root (hd0,?) \\type in the number returned above by your system corresponding to ?\\
  • type: setup (hd0)

and..your done!!!reboot and enjoy..

2) Reboot with a Rescue CD

For Fedora 8 Rescue CD..follow the link: Fedora 8 Rescue CD ISO

  • when you get the command prompt,type: chroot /mnt/sysimage
  • type: grub-install /dev/hda

and your done…reboot and enjoy!!

Well..So much for my 1st post..Bye All!