![](https://seccdn.libravatar.org/avatar/9435667f7160374bc34a8600b686aecd.jpg?s=120&d=mm&r=g)
On 24.05.2022 18:34, Arjen de Korte wrote:
Citeren Andrei Borzenkov <arvidjaar@gmail.com>:
On 24.05.2022 18:14, Hagen Buliwyf wrote:
24.05.22 16:32 - Arjen de Korte:
Citeren Marcus Meissner <meissner@suse.de>:
Hi,
The main problem with this transition that I had was that "zypper dup" updated NetworkManager first which restarted itself immediately, which lost the wifi network.
NetworkManager-wifi would probably have been the next package to update, but my Laptop had lost the network already.
Happens if you do "download on demand" strategy, like everyone with small disks.
In my case, 'zypper dup' downloads all packages first, yet NetworkManager-wifi was not downloaded and connection was lost after all downloaded packages were installed. So somehow the mechanism to install the recommended package failed for me, despite the default '/etc/zypp/zypp.conf' file.
'zypper dup' will not download newly added recommends. Even if
Of course it will. But recommend for -wifi was added several TW snapshots after package split.
I'm afraid it doesn't (at least not all of them). I just checked that after running 'zypper dup', a subsequent 'zypper install-new-recommends' indeed installs additional packages. This wouldn't be the case if new recommends are always installed by 'zypper dup' automatically. So that is probably what bit me here.
Zypper installs recommends for packages that are part of this transaction. Zypper will not install recommends for any package that is already installed but is not updated. I cannot reproduce it. After removing all NetworkManager* packages and installing only NetworkManager: tw:~ # rpm -q NetworkManager NetworkManager-1.36.4-2.2.x86_64 tw:~ # zypper dup Loading repository data... Reading installed packages... Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command. Computing distribution upgrade... The following package is going to be upgraded: NetworkManager The following 3 NEW packages are going to be installed: NetworkManager-branding-openSUSE NetworkManager-tui NetworkManager-wifi 1 package to upgrade, 3 new. So NetworkManager-wifi is selected on update.