Solved

how to install or upgrade packages

Posted on 1997-12-24
1
268 Views
Last Modified: 2013-12-15
i am using redhat 3.0.3 with RPM-2.0.3-1 on 486 PC, i tried to install telnet-0.10-2.i386.rpm (strangely telnet was not installed on initial system installation) with 'rpm -i' command and get this message:
 only packages with major numbers <= 2 are supported by this version of RPM

so i thought I need to upgrade RPM first then i download
rpm-2.0.11-1.i386.rpm and try to install it with 'rpm -U' command and get this:
/bin/rpm conflicts with file from rpm-2.0.3-1
/usr/bin/gendiff conflicts with file from rpm-2.0.3-1
/usr/bin/rpm2cpio conflicts with file from rpm-2.0.3-1
/usr/bin/rpmconvert conflicts with file from rpm-2.0.3-1
/usr/man/man8/rpm.8 conflicts with file from rpm-2.0.3-1
 error: rpm-2.0.11-1.i386.rpm cannot be installed

do this mean i need to get source code and compile it by myself in order to upgrade RPM and how?i check all the RPM book and no one talking about how to upgrade packages and the problems probably happening like my case, which i think it's normal.
0
Comment
Question by:smiley020999
1 Comment
 
LVL 1

Accepted Solution

by:
demiurg earned 50 total points
ID: 1631134
rpm (especially first versions) is somehow lame (not to say
sucks badly). If I were you I would just say "what the f.."
and run rpm -U --force rpm<blah-blah>.rpm
and ...
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question