Ask Your Question
1

Fedora 28 synchronize installed packages between several notebooks

asked 2018-10-01 12:55:23 -0500

heliosstyx gravatar image

updated 2018-10-03 06:46:33 -0500

I run three HP notebooks with the same Fedora 28 KDE spin. The notebooks differ slightly from each other through the hardware: two use a ATI Radeon mobility graphic card (Noveau driver) and one uses a NVIDIA GeForce GT 130M card (Nvidia 340.xx driver) , all of them use a INTEL Wlan module etc. .

My question is now: is there an easy and automatic way to synchronize the installed packages on all machines automatically, except the hardware specific packages? I prefer GUI tools. The goal of this action is to always have the same software on every system and to work on the desired machines, whenever I want without checking, if the same software and tools are installed.

Thank you.

Remark before closing this question: It is very disappointing that there is no smart solution (tool) for this simple work. I can not believe, that e.g. a Redhat customer, employs staff which is running around, carrying a "package-file" and maintains so thousands of Workstations to get the same system-state all over the whole company.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2018-10-03 10:41:57 -0500

fcomida gravatar image

There are tools out there: spacewalk Overkill for just three notebooks.

edit flag offensive delete link more

Comments

Thank you fcomida. Your tip is great. Is spacewalk able to run only on client-side or must I have a server (setup a notebook as server alternately) to get them all synchronized? Can you give me please a quick overview how to do it?

heliosstyx gravatar imageheliosstyx ( 2018-10-03 12:30:28 -0500 )edit

@heliosstyx according to their documentation you must setup a server, spacewalk will create a local repository so you need enough storage space on the notebook you'll designate as server.

fcomida gravatar imagefcomida ( 2018-10-03 12:51:27 -0500 )edit

Okay, fcomida. I am new in Fedora server. Is it possible to setup a server under Fedora 28 KDE spin or must I install a true server edition of Fedora 28? Where I can find documents to setup a server.

heliosstyx gravatar imageheliosstyx ( 2018-10-03 13:13:49 -0500 )edit

@heliosstyx There's no difference among the various Fedora versions except for the selection of pre-installed packages (Fedora Server does not install any graphical stuff by default). You only need to enable their COPR and install spacewalk, dnf will take care of all missing dependencies.

fcomida gravatar imagefcomida ( 2018-10-03 13:30:05 -0500 )edit
1

answered 2018-10-01 13:20:32 -0500

gobigobi66 gravatar image

You can export the list of userinstalled packages into a .txt file and use that list on the other machines to install the same packages:

PC1: sudo dnf repoquery --qf "%{name}" --userinstalled > ~/userinstalled.txt

PC2: sudo dnf install $(cat userinstalled.txt)

regarding the hardware specific packages, I guess you will have to edit or the list manually (in case you installed some additional tools for the nvidia driver machine).

edit flag offensive delete link more

Comments

1

Why not automate it? If the list of user installed packages is userinstalled.txt, simply use grep -v nvidia userinstalled.txt > packagelist.txt to do the donkey work.

sideburns gravatar imagesideburns ( 2018-10-01 13:37:01 -0500 )edit
1

you can try that but grepping for nvidia is likely not enough. It's unclear where those drivers are installed from (rpmfusion/negativo17/nvidia.com) but it's likely that they came with dependencies installed that may not be required on the non-nvidia machines. What comes to my head is: dkms, kernel-headers, kernel-devel, ...

But sure worth a try, especially if it is the driver from rpmfusion.org, grepping nvidia will help.

gobigobi66 gravatar imagegobigobi66 ( 2018-10-01 14:24:33 -0500 )edit

Thanks to all. I use the drivers from the appropriate rpmfusion… repository(not from negativo) for the NVidia card, with the "akamod..." options. Are the above mentioned solutions still valid?

heliosstyx gravatar imageheliosstyx ( 2018-10-02 04:10:29 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-10-01 12:55:23 -0500

Seen: 97 times

Last updated: Oct 03 '18