gm10's Linux Mint Tools PPA

Get involved, create or participate in a project.
User avatar
pizzadude
Level 2
Level 2
Posts: 54
Joined: Sat Aug 06, 2016 3:57 pm

Re: gm10's Linux Mint Tools PPA

Post by pizzadude » Sat Jun 01, 2019 10:42 am

gm10 wrote:
Sat Jun 01, 2019 4:02 am
pizzadude wrote:
Fri May 31, 2019 7:09 pm
I'd like to report a few bugs in your version of mintsources.
Excellent, thanks for that. Sent you a PM regarding the second issue.
Hi, I responded to your PM.
Image
Visit my blog LinuxSurge if you like websites that haven't been updated in over 2 years

gm10
Level 17
Level 17
Posts: 7475
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Sat Jun 01, 2019 12:48 pm

Thanks for your help both of you, new version addressing all reported issues (and one other) is available now.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
MurphCID
Level 5
Level 5
Posts: 848
Joined: Fri Sep 25, 2015 10:29 pm

Re: gm10's Linux Mint Tools PPA

Post by MurphCID » Sat Jun 01, 2019 3:32 pm

Thank you for the link.

User avatar
pizzadude
Level 2
Level 2
Posts: 54
Joined: Sat Aug 06, 2016 3:57 pm

Re: gm10's Linux Mint Tools PPA

Post by pizzadude » Sun Jun 02, 2019 11:51 am

Just wanted to say thanks again for fixing 99% of the issues I reported. :)
Image
Visit my blog LinuxSurge if you like websites that haven't been updated in over 2 years

gm10
Level 17
Level 17
Posts: 7475
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Sun Jun 02, 2019 12:17 pm

pizzadude wrote:
Sun Jun 02, 2019 11:51 am
Just wanted to say thanks again for fixing 99% of the issues I reported. :)
Just sent you a PM, it's 100% now. Thanks again for the awesome reporting, that was extremely helpful!
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
pizzadude
Level 2
Level 2
Posts: 54
Joined: Sat Aug 06, 2016 3:57 pm

Re: gm10's Linux Mint Tools PPA

Post by pizzadude » Sun Jun 02, 2019 12:44 pm

gm10 wrote:
Sun Jun 02, 2019 12:17 pm
pizzadude wrote:
Sun Jun 02, 2019 11:51 am
Just wanted to say thanks again for fixing 99% of the issues I reported. :)
Just sent you a PM, it's 100% now. Thanks again for the awesome reporting, that was extremely helpful!
No problem. :)
Image
Visit my blog LinuxSurge if you like websites that haven't been updated in over 2 years

gm10
Level 17
Level 17
Posts: 7475
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Wed Jun 05, 2019 11:21 am

PSA: Since somebody had PM'ed me about mainline kernel installation failing with an error message for the latest 5.1 and 5.2 versions, that is no bug, that's Ubuntu breaking their build system by forgetting to configure git on the (new?) build server and thus never successfully building those versions. For performance reasons the app only discovers that once you click to install, that's why you get the message then.

I'll see about clarifying the error message in the next version. ;)

edit to add: Ubuntu fixed it now.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
pizzadude
Level 2
Level 2
Posts: 54
Joined: Sat Aug 06, 2016 3:57 pm

Re: gm10's Linux Mint Tools PPA

Post by pizzadude » Thu Jun 06, 2019 1:28 pm

btw the 0.99 donation wasn't me but i just sent you a 4 euro donation, enjoy :)

i donated to mint in april as well.
Image
Visit my blog LinuxSurge if you like websites that haven't been updated in over 2 years

gm10
Level 17
Level 17
Posts: 7475
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Fri Jun 14, 2019 2:50 pm

For those not reading changelogs, I'd like to draw your attention to this part of the changelog of this week's mintupdate upgrade that I just released:
mintupdate (1:5.6.4+build2~gm10) bionic; urgency=medium

* Kernel window: Add a "Reboot to another kernel" button which allows you to
reboot to a specific (installed) kernel. This will fail in cases where you
are not using GRUB at all (the button should not even show then) or not
from the current operating system, or if GRUB cannot write to the
environment block, such as when it is stored on an MDRAID or LVM device.
Feedback about how this feature is working out for you is appreciated. The
worst that can happen in case of a failure is that you will reboot to your
current kernel, i.e. there is zero risk involved.
[...]
I hacked that feature together on a whim and it underwent minimal testing, so if you can break it I'd appreciate some feedback from you. I can think of multiple ways to break it with a specifically crafted grub.cfg (in particular the way the root device gets configured) - note that "breaking" in this context means you'll get a failure popup, I do have error handling in there - but I am not sure if any of those ways are actually relevant, i.e. if they would occur in the "wild", so I ignored them for now. So surprise me! ;)
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

