Why the FreeBSD ports system rocks

Well I need to handle some PHP upgrade on a Debian server some days ago, and it turns out to be a nightmire…

Debian is famous for its “apt-get” package management system, and I thought it would be easy. However, it turns out all the packages are binary and have exact version numbers in dependency. To make it worse, the previous sysadmin uses both sarge and etch packages. Now if you want to install something from sarge, it complains some dependence in etch is too high and won’t continue, and if you want to install something from etch, well, some dependences got a version too low.

And I tried the “smart” “apt-get dist-upgrade” command, and it removed my bind9! All sites going down because of this. And to make it worse, I can’t install it again because of the sarge/etch mix. And finially I have to deinstall many packages and re-install them, and stick to sarge.

I know this is not a pure problem on Debian, the previous sysadmin should be blamed mostly, but, hi, the binary package system with hard coded version numbers makes all these possible… And I have to say, compile from the source rocks! The FreeBSD ports system rocks!

Tags: , , , , ,

Post a Comment

You could use <code type="name"> to get your code colorized

Your email is never published nor shared. Required fields are marked *

Close
E-mail It