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 20442 - up2date console requires /var/www/html/index.html
up2date console requires /var/www/html/index.html
Product: Red Hat Linux
Classification: Retired
Component: up2date (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Preston Brown
Aaron Brown
Depends On:
  Show dependency treegraph
Reported: 2000-11-06 17:21 EST by Ryan Jonasson
Modified: 2007-04-18 12:29 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-11-06 17:21:15 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2000:138 high SHIPPED_LIVE New, enhanced Update Agent for Red Hat Linux 6.x, 7.0 available 2000-12-21 00:00:00 EST

  None (edit)
Description Ryan Jonasson 2000-11-06 17:21:12 EST

When retrieving a list of updated packages, up2date dies complaining 
of "no such file or directory: /var/www/html/index.html"

[root /root]# up2date -l

Retrieving list of all available packages...

Removing installed packages from list of updates...
Removing packages marked to skip from list...
Getting headers for available packages...
Removing packages with files marked to skip from list...
Traceback (innermost last):
  File "/usr/sbin/up2date", line 394, in ?
  File "/usr/sbin/up2date", line 377, in main
    sys.exit(batchRun(onlyList, pkgNames, fullUpdate))
  File "/usr/sbin/up2date", line 139, in batchRun
    updated, skipped = up2date.getUpdatedPackageList(printit, percent)
  File "/usr/share/rhn/up2date/up2date.py", line 897, in 
  File "/usr/share/rhn/up2date/up2date.py", line 854, in 
    if checkModified(h, f_i):
  File "/usr/share/rhn/up2date/up2date.py", line 789, in checkModified
    if installedFileMD5s[j] != md5(fileName):
  File "/usr/share/rhn/up2date/up2date.py", line 218, in md5
    f = open(fileName, "r")
IOError: [Errno 2] No such file or directory: '/var/www/html/index.html'

I can fix the problem by touch'ing the file to create it, but that throws 
my HTTP server off b/c I am using an index.php file instead.

I have up2date 2.0.6-1 installed.

Thanks for the info.
Comment 1 Preston Brown 2000-11-28 11:31:54 EST
Thanks for the bug report.  This has been corrected in an upcoming errata
release of Update Agent due this week.

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