Solved

how to install or upgrade packages

Posted on 1997-12-24
1
263 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

930 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now