LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 03-06-2020, 05:44 PM   #1
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 454

Rep: Reputation: 437Reputation: 437Reputation: 437Reputation: 437Reputation: 437
System Update App and Timeshift in Testing repo


I have placed the linux mint system update application in the Bodhi linux 5.x Testing repo.

To learn more about this tool see Kiezel's blog: Install a Cool Additional Update Tool in Ubuntu.

To install this application, add the testing repo and run the commands below:

Code:
sudo apt update
sudo apt install mintupdate
Note this will also install gir1.2-appindicator3-0.1, software-sources and timeshift. I recommend you let it. But if you don't want these or only want say timeshift change the last command above to:

Code:
sudo apt install --no-install-recommends mintupdate
To install timeshift by itself or separately:

Code:
sudo apt install timeshift
For full functionality of the Update application you need at least software-sources and timeshift.

Note it also pulls in a dependency init-system-helpers_1.56+nmu1~ubuntu18.04 initially from Bionic-Backports. I added this to Bodhi's testing repo also to avoid complications with the fact Bodhi by default will not install backports. For more on backports in Ubuntu see Ubuntu's Wiki.

Since this tool will update the kernel using the default settings, if you wish to not update the kernel you can add the kernel to the Ignore list. See attached image:

Click image for larger version

Name:	update.png
Views:	31
Size:	115.9 KB
ID:	32721

You can view the ignore list in the Update application under Edit -> Preferences, as shown below:

Click image for larger version

Name:	kernel.png
Views:	22
Size:	85.9 KB
ID:	32722

Also note installing mintupdate also installs Kernel Manager. A program to let you install or remove different Kernel versions.

I am considering adding this update manager to the upcoming Bodhi Linux 5.1 App Pack ISO. Any thoughts on this or issues noted while testing would be appreciated.

Enjoy

Last edited by rbtylee; 03-07-2020 at 03:22 AM.
 
Old 03-06-2020, 10:45 PM   #2
Ahen
Member
 
Registered: Feb 2020
Posts: 32

Rep: Reputation: Disabled
Have yet to test on Bodhi, but will just note that under Linux Mint 19.3, on an i7 / 4GB / non-SSD laptop, timeshift pretty much brings the machine to its knees while it runs rsync on the ext4 filesystem. I basically have to go for a walk / have cup of tea until it becomes usable again.

Others' mileage may vary. I have it scheduled to only run once a month because of this.

Not saying this is a bad idea, though - I like the idea of adding mintupdate to Bodhi.
 
Old 03-06-2020, 11:18 PM   #3
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797

Rep: Reputation: 184Reputation: 184
that has not been my experience with timeshift on bodhi 5 on my i5 / 8 gb with both ssd and hdd internal drives. i make daily snapshots and rarely notice them happening except that my external hdd drive light blinks for about a minute.

Last edited by cordx; 03-06-2020 at 11:19 PM. Reason: left out a word
 
Old 03-07-2020, 05:55 AM   #4
Kiezel
Member
 
Registered: Jan 2020
Posts: 106

Rep: Reputation: 86
Excellent! Thank you.

Just this remark: in a clean installation of the 5.1 RC, I wasn't able to get the mintupdate icon to appear in the system tray automatically, even though (after installing mintupdate from the Testing repo) it's part of the Startup Applications by default.

I even tried modifications of the startup command in Startup Applications, but nothing I tried was able to change this... Its systray icon only appears after manually launching mintupdate from the menu first.

What I'd like to achieve is that the mintupdate icon is always visible in the system tray automatically, so that I can always see at a glance whether my Bodhi is up to date or not.

Last edited by Kiezel; 03-07-2020 at 06:06 AM.
 
1 members found this post helpful.
Old 03-07-2020, 06:51 AM   #5
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Just trying in VM for BL 5.1 beta but everything correct here. Mintupdater in systray and fully working.

Stefan

