[asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgrade / exclude packages
Hi, I have Asterisk 11 with DAHDI (Sangoma E1-Card) running on Ubuntu 12.04 LTS. Asterisk and DAHDI-Drivers are installed from source. When doing an apt-get upgrade the system packages will be update but sometimes Asterisk is broken. Which packages do I have to exclude when I do not have time to recompile Asterisk/Dahdi each time? libc? Kernel-Packages? Thanks so far! -Thorsten- -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgrade / exclude packages
When doing an apt-get upgrade the system packages will be update but sometimes Asterisk is broken. Can you describe what is broken? Which packages do I have to exclude when I do not have time to recompile Asterisk/Dahdi each time? libc? Kernel-Packages? The way things are set up is that you have to compile the wanpipe drivers always against the current versions of the kernel and DAHDI. You could change that with a pretty high risk of breaking things, mainly due to frequent changes in the network related parts of the kernel. I have never seen something break, except for kernel updates, but my systems are RedHat based. I doubt that the Debian based systems are much different as far as interface changes are concerned for a certain release. My guess is that you should be fine if you do not execute apt-get dist-upgrade. jg -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgrade / exclude packages
On Friday 10 Oct 2014, Thorsten Göllner wrote: Hi, I have Asterisk 11 with DAHDI (Sangoma E1-Card) running on Ubuntu 12.04 LTS. Asterisk and DAHDI-Drivers are installed from source. When doing an apt-get upgrade the system packages will be update but sometimes Asterisk is broken. Which packages do I have to exclude when I do not have time to recompile Asterisk/Dahdi each time? libc? Kernel-Packages? Thanks so far! -Thorsten- DAHDI is basically a set of kernel modules, which *by design* work only with the exact kernel for which they were compiled; so avoid any upgrade to the kernel if you don't have time to rebuild DAHDI. C library changes potentially could require anything to be recompiled; but in practice almost invariably don't, precisely because of how much breakage would potentially be caused. If a C library update requires recompilation of other packages then either there has been a Flag Day (and not the sort where mean people stay indoors!) or you're running Gentoo. I believe there is a way in Debian, and therefore probably Ubuntu, to have some script execute automatically following a kernel update. So you might even be able to have DAHDI self-rebuild following a kernel update. -- AJS Note: Originating address only accepts e-mail from list! If replying off- list, change address to asterisk1list at earthshod dot co dot uk . -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgrade / exclude packages
On Ubuntu I've made an ugly shell script and put it in /etc/kernel/postinst.d/ This is the script: #!/bin/bash #Kernel version being installed is param 1 kernel_installing=$1 cd /usr/src/dahdi KVERS=$kernel_installing make KVERS=$kernel_installing make install You'll also need to reboot the system. On Fri, Oct 10, 2014 at 2:55 PM, A J Stiles asterisk_l...@earthshod.co.uk wrote: On Friday 10 Oct 2014, Thorsten Göllner wrote: Hi, I have Asterisk 11 with DAHDI (Sangoma E1-Card) running on Ubuntu 12.04 LTS. Asterisk and DAHDI-Drivers are installed from source. When doing an apt-get upgrade the system packages will be update but sometimes Asterisk is broken. Which packages do I have to exclude when I do not have time to recompile Asterisk/Dahdi each time? libc? Kernel-Packages? Thanks so far! -Thorsten- DAHDI is basically a set of kernel modules, which *by design* work only with the exact kernel for which they were compiled; so avoid any upgrade to the kernel if you don't have time to rebuild DAHDI. C library changes potentially could require anything to be recompiled; but in practice almost invariably don't, precisely because of how much breakage would potentially be caused. If a C library update requires recompilation of other packages then either there has been a Flag Day (and not the sort where mean people stay indoors!) or you're running Gentoo. I believe there is a way in Debian, and therefore probably Ubuntu, to have some script execute automatically following a kernel update. So you might even be able to have DAHDI self-rebuild following a kernel update. -- AJS Note: Originating address only accepts e-mail from list! If replying off- list, change address to asterisk1list at earthshod dot co dot uk . -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgrade / exclude packages
On Fri, 10 Oct 2014 13:11:10 +0200 jg webaccounts...@jgoettgens.de wrote: When doing an apt-get upgrade the system packages will be update but sometimes Asterisk is broken. Can you describe what is broken? Hi jg and All. I will go in this flow and say I reported a similar bug at Launchpad and I got no answers up to this moment. Please see: https://bugs.launchpad.net/bugs/1338578 Every kernel upgrade is a nightmare here! Who can help us? Regards Ethy Which packages do I have to exclude when I do not have time to recompile Asterisk/Dahdi each time? libc? Kernel-Packages? The way things are set up is that you have to compile the wanpipe drivers always against the current versions of the kernel and DAHDI. You could change that with a pretty high risk of breaking things, mainly due to frequent changes in the network related parts of the kernel. I have never seen something break, except for kernel updates, but my systems are RedHat based. I doubt that the Debian based systems are much different as far as interface changes are concerned for a certain release. My guess is that you should be fine if you do not execute apt-get dist-upgrade. jg -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Ethy H. Brito /\ InterNexo Ltda. \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML +55 (12) 3797-6860 X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL S.J.Campos - Brasil / \ PGP key: http://www.inexo.com.br/~ethy/0xC3F222A0.asc -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgrade / exclude packages
I believe there is a way in Debian, and therefore probably Ubuntu, to have some script execute automatically following a kernel update. So you might even be able to have DAHDI self-rebuild following a kernel update. I went back to do everything by hand, if necessary. Thorsten and other Wanpipe users need to synchronize DAHDI, the kernel, and the Wanpipe drivers. I don't use Asterisk modules that depend too much on the distro or kernel version, but other setups might have more dependencies. Essentially you can do a kernel update only if the Wanpipe drivers are consistent with the DAHDI and kernel versions and DAHDI works only if the kernel doesn't object, which happens once in a while. The wanpipe drivers rarely (=never) work with the most recent kernels, so running a production machine with the latest beta Fedora or Ubuntu, is something for extreme athletes. jg -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users