Is there a way to make sure a system that was upgraded multiple times instead of installed from scratch has all the rpm packages that the current workstation collection has? I notice some things like the login screen wallpaper program that is present on fresh installs is missing from an upgraded system. Is there an @something dnf collection that I can install to bring that aspect of an old system up to date?
-wolfgang
On Sat, 2019-06-01 at 05:18 -0700, Wolfgang S Rupprecht wrote:
Is there a way to make sure a system that was upgraded multiple times instead of installed from scratch has all the rpm packages that the current workstation collection has? I notice some things like the login screen wallpaper program that is present on fresh installs is missing from an upgraded system. Is there an @something dnf collection that I can install to bring that aspect of an old system up to date?
$ dnf distro-sync
poc
On 6/1/19 8:58 PM, Patrick O'Callaghan wrote:
On Sat, 2019-06-01 at 05:18 -0700, Wolfgang S Rupprecht wrote:
Is there a way to make sure a system that was upgraded multiple times instead of installed from scratch has all the rpm packages that the current workstation collection has? I notice some things like the login screen wallpaper program that is present on fresh installs is missing from an upgraded system. Is there an @something dnf collection that I can install to bring that aspect of an old system up to date?
$ dnf distro-sync
I don't think that is what the OP is asking....
dnf distro-sync [<package-spec>...] As necessary upgrades, downgrades or keeps selected installed packages to match the latest version available from any enabled repository. If no package is given, all installed packages are considered.
So, if a package hasn't been added during an upgrade which is installed on a fresh install a "distro-sync" won't., I believe, add it.
=> dnf grouplist
was
sudo dnf groupinstall "Fedora Workstation"
meant ?
maybe followed by an
sudo dnf autoremove/distrosync
" sixpack13" sixpack13@online.de writes:
sudo dnf groupinstall "Fedora Workstation"
I was wondering about that. I did it (without typing "y") on both and upgraded and a system with a fresh install. In the upgraded case I got a large list as expected. The unexpected part was that I had a shorter, but still unexpectedly long list on the freshly installed system too. It also came up with some errors that made me wonder if the option had gotten tested.
# dnf groupinstall "Fedora Workstation" --skip-broken Last metadata expiration check: 0:00:31 ago on Sat 01 Jun 2019 01:34:06 PM PDT. No match for group package "libva-vaapi-driver" No match for group package "xorg-x11-drv-omap" No match for group package "totem-nautilus" No match for group package "xorg-x11-drv-armsoc" No match for group package "powerpc-utils" No match for group package "lsvpd" Dependencies resolved.
Problem: problem with installed package fedora-chromium-config-1.1-2.fc30.noarch - installed package fedora-chromium-config-1.1-2.fc30.noarch obsoletes fedora-user-agent-chrome < 0.0.0.5 provided by fedora-user-agent-chrome-0.0.0.4-6.fc30.noarch - package fedora-chromium-config-1.1-2.fc30.noarch obsoletes fedora-user-agent-chrome < 0.0.0.5 provided by fedora-user-agent-chrome-0.0.0.4-6.fc30.noarch - conflicting requests ================================================================================ Package Arch Version Repo Size ================================================================================ Installing group/module packages: podman x86_64 2:1.3.1-1.git7210727.fc30 updates 11 M Installing dependencies: containers-common x86_64 1:0.1.36-9.dev.gitd93a581.fc30 updates 35 k fuse3-libs x86_64 3.5.0-1.fc30 updates 83 k runc x86_64 2:1.0.0-93.dev.gitb9b6cc6.fc30 updates 2.5 M containernetworking-plugins x86_64 0.7.4-2.fc30 fedora 14 M libnet x86_64 1.1.6-17.fc30 fedora 61 k Installing weak dependencies: container-selinux noarch 2:2.101-1.gitb0061dc.fc30 updates 47 k criu x86_64 3.12-11.fc30 updates 476 k fuse-overlayfs x86_64 0.3-10.dev.gita7c8295.fc30 updates 50 k podman-manpages noarch 2:1.3.1-1.git7210727.fc30 updates 172 k slirp4netns x86_64 0.3.0-2.git4992082.fc30 updates 82 k Installing Environment Groups: Fedora Workstation Installing Groups: base-x Container Management Core Firefox Web Browser Fonts GNOME Desktop Environment Guest Desktop Agents Hardware Support LibreOffice Multimedia Common NetworkManager Submodules
Printing Support Fedora Workstation product core
Transaction Summary ================================================================================ Install 11 Packages
Total download size: 28 M Installed size: 111 M Is this ok [y/N]: n Operation aborted. #