Re: Problems installing packages from the CD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



The tree look similar.

When I try the yum list perl I am told "no matching packages to list."
 Isn't that what the files in repodata are for?

On Thu, Feb 23, 2017 at 7:16 AM, Johnny Hughes <johnny@xxxxxxxxxx> wrote:

> On 02/23/2017 05:24 AM, Mauricio Tavares wrote:
> > So I did a minimal install of centos 7 vm guest just to find out it did
> not
> > install perl. Since as of right now I have no properly functioning
> network
> > on that machine (different issue; we can talk about that in another
> post),
> > I went for the next best thing: install CD.
> >
> > I grabbed the CentOS-7-x86_64-Everything-1611.iso CD (around 8GB),
> attached
> > it to the guest, and mounted it on /mnt. Then I edited the
> >
> > cat /etc/yum.repos.d/CentOS-Media.repo
> > # CentOS-Media.repo
> > #
> > #  This repo can be used with mounted DVD media, verify the mount point
> for
> > #  CentOS-7.  You can use this repo and yum to install items directly off
> > the
> > #  DVD ISO that we release.
> > #
> > # To use this repo, put in your DVD and use it with the other repos too:
> > #  yum --enablerepo=c7-media [command]
> > #
> > # or for ONLY the media repo, do this:
> > #
> > #  yum --disablerepo=\* --enablerepo=c7-media [command]
> >
> > [c7-media]
> > name=CentOS-$releasever - Media
> > baseurl=file:///mnt/
> > gpgcheck=1
> > enabled=0
> > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
> >
> > I then run
> >
> > yum clean all
> >
> > and then decided to look for perl only on the cd repo, i.e.
> >
> > yum --disablerepo=\* --enablerepo=c7-media search perl
> >
> > It gave me back the pcre package, which is already installed. I did check
> > the /mnt.Packages dir and there are plenty of perl-related packages
> > including itself.
> >
> > yum --disablerepo=\* --enablerepo=c7-media list all
> >
> > shows only installed packages, some of which are shown (?) to have been
> > installed from c7-media.
>
> what does :
>
> ls /mnt/
>
> show .. do you see the tree (directories, trees) listed here:
>
> http://mirror.centos.org/centos/7.3.1611/os/x86_64/
>
> try yum list <disable and enable stuff> perl
>
>
>
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
>
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux