Re: Uh Oh - HOSED Upgrade - Deb - HOW to Recover ?

c186282 <[email protected]> Wed, 5 Aug 2026 03:14:44 -0400
Newsgroups comp.os.linux.misc
Organization wokiesux
Message-ID <[email protected]>
On 8/4/26 14:18, Charlie Gibbs wrote:
> On 2026-08-04, c186282 <[email protected]> wrote:
> 
>> Just the latest upgrade for my Deb-derived distro (MX) and
>> suddenly getting evil evil messages about how the latest
>> kernel is missing dependencies and WON'T upgrade.
> 
> This is similar to another thread I started here.  IMHO
> upgrades are the scariest part of Linux.  I always take
> full backups of everything first with a script like this:

   I kinda agree at this point. Had to throw away
   a couple of previously good Manjaro installs
   due to hosed upgrades - and DID put in the
   effort to save them. NO good. Once it's
   fucked then it's FUCKED.

   As said, MX does have a good "Live-Install"
   app. Just a few weeks ago I made one of
   those custom ISOs. If I *have* to I'll do
   a complete re-install using that and THEN
   retry the upgrades. Have already copied-out
   my /home and /Desktop and a few other things
   so I can 99.9% recover everything.

   Anyway, these days now, the "missing"
   dependencies are NOT gonna appear.
   Sucks !!! The entire update system is
   now CONFUSED - more enemy than help.

> #!/bin/bash
> # Back up cjglap2 - version 2025-08-27
> # This script must be run as root!
> if [ "$(id -u)" -ne 0 ];
> then
>    echo This script must be run as root!
>    exit
> fi
> # Coy the root partition.
> dd if=/dev/sda1 | gzip >/mnt/backup/cjglap2/sda1.img.gz
> # Copy various directories.
> rsync -av --delete /etc                                /mnt/backup/cjglap2
> rsync -av --delete /usr                                /mnt/backup/cjglap2
> rsync -av --exclude='/home/cjg/.cache/' --delete /home /mnt/backup/cjglap2
> rsync -av --delete /var/spool/slrnpull                 /mnt/backup/cjglap2
> 
> Then, even if the worst happens, I can wipe the disk and start over.
> Having /home in its own partition makes things a lot easier.

   THINK I'm gonna have to wipe.

   ULTRA-sucky !

   Deb/MX is usually PERFECT ... but now,
   well, obviously ..... it's all fucked up
   at some low/obscure level that only
   gurus on speed could possibly solve
   with 48 hours of obsessive tweaks.