Is running a full 'yum update' safe?

oddWill
Posts: 11
Member Since:
2009-12-14

Hello trixbox Gurus,

I've a simple question,
Is running a full 'yum update' is a good move for my production box?
Updates coming both from 'trixbox28' & 'updates' repositories and there are a lot of them.

To sum all them up,
Install 4 Package(s)
Update 104 Package(s)
Remove 0 Package(s)
Total download size: 186 M

Should I update? How can I be sure it wont break anything with my current setup?

Regards,



johnjces
Posts: 301
Member Since:
2007-10-13
No...

If you STF (Search The Forums) you will find a ton about not doing such, especially yum update -y. You will almost always break something. It shouldn't be that way, but for some reason it is.

Updating modules is safe.

If you know specifically what packages you need to update and why, you will be ahead of the game.

If it ain't broke, don't fix it.

John



oddWill
Posts: 11
Member Since:
2009-12-14
Thank you, johnjces

Thank you, johnjces



mustardman
Posts: 1289
Member Since:
2006-06-18
On a generic Asterisk

On a generic Asterisk install I would say it is ok IMHO. On Trixbox, all bet's are off.



midistud
Posts: 2
Member Since:
2009-11-02
I agree a full update will

I agree a full update will break something just about every time.



crankshaft
Posts: 5
Member Since:
2009-11-01
Yes, I just did a yum -y

Yes, I just did a yum -y update a few days ago, and just rebooted it today and of course it's broken.

The FXS card is not recognized at all, any suggestions on how to troubleshoot this or which of the following updates may have effected the card ??

Thanks

Feb 06 10:12:44 Updated: kernel-headers-2.6.18-164.11.1.el5.i386
Feb 06 10:13:53 Updated: tbm-GUIcore-2.6.2.3-3.noarch
Feb 06 10:14:21 Updated: tzdata-2009u-1.el5.noarch
Feb 06 10:15:52 Updated: glibc-common-2.5-42.el5_4.3.i386
Feb 06 10:16:17 Updated: selinux-policy-2.4.6-255.el5_4.4.noarch
Feb 06 10:17:35 Installed: kernel-xen-2.6.18-164.11.1.el5.i686
Feb 06 10:18:41 Installed: kernel-2.6.18-164.11.1.el5.i686
Feb 06 10:18:44 Installed: kmod-mISDN-1.1.7.2-2_centos5.2.6.18_164.11.1.el5.i686
Feb 06 10:18:47 Installed: kmod-dahdi-linux-2.2.0-5_trixbox.2.6.18_164.11.1.el5.i686
Feb 06 10:19:29 Updated: selinux-policy-targeted-2.4.6-255.el5_4.4.noarch
Feb 06 10:19:38 Updated: tbm-backup-2.8.0-6.noarch
Feb 06 10:19:39 Updated: yum-fastestmirror-1.1.16-14.el5.centos.1.noarch
Feb 06 10:19:40 Updated: libgcc-4.1.2-46.el5_4.2.i386
Feb 06 10:20:07 Updated: glibc-2.5-42.el5_4.3.i686
Feb 06 10:20:11 Updated: krb5-libs-1.6.1-36.el5_4.1.i386
Feb 06 10:20:19 Updated: openssl-0.9.8e-12.el5_4.1.i686
Feb 06 10:20:22 Updated: libstdc++-4.1.2-46.el5_4.2.i386
Feb 06 10:20:24 Updated: 30:bind-libs-9.3.6-4.P1.el5_4.2.i386
Feb 06 10:20:29 Updated: mysql-5.0.77-4.el5_4.1.i386
Feb 06 10:20:31 Updated: expat-1.95.8-8.3.el5_4.2.i386
Feb 06 10:20:32 Updated: libtool-ltdl-1.5.22-7.el5_4.i386
Feb 06 10:20:38 Updated: krb5-devel-1.6.1-36.el5_4.1.i386
Feb 06 10:20:58 Updated: util-linux-2.13-0.52.el5_4.1.i386
Feb 06 10:21:01 Updated: openssh-4.3p2-36.el5_4.3.i386
Feb 06 10:21:02 Updated: 1:cups-libs-1.3.7-11.el5_4.5.i386
Feb 06 10:21:04 Updated: cpp-4.1.2-46.el5_4.2.i386
Feb 06 10:21:06 Updated: libpri-1.4.10.2-1_centos5.i386
Feb 06 10:21:07 Updated: gd-2.0.33-9.4.el5_4.2.i386
Feb 06 10:21:09 Updated: kpartx-0.4.7-30.el5_4.4.i386
Feb 06 10:21:12 Updated: device-mapper-multipath-0.4.7-30.el5_4.4.i386
Feb 06 10:21:14 Updated: openssh-server-4.3p2-36.el5_4.3.i386
Feb 06 10:21:15 Updated: openssh-clients-4.3p2-36.el5_4.3.i386
Feb 06 10:21:41 Updated: mysql-server-5.0.77-4.el5_4.1.i386
Feb 06 10:21:42 Updated: 30:bind-utils-9.3.6-4.P1.el5_4.2.i386
Feb 06 10:21:44 Updated: vsftpd-2.0.5-16.el5_4.1.i386
Feb 06 10:21:48 Updated: screen-4.0.3-1.el5_4.1.i386
Feb 06 10:21:51 Updated: gzip-1.3.5-11.el5.centos.1.i386
Feb 06 10:21:52 Updated: 12:dhclient-3.0.5-21.el5_4.1.i386
Feb 06 10:21:55 Updated: 4:vixie-cron-4.1-77.el5_4.1.i386
Feb 06 10:22:01 Updated: 12:dhcp-3.0.5-21.el5_4.1.i386
Feb 06 10:22:07 Updated: glibc-headers-2.5-42.el5_4.3.i386
Feb 06 10:22:25 Updated: glibc-devel-2.5-42.el5_4.3.i386
Feb 06 10:22:43 Updated: openssl-devel-0.9.8e-12.el5_4.1.i386
Feb 06 10:22:44 Updated: libtool-ltdl-devel-1.5.22-7.el5_4.i386
Feb 06 10:23:02 Updated: libstdc++-devel-4.1.2-46.el5_4.2.i386
Feb 06 10:23:07 Updated: ntp-4.2.2p1-9.el5.centos.2.1.i386
Feb 06 10:23:08 Updated: openssl-perl-0.9.8e-12.el5_4.1.i386
Feb 06 10:23:21 Updated: gcc-4.1.2-46.el5_4.2.i386
Feb 06 10:23:22 Updated: dbus-libs-1.1.2-12.el5_4.1.i386
Feb 06 10:23:28 Updated: 30:bind-9.3.6-4.P1.el5_4.2.i386
Feb 06 10:23:30 Updated: dbus-1.1.2-12.el5_4.1.i386


