/ Zope / Apsis / Pound Mailing List / Archive / 2006 / 2006-03 / Updating Pound using apt-get

[ << ] [ >> ]

[ redirecting pound log / Christian Sell ... ] [ https requests come back as http / Badiane Ka ... ]

Updating Pound using apt-get
"Jamie Robe" <robej(at)plancom.org>
2006-03-10 00:03:00 [ FULL ]
Hi. I was wondering what was the best practice when updating my debian
install of pound. Should I be ok by using apt-get to update by Pound, or
do I need to do more steps, like backups of my conf files, etc?
Thanks,
Jamie

Re: [Pound Mailing List] Updating Pound using apt-get
Alessio Cervellin <a.cervellin(at)acm.org>
2006-03-10 00:12:14 [ FULL ]
Jamie Robe wrote:[...]

i guess it depends on how the deb package has been packaged.
i think a backup of the conf file is always good :)
no more steps should be needed...

RE: [Pound Mailing List] Updating Pound using apt-get
"Jamie Robe" <robej(at)plancom.org>
2006-03-10 04:52:18 [ FULL ]
Should I be using the stable or testing? I assume stable is the best,
but on some packages, like Zope and Plone, it seems I have to be
switching to testing in order to get the latest released/recommended
version. 

Also, do you think I could set use a cron script and just keep pound
updated automatically. I read in several books how that is either crazy
or wonderful, and I really don't know the answer. I assume it is better
to keep the box up-to-date in case of security flaws, etc. I could have
it backup the conf file before the automatic updates?
Thanks!
Jamie




-----Original Message-----
From: Alessio Cervellin [mailto:a.cervellin(at)acm.org] 
Sent: Thursday, March 09, 2006 6:12 PM
To: pound(at)apsis.ch
Subject: Re: [Pound Mailing List] Updating Pound using apt-get


Jamie Robe wrote:[...]
[...]

i guess it depends on how the deb package has been packaged.
i think a backup of the conf file is always good :)
no more steps should be needed...

[...]

Re: [Pound Mailing List] Updating Pound using apt-get
Matt Baker <m(at)wheres.co.uk>
2006-03-10 11:02:18 [ FULL ]
Hi Jamie,

Sorry if this is off topic.

Jamie Robe wrote:[...]

AFAIK apt will not overwrite existing config files if they are updated
in an upgrade. It will most likely put them in a file with a .dpkg-new
suffix.

If you are still worried that apt will overwrite your packages you could
use something like this in for example /etc/apt-conf.d/20-backupconf

---

DPkg::Pre-Install-Pkgs {
	"/usr/local/bin/backup_config_files.sh";
};

---

/usr/local/bin/backup_config_files.sh could then be your own script to
make copies of the files you want to keep. This doesn't apply
specifically to pound.

I use the cron-apt package to notify me of new deb packages that
available each night. You can also set this to do the install if you
like. Although I am not comfortable with doing this, I prefer seeing
what's installed, just in case. ;-)

In addition to this you could install apt-listchanges and apt-listbugs
to give you more info on what apt is doing when installing new packages.

Regards,

Matt

MailBoxer