Description of problem: After 'yum update gnuplot': ..... Resolving Dependencies --> Running transaction check ---> Package gnuplot.x86_64 0:4.2.2-4.fc9 set to be updated --> Processing Dependency: gnuplot = 4.2.0-7.fc8 for package: gnuplot-emacs --> Finished Dependency Resolution Error: Missing Dependency: gnuplot = 4.2.0-7.fc8 is needed by package gnuplot-emacs I doubt very much that gnuplot-emacs has to depend on a specific version of gnuplot. OTOH this is strange as gnuplot-emacs is a subpackage of gnuplot. Version-Release number of selected component (if applicable): gnuplot-4.2.2-4.fc9 How reproducible: always
Thanks, fixed in gnuplot-4.2.2-5.fc9.
> fixed in gnuplot-4.2.2-5.fc9 I am afraid that this does not work and yum still throws a fit. The problem is that there were packages gnuplot-4.2.0-7.fc8 and gnuplot-emacs-4.2.0-7.fc8 and the later one has a very specific requirement "gnuplot = 4.2.0-7.fc8". Now for some reasons a name of the second package changed to emacs-gnuplot-4.2.2-5.fc9 and even if this version provides "gnuplot-emacs" tag then yum on an update comes back with: "Package emacs-gnuplot not installed, cannot update it." That when trying an update with specific package names. It looks that you need an "obsoletes" tag, instead of "provides", before yum will consider a replacement. I would fully expect that the same gotcha will show up with gnuplot-emacs-el --> emacs-gnuplot-el transition. Moreover the last name is doubly weird. If all this mess was really necessary then "emacs-el-gnuplot" would seem like something more reasonable.
Thanks, obsoletes tag added to both subpackages (and provides to -el). (gnuplot-4.2.2-6.fc9) The name is right due to http://fedoraproject.org/wiki/Packaging/Emacs#head-5ef57b56b44bd58c8fee3dd936b49b826ce4cd24 page.
Close but actually no cigar. With new packages $ rpm -q --obsoletes emacs-gnuplot-el gnuplot-emacs while this should be 'gnuplot-emacs-el' and that results in emacs-gnuplot-el beeing installed even if no emacs .el files for gnuplot support were present before and only .elc's. Not the end of the world, but .... Should I reopen this bug again?
(In reply to comment #4) > $ rpm -q --obsoletes emacs-gnuplot-el > gnuplot-emacs > > while this should be 'gnuplot-emacs-el' and that results in No, package gnuplot-emacs-el has never existed. gnuplot-emacs contained both *.el and *.elc files.