Debian squeeze support release schedule (also RHEL/CentOS 6)

32 posts / 0 new
Last post
#1 Wed, 02/09/2011 - 11:56
Joe
Joe's picture

Debian squeeze support release schedule (also RHEL/CentOS 6)

Edit Feb 21, 2011: See https://www.virtualmin.com/node/17272

Howdy all,

Since we've had a lot of requests for information about squeeze via every possible channel, I thought I'd post a news item about it here, so we can answer everyone in one go, rather than taking time out several times a day to explain how new OS support comes about and how long it takes after a new distro version is released.

Short answer: squeeze will be supported in about a week. RHEL6 (and CentOS 6) will probably be supported in two weeks.

Long answer:

We don't even try to support beta or pre-release or release candidate operating systems, because they are moving targets, and we expect the people who need the install script to be the same people that need a predictable and stable platform on which to build their hosting infrastructure. So, we begin working on support in install.sh and our software repository within a day or two of the new OS version being released.

The process of building new OS support usually does not require major install.sh changes, and is mostly a matter of building the software repository for the new OS. Debian and Ubuntu moved to the two-repo layout in their most recent versions (where there is a virtualmin-osname and virtualmin-universal repo, where universal contains all the Webmin/Virtualmin packages, which never need to be rebuilt for new systems), which speeds up the development process quite a bit. They also moved to using the apache2-suexec-custom package, which sped it up even more, since we no longer have to maintain Apache packages for that distro. At this point, if everything goes perfectly, we can theoretically add support for a new Debian or Ubuntu version in a couple of days of steady work, plus a day of testing. Confounding that, however, is the apt-get/dpkg problem.

Some assumptions I made in the installation process in the past have begun to bite us in the ass lately in ways that I never would have predicted. apt-get/dpkg does not handle dependencies in the same way as yum/RPM, and in fact, it has some terrifying behaviors for packages that have been installed to resolve dependencies...as soon as those dependencies are no longer present, dpkg uninstalls everything that was installed based on dependencies. Meaning that people who aren't careful when using the package manager could pretty easily uninstall Virtualmin and all of its packages. It'll tell you it's gonna happen, but it's pretty wordy output, and people who are in the habit of just saying yes to everything the package manager says could end up with a very unpleasant surprise when they try to login to Virtualmin later. (Hint: Don't do that!)

So, obviously this problem has to be fixed before we can call squeeze supported. I'm not yet entirely sure how to fix it, however, so it will require more testing and documentation reading than I usually have to do. It probably also means that install.sh will get some major changes (which I hate to do, because it then has to be tested across all systems that the changes could effect, but it seems like we have to move all of the dependency resolution out of the virtualmin-base package and into a script, so that removing any one part of the Virtualmin system--even something seemingly unimportant--won't cause the entirety of the rest of it to be removed).

Oh, and a longer answer on the RHEL 6 and CentOS 6 front:

I'm not sure, but probably a week or two. CentOS 6 isn't actually out yet, which is a confounding issue, since we don't have money lying around to buy RHEL6 licenses (32 and 64 bit are both needed) that we only need for a few days to add support to the installer (we don't have a lot of RHEL users, so it's hard to justify a big software expense for so few customers). Hopefully, a CentOS 6 build will show up shortly. Looks like the 17th is the planned beta release, so I can probably start working on it then, and three days after that it'll be built and tested.

Regards, Joe

Wed, 02/09/2011 - 13:43
Hal9000

gogogogogo! :)

Wed, 02/09/2011 - 14:10
joealdeguer

Thank you very much for all your hard work! Joe.

Wed, 02/09/2011 - 20:04
cerebrum

I'm not a dpkg/apt guru but I believe if you worked with meta packages a bit more, you might run into the clean up problem less often.

Sun, 02/13/2011 - 13:52 (Reply to #4)
Joe
Joe's picture

There is no documentation I could find for meta packages, but what mentions I did find seem to indicate virtualmin-base is already a meta-package, which is why it's causing problems. Dependencies in dpkg kinda "go both ways", whereas they don't in yum/RPM. When you uninstall a meta-package on Debian, it marks all of its dependencies for removal as well. This is a problem for the way things currently work, because if you remove any dependency, it wants to remove all dependencies. With yum/RPM a package installed to satisfy a dependency does not automatically go away just because the thing that depended on it went away; it's possible to clean up in that way, but you have to be intending to do so...with apt it just happens automatically (again, it warns you its going to happen, but apparently people don't read apt output, because a number of people have deleted their Virtualmin installs by removing one or more of its dependencies).

