Why you should run ipkg upgrade with caution

I have not touched my RT-N16 (running Tomato Mod USB) for a while mostly because I don’t have a lot of time, and well, it is rock stable :). Today I decided to upgrade all my packages and I just did:

ipkg update
ipkg upgrade

And here is what I get:

Upgrading cron on /opt/ from 4.1-7 to 4.1-8...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable//cron_4.1-8_mipsel.ipk
Configuration file '/opt/etc/crontab'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions (if diff is installed)
The default action is to keep your current version.
*** crontab (Y/I/N/O/D) [default=N] ?Y
Upgrading libcurl on /opt/ from 7.21.1-1 to 7.21.6-1...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable//libcurl_7.21.6-1_mipsel.ipk
Upgrading libtiff on /opt/ from 3.9.4-1 to 3.9.5-1...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable//libtiff_3.9.5-1_mipsel.ipk
Upgrading libxml2 on /opt/ from 2.7.7-2 to 2.7.8-1...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable//libxml2_2.7.8-1_mipsel.ipk
Upgrading nmap on /opt/ from 5.21-1 to 5.35DC1-1...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable//nmap_5.35DC1-1_mipsel.ipk
Upgrading pcre on /opt/ from 8.10-1 to 8.12-1...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable//pcre_8.12-1_mipsel.ipk
Upgrading procmail on /opt/ from 3.22-3 to 3.22-4...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable//procmail_3.22-4_mipsel.ipk
Upgrading rsync on /opt/ from 3.0.7-1 to 3.0.8-1...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable//rsync_3.0.8-1_mipsel.ipk
Upgrading sane-backends on /opt/ from 1.0.21-1 to 1.0.22-1...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable//sane-backends_1.0.22-1_mipsel.ipk
package sane-backends suggests installing inetutils
Configuration file '/opt/etc/sane.d/saned.conf'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions (if diff is installed)
The default action is to keep your current version.
*** saned.conf (Y/I/N/O/D) [default=N] ?Y
Upgrading vim on /opt/ from 7.3-1 to 7.3-2...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable//vim_7.3-2_mipsel.ipk
Configuring cron
Remember that the system crontab file is "/opt/etc/crontab".
kill: can't kill pid 1456: No such process
Configuring libcurl
Configuring libtiff
Configuring libxml2
Configuring nmap
Configuring pcre
Configuring procmail
Configuring rsync
Configuring sane-backends

It seems you have xinetd configured and running. Good.
sane-backends has been installed and configured to run with xinetd in /opt/etc/xinetd.d/saned
Please reload xinetd to start sane-backends.
Configuring vim
Successfully terminated.

As you can see, it is complaining about two files it is going to overwrite in my configuration: /opt/etc/sane.d/saned.conf and /opt/etc/crontab. However, in fact, it also overwrote /opt/etc/xinetd.d/saned so I had to configure it back again as explained in http://www.shcherbyna.com/?p=983

1,952 views

Leave a Reply

Your email address will not be published. Required fields are marked *

Identify yourself * Time limit is exhausted. Please reload CAPTCHA.