LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installed file conflicts with file from package XFree86-4.1.0-26 (https://www.linuxquestions.org/questions/linux-software-2/installed-file-conflicts-with-file-from-package-xfree86-4-1-0-26-a-223185/)

LinuxOff 08-27-2004 02:25 PM

Installed file conflicts with file from package XFree86-4.1.0-26
 
I would like to install gv-3.5.8.tar in order to view .ps file on my Redhat7.2 alpha based machine. However, to install gv, I have to install Xaw3d-1.3.tar.gz. To install Xaw3d, I have to use xmkmf, but my computer doesn't have it. I copied xmkmf from the other machine and placed it on /usr/X11R6/bin/ (Can I do that?) . Once I run it, it showed

imake -DUseInstalled -I/usr/X11R6/lib/X11/config
/usr/X11R6/bin/xmkmf: imake: command not found

I think I need imake file, so I'm trying to install the package imake-4.2.1-9.alpha.rpm (I downloaded from rpmfind.net.) When I try to install this file, I got the following message:

rpm -ihv imake-4.2.1-9.alpha.rpm
Preparing... ########################################### [100%]
file /usr/X11R6/man/man1/makedepend.1x.gz from install of imake-4.2.1-9 conflicts with file from package XFree86-4.1.0-26

I searched from the web and someone suggested for this kind of problem to check first if the computer has the previous version of imake, if so I can use

rpm -Uhv packagename.rpm

I'm pretty sure that my computer doesn't have imake but I tried the above command and got this message:

rpm -Uhv imake-4.2.1-9.alpha.rpm
Preparing... ########################################### [100%]
file /usr/X11R6/man/man1/makedepend.1x.gz from install of imake-4.2.1-9 conflicts with file from package XFree86-4.1.0-26

The same source further suggested to force install with the command --nodeps.
I tried and got this :

rpm -i --nodeps imake-4.2.1-9.alpha.rpm
file /usr/X11R6/man/man1/makedepend.1x.gz from install of imake-4.2.1-9 conflicts with file from package XFree86-4.1.0-26

I don't know what to do next :( Can anyone help me?

stevie_velvet 09-06-2004 12:51 AM

i'm on the same issue trying to upgrade my xfree86 | there must be something more straight forward than this to eliminate the old version

jev-bird 09-06-2004 02:00 AM

Re: Installed file conflicts with file from package XFree86-4.1.0-26
 
Quote:

Originally posted by LinuxOff
I would like to install gv-3.5.8.tar in order to view .ps file on my Redhat7.2 alpha based machine. However, to install gv, I have to install Xaw3d-1.3.tar.gz. To install Xaw3d, I have to use xmkmf, but my computer doesn't have it. I copied xmkmf from the other machine and placed it on /usr/X11R6/bin/ (Can I do that?) . Once I run it, it showed

imake -DUseInstalled -I/usr/X11R6/lib/X11/config
/usr/X11R6/bin/xmkmf: imake: command not found

I think I need imake file, so I'm trying to install the package imake-4.2.1-9.alpha.rpm (I downloaded from rpmfind.net.) When I try to install this file, I got the following message:

rpm -ihv imake-4.2.1-9.alpha.rpm
Preparing... ########################################### [100%]
file /usr/X11R6/man/man1/makedepend.1x.gz from install of imake-4.2.1-9 conflicts with file from package XFree86-4.1.0-26

I searched from the web and someone suggested for this kind of problem to check first if the computer has the previous version of imake, if so I can use

rpm -Uhv packagename.rpm

I'm pretty sure that my computer doesn't have imake but I tried the above command and got this message:

rpm -Uhv imake-4.2.1-9.alpha.rpm
Preparing... ########################################### [100%]
file /usr/X11R6/man/man1/makedepend.1x.gz from install of imake-4.2.1-9 conflicts with file from package XFree86-4.1.0-26

The same source further suggested to force install with the command --nodeps.
I tried and got this :

rpm -i --nodeps imake-4.2.1-9.alpha.rpm
file /usr/X11R6/man/man1/makedepend.1x.gz from install of imake-4.2.1-9 conflicts with file from package XFree86-4.1.0-26

I don't know what to do next :( Can anyone help me?


rpm -i --nodeps imake-4.2.1-9.alpha.rpm is not going force it.

Try rpm -ivh --force --nodeps imake-4.2.1-9.alpha.rpm

And see if that works.


All times are GMT -5. The time now is 11:01 AM.