The latest updates for FC2-T1 (from development) for the coreutils and util-linux packages have problems. These packages need to be installed together. Because of the version-release of the util-linux package in the base being 2.12pre-3 and the update being 2.12-4, both up2date and rpm consider that the old package is newer.
To get around this, you need to manually download the updated util-linux-2.12-4 package (and the coreutils-5.2.0-8 package if you do not have it) and then use rpm -Uvh --force util... coreutils...
On Sat, Feb 28, 2004 at 06:19:02AM -0500, Gene C. wrote:
To get around this, you need to manually download the updated util-linux-2.12-4 package (and the coreutils-5.2.0-8 package if you do not have it) and then use rpm -Uvh --force util... coreutils...
There is no reason to need '--force'.
Tim. */
On Mon, Mar 01, 2004 at 10:57:43AM +0000, Tim Waugh wrote:
On Sat, Feb 28, 2004 at 06:19:02AM -0500, Gene C. wrote:
To get around this, you need to manually download the updated util-linux-2.12-4 package (and the coreutils-5.2.0-8 package if you do not have it) and then use rpm -Uvh --force util... coreutils...
There is no reason to need '--force'.
Oh, didn't see the 'util...' in the command-line. Well, you can use '--oldpackage' for util-linux and the freshen coreutils as normal.
Tim. */
On Monday 01 March 2004 05:57, Tim Waugh wrote:
On Sat, Feb 28, 2004 at 06:19:02AM -0500, Gene C. wrote:
To get around this, you need to manually download the updated util-linux-2.12-4 package (and the coreutils-5.2.0-8 package if you do not have it) and then use rpm -Uvh --force util... coreutils...
There is no reason to need '--force'.
IIRC, I believe that I did need force. I knew that I needed to install both the updated coreutils and updated unil-linux packages because /usr/bin/kill switched packages and redhat-lsb requires /usr/bin/kill. Therefore I first tried rpm -Uvh util-linux-2.12-4.i386.rpm coreutils-5.2.0-8.is86.rpm but this did not work because rpm considered 2.12pre-3 to be "newer". That is when I tried force.
I would need to do a fresh install to recreate the situation at this point but I will do that if necessary to prove this point. I was quite annoyed by the 2.12pre-3 situation since I had been had been trying for a couple days to get coreutils installed and up2date never "saw" the 2.12-4 util-linux package as being the newer package. I first thought that it was only up2date but then came to realize that it was rpm also that considered the 2.12pre-3 package as newer.
FWIW, I use this script (run it in a directory of available RPMs) to see which version-releases differ to what's installed.
#!/bin/bash
echo -e "Installed\r\t\t\t\t\tAvailable" echo -e "---------\r\t\t\t\t\t---------" for pkg in $(rpm -qa | sort) do pkgname=$(echo $pkg | sed -e 's/^(.*)-[^-]+-[^-]+$/\1/') qpkgname=$(echo $pkgname | sed -e 's/+/\+/g') file=$(ls -t1 ${pkgname}-*-*.*.rpm 2>/dev/null | grep "^${qpkgname}-[^-]+-[^-]+.(i386|noarch)" | head -n 1) file=${file%.*.rpm} [ -n "${file}" ] && [ "${pkg}" != "${file}" ] && \ echo -e "${pkg}\r\t\t\t\t\t${file}" done
Tim. */
Gene C. wrote:
2.12-4.i386.rpm 2.12pre-3 to be "newer".
2.12-4 < 2.12a-3 < 2.12p-3 < 2.12.pre-3 ??
lftp download.fedora.redhat.com:/pub/fedora/linux/core/development/SRPMS> ls *pre* -rw-r--r-- 1 ftp ftp 1110935 Feb 15 12:45 busybox-1.00.pre5-3.src. rpm -rw-r--r-- 1 ftp ftp 12112644 Feb 19 10:18 gimp-2.0-1.pre3.4.src.rp m -rw-r--r-- 1 ftp ftp 58128 Feb 17 05:34 ncompress-4.2.4-35.src.r pm -rw-r--r-- 1 ftp ftp 117731 Feb 13 22:33 perl-Compress-Zlib-1.33- 1.src.rpm -rw-r--r-- 1 ftp ftp 363118 Feb 16 14:23 prelink-0.3.0-21.src.rpm -rw-r--r-- 1 ftp ftp 1961354 Feb 17 08:50 wordtrans-1.1pre13-3.src .rpm -rw-r--r-- 1 ftp ftp 1813548 Feb 17 08:52 xcin-2.5.3.pre3-21.src.r