Bug 51648 - Warning in /tmp/upgrade.log
Summary: Warning in /tmp/upgrade.log
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: anonftp
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Aaron Brown
URL:
Whiteboard:
Keywords:
: 51943 52212 56950 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-13 15:41 UTC by hjl
Modified: 2007-04-18 16:35 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2001-08-22 10:33:55 UTC


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2001:128 normal SHIPPED_LIVE New anonftp package available 2001-10-09 04:00:00 UTC

Description hjl 2001-08-13 15:41:55 UTC
I used glibc-2.2.4-5 to upgrade glibc in RedHat 7.1. I got

Upgrading glibc-common.
Upgrading glibc.
basename: too many arguments
Try `basename --help' for more information.
cp: cannot stat `/lib/ld-.so': No such file or directory
cp: cannot stat `/lib/libc-.so': No such file or directory
cp: cannot stat `/lib/libnsl-.so': No such file or directory
cp: cannot stat `/lib/libnss_files-.so': No such file or directory

in /tmp/upgrade.log

Comment 1 Jakub Jelinek 2001-08-13 15:47:35 UTC
This is a bug in anonftp (note to Bero, it is still there, it has not
been fixed).
The line
LIBCVER=`basename %{ROOT}/lib/libc-*.so .so | cut -f2- -d-`
is bogus, at the point of glibc upgrade where the version changes
(like 2.2.3-foo -> 2.2.4-bar) when the %trigger is run, there are
2 libc-*.so files so it becomes confused.
As I've mailed some long time ago, you should be using ldconfig output
to see what library you should copy, or at least run ldconfig and then look
what libc.so.6 symlink points to.

Comment 2 Bernhard Rosenkraenzer 2001-08-20 10:03:51 UTC
*** Bug 51943 has been marked as a duplicate of this bug. ***

Comment 3 Bernhard Rosenkraenzer 2001-08-20 10:09:01 UTC
Fixed in 4.0-8 (4.0-7 fixed the copy() script only, not the LIBCVER variable)


Comment 4 Jonathan Kamens 2001-08-21 13:47:57 UTC
I got these errors when upgrading from 4.0-7 to 4.0-8.  Does this means that
there's still a problem somewhere, or that the bugs were in a postuninstall
script from 4.0-7?

ls: /var/ftp/lib/libc-*.so: No such file or directory
ls: /lib/ld-.so.so: No such file or directory
cp: cannot stat `': No such file or directory
ls: /lib/libc-.so.so: No such file or directory
cp: cannot stat `': No such file or directory
ls: /lib/libnsl-.so.so: No such file or directory
cp: cannot stat `': No such file or directory
ls: /lib/libnss_files-.so.so: No such file or directory
cp: cannot stat `': No such file or directory


Comment 5 Jonathan Kamens 2001-08-22 10:33:29 UTC
After the error noted above, I get this when I run "rpm --verify anonftp" with
4.0-8:

root@jik:~/tmp/addresses/rwback!1# rpm --verify anonftp
md5sum: /var/ftp/lib/lib*-*.so: No such file or directory
5.......   /var/ftp/lib/lib*-*.so

Either this isn't actually fixed, or there's an issue with upgrading between
Rawhide versions of this package.  Since I'm not sure which of these is the
case, I'm reopening this bug so it doesn't get lost.


Comment 6 Bernhard Rosenkraenzer 2001-08-22 12:10:09 UTC
4.0-9 fixes it for good

Comment 7 Jakub Jelinek 2001-08-22 12:39:25 UTC
*** Bug 52212 has been marked as a duplicate of this bug. ***

Comment 8 Jakub Jelinek 2001-11-30 23:17:15 UTC
*** Bug 56950 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.