Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 78773 - up2date not executing..file format not recognized
up2date not executing..file format not recognized
Product: Red Hat Linux
Classification: Retired
Component: up2date (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Adrian Likins
Red Hat Satellite QA List
Depends On:
  Show dependency treegraph
Reported: 2002-11-29 11:00 EST by Kyle
Modified: 2007-04-18 12:48 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-02-08 13:44:59 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
up2date stderr (163.59 KB, text/plain)
2003-02-08 12:23 EST, Kyle
no flags Details

  None (edit)
Description Kyle 2002-11-29 11:00:14 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021126

Description of problem:
When i click on the up2date icon it does not execute or if i type in the cmd it
does not work...when i do a backtrace gdb up2date i get this message:

[root@localhost root]# gdb up2date
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"..."/usr/sbin/up2date": not in
executable format: File format not recognized

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.click up2date icon/or type cmd up2date

Additional info:

this is the second time this has happened. i would have to reinstall up2date.
Comment 1 Michael Lee Yohe 2002-12-01 14:25:31 EST
The error you are receiving is because gdb attempts to grab information from the
object code of a binary file.  "up2date" is not a binary application - it is
actually a Python script:

$ file /usr/sbin/up2date
/usr/sbin/up2date: a /usr/bin/python -u script text executable

Instead you could provide the strace output of the execution:

# strace /usr/sbin/up2date 2> output_up2date.stderr

Attach output_up2date.stderr to this bug.
Comment 2 Adrian Likins 2002-12-13 17:21:03 EST
How does up2date fail if ran from the command line?

Do you get error messages? if so, what are they?
Comment 3 Kyle 2003-02-08 12:23:12 EST
Created attachment 89945 [details]
up2date stderr
Comment 4 Kyle 2003-02-08 13:44:59 EST
apparently all you need to do is rm -f /var/lib/rpm__db*...conflict w/ the rpm 
Comment 5 Kyle 2003-02-08 14:11:35 EST
check that....its rm -f /var/lib/rpm/__db*

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