Hi all,
Unfortunately I need debian 5 for a lot of upgraded softwares
I create this thread for reporting problems fixing/shrewdness.
For example, "Jamie the Great" told me:
Moreā¦
Thank you very much
Hi all,
Unfortunately I need debian 5 for a lot of upgraded softwares
I create this thread for reporting problems fixing/shrewdness.
For example, "Jamie the Great" told me:
Moreā¦
Thank you very much
Jamie is authoritative on most issues, but Iām the go to guy on installer questions.
The dist-upgrade will require some work, but not a lot of it.
Not a lot of people have done the dist-upgrade yet, but from what I can tell here are the things youāll need to do:
Plan for some down time (sorry, itās gotta happen with a distribution upgrade, regardless of Virtualmin being involved).
Convert your apt Virtualmin source to point to the virtualmin-lenny repo, instead of virtualmin-etch. Also add a virtualmin-universal source (this is new for lenny and will make upgrades and some other stuff easier/faster in the future; both on my side as the maintainer of the repos and on your side as the user). The virtualmin-universal source line looks like:
deb http://SERIAL:KEY@software.virtualmin.com/debian/ virtualmin-universal
Or, if using Virtualmin GPL:
deb http://software.virtualmin.com/gpl/debian/ virtualmin-universal
Hereās where it might get tricky, and Iām not sure about the correct order of things. You probably want to upgrade virtualmin-base first, with āapt-get install virtualmin-baseā. I donāt know if this will case dependency issues, or not. Let me know and Iāll help resolve them.
Assuming upgrading virtualmin-base worked, you can then probably safely dist-upgrade. Let me know about any weird dependency issues that seem Virtualmin related.
Install apache2-suexec-custom, and configure it in /etc/apache2/suexec/www-data to point to /home instead of /var/www (this is the first line in the file).
I believe thatāll probably get you most of the way there. Jamie checked in some changes to address new saslauthd issues on Debian 5.0, but I havenāt looked at those deeply enough to know exactly how thatāll effect upgrades. Youāll probably want to test sending mail via authenticated SMTP immediately, and address whatever issues appear in the logs, though. We can help with that.
Sometime today, Iāll try an etch to lenny dist-upgrade and see how it shakes out. But, I believe these steps will get you there without too much paināassuming youāre pretty comfortable with a dist-upgrade, in general. Itās a pretty dramatic process, though, so it shouldnāt be undertaken lightly, regardless of having Virtualmin on the system.
In my sources.list you can see this:
I make a apt-get update successfully:
I run apt-get install virtualmin-base
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
virtualmin-base: Depends: apache2-suexec-custom but it is not installable
E: Broken packages
hi1:~#
How can I solve?
Thanks Jamie and Joe I love your support and control panelās reliability.
Why apache2-suexec-custom isnāt installable?
It looks like the problem is that the Debian repository you have is for Etch, but the Virtualmin repository is setup for Lenny.
Thatās an odd predicament
I guess I need some background information on your setup, when you installed Virtualmin, and what distribution version youāre using.
Is it a fresh install, or a live system?
And what does "cat /etc/issue" show?
-Eric
Hi Eric,
Itās a fresh debian 4 etch installation.
In fact cat /etc/issue shows: Debian GNU Linux 4.0
The odd predicament is because of I change it manually and I change repo fom this:
deb-src http://security.debian.org/ etch/updates main
deb http://cipcip:blabla@software.virtualmin.com/debian/ virtualmin-etch main
to this (WITHOUT CHANGING SECURITY DEBIAN REPO BUT ONLY VIRTUALMIN REPO):
deb-src http://security.debian.org/ etch/updates main
deb http://cipcip:blabla@software.virtualmin.com/debian/ virtualmin-lenny main
deb http://cipcip:blabla@software.virtualmin.com/debian/ virtualmin-universal main
In fact I asked (in my previous post): I donāt change the debian repo from etch to lenny. Is it right?
Joe didnāt include it (security debian repo) in his words:
Thanks
Why didnāt you just start with lenny? I donāt understand! Why would you go out of your way to add all the extra hassle of an OS upgrade?
Because I understand wrong I thought "fresh install" means without previous upgrade (from sarge to etch for example)
But actually Itās a live system.
For configuring it completely it takes more than 4 months and 5 virtual hosts are on it I would like to preserve this. configuration.
And sorry for my misunderstanding. Sorry.
Thank you very much
OK! Good. I was having a mild heart attack thinking I may have said something somewhere that suggested starting with etch and then upgrading was the right way to get Virtualmin on lenny.
Donāt worry, weāll get things straightened out, now that I can breathe again.
So, I think your best bet is the install apache2-suexec-custom, or at least try to:
apt-get install apache2-suexec-custom
Iām not sure whatāll happen, though. It shouldnāt be dangerous, anyway.
If that doesnāt do it, due to virtualmin-base dependencies, you could try installing them both at once:
apt-get install apache2-suexec-custom virtualmin-base
This assumes that apache2-suexec-custom exists in the etch. My understanding is that itās been in Debian since sid, but maybe it was experimental until lenny. I dunno. Let us know what apt says about these commands, and weāll work from there.
Package apache2-suexec-custom has no installation candidate ?!?!
Thanks
Joe :), I donāt know why but I tried 6 hours later and I get this output:
Current default timezone: āEurope/Parisā
Local time is now: Fri Mar 13 15:07:45 CET 2009.
Universal Time is now: Fri Mar 13 14:07:45 UTC 2009.
Run ādpkg-reconfigure tzdataā if you wish to change it.
(Reading database ā¦ 69875 files and directories currently installed.)
Preparing to replace locales 2.3.6.ds1-13etch9 (using ā¦/locales_2.7-18_all.deb) ā¦
Unpacking replacement locales ā¦
Preparing to replace libc6 2.3.6.ds1-13etch9+b1 (using ā¦/archives/libc6_2.7-18_i386.deb) ā¦
Checking for services that may need to be restartedā¦
Checking init scriptsā¦
WARNING: init script for postgresql not found.
Stopped glibc upgrade. Please retry the upgrade after you have
checked or stopped services by hand.
dpkg: error processing /var/cache/apt/archives/libc6_2.7-18_i386.deb (āunpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.7-18_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
hi1:~# apt-get install apache2-suexec-custom virtualmin-base
Reading package listsā¦ Done
Building dependency treeā¦ Done
You might want to run āapt-get -f installā to correct these:
The following packages have unmet dependencies.
apache2-suexec-custom: Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch9+b1 is to be installed
locales: Depends: glibc-2.7-1
E: Unmet dependencies. Try āapt-get -f installā with no packages (or specify a solution).
hi1:~# apt-get -f install
Reading package listsā¦ Done
Building dependency treeā¦ Done
Correcting dependenciesā¦Done
The following extra packages will be installed:
libc6 libc6-i686
Suggested packages:
glibc-doc
The following packages will be upgraded:
libc6 libc6-i686
2 upgraded, 0 newly installed, 0 to remove and 347 not upgraded.
1 not fully installed or removed.
Need to get 0B/5703kB of archives.
After unpacking 90.1kB disk space will be freed.
Do you want to continue [Y/n]? Y
Preconfiguring packages ā¦
(Reading database ā¦ 69911 files and directories currently installed.)
Preparing to replace libc6 2.3.6.ds1-13etch9+b1 (using ā¦/archives/libc6_2.7-18_i386.deb) ā¦
Checking for services that may need to be restartedā¦
Checking init scriptsā¦
WARNING: init script for postgresql not found.
Unpacking replacement libc6 ā¦
Setting up libc6 (2.7-18) ā¦
Installing new version of config file /etc/init.d/glibc.sh ā¦
Checking for services that may need to be restartedā¦
Checking init scriptsā¦
WARNING: init script for mysql-server not found.
Restarting services possibly affected by the upgrade:
webmin: stoppingā¦startingā¦done.
spamassassin: stoppingā¦startingā¦done.
ssh: stoppingā¦startingā¦done.
saslauthd: stoppingā¦startingā¦done.
rsync: stoppingā¦startingā¦done.
postfix: stoppingā¦startingā¦done.
openbsd-inetd: stoppingā¦startingā¦done.
dovecot: stoppingā¦startingā¦done.
cron: stoppingā¦startingā¦done.
Services restarted successfully.
(Reading database ā¦ 69917 files and directories currently installed.)
Preparing to replace libc6-i686 2.3.6.ds1-13etch9+b1 (using ā¦/libc6-i686_2.7-18_i386.deb) ā¦
Unpacking replacement libc6-i686 ā¦
Setting up libc6-i686 (2.7-18) ā¦
Setting up locales (2.7-18) ā¦
Generating locales (this might take a while)ā¦
en_GB.ISO-8859-1ā¦ done
en_GB.ISO-8859-15ā¦ done
Generation complete.
hi1:~#
Can I make dist-upgrade?
ftp://**/ is a private debian repository, created by our datacenterās team.
Now I rerun it and I get another error:
Whatās the problem?