Just to clarify this:
Do you mean that you've lost connectivity to the network drives, or you can't connect to the internet at all?
Unfortunately, rolling back updates is not as straight forward as it could be. For that, you'd need to install a dedicated program that can do this for you. After you get this sorted, I suggest looking into Timeshift.
You can "downgrade" a package by running the install command, specifying the exact version that you want to install. To find out which version was installed before, you'll need to check out the logs from the last upgrade that caused this issue.
The log file in question is located at /var/log/apt/history.log
. Towards the end of the file you will see the most recent entries. After running the upgrade I have the following:
It's not pretty, but you can read see which packages were upgraded, and the before/after versions.
libwbclient0:amd64 (2:4.15.13+dfsg-0ubuntu1.6, 2:4.15.13+dfsg-0ubuntu1.7)
libsmbclient:amd64 (2:4.15.13+dfsg-0ubuntu1.6, 2:4.15.13+dfsg-0ubuntu1.7)
samba-libs:amd64 (2:4.15.13+dfsg-0ubuntu1.6, 2:4.15.13+dfsg-0ubuntu1.7)
So, to rollback, you need to run (breaking in down into multiple lines for clarity):
sudo apt install \
libwbclient0:amd64=2:4.15.13+dfsg-0ubuntu1.6 \
libsmbclient:amd64=2:4.15.13+dfsg-0ubuntu1.6 \
samba-libs:amd64=2:4.15.13+dfsg-0ubuntu1.6
Unfortunately, you'll get an error saying this package was not found... well, let's see what's available:
apt show samba-libs -a | grep Version
It turns out that version "0ubuntu1.6" has been removed from the repositories altogether, but we can still try "0ubuntu1.5":
sudo apt install \
libwbclient0:amd64=2:4.15.13+dfsg-0ubuntu1.5 \
libsmbclient:amd64=2:4.15.13+dfsg-0ubuntu1.5 \
samba-libs:amd64=2:4.15.13+dfsg-0ubuntu1.5
It worked:
You'll have to restart your computer most likely, but try that and see if it makes any difference before discussing anything else.
To prevent further updates on these packages you can mark them like so, with the command:
sudo apt-mark hold libwbclient0 libsmbclient samba-libs
Now, if you run sudo apt upgrade
, this packages will show as being "held back". This is convenient but might also cause other issues in the long run, so it's best to rely on this only temporarily until it's clear what they change and how it can be fixed.
In regards to change logs, you can lookup the package name in the Ubuntu trackpad, which is where Ubuntu keeps tracks of packages, issues, etc.
I haven't read it all just yet, but it looks like the 1.7 affects mostly Samba servers using Active Directory.