[lug] Regarding use of krud2date to update KRUD from month to month

BOF bof at pcisys.net
Thu Jan 10 10:29:51 MST 2002


Sean Reifschneider wrote:

>On Wed, Jan 09, 2002 at 07:26:43PM -0700, BOF wrote:
>
>>First, I want to update only the packages that I have installed --- I do 
>>not want to any new ones unless I choose to do so.
>>
>krud2date will try to update the packages you have on your system.  If it
>installs any new packages that's because they're *REQUIRED* by one of the
>packages that's being updated.  For example, at one point a newer glibc
>required a glibc-common package which didn't used to be installed.
>
>>Second, I will upgrade the kernel manually, using rpm, if needed. (The 
>>README.KRUD file implies this, if I read it correctly).
>>
>If there's a new kernel, krud2date will try doing an "rpm -i" on it, which
>makes the new kernel available (but doesn't set it up in
>lilo.conf/grub.conf).  In contrast, most other packages it will do an "rpm
>-U" of.
>
>>I read the man page for krud2date, but it leaves me confused on what 
>>command to issue, particularly since the kernel update .rpm is in the 
>>krud2date directory.
>>
>
>Try:
>
>   krud2date -vi
>
>This runs in verbose mode and does the install of new packages.
>
>Sean
>



**************************************

Hello,


Thanx for the help. I guess I was getting too fancy with the switches 
last night to direct where the update path was.

While the above works for most of the packages to be updates, there are 
still problems with updating the kernel. The kernel itself updated, but 
the header files did not. The error messages were as follows:

    file /usr/include/linux/autoconf.h from install of
    kernel-headers-2.4.9-13 conflicts with file from package
    kernel-headers-2.4.9-7
    file /usr/include/linux/kallsyms.h from install of
    kernel-headers-2.4.9-13 conflicts with file from package
    kernel-headers-2.4.9-7
    file /usr/include/linux/kernel.h from install of
    kernel-headers-2.4.9-13 conflicts with file from package
    kernel-headers-2.4.9-7
    file /usr/include/linux/pci.h from install of
    kernel-headers-2.4.9-13 conflicts
    with file from package kernel-headers-2.4.9-7
    file /usr/include/linux/version.h from install of
    kernel-headers-2.4.9-13 conflicts with file from package
    kernel-headers-2.4.9-7
    Package install failure.  Not cleaning up files copied to local
    directory "/root/.krud2date".  Aborting...
    [root at teleri cdrom]#

The contents of the directory /root/.krud2date were:

    cyrus-sasl-1.5.24-23.i386.rpm
    cyrus-sasl-devel-1.5.24-23.i386.rpm
    cyrus-sasl-md5-1.5.24-23.i386.rpm
    cyrus-sasl-plain-1.5.24-23.i386.rpm
    eel-1.0.2-2.i386.rpm
    foomatic-1.1-0.20011018.7.i386.rpm
    gftp-2.0.9-1.i386.rpm
    iptables-1.2.4-2.i386.rpm
    kernel-2.4.9-13.i686.rpm
    kernel-headers-2.4.9-13.i386.rpm
    mozilla-0.9.6-0.i386.rpm
    nmap-2.54BETA30-1.i386.rpm
    nmap-frontend-0.2.54BETA30-1.i386.rpm
    openssh-3.0.1p1-1.i386.rpm
    openssh-askpass-3.0.1p1-1.i386.rpm
    openssh-askpass-gnome-3.0.1p1-1.i386.rpm
    openssh-clients-3.0.1p1-1.i386.rpm
    openssh-server-3.0.1p1-1.i386.rpm
    pam-0.75-19.i386.rpm
    stunnel-3.21c-1.i386.rpm
    ttfonts-ja-1.0-7.noarch.rpm
    usermode-1.46-1.i386.rpm


I removed the old kernel-headers and installed the new ones manually, 
and now things are fine.

BOF






More information about the LUG mailing list