Hello all,
I'm stuck with a problem on REDHAT Enterprise (uname -r show: 2.4.21-57.ELsmp)
The only way to install package is using RPM, but since I'm a newbie I got a lot of dependencies warnings. I installed yum, but the problem now is that I'm not able to create a local repository to install package (the machine is not connected to internet).
I created all the yum related directories (/var/yum/5Server/Server) and pu the rpm into "Server". I also create e repodata directory.
Now I need to use createrepo app, but I'm not able to install it. I'm getting crazy since using RPM I received a lot of errors/dependencies warnings (see below).
Could someone advice on how install createrepo and on how update the outdated yum installation???
I would install a yum repository on a local server and drop all the rpm's there. And then do yum installs from that machine. Failing that if you need to solve dependencies in rpm just enter all the packages on the command line:
It appears you are installing RHEL5 packages to a RHEL4 system. This is not a good idea. You need to either upgrade from version 4 to version 5 or preferrably do a fresh install. If you still want to upgrade first bring your RHEL4 system up-to-date to the latest RHEL4 version from the RHN or an installation DVD.
See upgrading your system
Good luck!
---------- Post updated at 11:27 ---------- Previous update was at 11:22 ----------
O dear, only now I noticed you are on RHEL3 . In that case I think the only serious option is to do fresh install...
Try the RHN through your subscription. If there really is no other option to do a fresh install on a new system and move the application, then perhaps you can update to the latest version of RHEL3 first. Then upgrade to RHEL4 latest version. Then to RHEL5 latest version. but there is a considerable chance certain things will be broken. Make a good backup and/or an image backup first.
As Scrutinizer said, the best thing you can do is do a fresh install.
If you are hell bent on doing it the hard way, if you install the rpmdb-redhat rpm package before installing manually any additional packages that have lots of dependencies, you can use the --aid option of the rpm command to resolve dependencies automatically. See rpmdb-redhat
I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal.
I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
HI,
First I'll use yum check-update to check any updates.
Q1: How can I know that how much space needed to update all packages listed by yum check-update command?
Q2: How can I list kernel related packages?
TIA (2 Replies)
Hello All,
I'm trying to configure a SLES 10.3 machine as our Zypper server. I created the zypper directories with all the RPMs, made the directory structure accessible over HTTP but I'm stuck at the final stage: createrepo.
Looks like 'createrepo' is not present on this version :confused:
... (3 Replies)
Hi guys,
I have a SUSE 10 box and is missing 2 commands:
reposync
createrepo
When I try to search for these using zypper :
server:/tmp # zypper search createrepo
Restoring system sources...
Not found: Media Exception
Not found: Media Exception
/repodata/repomd.xml (http://<REPO>)... (0 Replies)
When trying to install pam-1.1.1-10.el6.i686 package using yum, we are getting the following error message. We also noticed that there is an existing pam-1.1.1-10.el6.x86_64 is already installed (checked through "rpm -qa | grep pam-1.1.1-10.el6"). Is there a way to resolve/work around this issue. ... (4 Replies)
Hi, Here is the issue:
# yum install createrepo
Warning, could not load sqlite, falling back to pickle
Setting up Install Process
Setting up repositories
file://var/yum_rpm/repodata/repomd.xml: OSError: No such file or directory: '/yum_rpm/repodata/repomd.xml'
Trying other mirror.
Cannot... (5 Replies)
Hi All,
Just installed new Redhat server. I am trying to do rhn_register. I get this error message.
Fatal error: The SSL certificate failed verification.
Any one ran into this error. Please let me know.
I do have internet connection-
ping www.google.com
PING... (1 Reply)
Hi,
I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does.
Can someone please... (3 Replies)
i have 5 cd's of RHEL 5.
how do i know which cd is the createrepo package in...
is there any command or
flags you can add to rpm command to install and the install processes will automatically ask for certain # of cd... (0 Replies)
Hi all,
I wanted to install the latest version of firefox 2 but it seems when I attempt to install it, it seems to be saying it is looking for c libraries version 2.3? I believe I currently have an older version of the c libraries. I am currently running Sun's JDS Linux 2003. My Mozilla web... (1 Reply)