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.
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.
# Copy 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
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:
On Mon, 3 Aug 2026 23:05:35 -0400, c186282 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.
How's that ahs going for you? I uodated today and 6.12.100 is doing fine.
On 8/4/26 02:29, rbowman wrote:
On Mon, 3 Aug 2026 23:05:35 -0400, c186282 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.
How's that ahs going for you? I uodated today and 6.12.100 is doing
fine.
Six ??? Mine is into the sevens.
On 2026-08-04, c186282 <c186282@nnada.net> 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:
#!/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.
On Tue, 04 Aug 2026 18:18:23 GMT, Charlie Gibbs wrote:
# Copy the root partition.
dd if=/dev/sda1 | gzip >/mnt/backup/cjglap2/sda1.img.gz
Doing a dd on a volume that is currently mounted may not give
completely reliable results.
# 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
???-a??? does not include ???-A??? or ???-X???, which I like to include these days, just in case.
On 2026-08-05, Lawrence D?Oliveiro <ldo@nz.invalid> wrote:
On Tue, 04 Aug 2026 18:18:23 GMT, Charlie Gibbs wrote:
# Copy the root partition.
dd if=/dev/sda1 | gzip >/mnt/backup/cjglap2/sda1.img.gz
Doing a dd on a volume that is currently mounted may not give
completely reliable results.
# Copy various directories.???-a??? does not include ???-A??? or ???-X???, which I like to include these
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 >>
days, just in case.
also --numeric-ids
The machine you are backing up to may have different "system" ids (<1000)
and cause problems when copying back - depending on how one does it.
SO many complicating factors these days ! Remember when Linux updates
"Just Worked" ???
MY case, kinda lucky. MX has a good "custom live ISO" utility and I
did the full thing about three weeks ago.
I *can* restore my lap to it's previous condition and then do the
updates again. MIGHT work.
On 8/6/26 17:16, Jim Jackson wrote:
On 2026-08-05, Lawrence D?Oliveiro <ldo@nz.invalid> wrote:
On Tue, 04 Aug 2026 18:18:23 GMT, Charlie Gibbs wrote:
# Copy the root partition.
dd if=/dev/sda1 | gzip >/mnt/backup/cjglap2/sda1.img.gz
Doing a dd on a volume that is currently mounted may not give
completely reliable results.
# Copy various directories.???-a??? does not include ???-A??? or ???-X???, which I like to include these
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 >>>
days, just in case.
also --numeric-ids
The machine you are backing up to may have different "system" ids (<1000)
and cause problems when copying back - depending on how one does it.
SO many complicating factors these days ! Remember
when Linux updates "Just Worked" ???
On 2026-08-07, c186282 <c186282@nnada.net> wrote:
On 8/6/26 17:16, Jim Jackson wrote:
On 2026-08-05, Lawrence D?Oliveiro <ldo@nz.invalid> wrote:
On Tue, 04 Aug 2026 18:18:23 GMT, Charlie Gibbs wrote:
# Copy the root partition.
dd if=/dev/sda1 | gzip >/mnt/backup/cjglap2/sda1.img.gz
Doing a dd on a volume that is currently mounted may not give
completely reliable results.
# 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
???-a??? does not include ???-A??? or ???-X???, which I like to include these
days, just in case.
also --numeric-ids
The machine you are backing up to may have different "system" ids (<1000) >>> and cause problems when copying back - depending on how one does it.
SO many complicating factors these days ! Remember
when Linux updates "Just Worked" ???
Sorry this isn't about updates, but about backups.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 74 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 50:08:02 |
| Calls: | 1,100 |
| Files: | 1,339 |
| Messages: | 275,859 |