[Yum-devel] stupid questions

seth vidal skvidal at phy.duke.edu
Fri Jun 18 06:32:58 UTC 2004


some use questions that dictate how I'll write some stuff

user says:
 yum update foo-1.1-1.i386
  does this mean: 
  please update my system to this package version, specifically.
    OR
  please update the installed package foo-1.1-1.i386 to whatever update
is available

additionally:
 if a user says:
 yum install bar
 
they have installed bar-1.1-1.i386
the repository only has installed bar-1.0-1.i386

should yum:
   happily downgrade the package, since the user clearly asked to
install bar, no matter to the version?
   OR
  exit and say "the only available version of bar is a lesser version
than the installed version of bar, if you'd like to install the lesser
version please completely specify the version in the command"


Thoughts?
-sv





More information about the Yum-devel mailing list