--

Check out the forum guidelines!

Sun, 02/13/2011 - 14:24 (Reply to #5)
trey

You can use Recommends: instead of Depends: in the debian/control file for packages that aren't 100% required. They will be installed by default now (or you can use apt-get --install-recommends to make sure they are). Then you can remove any of the recommended packages without it breaking dependencies.

Sun, 02/13/2011 - 14:24
sgrayban

Another point to make is the security updates that VM has -- I always tell my clients to never install anything automatic and to make sure you set it to just notify you of a updates. Many people do not do this and run into the same issues Joe mentioned.

Also do not use cron-apt to auto upgrade if you aren't going to be reading any output either.... just have it download the packages and you upgrade in console.

Mon, 02/14/2011 - 22:49
hescominsoon

why not use aptitude for package management? Not apt-get but aptitude...it's much better about dependencies form what i've seen.

Tue, 02/15/2011 - 06:31 (Reply to #8)
litemotiv

aptitude is deprecated in favor of apt-get in debian squeeze, the latter is recommended in the release notes.

Wed, 02/16/2011 - 15:43 (Reply to #9)
impleri

I think you've misread the release notes. It only says that apt-get is recommended for non-interactive CLI and for upgrades. Aptitude is still the official APT frontend.

Wed, 02/16/2011 - 17:30 (Reply to #10)
litemotiv

Well that mentions interactive package management explicitly, meaning the ncurses interface you get when running aptitude without parameters. The usage scenario for systems like Virtualmin is non-interactive, since they have their own interface to communicate with the user.

Mon, 02/21/2011 - 00:50 (Reply to #11)
Joe
Joe's picture

You're welcome to use aptitude or any other frontend you want. We certainly aren't going to stop you.

But, aptitude is nonsensical in the context of our install script. It's hard enough to convince apt-get to run non-interactively. I don't even want to think about trying to run aptitude in a non-interactive scripted fashion. Also, I kinda find aptitude annoying and confusing, but maybe that's just me.

--

Check out the forum guidelines!

Sun, 02/27/2011 - 03:18 (Reply to #12)
sgrayban

aptitude sucks.... period - The one time I used it I hosed up the sever which would have never happened if I had used apt-get.

Tue, 02/15/2011 - 11:06
hescominsoon

rofl..roger that..:)

Thu, 02/17/2011 - 10:20
trey

I managed to get Virtualmin GPL installed on a fresh Debian squeeze system. I had to make sure udev was installed since quota wants it and ensure it starts up after reboots. I also had to rebuild the quota files since they weren't working. The process was:

1) Install udev and reboot (might not be needed, but it's a test system so why not...)

apt-get install udev
reboot

2) Add this to /etc/apt/sources.list:

deb http://software.virtualmin.com/gpl/debian/ virtualmin-lenny main
deb http://software.virtualmin.com/gpl/debian/ virtualmin-universal main

3) Run:

apt-get update
wget http://software.virtualmin.com/gpl/scripts/install.sh ; sh ./install.sh

4) After Virtualmin installation, run:

insserv quota
rm -f /aquota.*
service quota start

I rebooted afterwards to make sure everything came up as expected. I've only briefly tested with a virtual domain so far but it looks good at first glance.

Thu, 02/17/2011 - 19:49 (Reply to #15)
theblip

Did this, installed okay the first time but then trying to install other packages afterwards using apt-get (like postgrey) were throwing up errors. Insserv which does the new concurrent booting in Squeeze does not seem to be able to figure out dependencies properly after the install.

Trying to remove virtualmin created a mess. Was ultimately able to clean it up (purge) and then removed insserv which reverts back to the old style of booting (takes longer but how often do you reboot?) Was able to get it re-installed and will see how it goes.

Like to add I'm not a Debian guru by any means... so if anyone has any suggestions or advice on what I may have done better, please let me know.

Fri, 02/18/2011 - 00:58
Hal9000

you should install Webmin 1.534 from http://webmin.com/devel.html before installing virtualmin, as it is a development version with added debian 6.0 compatibility, that solves the dependency booting stuff afaik.

Fri, 02/18/2011 - 05:50
gothicx

Thank you :)

Sun, 02/20/2011 - 04:32
cjhmdm

Is Debian squeeze officially supported yet on virtualmin gpl?

Sun, 02/20/2011 - 05:29 (Reply to #19)
Kether2

AFAIK, not yet) Check http://www.virtualmin.com/os-support for news)

Mon, 02/21/2011 - 01:27 (Reply to #20)
Joe
Joe's picture

Is Debian squeeze officially supported yet on virtualmin gpl?

Did you miss the entire rest of this thread? The entire point of posting this topic was to answer this question. (Hint: No.) ;-)

The OS Support page will be updated when it is officially supported, and I'll be posting a testing version of the install.sh tomorrow sometime, as it appears to be working for me, but I don't think it will work on older versions of Debian, so I'll need to make some tweaks to make that happen.

It will not be kept secret when support is finished.

--

Check out the forum guidelines!

Tue, 02/22/2011 - 00:39 (Reply to #21)
cjhmdm

Sorry for asking a question.. I saw the original thread started on 10 Feb that said "about a week", then a list of other replies providing workarounds, then nothing for 2 days so I figured I would ask since (as of the time I asked) I was beginning the process of setting up another server and thought it would be ok to ask for a concise answer at that time so I'd know whether to go with lenny or if I could now go with squeeze instead.

Anyway, sorry for asking a simple and what I thought to be innocent question when there was no other information available at that time. How stupid of me...

Tue, 02/22/2011 - 02:13 (Reply to #22)
Owdy

It is offically supported: http://www.virtualmin.com/os-support Debian 5.0 and 6.0

Tue, 02/22/2011 - 02:13 (Reply to #23)
Owdy

It is offically supported: http://www.virtualmin.com/os-support Debian 5.0 and 6.0

Tue, 02/22/2011 - 02:47
Hal9000

yay! me gives joes box full of cookies :)

Sat, 02/26/2011 - 19:33
jespoting

Virtualmin scientific work with linux when it comes out? Or will have to wait Centos

I would ask a question. SC is about to exit. Virtualmin Centos released when it is released? Or rather when you will draw out Virtualmin Scientific Linux.

Thanks

Sun, 02/27/2011 - 04:16
Hal9000

???

Sun, 02/27/2011 - 11:12
jespoting

Hi, I do not speak very good English. Just wanted to know if you will when you leave Virtualmin scientific linux.

Thanks

Sun, 03/06/2011 - 06:45
brandoM

Hi, since the support for Debian 6 seems to be official, I've tried to install Virtualmin on a Squeeze fresh box with the script from download page, but the installation fails due (I think) because that script is still the one non-squeeze compatible (v1.0.4 ?? ).

Does I need to download the new script from another location or it's simply not working for me?

Thanks

Sun, 03/06/2011 - 06:58 (Reply to #29)
litemotiv

The script from the download page should work. What is the exact error you are getting?

Sun, 03/06/2011 - 07:46 (Reply to #30)
brandoM

I've tried also to reinstall Debian 6 on my VPS, apt-get update and upgrade, checked the hostname and used the install script .. nothing else to eventually mess the installation. From the installation log I can't understand well which error causes the FATAL, maybe this:

-E: Unable to locate package webmin -E: Unable to locate package usermin

/usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip libfcgi-dev failed. Error (if any): 0

here the full Log: pastebin.com/LVXf2kU3

there is any operation to do BEFORE the installation?

thanks

Sun, 03/06/2011 - 08:25 (Reply to #31)
brandoM

Actually I've fixed myself the installation by adding

deb http://software.virtualmin.com/gpl/debian/ virtualmin-squeeze main

deb http://software.virtualmin.com/gpl/debian/ virtualmin-universal main

to /etc/apt/sources.list

Virtualmin seems to work well, but on Debian 6 the script doesn't install automatically many services (mysql,clamd,proftpd,spamd,..) as the CentOS one does. I've installed them manually from Virtualmin UI, not a big problem :D.

Hope it helps and thanks you again.

Topic locked