Bug 78834 - partial installs are detected for upgrade
partial installs are detected for upgrade
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2002-12-01 16:19 EST by Pedro Miguel Marques Morais
Modified: 2008-01-17 12:49 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-05-25 10:57:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Pedro Miguel Marques Morais 2002-12-01 16:19:03 EST
From Bugzilla Helper: 
User-Agent: Mozilla/5.0 (compatible; Konqueror/3; Linux) 
How reproducible: 
Steps to Reproduce: 
1. Abort an install during the package installation process 
2. Start another install 
Actual Results:  Anaconda offers to upgrade a system without even knowing 
what version it is. Shows '()' in place of '(Redhat something)' 
Expected Results:  Ignore the partial install.
Comment 1 Jeremy Katz 2002-12-16 17:31:11 EST
Unfortunately, we don't really have any better heuristics to check for what
makes up an installation although I'm open to ideas.  The current heuristic is
the one that's been used on upgrades for a long time.  We have improved the text
on the screen, though, so that it's less problematic
Comment 2 Pedro Miguel Marques Morais 2002-12-16 18:05:23 EST
Well, is this case the heuristic is simple: 
if we didn't even managed to find out what version of Red Hat 
was installed (as I told you, the screen showed '' as the distro version) 
you can't upgrade it. 
And how about creating a file, something like /root/install-in-progress, 
that only gets deleted if the install really ends? 
I guess this is fixable, and will confuse newbie users if they screw 
an install and try reinstalling ("Neat, I can recover my failed install"). 
Comment 3 Jeremy Katz 2002-12-16 18:49:06 EST
You could have just done `cat /dev/null > /etc/redhat-release`.  And,
unfortunately, a lot of "security" sites recommend doing just that :(
Comment 4 Jeremy Katz 2003-01-03 01:12:34 EST
msf made the handling of this a little nicer.
Comment 5 Brent Fox 2003-05-25 10:57:32 EDT
I'm going through Bugzilla closing some bugs that have been marked as Modified
for some period of time.  I believe that most of these issues have been fixed,
so I'm resolving these bugs as Rawhide.  If the bug you are seeing still exists,
please reopen this report and mark it as Reopened.

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