Bug 80008 - nothing-done message too vague
nothing-done message too vague
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: up2date (Show other bugs)
8.0
All Linux
medium Severity low
: ---
: ---
Assigned To: Adrian Likins
Red Hat Satellite QA List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-12-18 14:03 EST by Jeff Garzik
Modified: 2013-07-02 22:08 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-14 22:57:02 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jeff Garzik 2002-12-18 14:03:53 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
The message printed out when up2date does no work is too vague.  up2date fails
to distinguish between two vastly different no-work-done cases:
(1) package is present, does not need to be updated
(2) package is not available via RHN

Example message for when package is present and does not need updating:
[jgarzik@fokker jgarzik]$ sudo up2date -i -f binutils

Fetching package list for channel: redhat-linux-i386-8.0...
########################################

Fetching Obsoletes list for channel: redhat-linux-i386-8.0...
########################################
None of the packages you requested were found, or they are already updated.



Example message for when package is not available via RHN:
[jgarzik@fokker jgarzik]$ sudo up2date -i -f no_binutils

Fetching package list for channel: redhat-linux-i386-8.0...
########################################

Fetching Obsoletes list for channel: redhat-linux-i386-8.0...
########################################
None of the packages you requested were found, or they are already updated.




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


How reproducible:
Always

Steps to Reproduce:
1.Use up2date to install an app already present on system.
2.Use up2date to install an app not available via RHN.
3.Enjoy the vagueness :)


Actual Results:  The vague message "None of the packages you requested were
found, or they are already updated." appears in both cases.


Expected Results:  up2date should print out a different message for the two
cases, so that users may distinguish between the two.


Additional info:

I like bread and butter.  I like toast and jam.
Comment 1 Jeff Garzik 2002-12-18 14:11:33 EST
Forgot to add the "package not present" output case, though it is pretty obvious:

[jgarzik@fokker jgarzik]$ sudo up2date -i -f no_binutils

Fetching package list for channel: redhat-linux-i386-8.0...
########################################

Fetching Obsoletes list for channel: redhat-linux-i386-8.0...
########################################
None of the packages you requested were found, or they are already updated.
Comment 2 Adrian Likins 2002-12-18 19:43:25 EST
does:

up2date -u
...
All packages are currently up to date



up2date  glibc
...
The following packages you reguested are already updated:
glibc


up2date blippfoobarsdfsdf
...
The following packages you requested were not found:
blippfoobarsdfsdf


up2date glibc zsh sdfasdfs no_asdfasdf sadfasdfasdfasdf
...

The following packages you requested were not found:
sdfasdfs
no_asdfasdf
sadfasdfasdfasdf

The following packages you reguested are already updated:
glibc
zsh



Look better?  if so, that can probabaly go into the errata for 8.0
Comment 3 Jeff Garzik 2002-12-18 20:09:51 EST
Yeah, looks great.

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