For servers - switch from Debian to CentOS - your thoughts
Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For servers - switch from Debian to CentOS - your thoughts
I've run Debian (NOT Ubuntu) for years. I've had a number of problems with trying to upgrading certain packages like Postgresql because they rely on libraries or other packages that come on later versions of the distro. For example, I just tried to upgrade to PSQL 9 but I couldn't install it since I don't have gcc-4.4. In the past I have used Ubuntu for desktops and had the same issue.
Another place I worked at used CentOS and we didn't have much problems with libraries and software not installing. Is this an issue with Debian, or is it common among distros?
I'm not interested in compiling from source for packages (more library headaches) and I can't upgrade distros on production servers every few months. Since the whole point of servers is to be modular, it should be a relatively common task. Any suggestions?
I was afraid of that. Okay, I guess it's just a pain in the neck no matter what. It just strikes me as silly that I have to upgrade the entire OS just to get one or two packages sometimes.
Are you sure you really need to "upgrade" them? If Debian and Red Hat use a particular version, it's because it the latest version they consider sufficiently tested, or it depends on something that's the latest version they consider sufficiently tested.
However, are you aware that Debian has both Testing and Unstable branches that offer newer versions of applications to users willing to accept the risk of less-tested software?
However, are you aware that Debian has both Testing and Unstable branches that offer newer versions of applications to users willing to accept the risk of less-tested software?
And Centos/SL is the same way... if you start installing rpmforge/epel/rpmfusion, you can get newer program versions, but they are not tested to EL level, and are not blessed by Redhat themselves.
DavidMcCann - This is what happened this time; I needed to install Postgresql 9 on a Debian VM so we could test it before putting it on our production server. The Debian install was from last December so it was Squeeze not Wheezy. The only install available was 8.4, and even THAT wouldn't install because I had the wrong version of gcc (I needed something like 4.4.6.4 and my VM had something like 4.4.5.8 installed). Since upgrading gcc didn't work and this was just a VM, I figured my best bet was to upgrade to Wheezy, then install. Previously I found a Postgre 9.1 .deb file but the Debian site recommended using apt-get instead of installing the .deb, so I followed the recommendation. In a situation like this, what would you recommend?
Snowpine - thank you, I'll read that. I am aware of the testing verses stable versions. I figured if I installed something via apt-get it would be the stable version.
In your scenario from last year, when you wanted to test 9 (but Wheezy hadn't been released yet, and postgresql was at 8 in Stable/Squeeze) you could have used Testing (Wheezy, at the time) or simply used Backports.
You are running Debian stable, because you prefer the Debian stable tree. It runs great, there is just one problem: the software is a little bit outdated compared to other distributions. This is where backports come in.
Backports are packages taken from the next Debian release (called "testing"), adjusted and recompiled for usage on Debian stable. Because the package is also present in the next Debian release, you can easily upgrade your stable+backports system once the next Debian release comes out.
Frankly, gcc shouldn't even enter into the equation. If you are installing supported packages from the Debian repos using apt-get or aptitude, then you will never have dependency issues and will not need to compile.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.