I have .iso of RHEL 6.2 with basic packages inside. When I install a rpm using yum install or yum localinstall it can't install due to  it can't find the dependencies although it can be found inside the packages folder. [root@DEVSI Packages]# yum localinstall libstdc++-*Loaded plugins: product-id, security, subscription-managerUpdating certificate-based repositories.Setting up Local Package ProcessExamining libstdc++-4.4.6-3.el6.i686.rpm: libstdc++-4.4.6-3.el6.i686Marking libstdc++-4.4.6-3.el6.i686.rpm to be installedExamining libstdc++-4.4.6-3.el6.x86_64.rpm: libstdc++-4.4.6-3.el6.x86_64libstdc++-4.4.6-3.el6.x86_64.rpm: does not update installed package.Examining libstdc++-devel-4.4.6-3.el6.i686.rpm: libstdc++-devel-4.4.6-3.el6.i68Marking libstdc++-devel-4.4.6-3.el6.i686.rpm to be installedExamining libstdc++-devel-4.4.6-3.el6.x86_64.rpm: libstdc++-devel-4.4.6-3.el6.x6_64libstdc++-devel-4.4.6-3.el6.x86_64.rpm: does not update installed package.Examining libstdc++-docs-4.4.6-3.el6.x86_64.rpm: libstdc++-docs-4.4.6-3.el6.x8664Marking libstdc++-docs-4.4.6-3.el6.x86_64.rpm to be installedResolving Dependencies--> Running transaction check---> Package libstdc++.i686 0:4.4.6-3.el6 will be installed--> Processing Dependency: ld-linux.so.2 for package: libstdc++-4.4.6-3.el6.i68--> Processing Dependency: ld-linux.so.2(GLIBC_2.3) for package: libstdc++-4.4.-3.el6.i686--> Processing Dependency: libc.so.6 for package: libstdc++-4.4.6-3.el6.i686--> Processing Dependency: libc.so.6(GLIBC_2.0) for package: libstdc++-4.4.6-3.l6.i686--> Processing Dependency: libc.so.6(GLIBC_2.1) for package: libstdc++-4.4.6-3.l6.i686--> Processing Dependency: libc.so.6(GLIBC_2.1.3) for package: libstdc++-4.4.6-.el6.i686--> Processing Dependency: libc.so.6(GLIBC_2.2) for package: libstdc++-4.4.6-3.l6.i686--> Processing Dependency: libc.so.6(GLIBC_2.3) for package: libstdc++-4.4.6-3.l6.i686--> Processing Dependency: libc.so.6(GLIBC_2.3.2) for package: libstdc++-4.4.6-.el6.i686--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: libstdc++-4.4.6-3.l6.i686--> Processing Dependency: libm.so.6 for package: libstdc++-4.4.6-3.el6.i686--> Processing Dependency: libm.so.6(GLIBC_2.0) for package: libstdc++-4.4.6-3.l6.i686---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed---> Package libstdc++-docs.x86_64 0:4.4.6-3.el6 will be installed--> Finished Dependency ResolutionError: Package: libstdc++-4.4.6-3.el6.i686 (/libstdc++-4.4.6-3.el6.i686)           Requires: libc.so.6(GLIBC_2.0)Error: Package: libstdc++-4.4.6-3.el6.i686 (/libstdc++-4.4.6-3.el6.i686)           Requires: libc.so.6(GLIBC_2.1)Error: Package: libstdc++-4.4.6-3.el6.i686 (/libstdc++-4.4.6-3.el6.i686)           Requires: ld-linux.so.2(GLIBC_2.3)Error: Package: libstdc++-4.4.6-3.el6.i686 (/libstdc++-4.4.6-3.el6.i686)           Requires: libc.so.6(GLIBC_2.3.2)Error: Package: libstdc++-4.4.6-3.el6.i686 (/libstdc++-4.4.6-3.el6.i686)           Requires: libm.so.6Error: Package: libstdc++-4.4.6-3.el6.i686 (/libstdc++-4.4.6-3.el6.i686)           Requires: libm.so.6(GLIBC_2.0)Error: Package: libstdc++-4.4.6-3.el6.i686 (/libstdc++-4.4.6-3.el6.i686)           Requires: libc.so.6(GLIBC_2.4)Error: Package: libstdc++-4.4.6-3.el6.i686 (/libstdc++-4.4.6-3.el6.i686)           Requires: libc.so.6Error: Package: libstdc++-4.4.6-3.el6.i686 (/libstdc++-4.4.6-3.el6.i686)           Requires: libc.so.6(GLIBC_2.3)Error: Package: libstdc++-4.4.6-3.el6.i686 (/libstdc++-4.4.6-3.el6.i686)           Requires: libc.so.6(GLIBC_2.2)Error: Package: libstdc++-4.4.6-3.el6.i686 (/libstdc++-4.4.6-3.el6.i686)           Requires: ld-linux.so.2Error: Package: libstdc++-4.4.6-3.el6.i686 (/libstdc++-4.4.6-3.el6.i686)           Requires: libc.so.6(GLIBC_2.1.3) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigestThanks.
localinstall from cdrom can't find dependencies - RHEL 6.2
rhel;yum;rpm;dependencies
Okay, so it looks like you'll need to configure the repository so Yum knows where to find the packages. There's a few steps involved so bear with me.Make a new mountpoint for the iso and mount it thereNote: as you stated in your title that this is on a CDROM, the path in the mount command below will be the path to the CDROM and the iso on it.mkdir /isomountmount -o loop /path/to/.iso /isomountGet the IDThis is important for the next step.head -n1 isomount/.discinfoCreate a new .repo file Make a new file, /etc/yum.repos.d/new.repo and add the following (mediaid is the ID you retrieved in the last step):[repository] mediaid=<media_id> name=Disk Repositorybaseurl=file:///isomount/path/to/repoenabled=1 gpgcheck=0 You may need to use gpgcheck=1 with gpgkey= but try it without beforehand.FinallyUpdate Yum to make the changes take effect.yum updateHope this helps.