EDIT: add updater in Startup settings under System tab (not under Apps tab)
http://www.enlightenment.org/ss/e-5e...0.85750001.jpg

Last edited by the_waiter; 03-07-2020 at 07:06 AM.
 
1 members found this post helpful.
Old 03-07-2020, 08:38 AM   #6
Kiezel
Member
 
Registered: Jan 2020
Posts: 106

Rep: Reputation: 86
Quote:
Originally Posted by the_waiter View Post
Just trying in VM for BL 5.1 beta but everything correct here. Mintupdater in systray and fully working.

Stefan

EDIT: add updater in Startup settings under System tab (not under Apps tab)
http://www.enlightenment.org/ss/e-5e...0.85750001.jpg
That's the solution! Thank you.
 
1 members found this post helpful.
Old 03-07-2020, 09:22 AM   #7
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
It's great to have options.

My option is no Timeshift, ever. I do not backup my / partition. I stay close to the long term support type releases, almost no PPAs, and even rarer random .deb app installs. I do keep the most recent Live installs on thumb drives, keep my installation up to date, and in general trust the OS devs to come up with stability. they haven't failed yet.

This works very well in the *buntu realm of things. I do backups of my /home data since recovering/rebuilding/recollecting all that would be much harder than a fresh install of the OS. Those backups are frequent, on a tight schedule, and are to a removable USB target drive - four, in fact, on a rotating schedule.

If someone else tends to be more experimental in the OS, then by all means use a tool like Timeshift to have a rollback position when things do go sideways. Also, if someone does not understand how Timeshift works, it can contribute to things going sideways. I see that happening a lot over at the Mint Linux forums. They just install TS, don't bother to check defaults, run it all the time with the changes written to the / partition and run out of room in a virtual nanosecond. But for those who take the time to set it up correctly, it's fine.

Last edited by jglen490; 03-07-2020 at 09:02 PM. Reason: ...
 
1 members found this post helpful.
Old 03-07-2020, 03:07 PM   #8
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797

Rep: Reputation: 184Reputation: 184
thanks for adding all of this. i had been thinking about adding mintupdate after Kiezel mentioned it a while back, but never got around to it. being able to test it from the repos seemed like a good reason to give it a go.

i wasn't able to upgrade timeshift 19.08 from the ppa that i had previously installed through the update manager even after a reboot. it did so just fine from the terminal.
 
Old 03-07-2020, 03:29 PM   #9
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 454

Original Poster
Rep: Reputation: 437Reputation: 437Reputation: 437Reputation: 437Reputation: 437
Quote:
Originally Posted by jglen490 View Post
It's great to have options.

My option is no Timeshift, ever. I do not backup my / partition. I stay close to the long term support type releases, almost no PPAs, and even rarer random .deb app installs. I do keep the most recent Live installs on thumb drives, keep my installation up to date, and in general trust the OS devs to come up with stability. they haven't failed yet.

...
I don't plan on using timeshift. I have no need for such a tool. But anyways it will end up in our main repos and be available without a ppa for users that want it. I am also going to add it to the AppPack ISO, it and mintupdate. In time I may 'bodhize' the package, remove all references to mint and examine the code a little closer.


Quote:
Originally Posted by jglen490 View Post
...
If someone else tends to be more experimental in the OS, then by all means use a tool like Timeshift to have a rollback position when things do go sideways. Also, if someone does not understand how Timeshift works, it can contribute to things going sideways. I see that happening a lot over at the Mint Linux forums. They just install TS, don't bother to check defaults, run it all the time with the changes written to the / partition and run out of room in a virtual nanosecond. But for those who take the time to set it up correctly, it's fine.
I tend to be very experimental with my OS. My philosophy always has been that if I break I can fix it. So far that has been true although at least once it would have easier to just reinstall.

As to users not checking TS defaults or understanding the implications of software like that and hard drive usages, you will always have user error. Just hope we don't get to many users asking for help because of it.

