Installing latest Mailman updates via automatic bash script file possible?

Hi all,
I'm a new here on this list and new on the Linux world. :-)
Using for a web project a virtual server with Ubuntu 10.04.2 LTS, and installed is from the Ubuntu package sources Mailman version 2.1.13.
In one of a short news of the upcoming Ubuntu 11.04 is the latest Mailman version available then. My provider don't accept any Kernel upgrades.
My question: It's possible with a bash script to update largely and to minimize the administration process automatically?
For the beginners in this area, it seems the English documentation is not really easy to use it manually.
Thanks for tips and tricks.
-- Best regards, René

I also would like to know this to, and if someone can, please give me step-by-step on how to update mailman, that would be great. ----- Original Message ----- From: "René Linke" <rene.linke@blindzeln.de> To: "Mailman Users List" <mailman-users@python.org> Sent: Tuesday, March 29, 2011 4:33 AM Subject: [Mailman-Users] Installing latest Mailman updates via automatic bash script file possible?
Hi all,
I'm a new here on this list and new on the Linux world. :-)
Using for a web project a virtual server with Ubuntu 10.04.2 LTS, and installed is from the Ubuntu package sources Mailman version 2.1.13.
In one of a short news of the upcoming Ubuntu 11.04 is the latest Mailman version available then. My provider don't accept any Kernel upgrades.
My question: It's possible with a bash script to update largely and to minimize the administration process automatically?
For the beginners in this area, it seems the English documentation is not really easy to use it manually.
Thanks for tips and tricks.
-- Best regards, René
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/michael.capelle%40chart...

Michael Capelle wrote:
I also would like to know this to, and if someone can, please give me step-by-step on how to update mailman, that would be great.
If you have a packaged Mailman, you use the pacgage tool (apt-get, yum, etc.) appropriate for your distribution/package.
If your mailman is installed from source, the steps are:
Obtain the source you want. Download and unpack a tarball or run a "bzr export" to get the source directly from lp:mailman/2.1.
Go to the directory containing the Mailman source.
Read the NEWS file for information about changes.
3.5 If you have any local patches that are still applicable, install them now.
Run ./configure with exactly the same options as when you initially coffigured and installed Mailman.
Stop Mailman. Some people will also advocate stopping the MTA and web server at this point, but the window in which the MTA could be affected is extremely short and even if the MTA tried to execute the mail wrapper just as it was being updated, it would probably result in a retryable SMTP error. Likewise, unless you have heavy Mailman web traffic, the likelyhood of a problem due to Mailman being updated while a CGI was being executed is small. I don't stop either the MTA or web server.
Run make install
Start Mailman
I put steps 5, 6 and 7 in a shell script to minimize the time Mailman is not running. I also review Mailman's logs after step 7 to make sure there are no immediate problems.
This process should be all that's required for upgrading from any 2.1.x version to a later 2.1.x version, but if your current version is 2.1.4 or older, see the UPGRADING file in the source directory.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

René Linke wrote:
This is really a Debian/Ubuntu question and not a mailman question, but how about
apt-get update mailman
?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On Wed, Mar 30, 2011 at 08:19:46AM -0700, Mark Sapiro wrote:
Or find a PPA (there are a couple out there), and whack the necessary lines in sources.list(5), then
apt-get update && apt-get (upgrade|install) mailman
-- you may need to check pinning (see 'man apt_preferences')
Those with a more cavalier streak may find grabbing the .deb for a newer (base) version and thence 'dpkg -i''ing the .deb works, ( a drawback is you won't necessarily get security updates), or indeed, looking in backports.
YMMV.
-- "Of course we are not patronising women. We are just going to explain to them, in words of one syllable, what it is all about." -- Olga Maitland

I also would like to know this to, and if someone can, please give me step-by-step on how to update mailman, that would be great. ----- Original Message ----- From: "René Linke" <rene.linke@blindzeln.de> To: "Mailman Users List" <mailman-users@python.org> Sent: Tuesday, March 29, 2011 4:33 AM Subject: [Mailman-Users] Installing latest Mailman updates via automatic bash script file possible?
Hi all,
I'm a new here on this list and new on the Linux world. :-)
Using for a web project a virtual server with Ubuntu 10.04.2 LTS, and installed is from the Ubuntu package sources Mailman version 2.1.13.
In one of a short news of the upcoming Ubuntu 11.04 is the latest Mailman version available then. My provider don't accept any Kernel upgrades.
My question: It's possible with a bash script to update largely and to minimize the administration process automatically?
For the beginners in this area, it seems the English documentation is not really easy to use it manually.
Thanks for tips and tricks.
-- Best regards, René
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/michael.capelle%40chart...

Michael Capelle wrote:
I also would like to know this to, and if someone can, please give me step-by-step on how to update mailman, that would be great.
If you have a packaged Mailman, you use the pacgage tool (apt-get, yum, etc.) appropriate for your distribution/package.
If your mailman is installed from source, the steps are:
Obtain the source you want. Download and unpack a tarball or run a "bzr export" to get the source directly from lp:mailman/2.1.
Go to the directory containing the Mailman source.
Read the NEWS file for information about changes.
3.5 If you have any local patches that are still applicable, install them now.
Run ./configure with exactly the same options as when you initially coffigured and installed Mailman.
Stop Mailman. Some people will also advocate stopping the MTA and web server at this point, but the window in which the MTA could be affected is extremely short and even if the MTA tried to execute the mail wrapper just as it was being updated, it would probably result in a retryable SMTP error. Likewise, unless you have heavy Mailman web traffic, the likelyhood of a problem due to Mailman being updated while a CGI was being executed is small. I don't stop either the MTA or web server.
Run make install
Start Mailman
I put steps 5, 6 and 7 in a shell script to minimize the time Mailman is not running. I also review Mailman's logs after step 7 to make sure there are no immediate problems.
This process should be all that's required for upgrading from any 2.1.x version to a later 2.1.x version, but if your current version is 2.1.4 or older, see the UPGRADING file in the source directory.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

René Linke wrote:
This is really a Debian/Ubuntu question and not a mailman question, but how about
apt-get update mailman
?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On Wed, Mar 30, 2011 at 08:19:46AM -0700, Mark Sapiro wrote:
Or find a PPA (there are a couple out there), and whack the necessary lines in sources.list(5), then
apt-get update && apt-get (upgrade|install) mailman
-- you may need to check pinning (see 'man apt_preferences')
Those with a more cavalier streak may find grabbing the .deb for a newer (base) version and thence 'dpkg -i''ing the .deb works, ( a drawback is you won't necessarily get security updates), or indeed, looking in backports.
YMMV.
-- "Of course we are not patronising women. We are just going to explain to them, in words of one syllable, what it is all about." -- Olga Maitland
participants (4)
-
Adam McGreggor
-
Mark Sapiro
-
Michael Capelle
-
René Linke