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

Message
Author
User avatar
l0dr3
Posts: 463
Joined: Wed Jun 28, 2023 11:06 am

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

#1 Post 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
Last edited by l0dr3 on Fri Nov 24, 2023 1:58 pm, edited 1 time in total.

User avatar
anticapitalista
Developer
Posts: 4301
Joined: Sat Jul 15, 2006 10:40 am

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

#2 Post by anticapitalista »

The joys of using sid...
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
MadMax
Posts: 483
Joined: Wed Aug 04, 2021 3:25 pm

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

#3 Post 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 ;)
If it ain't broke, don't fix it.
Main: MX 23 | Second: Mint 22 | HTPC: Linux Lite 7 | VM Machine: Debian 12 | Testrig: Arch/FreeBSD 14 | Work: RHEL 8

User avatar
l0dr3
Posts: 463
Joined: Wed Jun 28, 2023 11:06 am

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

#4 Post 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

Post Reply

Return to “General”