Page 1 of 5 123 ... LastLast
Results 1 to 10 of 46

Thread: How To Update Your VortexBox from the Command Line

Hybrid View

  1. #1
    Administrator Ron Olsen's Avatar
    Join Date
    Dec 2009
    Location
    Boulder CO USA
    Posts
    4,956

    How To Update Your VortexBox from the Command Line

    A number of users have experienced problems with rebooting and getting a kernel panic after upgrading using the VB GUI "Start Upgrade" button: see http://vortexbox.org/threads/3649-SO...ate-and-Reboot and http://vortexbox.org/threads/3632-No...-error-message

    The apparent cause is an update of the VB web server (httpd) in an upgrade that also installs a new kernel (kernel-PAE). The update of httpd gets an error, and somehow this causes a faulty/incomplete kernel install. Rebooting after the upgrade causes a kernel panic when trying to load the faulty kernel. See http://info.vortexbox.org/tiki-index...e=Kernel+Panic for a way to fix this problem.

    User nunovi has found that upgrading from the command line does not have this issue; see http://vortexbox.org/threads/3685-Ke...-some-insights

    So, until the VB GUI code is fixed, it may be a good idea to upgrade from the command line instead of from the VB GUI.

    Here's how to do it:

    1. Login to your VB; see Login.

    2. To update, enter
    Code:
    yum clean all; yum update
    3. A reboot is only needed if the update installed a new kernel – look for an install of the kernel-PAE package.

    If a new kernel was installed, reboot to use it. Enter
    Code:
    reboot
    4. If you're doing this from a remote login, "reboot" will close the session. You'll have to wait for the VB to complete the reboot before you can login remotely again.

    This info is also available in the wiki: CLI Upgrade

  2. #2
    Junior Member
    Join Date
    Jun 2009
    Posts
    14
    Quote Originally Posted by Ron Olsen View Post
    A number of users have experienced problems with rebooting and getting a kernel panic after upgrading using the VB GUI "Start Upgrade" button: see http://vortexbox.org/threads/3649-SO...ate-and-Reboot and http://vortexbox.org/threads/3632-No...-error-message

    The apparent cause is an update of the VB web server (httpd) in an upgrade that also installs a new kernel (kernel-PAE). The update of httpd gets an error, and somehow this causes a faulty/incomplete kernel install. Rebooting after the upgrade causes a kernel panic when trying to load the faulty kernel. See http://info.vortexbox.org/tiki-index...e=Kernel+Panic for a way to fix this problem.

    User nunovi has found that upgrading from the command line does not have this issue; see http://vortexbox.org/threads/3685-Ke...-some-insights

    So, until the VB GUI code is fixed, it may be a good idea to upgrade from the command line instead of from the VB GUI.

    Here's how to do it:

    1. Login to your VB; see Login.

    2. To update, enter
    Code:
    yum clean all; yum update
    3. A reboot is only needed if the update installed a new kernel – look for an install of the kernel-PAE package.

    If a new kernel was installed, reboot to use it. Enter
    Code:
    reboot
    4. If you're doing this from a remote login, "reboot" will close the session. You'll have to wait for the VB to complete the reboot before you can login remotely again.

    This info is also available in the wiki: CLI Upgrade

    Well, I was foolish enough to have tried to use the GUI to update from version 1.9. Ran forever, eventually quit, but on reboot nothing had changed.

    Then tried command line. Here's what I got:

    login as: root
    Access denied
    root@192.168.1.12's password:
    Last login: Mon Oct 31 11:47:10 2011 from 192.168.1.29
    [vortexbox.localdomain ~]# top
    top - 19:25:12 up 1 min, 1 user, load average: 2.71, 1.04, 0.38
    Tasks: 147 total, 2 running, 145 sleeping, 0 stopped, 0 zombie
    Cpu(s): 7.6%us, 10.2%sy, 0.0%ni, 0.0%id, 81.5%wa, 0.0%hi, 0.7%si, 0.0%st
    Mem: 1015700k total, 461264k used, 554436k free, 48884k buffers
    Swap: 524284k total, 0k used, 524284k free, 183376k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    1577 root 20 0 68272 9.8m 2980 S 10.6 1.0 0:05.28 forked-daapd
    1464 squeezeb 20 0 86144 76m 3740 S 2.0 7.7 0:27.95 squeezeboxserve
    300 root 20 0 0 0 0 D 1.7 0.0 0:00.51 kjournald
    15 root 20 0 0 0 0 R 0.7 0.0 0:00.20 kblockd/0
    1570 root 20 0 2728 1008 764 R 0.3 0.1 0:00.52 top
    1 root 20 0 2876 1356 1152 S 0.0 0.1 0:01.44 init
    2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
    3 root 20 0 0 0 0 S 0.0 0.0 0:00.05 ksoftirqd/0
    4 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
    5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
    6 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events/0
    7 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuset
    8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper
    9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 netns
    10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 async/mgr
    11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pm
    12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 sync_supers
    [vortexbox.localdomain ~]# yum clean all; yum update
    Cleaning repos: atrpms fedora updates vortexbox
    Cleaning up Everything
    http://dl.atrpms.net/f14-i386/atrpms...ta/repomd.xml: [Errno 14] HTTP Error 404 : http://dl.atrpms.net/f14-i386/atrpms...ata/repomd.xml
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. Please verify its path and try again
    [vortexbox.localdomain ~]# yum clean all; yum update
    Cleaning repos: atrpms fedora updates vortexbox
    Cleaning up Everything
    http://dl.atrpms.net/f14-i386/atrpms...ta/repomd.xml: [Errno 14] HTTP Error 404 : http://dl.atrpms.net/f14-i386/atrpms...ata/repomd.xml
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. Please verify its path and try again
    [vortexbox.localdomain ~]#


    Can anyone tell me how to update this Vortexbox Appliance?

  3. #3

  4. #4
    Junior Member
    Join Date
    Jun 2009
    Posts
    14
    Well, I am trying but getting poor results: Step 2 of Fast UPgarade ends up like this: (I can't porint all the errors produced as this system limits input to 10K characters. NOw what?


    -bash: daapd-0.19-1.fc14.i686: command not found
    [vortexbox.localdomain ~]# --> Processing Dependency: libavcodec.so.53 for package: forked-daapd-0.19-1.fc14.i686
    [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    -bash: syntax error near unexpected token `('
    Requires: libavcodec.so.53(LIBAVCODEC_53)
    Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    -bash: --: command not found
    [vortexbox.localdomain ~]# --> Processing Dependency: libswscale.so.2 for package: forked-daapd-0.19-1.fc14.i686
    [vortexbox.localdomain ~]# Requires: libswscale.so.2(LIBSWSCALE_2)
    -bash: syntax error near unexpected token `('
    -bash: --: command not found
    [vortexbox.localdomain ~]# --> Processing Dependency: libswscale.so.2(LIBSWSCALE_2) for package: forked-daapd-0.19-1.fc14.i686
    -bash: syntax error near unexpected token `('
    -bash: You: command not found
    [vortexbox.localdomain ~]# You could try running: rpm -Va --nofiles --nodigest
    -bash: You: command not found
    [vortexbox.localdomain ~]# --> Processing Dependency: libavutil.so.51 for package: forked-daapd-0.19-1.fc14.i686
    -bash: --: command not found
    [vortexbox.localdomain ~]# --> Processing Dependency: libavutil.so.51(LIBAVUTIL_51) for package: forked-daapd-0.19-1.fc14.i686
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# --> Processing Dependency: libavformat.so.53(LIBAVFORMAT_53) for package: forked-daapd-0.19-1.fc14.i686
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# ---> Package kernel-PAE.i686 0:2.6.35.10-74.fc14 set to be erased
    -bash: ---: command not found
    [vortexbox.localdomain ~]# --> Finished Dependency Resolution
    -bash: --: command not found
    [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# Requires: libswscale.so.2(LIBSWSCALE_2)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# Requires: libavformat.so.53
    -bash: Requires:: command not found
    [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# Requires: libavcodec.so.53(LIBAVCODEC_53)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# Requires: libavutil.so.51(LIBAVUTIL_51)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# Requires: libavcodec.so.53
    -bash: Requires:: command not found
    [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# Requires: libavutil.so.51
    -bash: Requires:: command not found
    [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# Requires: libavformat.so.53(LIBAVFORMAT_53)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# Requires: libswscale.so.2
    -bash: Requires:: command not found
    [vortexbox.localdomain ~]# You could try using --skip-broken to work around the problem
    -bash: You: command not found
    [vortexbox.localdomain ~]# You could try running: rpm -Va --nofiles --nodigest
    -bash: You: command not found
    [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# -bash: syntax error near unexpected token `('
    > Requires: libavcodec.so.53(LIBAVCODEC_53)
    > Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    > [vortexbox.localdomain ~]# Requires: libswscale.so.2(LIBSWSCALE_2)
    > -bash: syntax error near unexpected token `('
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# -bash: syntax error near unexpected token `('
    > [vortexbox.localdomain ~]# Requires: libavformat.so.53
    > -bash: Requires:: command not found
    > [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    > -bash: syntax error near unexpected token `('
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# Requires: libavcodec.so.53(LIBAVCODEC_53)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# -bash: syntax error near unexpected token `('
    > [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    > -bash: syntax error near unexpected token `('
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# Requires: libavutil.so.51(LIBAVUTIL_51)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# -bash: syntax error near unexpected token `('
    > [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    > -bash: syntax error near unexpected token `('
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# Requires: libavcodec.so.53
    -bash: [vortexbox.localdomain: command not found
    [vortexbox.localdomain ~]# -bash: Requires:: command not found
    -bash: -bash:: command not found
    [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# -bash: syntax error near unexpected token `('
    > [vortexbox.localdomain ~]# Requires: libavutil.so.51
    > -bash: Requires:: command not found
    > [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    > -bash: syntax error near unexpected token `('
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# Requires: libavformat.so.53(LIBAVFORMAT_53)
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# -bash: syntax error near unexpected token `('
    > [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    > -bash: syntax error near unexpected token `('
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# Requires: libswscale.so.2
    -bash: [vortexbox.localdomain: command not found
    [vortexbox.localdomain ~]# -bash: Requires:: command not found
    -bash: -bash:: command not found
    [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# You could try using --skip-broken to work around the problem
    -bash: [vortexbox.localdomain: command not found
    [vortexbox.localdomain ~]# -bash: You: command not found
    -bash: -bash:: command not found
    [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# You could try running: rpm -Va --nofiles --nodigest
    -bash: [vortexbox.localdomain: command not found
    [vortexbox.localdomain ~]# -bash: You: command not found
    -bash: -bash:: command not found
    [vortexbox.localdomain ~]#
    [vortexbox.localdomain ~]# > [vortexbox.localdomain ~]# Error: Package: forked-daapd-0.19-1.fc14.i686 (vortexbox)
    [vortexbox.localdomain ~]# -bash: You: command not found
    -bash: syntax error near unexpected token `('
    -bash: -bash:: command not found
    [vortexbox.localdomain ~]# > -bash: syntax error near unexpected token `('
    > -bash: syntax error near unexpected token `('
    -bash: syntax error near unexpected token `('
    [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# Requires: libswscale.so.2
    -bash: [vortexbox.localdomain: command not found
    [vortexbox.localdomain ~]# -bash: [vortexbox.localdomain: command not found
    -bash: -bash:: command not found
    [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# -bash: Requires:: command not found
    -bash: [vortexbox.localdomain: command not found
    [vortexbox.localdomain ~]# -bash: -bash:: command not found
    -bash: -bash:: command not found
    [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# You could try using --skip-broken to work around the problem
    -bash: [vortexbox.localdomain: command not found
    [vortexbox.localdomain ~]# -bash: [vortexbox.localdomain: command not found
    -bash: -bash:: command not found
    [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# -bash: You: command not found
    -bash: [vortexbox.localdomain: command not found
    [vortexbox.localdomain ~]# -bash: -bash:: command not found
    -bash: -bash:: command not found
    [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# You could try running: rpm -Va --nofiles --nodigest
    -bash: [vortexbox.localdomain: command not found
    [vortexbox.localdomain ~]# -bash: [vortexbox.localdomain: command not found
    -bash: -bash:: command not found
    [vortexbox.localdomain ~]# [vortexbox.localdomain ~]# -bash: You: command not found
    -bash: [vortexbox.localdomain: command not found
    [vortexbox.localdomain ~]# -bash: -bash:: command not found
    -bash: -bash:: command not found
    [vortexbox.localdomain ~]#

  5. #5
    Administrator Ron Olsen's Avatar
    Join Date
    Dec 2009
    Location
    Boulder CO USA
    Posts
    4,956
    Enter
    Code:
    yum erase forked-daapd
    and try again.

  6. #6
    Junior Member
    Join Date
    Jun 2009
    Posts
    14
    OK, here's what I get:


    Running rpm_check_debug
    Running Transaction Test


    Transaction Check Error:
    installing package kernel-PAE-2.6.35.14-95.fc14.i686 needs 27MB on the /boot filesystem

    Error Summary
    -------------
    Disk Requirements:
    At least 27MB more space needed on the /boot filesystem.

  7. #7
    Junior Member
    Join Date
    Jun 2009
    Posts
    14
    I ran steps 5a-5b and am now on pre-upgrade. So no issues...for now. Will ask for more help when (not if) I get stuck again.

  8. #8
    I get the following error when trying to update a freshly installed VB 2.1:

    Transaction Check Error:
    file /usr/lib/libva.so.1 from install of libva-1.0.16-1.fc16.i686 conflicts with file from package libva1-1.0.15-7.fc16.i686
    file /usr/lib/libva-x11.so.1 from install of libva-1.0.16-1.fc16.i686 conflicts with file from package libva-x11_1-1.0.15-7.fc16.i686

    Any ideas how to fix this?

  9. #9
    Quote Originally Posted by eximius View Post
    I get the following error when trying to update a freshly installed VB 2.1:

    Transaction Check Error:
    file /usr/lib/libva.so.1 from install of libva-1.0.16-1.fc16.i686 conflicts with file from package libva1-1.0.15-7.fc16.i686
    file /usr/lib/libva-x11.so.1 from install of libva-1.0.16-1.fc16.i686 conflicts with file from package libva-x11_1-1.0.15-7.fc16.i686

    Any ideas how to fix this?
    Yes.

    Look at the sticky post at the top of the "General" Forum.

  10. #10
    Quote Originally Posted by coyrls View Post
    Look at the sticky post at the top of the "General" Forum.
    How could I have missed that!? I guess I need new glasses ...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •