[asterisk-users] What to do when changing from one asterisk version to another ?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Dec 13 09:19:07 CST 2016


On Thu, Dec 08, 2016 at 06:23:15PM +0100, Olivier wrote:
> Hello,
> 
> I'm compiling Asterisk from source on Debian systems.
> 
> I'm currently writing a script I'm planning to launch when upgrading from
> one Asterisk version to another one within the same class (from 13.4.0 to
> 13.12.0 or from 13.12.0 to 13.8.0, for instance).
> 
> Reading [1], I thought the following would work:
> cd /usr/src/asterisk-13.4.0
> ./configure
> make
> make install
> ...
> cd /usr/src/asterisk-13.4.0
> make dist-clean
> 
> After running above commands, /usr/sbin/asterisk and
> /usr/lib/asterisk/modules/*.so files still exist.
> I would expect both /usr/sbin/asterisk and /usr/lib/asterisk/modules/*.so
> filesto be removed so that if I newly installed asterisk instance wouldn't
> inherit uncontrolled files.

If you package the result in a deb instead of directly installing it,
you can make sure it is completely removed upon package removal.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com



More information about the asterisk-users mailing list