crankshaft
Posts: 5
Member Since:
2009-11-01
Hmm, well it's a problem

Hmm, well it's a problem with dhadi.

I have found loads of posts with these errors, but can't seem to find a solution other than to re-install ?!

/etc/init.d/dahdi start
Loading DAHDI hardware modules:
FATAL: Module dahdi not found.
  wct4xxp:  FATAL: Module wct4xxp not found.
                                                           [FAILED]
  wcte12xp:  FATAL: Module wcte12xp not found.
                                                           [FAILED]
  wct1xxp:  FATAL: Module wct1xxp not found.
                                                           [FAILED]
  wcte11xp:  FATAL: Module wcte11xp not found.
                                                           [FAILED]
  wctdm24xxp:  FATAL: Module wctdm24xxp not found.
                                                           [FAILED]
  opvxa1200:  FATAL: Module opvxa1200 not found.
                                                           [FAILED]
  wcfxo:  FATAL: Module wcfxo not found.
                                                           [FAILED]
  wctdm:  FATAL: Module wctdm not found.
                                                           [FAILED]
  wcb4xxp:  FATAL: Module wcb4xxp not found.
                                                           [FAILED]
  wctc4xxp:  FATAL: Module wctc4xxp not found.
                                                           [FAILED]
  xpp_usb:  FATAL: Module xpp_usb not found.
                                                           [FAILED]

Error: missing /dev/dahdi!


dickson
Posts: 1831
Member Since:
2006-06-02
I had a similar problem the

I had a similar problem the other day when I updated a test server. Suddenly my PRI card wasn't visible to the system.
Turns out, in my case, the system installed XEN (virtualization) on the box. I didn't really look into it too much, but when you boot up your server, check to see if you have a couple of boot choices in GRUB and if "XEN" is one (or two) of them and if its defaulting to one. In my case, i just selected the standard one without XEN and everything came up fine. Modify your /etc/grub.conf file to ensure that it boots the right one if this applies in your situation.



crankshaft
Posts: 5
Member Since:
2009-11-01
Hi Dickson; Thanks, yes,

Hi Dickson;

Thanks, yes, that was it, I have 4 grub boot options:

CentOS (2.6.18-164.11.1.el5)
CentOS (2.6.18-164.11.1.el5xen) (DEFAULT)
trixbox (2.6.18-128.1.10.el5xen)
trixbox-base (2.6.18-128.1.10.el5)

And it was defaulting to centos Xen, I changed the grub config to make CentOS (2.6.18-164.11.1.el5) the default.

As I am running off a 4GB CF card (2.8.0.1), I would like to keep my freespace as big as possible.

Is it recommended to remove the other Kernels / boot options and will there be much space saving ??

Thanks again :-)



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.