Minimal install packaging woes

Hi there, I’m somewhat new to Rocky Linux, after making the switch from being a CentOS user for 15+ years. Installed Rocky 9.1 last week on a new server and booted up with the minimal install as I only had a 4GB USB flash boot disk handy at the time. I figured I’ll install other needed packages once up and running later. I’ve since customized the sever heavily to suit my needs and was looking to install additional package groups.

However, all subsequent group package installs via dnf fails. I seem to have hit the issue described here prior.

Here is the behavior I see:

[root@io1 ~]# dnf group list
Waiting for process with pid 135005 to finish.
Last metadata expiration check: 0:00:03 ago on Thu Dec 29 08:56:48 2022.
Available Environment Groups:
   Server with GUI
   Workstation
   KDE Plasma Workspaces
   Custom Operating System
Installed Environment Groups:
   Server
   Minimal Install
   Virtualization Host
Installed Groups:
   Xfce
   Legacy UNIX Compatibility
   Console Internet Tools
   Container Management
   Development Tools
   Graphical Administration Tools
   Headless Management
   Network Servers
   Security Tools
   System Tools
Available Groups:
   Fedora Packager
   .NET Development
   RPM Development Tools
   Scientific Support
   Smart Card Support
[root@io1 ~]# dnf group install "Graphical Administration Tools"
Last metadata expiration check: 0:02:48 ago on Thu Dec 29 08:56:48 2022.
Dependencies resolved.
===================================================================================================================================================
 Package                            Architecture                      Version                             Repository                          Size
===================================================================================================================================================
Installing Groups:
 Graphical Administration Tools

Transaction Summary
===================================================================================================================================================

Is this ok [y/N]:

So even though it says “Graphical Administration Tools” is installed I’m pretty sure it’s not. I have all the right repos enables as well such as crb, upstream, extras, baseos, epel etc.

Can someone point me how to fix this issue please?

I do not want to reinstall and start from scratch due to the customization work I’ve already put in on this system.

/root/anaconda-ks.cfg reads the following;

# Generated by Anaconda 34.25.1.14
# Generated by pykickstart v3.32
#version=RHEL9
# Use graphical install
graphical
repo --name="minimal" --baseurl=file:///run/install/sources/mount-0000-cdrom/minimal

%addon com_redhat_kdump --enable --reserve-mb='auto'

%end

Can I not simply point either to the right repo or mount the DVD iso to correctly install there remaining packages?

Thanks much.

Tony

Probably about the easiest way would be:

dnf group remove "Graphical Administration Tools"
dnf group install "Graphical Administration Tools"

that way, if it is installed or pseudo-installed, eg: like you say it’s on the list but you believe it not to be installed, removing and installing again should sort you out.

Thanks for the quick response. Tried this already as per the prior thread with no luck unfortunately.

Here’s the resulting output:

[root@io1 ~]# dnf group remove “Graphical Administration Tools”
Dependencies resolved.

Package Architecture Version Repository Size

Removing Groups:
Graphical Administration Tools

Transaction Summary

Is this ok [y/N]: y
Complete!

The group does not seem to contain the individual packages somehow as shows up as blank.

[root@io1 ~]# dnf group install “Graphical Administration Tools”
Last metadata expiration check: 0:40:19 ago on Thu Dec 29 08:56:48 2022.
Dependencies resolved.

Package Architecture Version Repository Size

Installing Groups:
Graphical Administration Tools

Transaction Summary

Is this ok [y/N]: y
Complete!
[root@io1 ~]#

Interestingly some other groups do seem to work correctly, i.e.

[root@io1 ~]# dnf group install “Smart Card Support”
Last metadata expiration check: 0:42:21 ago on Thu Dec 29 08:56:48 2022.
Dependencies resolved.

Package Architecture Version Repository Size

Installing group/module packages:
esc x86_64 1.1.2-16.el9 appstream 177 k
pcsc-lite-ccid x86_64 1.4.36-1.el9 baseos 306 k
Installing dependencies:
opensc x86_64 0.22.0-2.el9 baseos 1.2 M
pcsc-lite x86_64 1.9.4-1.el9 baseos 91 k
pcsc-lite-libs x86_64 1.9.4-1.el9 baseos 27 k
Installing Groups:
Smart Card Support

Transaction Summary

Install 5 Packages

Total download size: 1.8 M
Installed size: 6.1 M
Is this ok [y/N]:

It seems some package groups are not enabled in the minimal install or something else is going on, thoughts?

I am able to also install individual packages correctly, so it seems an issue with the group install specifically.

Thanks

I am not sure this will work.

Try running the command

sudo update-crypto-policies --set DEFAULT

Then try again.

:smile:

But don’t forget to make a note of the current setting before you change it.

1 Like

