Thorsten Göllner
2014-Oct-10 10:47 UTC
[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-
jg
2014-Oct-10 11:11 UTC
[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
A J Stiles
2014-Oct-10 12:55 UTC
[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 .
Possibly Parallel Threads
- Asterisk 11.2.1 / dahdi destroy channel / asterisk crashes
- Asterisk 11 / Missing Application SetCallerPres
- Limit Call Duration with L-option of Dial : announcement
- Sip-Client / type=peer / Why can this client place calls?
- Voice-Recognition / ASR / with barge in