all41
Level 14
Level 14
Posts: 5368
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: gm10's Linux Mint Tools PPA

Post by all41 » Sat Jun 15, 2019 12:19 am

Hello @gm10,
a point of curiosity--with the gm10 ppa updates Mint 19.1 MATE UM now ignores the preference settings for auto-refresh and refreshes the list of updates on it's own.
I prefer to refresh the list manually. How can I revert this?

gm10
Level 17
Level 17
Posts: 7475
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Sat Jun 15, 2019 4:44 am

all41 wrote:
Sat Jun 15, 2019 12:19 am
Hello @gm10,
a point of curiosity--with the gm10 ppa updates Mint 19.1 MATE UM now ignores the preference settings for auto-refresh and refreshes the list of updates on it's own.
I prefer to refresh the list manually. How can I revert this?
Hmm, let's see, I feel we need to distinguish the different refresh types here:

The app will automatically detect changes to the package cache (e.g. after you run apt update in a terminal, install new software or software upgrades) and refresh itself to ensure that what it displays always matches the current state of the package management system. This refresh is local only (i.e. no apt update) and not optional, because I don't see why you would not want to keep the app's state consistent.

Then there's the actual remote refresh according to the auto-refresh settings in the preferences, where new repository indexes get downloaded (i.e. the equivalent of apt update) and, if enabled, an updated list of available mainline kernels gets retrieved. This part should be fully optional according to the configured schedule, and AFAIK is working correctly.

You can check the log view to see which type of refresh just happened, there's detailed information there.

So, which type of refresh is troubling you or is it just a case of clarifying the "Refreshing the list of updates" status message in the first case?
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

all41
Level 14
Level 14
Posts: 5368
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: gm10's Linux Mint Tools PPA

Post by all41 » Sat Jun 15, 2019 10:29 pm

I am seeing available updates as soon as I open UM--without refresh and without running apt update
I just checked a Tessa Cinnamon partition that has not been booted or updated in a month or so--it does
not display available updates until I refresh, or run apt update--this install does not have the gm10 ppa.
apt update is my preferred method to check for updated packages.

gm10
Level 17
Level 17
Posts: 7475
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Sun Jun 16, 2019 3:16 am

all41 wrote:
Sat Jun 15, 2019 10:29 pm
I am seeing available updates as soon as I open UM--without refresh and without running apt update
Not sure what to tell you except that I can guarantee that the app doesn't do a remote refresh upon launch, ever, so something must have done it before you launched it. The only other thing in mintupdate that can theoretically do it before launch is the automatic upgrades service, but then your upgrades would have been applied, plus it's not enabled by default.

Maybe the simplest explanation is that you may have had updates available before you installed the mintupdate version from my PPA (and you would have run apt update after adding the PPA)?
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
pizzadude
Level 2
Level 2
Posts: 54
Joined: Sat Aug 06, 2016 3:57 pm

Re: gm10's Linux Mint Tools PPA

Post by pizzadude » Mon Jun 17, 2019 12:23 pm

Hey gm10, I pm'ed you about a new bug in your version of mintsources. (A missing glade file)
Image
Visit my blog LinuxSurge if you like websites that haven't been updated in over 2 years

gm10
Level 17
Level 17
Posts: 7475
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Mon Jun 17, 2019 12:35 pm

pizzadude wrote:
Mon Jun 17, 2019 12:23 pm
Hey gm10, I pm'ed you about a new bug in your version of mintsources.
Thanks, as always. That's not a bug in the new version by the way, that's something I broke 2 weeks ago already. :lol: Fixed in 1.9.9 that I pushed out just now.

Seriously, I'm terrible with this particular package (only)... :oops: But rest assured I'll fix things as quickly as I break them, haha, so keep the reports coming.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
pizzadude
Level 2
Level 2
Posts: 54
Joined: Sat Aug 06, 2016 3:57 pm

Re: gm10's Linux Mint Tools PPA

Post by pizzadude » Mon Jun 17, 2019 12:50 pm

gm10 wrote:
Mon Jun 17, 2019 12:35 pm
pizzadude wrote:
Mon Jun 17, 2019 12:23 pm
Hey gm10, I pm'ed you about a new bug in your version of mintsources.
Thanks, as always. That's not a bug in the new version by the way, that's something I broke 2 weeks ago already. :lol: Fixed in 1.9.9 that I pushed out just now.

Seriously, I'm terrible with this particular package (only)... :oops: But rest assured I'll fix things as quickly as I break them, haha, so keep the reports coming.
No problem. :lol:
Image
Visit my blog LinuxSurge if you like websites that haven't been updated in over 2 years

all41
Level 14
Level 14
Posts: 5368
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: gm10's Linux Mint Tools PPA

Post by all41 » Tue Jun 18, 2019 12:58 pm