Thanks, it was already set to DEFAULT. No change following update in any case.

Does anyone know where the group package list is stored in Rocky?

As painful workaround, I’ve listed out the individual packages in a group and have proceeded to install them one by one…sigh!

Look into “repodata” directory in a repo. (In other words, not in your system.)

I see, so not really something I can fix locally I guess, thanks. I guess this should be a bug (known) in the minimal installer from the prior thread.

This has nothing to do with installing a minimal system, nor the minimal installer. This also isn’t a bug. The group you’re installing, in your example, contains only optional packages. Group installs do not pull in optional packages by default. You have to specifically ask dnf to bring in the optional packages. (And as an aside, the minimal ISO usually includes the required packages of a group, not the optional. The DVD will have both.)

[root@xmpp01 ~]# dnf group info "Graphical Administration Tools"
Last metadata expiration check: 0:30:02 ago on Thu 29 Dec 2022 06:06:04 PM MST.
Group: Graphical Administration Tools
 Description: Graphical system administration tools for managing many aspects of a system.
 Optional Packages:
   gnome-disk-utility
   policycoreutils-gui
   setools-console
   setroubleshoot
   wireshark
    <id>graphical-admin-tools</id>
    <name>Graphical Administration Tools</name>
    <name xml:lang="as">গ্ৰাফিকেল পদ্ধতিত ব্যৱহাৰযোগ্য প্ৰশাসনিক সঁজুলিসমূহ</name>
    <name xml:lang="bn">গ্রাফিক্যাল পদ্ধতিতে ব্যবহারযোগ্য প্রশাসনিক সরঞ্জাম</name>
    <name xml:lang="cs">Grafické nástroje pro správu</name>
    <name xml:lang="de">Grafische Administrations-Tools</name>
    <name xml:lang="de_CH">Grafische Administrations-Tools</name>
    <name xml:lang="es">Herramientas gráficas de Administración</name>
    <name xml:lang="fr">Outils d'administration graphique</name>
    <name xml:lang="gu">ગ્રાફિકલ સંચાલન સાધનો</name>
    <name xml:lang="hi">आलेखी प्रशासन औज़ार</name>
    <name xml:lang="ia">Instrumentos de administration graphic</name>
    <name xml:lang="it">Tool di amministrazione grafica</name>
    <name xml:lang="ja">グラフィカル管理ツール</name>
    <name xml:lang="kn">ಚಿತ್ರಾತ್ಮಕ ನಿರ್ವಹಣಾ ಉಪಕರಣಗಳು</name>
    <name xml:lang="ko">그래픽기반 관리 툴</name>
    <name xml:lang="ml">ഗ്രാഫിക്സ് അഡ്മിനിസ്ട്രേഷന്‍ ഉപകരണങ്ങള്‍</name>
    <name xml:lang="mr">ग्राफिकल प्रशासकीय साधने</name>
    <name xml:lang="or">ଆଲେଖୀକ ପ୍ରଶାସନୀୟ ଉପକରଣମାନ</name>
    <name xml:lang="pa">ਗਰਾਫੀਕਲ ਪਰਬੰਧਨ ਟੂਲ</name>
    <name xml:lang="pl">Graficzne narzędzia administracyjne</name>
    <name xml:lang="pt">Ferramentas Administrativas gráficas</name>
    <name xml:lang="pt_BR">Ferramentas Administrativas gráficas</name>
    <name xml:lang="ru">Графические средства администрирования</name>
    <name xml:lang="sv">Grafiska administrationsverktyg</name>
    <name xml:lang="ta">வரைகலை நிர்வாக கருவிகள்</name>
    <name xml:lang="te">గ్రాఫికల్ నిర్వహణా సాధనములు</name>
    <name xml:lang="uk">Графічні засоби адміністрування</name>
    <name xml:lang="zh">圖形化管理工具</name>
    <name xml:lang="zh_CN">图形管理工具</name>
    <name xml:lang="zh_TW">圖形化管理工具</name>
    <description>Graphical system administration tools for managing many aspects of a system.</description>
    <description xml:lang="as">এটা চিস্টেমৰ বহু বস্তুক চম্ভালীবলে গ্ৰাফীয় চিস্টেম ব্যৱস্থাপনা সঁজুলিসমূহ।</description>
    <description xml:lang="bn">সিস্টেমের বিভিন্ন অংশ পরিচালনার জন্য সিস্টেম অ্যাডমিনিস্ট্রেশনের গ্রাফিক্যাল সরঞ্জাম</description>
    <description xml:lang="cs">Grafické nástroje pro správu mnoha aspektů systému.</description>
    <description xml:lang="de">Grafische Systemadministrations-Tools zur Verwaltung vieler Aspekte eines Systems.</description>
    <description xml:lang="de_CH">Grafische Systemadministrations-Tools zur Verwaltung vieler Aspekte eines Systems.</description>
    <description xml:lang="es">Herramientas de administración de sistemas gráficos para administrar varios aspectos de un sistema.</description>
    <description xml:lang="fr">Outils d'administration du système graphique pour la gestion de nombreux aspects d'un système.</description>
    <description xml:lang="gu">સિસ્ટમની ઘણી સ્થિતિને સંચાલિત કરવા માટે ગ્રાફિકલ સિસ્ટમ સંચાલન સાધનો.</description>
    <description xml:lang="hi">तंत्र के कई पहलू के लिए आलेखी प्रशासन औज़ार.</description>
    <description xml:lang="ia">Utensiles graphic pro administrar numerose aspectos de un systema.</description>
    <description xml:lang="it">Strumenti di gestione del sistema grafici per la gestione di numerosi aspetti di un sistema</description>
    <description xml:lang="ja">システムの多くの側面を管理するためのグラフィカルなシステム管理ツールです。</description>
    <description xml:lang="kn">ಒಂದು ವ್ಯವಸ್ಥೆಯ ಹಲವು ಅಂಶಗಳನ್ನು ನಿರ್ವಹಿಸುವ ಚಿತ್ರಾತ್ಮಕ ನಿರ್ವಹಣಾ ಉಪಕರಣಗಳು</description>
    <description xml:lang="ko">시스템의 여러 측면을 관리하기 위한 그래픽 시스템 관리 툴.</description>
    <description xml:lang="ml">ഒരു സിസ്റ്റത്തിന്റെ പല തരത്തിലുള്ള കാര്യങ്ങള്‍ കൈകാര്യം ചെയ്യുന്നതിനുള്ള ഗ്രാഫിക്കല്‍ സിസ്റ്റം അഡ്മിനിസ്ട്രേഷന്‍ പ്രയോഗങ്ങള്‍.</description>
    <description xml:lang="mr">प्रणालीचे अनेक पैलू व्यवस्थापीत करण्यासाठी ग्राफिकल सिस्टम् प्रशासन साधने.</description>
    <description xml:lang="or">ତନ୍ତ୍ରର ଅନେକ ଦୃଷ୍ଟିକୋଣକୁ ପରିଚାଳନା କରିବା ପାଇଁ ଆଲେଖିକ ତନ୍ତ୍ର ପ୍ରଶାସନୀୟ ଉପକରଣଗୁଡ଼ିକ।</description>
    <description xml:lang="pa">ਇੱਕ ਸਿਸਟਮ ਦੇ ਬਹੁਤ ਸਾਰੇ ਕੰਟਰੋਲਾਂ ਲਈ ਗਰਾਫੀਕਲ ਸਿਸਟਮ ਪਰਬੰਧਨ ਟੂਲ।</description>
    <description xml:lang="pl">Graficzne narzędzia administracji systemem do zarządzania wieloma aspektami systemu.</description>
    <description xml:lang="pt">Ferramentas de administração de sistemas para gerenciar muitos aspectos de um sistema.</description>
    <description xml:lang="pt_BR">Ferramentas de administração de sistemas para gerenciar muitos aspectos de um sistema.</description>
    <description xml:lang="ru">Графические программы управления системными компонентами.</description>
    <description xml:lang="ta">ஒரு சிஸ்டத்தின் பல வகைகளை நிர்வகிக்க வரைகலை சிஸ்டம் நிர்வாக கருவிகள்.</description>
    <description xml:lang="te">సిస్టమ్ యొక్క పెక్కు దృక్కులు(యాస్పెక్ట్స్) నిర్వహించుటకు గ్రాఫికల్ సిస్టమ్ నిర్వహణా సాధనములు.</description>
    <description xml:lang="uk">Графічні програми для адміністративного керування різними параметрами системи.</description>
    <description xml:lang="zh">管理系統多方面的圖像化系統管理工具。</description>
    <description xml:lang="zh_CN">用于管理系统各个方面的图形系统管理工具。</description>
    <description xml:lang="zh_TW">管理系統多方面的圖像化系統管理工具。</description>
    <default>false</default>
    <uservisible>true</uservisible>
    <packagelist>
      <packagereq variant="BaseOS" type="optional">setools-console</packagereq>
      <packagereq variant="AppStream" type="optional">setroubleshoot</packagereq>
      <packagereq variant="AppStream" type="optional">gnome-disk-utility</packagereq>
      <packagereq variant="AppStream" type="optional">policycoreutils-gui</packagereq>
      <packagereq variant="AppStream" type="optional">wireshark</packagereq>
    </packagelist>
  </group>

See the dnf groups/comps here: https://git.resf.org/sig_core/comps/src/branch/main/comps-rocky-9.1.xml