Problem with dependices

Linas Vepstas linas@linas.org
Tue, 17 Jul 2001 11:35:02 -0500


On Tue, Jul 17, 2001 at 09:49:36AM -0400, Aaron Benedict was heard to remark:
> On Tuesday 17 July 2001 08:57, Greg Woods wrote:
> >
> > This looks very much like you have an older version of tkinter already
> > installed. You can try using the F flag (freshen) instead of i (-Fvh).
> > If that doesn't work, try uninstalling the old
> > tkinter first (rpm -e --nodeps tkinter), then installing both new
> > packages on the single command line.
> >
> > --Greg
> I did the uninstall of the old version of tkinter and then tried 
> installing on the single command line. I got past the first problem but I 
> am now encountering a different error:
> [root@Alannon tmp]#  rpm -ivh tkinter-2.1-2mdk.i586.rpm python-*.rpm
> file /usr/bin/python from install of python-2.1-2mdk conflicts with file 
> from package python-2.0-9mdk
> file /usr/share/emacs/site-lisp/python-mode.el from install of 
> python-2.1-2mdk conflicts with file from package python-2.0-9mdk
> file /usr/share/man/man1/python.1.bz2 from install of python-2.1-2mdk 
> conflicts with file from package python-2.0-9mdk

Yes, these errors are weird.

> Tried doing a -Fvh or a -U and I get this error:
> [root@Alannon tmp]# rpm -Fvh python-*.rpm
> error: failed dependencies:
>         python = 2.0-9mdk is needed by python-docs-2.0-9mdk

If that is all, then try uninstall first:
rpm -U python-docs-2.0-9mdk
rpm -U python-2.0-9mdk

and then install. 

if all else fails, --nodeps --force is a hammer that wil smash it into shape.

--linas

-- 
Linas Vepstas -- linas@gnumatic.com -- http://www.gnumatic.com/