Creating a repo with only a group

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

 



I am trying to create my own group.  I am following instructions at

http://yum.baseurl.org/wiki/YumGroups

The environment is Centos7-armhfp (32 bit armv7).  The goal is to make a group for installing the Xfce desktop.  The EPEL for C7-armv7 does not have this group, nor the X11 group.

I took the group xmls from Centos 7 and EPEL7 and tried cutting them down and that did not work.  So I went back to http://yum.baseurl.org/wiki/YumGroups and tried something 'simple'. Which did not work.

I installed yum-utils.  I ran:

yum-groups-manager -n "xfce-desktop" --id=Xfce --save=Xfce.xml --mandatory yum Thunar xfce-utils xfce4-panel xfce4-session xfce4-settings xfconf xfdesktop xfwm4 gdm leafpad openssh-askpass orage polkit-gnome thunar-archive-plugin thunar-volman tumbler xfce4-appfinder xfce4-icon-theme xfce4-power-manager xfce4-session-engines xfce4-terminal xfwm4-theme-nodoka xfwm4-themes pinentry

This created the file /root/Xfce.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE comps PUBLIC "-//Red Hat, Inc.//DTD Comps info//EN" "comps.dtd">
<comps>

  <group>
   <id>xfce</id>
   <default>false</default>
   <uservisible>true</uservisible>
   <display_order>1024</display_order>
   <name>xfce-desktop</name>
   <description></description>
    <packagelist>
      <packagereq type="mandatory">Thunar</packagereq>
      <packagereq type="mandatory">gdm</packagereq>
      <packagereq type="mandatory">openssh-askpass</packagereq>
      <packagereq type="mandatory">orage</packagereq>
      <packagereq type="mandatory">polkit-gnome</packagereq>
      <packagereq type="mandatory">thunar-volman</packagereq>
      <packagereq type="mandatory">tumbler</packagereq>
      <packagereq type="mandatory">xfce4-appfinder</packagereq>
      <packagereq type="mandatory">xfce4-panel</packagereq>
      <packagereq type="mandatory">xfce4-power-manager</packagereq>
      <packagereq type="mandatory">xfce4-session</packagereq>
      <packagereq type="mandatory">xfce4-settings</packagereq>
      <packagereq type="mandatory">xfconf</packagereq>
      <packagereq type="mandatory">xfdesktop</packagereq>
      <packagereq type="mandatory">xfwm4</packagereq>
      <packagereq type="mandatory">yum</packagereq>
    </packagelist>
  </group>
</comps>

I installed createrepo, created the directory /root/myrepo and ran

createrepo -g /root/Xfce.xml /root/myrepo

Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete

I made a myrepo.repo file:

cat > /etc/yum.repos.d/myrepo.repo << EOF
[myrepo]
name=My repo for armhfp
baseurl=file:///root/myrepo/
enabled=1
gpgcheck=0

EOF

then ran: yum group install Xfce

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Failed to add groups file for repository: myrepo - comps file is empty/damaged
Warning: group Xfce does not exist.
Maybe run: yum groups mark install (see man yum)
Error: No packages in any requested group available to install or update


What did I do wrong?  I want to get this group to work before I go back to the 'bigger' xml I made....

thank you


_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum




[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux