Page 1 of 1

A Debian Black Friday Upgrade experience of a special kind ...

Posted: Fri Nov 24, 2023 1:28 pm
by l0dr3
:bawling: It happened today, it never happened before (for me), i hope it will never happen again :mad: :needcoffee:

THIS happened just ~3h ago on my current SIDUCTION setup.
As usual, before going weekend, i did (w#o attention for the exact cli feedback messages :blindfold: :bagoverhead: ) ...

Code: Select all

su
apt update && apt list -u
apt full-upgrade
:
... and very sudden the installation LOST ANY NETWORK connection after the reboot :eek:

There was no longer a network-icon in the systray and on the cli:
'nmcli' - not installed
'apt policy network-manager' - (none) !!
'ifconfig' - all interfaces DOWN and w#o configuration ??
'ip route' - no routes to anywhere ...
:confused: :confused: :confused:

After a 'cat /var/log/apt/history.log', i couldn't believe my eyes :eek:
2023/11/24 - 16:15
Start-Date: 2023-11-24 15:58:33
Commandline: apt full-upgrade
Install: libcmis-0.6-6:amd64 (0.6.2-2, automatic), ...
:
Remove: network-manager-gnome:amd64 (1.34.0-1), network-manager:amd64 (1.44.2-4)
End-Date: 2023-11-24 16:01:18
QUESTION@ALL MXers and Debian users: Has anybody ever been in such an unexpected situation after an upgrade of any kind of debian installation?

ANYWAY, if this happens to you, heres what i had to do, to regain network access and how i solved this issue:

Code: Select all

# ifconfig eth0 <unused-fixed-ip> netmask 255.255.255.0 gateway <my-routers-ip>
# ip link set eth0 up
# route add default netmask 0.0.0.0 gw <my-routers-ip>
# route
# ping debian.org
:
# apt update
# apt install network-manager
# ip address
:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
    link/ether 08:00:27:3e:f6:4f brd ff:ff:ff:ff:ff:ff
    inet aaa.bbb.ddd.ccc/24 brd aaa.bbb.ccc.255 scope global dynamic noprefixroute eth0
       valid_lft 6066sec preferred_lft 6066sec
:
# reboot
# apt install network-manager-gnome
# reboot
:
# apt update && apt list -u
:
All packages are up to date.											
Listing... Done															
HTH everyone who finds oneself in the same trouble :crossfingers:

kind regards

l0dr3

Re: A Debian Black Friday Upgrade experience of a special kind ...

Posted: Fri Nov 24, 2023 1:37 pm
by anticapitalista
The joys of using sid...

Re: A Debian Black Friday Upgrade experience of a special kind ...

Posted: Fri Nov 24, 2023 1:40 pm
by MadMax
Always check the output of apt before greenlighting the update, especially if you're on a rolling release like sid. Removal of any package should always set off alarm bells ;)

Re: A Debian Black Friday Upgrade experience of a special kind ...

Posted: Fri Nov 24, 2023 1:51 pm
by l0dr3
anticapitalista wrote: Fri Nov 24, 2023 1:37 pm The joys of using sid...
:number1: YEP - i know - curiosity killed ... :cat: ...

... but i have at least one SID testing-setup running, since i moved to debian, to have foresight, whats coming up (the good :cool: and the bad :bawling: ) with the next major releases.

principiis obsta! ... et respice finem ;)

greetz l0dr3