Discussion:
[repo-coord] Re: New tcl/tk RPM conflicts with Tk/Itcl apps
Jeff Pitman
2004-12-27 22:17:58 UTC
Permalink
Fedor:

Needs to be coordinated so I've forwarded this out.
I run FC1. I added PyVault to my sources.list, and apt-get
dist-upgrade wants to install compat-tcl now, but after download it
says there are conflicts with tcl-8.3, tk-8.3, and tix-8.3. Should
not the new package obsolete the whole bunch?
Not really, since tcl = 8.4.5, tk = 8.4.5, and tix = 8.4.5 should
Upgrade the previous versions.
Interestingly, when I downloaded compat-tcl and tried installing
Axel's new tcl and tk AND compat-tcl with one command,
rpm -Uvh --test *rpm
the only thing which was missing was /usr/bin/wish.
Axel's tcl/tk approach would then be different from mine. Probably he's
only packaging version-specific files like he did with atrpms' py2.4.
Backwards compat* should never pkg files that aid in further
development of that library branch (ie, /usr/bin/wish). But, the
question is what about forward compat packages?

My recommendation is how I did it in pyvault--move the packages forward
instead of trying to play nice. Then, provide backwards compat where
necessary to prevent removal of pkg that you don't care to touch.

take care,
--
-jeff
Jeff Pitman
2004-12-27 22:37:15 UTC
Permalink
Hmm, something strange is going on then: why would apt-get
dist-upgrade want to install this compat-tcl if it's not upgrading
tcl and tk RPMs?
Woops!

Obsoletes: tcl < %{tcltkvers}, tk < %{tcltkvers}
Provides: tcl = %{tcltkvers}, tk = %{tcltkvers}

I do obsolete them. I've been busy with fc3, some of the legacy has
washed out of the head.
--
-jeff
Loading...