Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: Drifting on June 13, 2012, 08:38:53 PM

Title: Update removing sail?
Post by: Drifting on June 13, 2012, 08:38:53 PM
Now I know that I far from know it all. And more often than not the Sark Devs do not recommend updating a system. But I had this today?:-

Removing for dependencies:
 asterisk14                          i386   1.4.36-1_centos5   installed   0.0
 asterisk14-dahdi                    i386   1.4.36-1_centos5   installed  2.0 M
 dahdi-linux                         i386   2.4.1-70.el5       installed  3.2 M
 dahdi-linux-kmdl-2.6.18-308.1.1.el5 i686   2.4.1-70.el5       installed  1.8 M
 dahdi-tools                         i386   2.4.0-1_centos5    installed  715 k
 sail                                noarch 3.1.1-9            installed  8.3 M
 smesailenv                          noarch 1.0.0-30           installed   40 k

Is it really offering to remove sail ?

Regards
Title: Re: Update removing sail?
Post by: SARK devs on June 17, 2012, 09:24:06 AM
yup

what command did you run?

kind regards

s
Title: Re: Update removing sail?
Post by: Drifting on June 17, 2012, 12:30:38 PM
Just the normal yum update.

Saw that there was a kernel update, hunted for the dahdi etc files to match kernel (none) so decided against it and left it alone.

Sometimes the things linux does confuse me, not that it would take much as my knowledge is not that good on all aspects.
Title: Re: Update removing sail?
Post by: SARK devs on June 18, 2012, 05:19:13 PM
I can't replicate this on my test server.  It doesn't try to do anything with Asterisk on my 8.0 b7 system here when I run a yum upgrade.  What was the exact  command you ran?

Best

S
Title: Re: Update removing sail?
Post by: Drifting on June 18, 2012, 05:30:20 PM
Hi Chaps, thanks for replying.

SME8.0
This is on 3.1.1-9 Sail

[root@voipsbs ~]# yum update
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
 * base: mirror01.th.ifl.net
 * smeaddons: mirror.absolutnet.de
 * smeextras: mirror.absolutnet.de
 * smeos: mirror.absolutnet.de
 * smeupdates: mirror.absolutnet.de
 * updates: mirror01.th.ifl.net
base                                                     | 1.1 kB     00:00     
smeaddons                                                | 2.3 kB     00:00     
smeextras                                                | 2.3 kB     00:00     
smeos                                                    | 2.8 kB     00:00     
smeupdates                                               | 2.3 kB     00:00     
updates                                                  | 1.9 kB     00:00     
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package expat.i386 0:1.95.8-11.el5_8 set to be updated
---> Package kernel.i686 0:2.6.18-308.8.2.el5 set to be installed
---> Package logrotate.i386 0:3.7.4-14 set to be updated
---> Package man.i386 0:1.6d-3.el5 set to be updated
--> Finished Dependency Resolution
--> Running transaction check
---> Package kernel.i686 0:2.6.18-308.1.1.el5 set to be erased
updates/filelists_db                                     | 2.1 MB     00:01     
--> Processing Dependency: /boot/vmlinuz-2.6.18-308.1.1.el5 for package: dahdi-linux-kmdl-2.6.18-308.1.1.el5
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package dahdi-linux-kmdl-2.6.18-308.1.1.el5.i686 0:2.4.1-70.el5 set to be erased
--> Processing Dependency: dahdi-linux-kmdl-2.4.1-70.el5 for package: dahdi-linux
--> Running transaction check
---> Package dahdi-linux.i386 0:2.4.1-70.el5 set to be erased
--> Processing Dependency: dahdi-linux for package: dahdi-tools
--> Processing Dependency: dahdi-linux for package: asterisk14-dahdi
--> Processing Dependency: dahdi-linux for package: sail
--> Processing Dependency: dahdi-linux for package: smesailenv
--> Running transaction check
---> Package asterisk14-dahdi.i386 0:1.4.36-1_centos5 set to be erased
--> Processing Dependency: asterisk14-dahdi = 1.4.36-1_centos5 for package: asterisk14
---> Package dahdi-tools.i386 0:2.4.0-1_centos5 set to be erased
---> Package sail.noarch 0:3.1.1-9 set to be erased
---> Package smesailenv.noarch 0:1.0.0-30 set to be erased
--> Running transaction check
---> Package asterisk14.i386 0:1.4.36-1_centos5 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                             Arch   Version            Repository  Size
================================================================================
Installing:
 kernel                              i686   2.6.18-308.8.2.el5 updates     19 M
Updating:
 expat                               i386   1.95.8-11.el5_8    updates     78 k
 logrotate                           i386   3.7.4-14           smeupdates  42 k
 man                                 i386   1.6d-3.el5         smeupdates 262 k
Removing:
 kernel                              i686   2.6.18-308.1.1.el5 installed   49 M
Removing for dependencies:
 asterisk14                          i386   1.4.36-1_centos5   installed   0.0
 asterisk14-dahdi                    i386   1.4.36-1_centos5   installed  2.0 M
 dahdi-linux                         i386   2.4.1-70.el5       installed  3.2 M
 dahdi-linux-kmdl-2.6.18-308.1.1.el5 i686   2.4.1-70.el5       installed  1.8 M
 dahdi-tools                         i386   2.4.0-1_centos5    installed  715 k
 sail                                noarch 3.1.1-9            installed  8.3 M
 smesailenv                          noarch 1.0.0-30           installed   40 k

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       3 Package(s)
Remove        8 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Total download size: 20 M
Is this ok [y/N]:

And as you can image I said a resounding "N"

Regards
Title: Re: Update removing sail?
Post by: SARK devs on June 18, 2012, 10:51:34 PM
it's because it is trying to remove the old kernel and replace it with a new one.  Dahdi kmdl is dependent on the kernel release and asterisk and sail are dependent one way or the other on Dahdi so it all gets deleted.

If you want to proceed with this upgrade then you will have to reinstall asterisk and sail afterwards I guess.

Kind Regards

S