Re: [PLUG] Another update/upgrade, another problem

2020-01-29 Thread Dick Steffens
On 1/29/20 10:06 AM, Dick Steffens wrote: My laptop, Lenovo X200 Tablet, has Xubuntu 18.04 installed. Yesterday there was an update (upgrade?) which I allowed to run. When finished it required a reboot. Upon rebooting, after the GRUB screen that allows me to choose which version to boot, I see

Re: [PLUG] Another update/upgrade, another problem

2020-01-29 Thread Nat Taylor
Have you tried, after booting into recovery mode, sudo apt update && sudo apt upgrade && sudo apt dist-upgrade reboot, if that doesn't work, boot into recovery mode and reinstall grub? (grub-install /dev/sd*X )* On Wed, Jan 29, 2020 at 11:01 AM Dick Steffens wrote: > On 1/29/20 10:06 AM, Dick

Re: [PLUG] SOLVED Make cron send an e-mail upon completion

2020-01-29 Thread John Jason Jordan
I have given up on mail and .Xauthority and DISPLAY. Mail is too much trouble, and getting a root cron job to pop up a message on my desktop may never work because of settings in my desktop environment. At some point you have to pull the plug, and I have now officially given up on those

[PLUG] Another update/upgrade, another problem

2020-01-29 Thread Dick Steffens
My laptop, Lenovo X200 Tablet, has Xubuntu 18.04 installed. Yesterday there was an update (upgrade?) which I allowed to run. When finished it required a reboot. Upon rebooting, after the GRUB screen that allows me to choose which version to boot, I see some disk activity, but nothing else.

[PLUG] Rsync exclude-from file syntax

2020-01-29 Thread John Jason Jordan
Now that I have sort of successfully created a cron job to make a daily mirror of ~/, it is time to work on the same for /. But backing up / needs a lot of exclusions, so I have created Rsync_root_excludes.txt with the following: #Rsync_root_excludes /cdrom /dev /export /home/jjj/** /lost+found

Re: [PLUG] SOLVED Make cron send an e-mail upon completion

2020-01-29 Thread Rich Shepard
On Wed, 29 Jan 2020, John Jason Jordan wrote: Instead I have just added the following line to the script: echo "$TS Home Backup Done Exit Status $?" > /home/jjj/Software/Rsync_daily_log.txt John, Consider changing '>' to '>>'. The former overwrites the existing file while the latter appends

Re: [PLUG] Rsync exclude-from file syntax

2020-01-29 Thread John Jason Jordan
On Wed, 29 Jan 2020 12:41:58 -0800 John Jason Jordan dijo: >I have created Rsync_root_excludes.txt with the following: > >#Rsync_root_excludes >/cdrom >/dev >/export >/home/jjj/** >/lost+found >/media >/mnt >/proc >/run >/snap >/tmp I finally just ran the rsync script and all worked as expected

Re: [PLUG] Another update/upgrade, another problem

2020-01-29 Thread Nat Taylor
by /dev/sdX I mean, /dev/sda or whatever device your main hard drive is, you could find out by typing df first, and see which drive your / is on. and use that for sdX On Wed, Jan 29, 2020 at 1:05 PM Dick Steffens wrote: > On 1/29/20 11:16 AM, Nat Taylor wrote: > > Have you tried, after booting

Re: [PLUG] Another update/upgrade, another problem

2020-01-29 Thread Dick Steffens
On 1/29/20 5:15 PM, Nat Taylor wrote: by /dev/sdX I mean, /dev/sda or whatever device your main hard drive is, you could find out by typing df first, and see which drive your / is on. and use that for sdX ~# df <...> /def/sda5 <...> ~# (grub-install /dev/sda5 )* bash: sybntax error near

Re: [PLUG] Another update/upgrade, another problem

2020-01-29 Thread Dick Steffens
On 1/29/20 11:16 AM, Nat Taylor wrote: Have you tried, after booting into recovery mode, sudo apt update && sudo apt upgrade && sudo apt dist-upgrade reboot, if that doesn't work, Those did not work. boot into recovery mode and reinstall grub? (grub-install /dev/sd*X )* (grup-install

Re: [PLUG] SOLVED Make cron send an e-mail upon completion

2020-01-29 Thread John Jason Jordan
On Wed, 29 Jan 2020 12:47:45 -0800 (PST) Rich Shepard dijo: >On Wed, 29 Jan 2020, John Jason Jordan wrote: > >> Instead I have just added the following line to the script: >> echo "$TS Home Backup Done Exit Status $?" >> > /home/jjj/Software/Rsync_daily_log.txt >Consider changing '>' to '>>'.

Re: [PLUG] Rsync exclude-from file syntax

2020-01-29 Thread Ben Koenig
Just out of curiosity, do you actually put anything in /usr that you need to back up? Since this is ubuntu, pretty much everything in that folder is created by installed packages, there's no real need to back it up since everything can be reinstalled from the repository. The benefits of backing

Re: [PLUG] Rsync exclude-from file syntax

2020-01-29 Thread John Jason Jordan
On Wed, 29 Jan 2020 19:56:49 -0800 Ben Koenig dijo: >Just out of curiosity, do you actually put anything in /usr that you >need to back up? Since this is ubuntu, pretty much everything in that >folder is created by installed packages, there's no real need to back >it up since everything can be

Re: [PLUG] Another update/upgrade, another problem

2020-01-29 Thread Nat Taylor
Maybe try this? I’d actually try to read the contents of /var/crash before deleting it, but it seems like if there’s an issue, it’ll write there again anyways, and it might just be complaining about something in the past https://itsfoss.com/how-to-fix-system-program-problem-detected-ubuntu/