DevHeads.net

Help with yum

I just did a fresh minimal install of centos 7 on new hardware. While
playing around with window systems I removed X windows like so:

and then tried to re install

which gives this error:

Maybe run: yum groups mark install (see man yum)
No packages in any requested group available to install or upgrade

I tried running:

and get the same message. I tried different permutations removing the
"s" on groups. Nothing seems to bring back the yum "X Window system"
group. Can anyone help me resolve this issue and tell me what I did wrong?

Thanks for your help.

Comments

Re: Help with yum

By Liam O'Toole at 04/12/2018 - 15:27

On 2018-04-12, Paul R. Ganci
< ... at nurdog dot com> wrote:
Try

yum group install "X Window System"

Note the capital 'S'.

Re: Help with yum

By Niki Kovacs at 04/12/2018 - 13:06

Le 12/04/2018 à 15:37, Paul R. Ganci a écrit :
When you install a minimal system, you get no X.

As for pruning the system, I wrote a script to do that a while ago,
which works perfectly.

<a href="https://github.com/kikinovak/centos-7-server-online/blob/master/elaguer.sh" title="https://github.com/kikinovak/centos-7-server-online/blob/master/elaguer.sh">https://github.com/kikinovak/centos-7-server-online/blob/master/elaguer.sh</a>

("elaguer" means "to prune")

Cheers,

Niki

Re: Help with yum

By Leon Fauster at 04/12/2018 - 13:42

Le 12/04/2018 à 15:37, Paul R. Ganci a écrit :

yum groupinstall not yum group install

Re: Help with yum

By Niki Kovacs at 04/12/2018 - 14:35

Le 12/04/2018 à 19:42, Leon Fauster a écrit :
Actually both are valid.

Re: Help with yum

By Kay Diederichs at 04/12/2018 - 10:51

On 04/12/2018 03:37 PM, Paul R. Ganci wrote:
yum grouplist
does not show "X Window system" for me, on CentOS 7.

yum remove "non existent stuff"
gives me

Warning: group non existent stuff does not exist.
Maybe run: yum groups mark install (see man yum)
Error: No packages in any requested group available to install or update

That seems consistent with what you get.

HTH,

Kay

Re: Help with yum

By Paul R. Ganci at 04/12/2018 - 20:48

On 04/12/2018 08:51 AM, Kay Diederichs wrote:
First, thanks for everyone who tried to help me with this problem. At
this point I will apologize to the list for what I think is just user
error. Indeed I have convinced myself that there is no group package "X
Window system" albeit one may have existed many years ago. For those who
are interested in the full story continue reading other please accept my
apology and many thanks for the list help.

Second, here is the full story. I wanted to install Mate after doing a
minimal install. All the documentation I found on the web indicated that
after enabling the epel repository I should do this sequence of yum
commands(or something equivalent):

Unfortunately I did things in opposite order and when I tried to do

X windows would not startup. I swear that the after doing the "yum
groupinstall "X Window system" that packages were downloaded and
installed. So I chalked up the X start failure to doing things in the
incorrect order. So this morning I thought I would start with a clean
slate and did:

That is when I received the error message I did in my first post. So
just now I went back to another CentoOS 7 system running Mate and
re-produced the yum commands. It turns out the history contained
everything I needed. In my case I just needed to install the elrepo to
get the Nvidia drivers for my video card and first installed those:

Then it was just a matter of:

Voila... I have a desktop running MATE!

I think the web instructions I found are outdated (although one web page
was dated 2/18/2018. There doesn't exist a "X Window system" yum group.
Generally I tell people when stuff like this happens that digital
computers can't lie... next time I will take my own advice.

Again thanks to everyone who helped... Your time was appreciated.

Re: Help with yum

By Liam O'Toole at 04/13/2018 - 07:20

On 2018-04-13, Paul R. Ganci

[...]

Glad you got it working.

I thought I'd mention that the reboot is not strictly necessary. The
command

yum isolate graphical.target

will switch the system immediately to the named target.

Re: Help with yum

By Niki Kovacs at 04/13/2018 - 01:18

Le 13/04/2018 à 02:48, Paul R. Ganci a écrit :
You have to write it "X Window System" with a capital S.

Here's my script that installs a bells-and-whistles Xfce desktop
starting from a minimal CentOS 7 installation. Look at the X Window
System section halfway through the script.

<a href="https://github.com/kikinovak/centos-7-desktop-xfce/blob/master/postinstall.sh" title="https://github.com/kikinovak/centos-7-desktop-xfce/blob/master/postinstall.sh">https://github.com/kikinovak/centos-7-desktop-xfce/blob/master/postinsta...</a>

Cheers,

Niki