Archive for July, 2005

Web Design patterns

Wednesday, July 20th, 2005

Martijn van Welie collected some nice tipps and tricks concerning design patterns for different types of web sites from artists sites over eCommerce sites to web-based applications. In his artcles he points out the differences one needs to consider and even shows some best practices for page elements like login boxes shopping carts etc. . A very useful resource while planning a new project and a nice read in general.
Check it out at http://www.welie.com/patterns/.

pear package installer

Sunday, July 10th, 2005

As I’m always forgetting this quite easy to remember switch a little mental note: --alldeps makes pear install command resolving all needed dependencies automatically… dumb me

Fedora update from Core 1 (Core 2) to Core 3

Saturday, July 9th, 2005

I recently booted one of my long forgotten linux machines at home and realised the Fedora Core running on it was more than outdated. As I was not willing to download the full CD set for an offline update I thought I could try to find out how to update the system via online update.
After doing some research I found out that theoretically an update is quite easy to accomplish by downloading the actual version of fedora-release and yum. So I gave it a try and tried to install those two rpms manually. First problem were the outdated GPG-Keys. Went back to the Fedora Server and downloaded all files starting with RPM-GPG-KEY. To import the keys to the system simply do a rpm --import RPM-GPG-KEY*. You’ll need those keys anyway, but I had to realise that updating from Core 1 to Core 3 doesn’t seem to work that easy. I had some trouble with unresolved dependencies (e.g. udev needs kernel 2.6) so I continued with an intermediate step, I installed Fedora Core 2 first. If the Fedora update worked fine (it did without problems for me) we can start the same procedure for FC3:
Download fedora-release-3
and yum and install them with rpm -Uvh --force fedora-release-3-8.i386.rpm yum-2.1.11-3.noarch.rpm. You have to use the --force flag as there are conflicts between fedora-release-3 and up2date which can be ignored.
Afterwards just run a yum upgrade, wait some minutes and accept to download all new packages. Due to a bug in rpm it might be that you get an error message like
Error: Requiring package gnome-vfs2-2.8.2-8.i386 not in transaction set nor in rpmdb.
In this case just install the Fedora Core 3 versions of rpm (4.3.2-21) and its dependencies (rpm-python, rpm-build, rpm-devel) and re-run yum upgrade and everything should be allright.
This method worked fine for me, hope it will aswell for you. Please report any upcoming problems here and we will see if we can find a workaround :)