Quote:
Originally Posted by cordx View Post
thanks for adding all of this. i had been thinking about adding mintupdate after Kiezel mentioned it a while back, but never got around to it. being able to test it from the repos seemed like a good reason to give it a go.

i wasn't able to upgrade timeshift 19.08 from the ppa that i had previously installed through the update manager even after a reboot. it did so just fine from the terminal.
Just a note here all users using the PPA prob should remove it if using these packages from the testing repos.

Last edited by rbtylee; 03-07-2020 at 04:49 PM.
 
Old 03-07-2020, 04:43 PM   #10
Kiezel
Member
 
Registered: Jan 2020
Posts: 106

Rep: Reputation: 86
Quote:
Originally Posted by rbtylee View Post
As to users no checking TS defaults or understanding the implications of software like that and hard drive usages, you will always have user error. Just hope we don't get to users asking for help because of it.
Well, apparently Timeshift defaults to daily snapshots when you cancel the wizard (which you get after first launch of TS). Which is far too many, in my view.

It would be nice to have it default to monthly snapshots (or even none at all) when you cancel the wizard, because excessive disk usage is a possibility. Especially in combination with Snaps or Flatpaks. There have been several complaints about that on Linux Mint Forums.

But perhaps that default is hardcoded into Timeshift? If so, I might try to contact its developer about that (I've had contact with him before)....

For the record: even though Timeshift is linked to gm10's mintupdate in the GUI of mintupdate, AFAIK it's not really tied to it. It should be possible to install and use gm10's mintupdate without Timeshift.

Last edited by Kiezel; 03-07-2020 at 04:49 PM.
 
1 members found this post helpful.
Old 03-07-2020, 09:07 PM   #11
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
Yeah, those are the symptoms of human error/misunderstanding TS, especially and understandably by new users. It's a fine tool that should be an option for anyone to use, but a horrible mess when not understood.
 
Old 03-08-2020, 05:10 AM   #12
Kiezel
Member
 
Registered: Jan 2020
Posts: 106

Rep: Reputation: 86
Quote:
Originally Posted by jglen490 View Post
Yeah, those are the symptoms of human error/misunderstanding TS, especially and understandably by new users. It's a fine tool that should be an option for anyone to use, but a horrible mess when not understood.
So it is. Another thing that's often not understood by new Timeshift users: Timeshift isn't a backup tool. It's a system restore tool.

When you abuse Timeshift for backup purposes, you run the risk that that important document that you've been working on for days, is suddenly reset to the state it was in a week ago, by the mere act of restoring a Timeshift snapshot.

By default, Timeshift therefore doesn't include anything within the /home directories. The only exception you might reasonably make, are the hidden files with the application settings.

Generally, my advice for Timeshift is: schedule monthly snapshots at most, with a retention of only two. Nobody ever needs more than two snapshots for restoring a working system.

More about how to deal with Timeshift on my website:
https://easylinuxtipsproject.blogspo...-mint.html#ID7
(item 7)

Last edited by Kiezel; 03-08-2020 at 05:12 AM.
 
Old 04-02-2020, 02:44 PM   #13
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 454

Original Poster
Rep: Reputation: 437Reputation: 437Reputation: 437Reputation: 437Reputation: 437
For the record these should be in the Bodhi linux 5.0 main repo and it is no longer needed to install from the testing repository.

Enjoy
 
2 members found this post helpful.
  


Reply

Tags
update, updatemanager



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
1st update today,kernel update won,t allow reboot thanks to timeshift able to bring up previous day john66 Linux - Newbie 12 12-03-2019 08:28 AM
LXer: Essential System Tools: Timeshift – Reliable system restore tool for Linux LXer Syndicated Linux News 0 12-10-2018 05:41 AM
[SOLVED] Black screen after grub following update. Now can't access Timeshift to rollback update. mgerson Linux Mint 7 02-27-2016 03:40 AM
how to use syanptic in fc 5 and how to add repo and which repo to be added.. vikas04522 Fedora 1 08-26-2006 12:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 02:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration