Re: [CentOS] Help with yum

2018-04-13 Thread Liam O'Toole
On 2018-04-13, Paul R. Ganci
 wrote:

[...]

> Then it was just a matter of:
>
> > yum groupinstall "MATE Desktop"
> > systemctl set-default graphical.target
> > reboot
>
> Voila... I have a desktop running MATE!

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.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help with yum

2018-04-12 Thread Nicolas Kovacs
Le 13/04/2018 à 02:48, Paul R. Ganci a écrit :
> There doesn't exist a "X Window system" yum group.

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.

https://github.com/kikinovak/centos-7-desktop-xfce/blob/master/postinstall.sh

Cheers,

Niki

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Blog : https://blog.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help with yum

2018-04-12 Thread Paul R. Ganci

On 04/12/2018 08:51 AM, Kay Diederichs wrote:

I tried running:

yum groups mark install "X Window system"

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?


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):


> sudo yum groupinstall "X Window system" -y
> sudo yum groups install "MATE Desktop" -y

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

> startx

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:


> yum groupremove "X Window system" "MATE Desktop"
> yum groupinstall "X Window system"

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:


> yum install kmod-nvida nvidia-x11-drv

Then it was just a matter of:

> yum groupinstall "MATE Desktop"
> systemctl set-default graphical.target
> reboot

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.
--
Paul (ga...@nurdog.com)
Cell: (303)257-5208
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help with yum

2018-04-12 Thread Liam O'Toole
On 2018-04-12, Paul R. Ganci
 wrote:
> 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:
>
> >yum remove "X Window system"
>
> and then tried to re install
>
> >yum group install "X Window system"
>
> 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:
>
> >yum groups mark install "X Window system"
>
> 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.
>

Try

yum group install "X Window System"

Note the capital 'S'.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help with yum

2018-04-12 Thread Nicolas Kovacs
Le 12/04/2018 à 19:42, Leon Fauster a écrit :
> yum groupinstall not yum group install

Actually both are valid.

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Blog : https://blog.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help with yum

2018-04-12 Thread Leon Fauster

Le 12/04/2018 à 15:37, Paul R. Ganci a écrit :
> 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:
> 
>> yum remove "X Window system"
> 
> and then tried to re install
> 
>> yum group install "X Window system"
> 
> which gives this error:


yum groupinstall not yum group install

--
LF

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help with yum

2018-04-12 Thread Nicolas Kovacs
Le 12/04/2018 à 15:37, Paul R. Ganci a écrit :
> 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:
> 
>>yum remove "X Window system"
> 
> and then tried to re install
> 
>>yum group install "X Window system"
> 
> which gives this error:

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.

https://github.com/kikinovak/centos-7-server-online/blob/master/elaguer.sh

("elaguer" means "to prune")

Cheers,

Niki

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Blog : https://blog.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help with yum

2018-04-12 Thread Kay Diederichs
On 04/12/2018 03:37 PM, Paul R. Ganci wrote:
> 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:
> 
>>yum remove "X Window system"
> 
> and then tried to re install
> 
>>yum group install "X Window system"
> 
> 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:
> 
>>yum groups mark install "X Window system"
> 
> 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.
> 

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

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help with yum and cpio: MD5 sum mismatch

2010-11-30 Thread Nico Kadel-Garcia
On Tue, Nov 30, 2010 at 3:48 PM, James B. Byrne byrn...@harte-lyne.ca wrote:
 I am trying to install Ruby-1.8.7p302 on a CentOS-5.5 server in
 preparation for a Rails-3 application deployment.  I have downloaded
 the source from Rubyforge.org, unpacked it, and ran ./config and
 make.  Everything built without error. I then ran checkinstall to
 create an rpm package. That too completed without error.

Your RPM was built on a Fedora, RHEL 6, or other more recent OS with
the updated version of RPM.

I'm afraid you'll have to recompile it to get it to work well: use
'rpm2cpio' to take apart the SRPM and get the files, then deposit them
in a relevant SOURCES directory with the .spec file in your relevant
SPECS directory, and try to rebuild RPM's with the .spec file.

I can get into more detail if you need it, but it's how I backported
Torque 2.4.10 to RHEL 5 from the EPEL RHEL 6 repository two weeks ago.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos