Update Upgrade
Home Up Firmware tools memory stick Busybox easy VI Packages Miscellaneous Update Upgrade Error: killed Slug 2010

 

Update and Upgrade

The ipkg package manager has two similarly named operations, update and upgrade.

ipkg update

Download the catalogue of packages. When the system shuts down the catalogue is discarded so you cannot use install until you update.

ipkg upgrade

Check for newer versions of installed packages and automatically download and install them.

An upgrade typically results in about 15 seconds of disk and network activity before anything actually happens.

Here's a typical update:

root@zebidee:~# ipkg update
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/Packages.gz
Updated list of available packages in /var/lib/ipkg/cross
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/native/3.10-beta/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/slugos-bag/native/3.10-beta/Packages.gz
Updated list of available packages in /var/lib/ipkg/native
root@zebidee:~#

For comparison here's an example of an upgrade:

root@zebidee:~# ipkg upgrade
Upgrading initscripts-slugos on root from 1.0-r73.9 to 1.0-r74.10...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/initscripts-slugos_1.0-r74.10_armeb.ipk
Upgrading kernel on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-image-2.6.16 on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-image-2.6.16_2.6.16-r6.6_nslu2be.ipk
Upgrading kernel-module-af-packet on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-af-packet_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-module-ext2 on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-ext2_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-module-ext3 on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-ext3_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-module-fat on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-fat_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-module-isofs on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-isofs_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-module-jbd on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-jbd_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-module-lockd on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-lockd_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-module-mbcache on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-mbcache_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-module-netconsole on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-netconsole_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-module-nfs on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-nfs_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-module-nls-base on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-nls-base_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-module-nls-cp437 on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-nls-cp437_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-module-nls-utf8 on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-nls-utf8_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-module-ntfs on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-ntfs_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-module-reiserfs on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-reiserfs_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-module-sunrpc on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-sunrpc_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-module-udf on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-udf_2.6.16-r6.6_ixp4xxbe.ipk
Upgrading kernel-module-vfat on root from 2.6.16-r6.4 to 2.6.16-r6.6...
Downloading http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/kernel-module-vfat_2.6.16-r6.6_ixp4xxbe.ipk
Configuring initscripts-slugos
Configuring kernel
Configuring kernel-image-2.6.16
update-alternatives: Linking //boot/zImage to /boot/zImage-nslu2be-2.6.16
Configuring kernel-module-af-packet
Configuring kernel-module-ext2
Configuring kernel-module-ext3
Configuring kernel-module-fat
Configuring kernel-module-isofs
Configuring kernel-module-jbd
Configuring kernel-module-lockd
Configuring kernel-module-mbcache
Configuring kernel-module-netconsole
Configuring kernel-module-nfs
Configuring kernel-module-nls-base
Configuring kernel-module-nls-cp437
Configuring kernel-module-nls-utf8
Configuring kernel-module-ntfs
Configuring kernel-module-reiserfs
Configuring kernel-module-sunrpc
Configuring kernel-module-udf
Configuring kernel-module-vfat
root@zebidee:~#

No need to panic!!

What's happened here is that since the openslug flash image was built there has been at least one kernel update and as a result all the packaged kernel modules have been updated. In comparison the application packages update far less frequently.

You might instead see:
root@zebidee:~# ipkg upgrade
Nothing to be done
root@zebidee:~#

This indicates that all your installed packages are the newest available.

Home Up Firmware tools memory stick Busybox easy VI Packages Miscellaneous Update Upgrade Error: killed Slug 2010