gm10 wrote:
Sun Jun 16, 2019 3:16 am
all41 wrote:
Sat Jun 15, 2019 10:29 pm
I am seeing available updates as soon as I open UM--without refresh and without running apt update
Not sure what to tell you except that I can guarantee that the app doesn't do a remote refresh upon launch, ever, so something must have done it before you launched it. The only other thing in mintupdate that can theoretically do it before launch is the automatic upgrades service, but then your upgrades would have been applied, plus it's not enabled by default.

Maybe the simplest explanation is that you may have had updates available before you installed the mintupdate version from my PPA (and you would have run apt update after adding the PPA)?
This is what I see each time UM opens:
UM.jpg
Then the list gets populated. UM Preferences/Options auto-refresh is not enabled.

gm10
Level 17
Level 17
Posts: 7475
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Tue Jun 18, 2019 2:09 pm

all41 wrote:
Tue Jun 18, 2019 12:58 pm
This is what I see each time UM opens:
UM.jpg
Then the list gets populated. UM Preferences/Options auto-refresh is not enabled.
Yes, but if you check the log view then you should see something like this:

Code: Select all

06.18 20:00 + Launching Update Manager
06.18 20:00 + AutomaticRefreshThread started
06.18 20:00 + Auto-refresh disabled in preferences
06.18 20:00 + AutomaticRefreshThread stopped
06.18 20:00 + Starting refresh (local only)
06.18 20:01 + System is up to date
06.18 20:01 + Refresh finished
You can see that the auto-refresh thread gets started, and if you disabled it in preferences as you said you did, it ends just as soon. Then the app triggers a local refresh, which only refreshes the state of the app itself based on the cached repository indexes, nothing gets downloaded remotely. A remote refresh only happens when you trigger it manually or when you configured an auto-refresh schedule.

PS: Is that the Mint-X theme? For some reason you're missing the spinning icon, it should look like this with Mint-X:
mintupdate-refreshing.png
Another mystery. ;)
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

all41
Level 14
Level 14
Posts: 5368
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: gm10's Linux Mint Tools PPA

Post by all41 » Tue Jun 18, 2019 11:26 pm

gm10 wrote:
Tue Jun 18, 2019 2:09 pm
all41 wrote:
Tue Jun 18, 2019 12:58 pm
This is what I see each time UM opens:
UM.jpg
Then the list gets populated. UM Preferences/Options auto-refresh is not enabled.
Yes, but if you check the log view then you should see something like this:

Code: Select all

06.18 20:00 + Launching Update Manager
06.18 20:00 + AutomaticRefreshThread started
06.18 20:00 + Auto-refresh disabled in preferences
06.18 20:00 + AutomaticRefreshThread stopped
06.18 20:00 + Starting refresh (local only)
06.18 20:01 + System is up to date
06.18 20:01 + Refresh finished
You can see that the auto-refresh thread gets started, and if you disabled it in preferences as you said you did, it ends just as soon. Then the app triggers a local refresh, which only refreshes the state of the app itself based on the cached repository indexes, nothing gets downloaded remotely. A remote refresh only happens when you trigger it manually or when you configured an auto-refresh schedule.

PS: Is that the Mint-X theme? For some reason you're missing the spinning icon, it should look like this with Mint-X:
mintupdate-refreshing.png
Another mystery. ;)
Yes it's Mint-X. Got me thinking so created a new user---same results--no spinner icon there either.
When opening UM I recall seeing some internet activity on conky but it was minuscule--just bytes. I will observe this further, but the UM update list is automagically/mysteriously getting populated without an apt update call or UM refresh. Not a detraction--just reporting what I am seeing here.

gm10
Level 17
Level 17
Posts: 7475
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Wed Jun 19, 2019 1:34 am

all41 wrote:
Tue Jun 18, 2019 11:26 pm
Yes it's Mint-X. Got me thinking so created a new user---same results--no spinner icon there either.
Maybe I should package the icon - I never considered it might be missing on the target system for it is a standard GTK icon. Hmm...
all41 wrote:
Tue Jun 18, 2019 11:26 pm
When opening UM I recall seeing some internet activity on conky but it was minuscule--just bytes. I will observe this further, but the UM update list is automagically/mysteriously getting populated without an apt update call or UM refresh. Not a detraction--just reporting what I am seeing here.
Oh no, I am welcoming any and all reports and thank you for taking the time, I just really don't know what to do with this one.

You'll know yourself that if it was downloading repository indexes that it would be downloading much more, typically a few megabytes at least, more if it actually finds new updates and needs to download the package listings as well. So the system already knew the updates were available and apt list --upgradable would list them for you before you ever start mintupdate.

The app itself should generate no Internet activity at all upon startup by the way, so if launching apps is generating such on your system maybe check what process is actually doing that. Although a few bytes could just be network stack level control messages unrelated to any app activity.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

Post Reply

Return to “Community Projects”