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.


Re: Help with yum

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

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

yum group install "X Window System"

Note the capital 'S'.

Re: Help with yum

By Niki Kovacs at 04/12/2018 - 12: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="" title=""></a>

("elaguer" means "to prune")



Re: Help with yum

By Leon Fauster at 04/12/2018 - 12: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 - 13: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 - 09: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.



Re: Help with yum

By Paul R. Ganci at 04/12/2018 - 19: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 - 06: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

yum isolate

will switch the system immediately to the named target.

Re: Help with yum

By Niki Kovacs at 04/13/2018 - 00: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="" title=""></a>