gm10's Linux Mint Tools PPA

Get involved, create or participate in a project.
gm10
Level 18
Level 18
Posts: 8157
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Sat Aug 10, 2019 4:12 am

Drugwash wrote:
Sat Aug 10, 2019 3:26 am
Best day for patches is Tuesday... says Redmond. :roll: :lol:
I like Fridays, says my life schedule. I usually have time to handle any fallout and people have time to complain on the weekend, haha. Also people update slower on Fridays so if I need to do some emergency bug fix I don't annoy quite as many people. ;)

The last point is actually something I check - I probably would have kept 5.6.7 until next week (you would never have noticed the issue until the next self-update, anyway) but with download numbers for 5.6.6 still being comparatively low I wanted to get it out of the way rather than have everybody run into the issue next week.
Drugwash wrote:
Sat Aug 10, 2019 3:26 am
When Updater is stuck after self-update, tray menu has a few items disabled, including Quit,
Fair point, post above edited.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
BenTrabetere
Level 5
Level 5
Posts: 945
Joined: Sat Jul 19, 2014 12:04 am
Location: Hattiesburg, MS USA

Re: gm10's Linux Mint Tools PPA

Post by BenTrabetere » Sat Aug 10, 2019 11:01 am

gm10 wrote:
Sat Aug 10, 2019 12:54 am
Yep, sorry about that. To tell the story in changelog excerpts, this is how it went yesterday:
I read the changelog and assumed something was running sideways. I thought it was fixed based on the last entry I saw in the changelog.

Code: Select all

mintupdate (1:5.7.8~gm10) bionic; urgency=medium

  * Fix mainline kernel updates getting installed during a self-update
But that fix only works for the next self-update, of course, so if you're stuck on 5.7.7 relog/restart like you did, or kill and restart the process otherwise (killall mintUpdate;mintupdate in a terminal).
I am at 5.7.7-8. I know what to do if it happens again.

[/quote]Sorry for the hiccup, not my finest patch day yesterday. :oops:[/quote]
I will be happy to trade my yesterday for your yesterday. Mine started off by hitting an irrigation sprinkler head while mowing the lawn. To add insult to injury, my neighbor witnessed it. The smug <insert Sam Jackson line, here> strolled over to say he liked the new fountain. :evil:

gm10
Level 18
Level 18
Posts: 8157
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Sat Aug 10, 2019 11:12 am

BenTrabetere wrote:
Sat Aug 10, 2019 11:01 am
I thought it was fixed based on the last entry I saw in the changelog.
[...]
I am at 5.7.7-8. I know what to do if it happens again.
Oh yes it is fixed, so it will not happen again. The problem is when you're reading the self-update changelog about something being fixed in the update, then you're still reading that on the broken version. The fix only takes effect after mintupdate has restarted - which 5.7.6 could not. ;)
BenTrabetere wrote:
Sat Aug 10, 2019 11:01 am
I will be happy to trade my yesterday for your yesterday. Mine started off by hitting an irrigation sprinkler head while mowing the lawn. To add insult to injury, my neighbor witnessed it. The smug <insert Sam Jackson line, here> strolled over to say he liked the new fountain. :evil:
Haha, it's pretty much obligatory to say that though. :twisted:
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
Drugwash
Level 2
Level 2
Posts: 67
Joined: Fri Jun 07, 2019 6:40 am
Location: Ploieşti, RO

Re: gm10's Linux Mint Tools PPA

Post by Drugwash » Sat Aug 10, 2019 12:00 pm

gm10 wrote:
Sat Aug 10, 2019 4:12 am
[...] people have time to complain on the weekend, haha.
Well, people usually have barbeques on weekends so you get complaints on Mondays, first hour in the morning. :P :D
gm10 wrote:
Sat Aug 10, 2019 4:12 am
I wanted to get it out of the way rather than have everybody run into the issue next week.
We'll se how that goes, come Monday. ;) Until then have a great weekend! 8)

gm10
Level 18
Level 18
Posts: 8157
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Sat Aug 10, 2019 12:22 pm

Drugwash wrote:
Sat Aug 10, 2019 12:00 pm
We'll se how that goes, come Monday. ;) Until then have a great weekend! 8)
It is going to be ok, users that skipped 5.7.6 won't run into the issue, and I didn't have terribly many downloads yet when I pushed 5.7.7 on Friday. You guys are the unlucky few early adopters. ;)

Now off with you, enjoy your weekend indeed. :D
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
Drugwash
Level 2
Level 2
Posts: 67
Joined: Fri Jun 07, 2019 6:40 am
Location: Ploieşti, RO

Re: gm10's Linux Mint Tools PPA

Post by Drugwash » Sat Aug 10, 2019 12:35 pm

We should make the best out of each and every second because they all go by and never come back. ;)

Take care, my friend. 8)

User avatar
trytip
Level 10
Level 10
Posts: 3464
Joined: Tue Jul 05, 2016 1:20 pm

Re: gm10's Linux Mint Tools PPA

Post by trytip » Tue Aug 13, 2019 9:45 am

hey gm10
i'm trying to test out amdgpu-pro but it needs kernel 4.15. when i click install in the update manager linux kernel section nothing happens. do you think this is a ppa issue or ubuntu? are the kernels in your script coming from mainline only?
Image

gm10
Level 18
Level 18
Posts: 8157
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Tue Aug 13, 2019 10:07 am

trytip wrote:
Tue Aug 13, 2019 9:45 am
do you think this is a ppa issue
Yes, diagnosis was PEBKAC on my end (typo in last week's update). Will work again after the next self-update that will become available in a few minutes (update: it is now). Good thing I have you guys as my beta testers. :P
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
Drugwash
Level 2
Level 2
Posts: 67
Joined: Fri Jun 07, 2019 6:40 am
Location: Ploieşti, RO

Re: gm10's Linux Mint Tools PPA

Post by Drugwash » Tue Aug 13, 2019 2:35 pm

Hi, gm10. Do you see what I see...?
Wasted space.png
Hint: wasted window space and badly formatted text in the changelog. 8)

Besides that, there's one other thing that bothers me: kernel (and not only) update size. What do I mean by that? Let me explain.
Usually when a kernel update is present I see its size like 2kB or so. But when I actually start the update there is a popup saying that it depends on this and that package, and if I allow them there will be a few dozen megabytes to download instead of those 2kB.
Now, my current 3G subscription appears to be unlimited in size so I can download as much as I want without a drop in speed or extra charge. But until recently I used a subscription (which is still valid and usable as a fallback) that only allowed 5GB per month at full speed, beyond which download speed dropped to ~15kB/s. I can only imagine there may be others with such limited subscription so it may be in their interest to see from the very beginning the real size of the download packages in order to avoid further interruptions, disabling of items and so on if they want to preserve their download quota.
Do you think it can be done, and not only for kernel packages but for all packages that have "hidden" dependencies?

gm10
Level 18
Level 18
Posts: 8157
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Tue Aug 13, 2019 3:04 pm

Drugwash wrote:
Tue Aug 13, 2019 2:35 pm
Hi, gm10. Do you see what I see...?
Actually no, I do not. The last known issue I was aware of with trying to get the changelog to auto-size (all because of you, mind you :P) was fixed in 5.7.6, so unless you updated from something older than that (if you installed Friday's updates you would have been on 5.7.8, so no) I am not aware of the issue and also do not know how to reproduce it. Is this a regression for you, anything particular you did or change to cause it?
Drugwash wrote:
Tue Aug 13, 2019 2:35 pm
Besides that, there's one other thing that bothers me: kernel (and not only) update size.
Yes, it's a known issue, but somewhere on the list of "would be nice to have". It's not just the download and installed size but also the package listing. Currently dependencies only get checked when you try to install an update. Something for a rainy day...

PS: Thx for hiding my email from the changelog but it's just a throwaway anyway that I set up with a free service just for the PPA. I haven't once checked that inbox, so I'm not worried about spam. ;)
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
Drugwash
Level 2
Level 2
Posts: 67
Joined: Fri Jun 07, 2019 6:40 am
Location: Ploieşti, RO

Re: gm10's Linux Mint Tools PPA

Post by Drugwash » Tue Aug 13, 2019 4:14 pm

I've always been up to date with all updates, yours included so it couldn't have possibly been an older one.
What I changed was the font size somewhere in the custom theme based on the previous Mint-X; I went from 9pt to 8pt. Newest official change was from 9pt to 10pt, which I find ridiculously large for my screen. Other than that, nothing that could affect the display of the changelog box. But that change was on 2019.08.07, while a screenshot from 2019.08.09 shows the changelog box without a horizontal scrollbar, although the formatting is still off in that version.
Updater20190809.png
And here's another screenshot, a week earlier (dunno the versions, you may guess based on release dates):
Updater20190802.png
I heard it's gonna be a storm in a couple days, maybe those size things get done about then. :roll: :P :D

As for the e-mail address(es), I guess it's better safe than sorry. Who knows when the need to use such addresses may rise. :wink:

gm10
Level 18
Level 18
Posts: 8157
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Tue Aug 13, 2019 4:28 pm

Drugwash wrote:
Tue Aug 13, 2019 4:14 pm
What I changed was the font size somewhere in the custom theme based on the previous Mint-X; I went from 9pt to 8pt. Newest official change was from 9pt to 10pt, which I find ridiculously large for my screen. Other than that, nothing that could affect the display of the changelog box.
No, actually looking at the screenshots closely, what you changed was change your system monospace font to a non-monospace font. Since the width gets calculated based on the assumption that the font is monospace, that's what throws it off. So this is working as intended, although as previously discussed for the non-monospace option, I could calculate based on a "W" I guess.

edit: Although I am having trouble reproducing this even if I change the monospace font to a non-monospace font, it still seems to work correctly. Hmm...
Last edited by gm10 on Wed Aug 14, 2019 3:13 am, edited 1 time in total.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

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

Re: gm10's Linux Mint Tools PPA

Post by all41 » Tue Aug 13, 2019 5:27 pm

These files do not show up in Update Manager even after refresh:

Code: Select all

uno@labonline ~ $ apt list --upgradable
Listing... Done
mintmenu/bionic,bionic 1:6.1.0~gm10 all [upgradable from: 5.9.1]
mozo/bionic,bionic 1.23.0-5~gm10 all [upgradable from: 1.20.0-1mint1]
uno@labonline ~ $ 
Synaptic also shows these pakages have not been installed:
Synaptic.jpg
Update Manager has ancient history of these files:
UM.jpg
I prefer not to apt upgrade because of some UM blacklists (these files are not on that list)

gm10
Level 18
Level 18
Posts: 8157
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Tue Aug 13, 2019 5:51 pm

all41 wrote:
Tue Aug 13, 2019 5:27 pm
These files do not show up in Update Manager even after refresh:
This is also working as intended. To quote from the PPA description:
The mintmenu and mozo packages can only be installed if you have MATE 1.22 available in your software sources (typically via the Linux Mint 19.2 Tina repositories).
apt list -u lists them but you cannot actually install them. They will become installable once you upgrade to Linux Mint 19.2. To further quote from the PPA description:
Unfortunately this is the only way I can offer a single PPA for all point releases and editions of LM 19.x.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

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

Re: gm10's Linux Mint Tools PPA

Post by all41 » Tue Aug 13, 2019 6:03 pm

gm10 wrote:
Tue Aug 13, 2019 5:51 pm
all41 wrote:
Tue Aug 13, 2019 5:27 pm
These files do not show up in Update Manager even after refresh:
This is also working as intended. To quote from the PPA description:
The mintmenu and mozo package can only be installed if you have MATE 1.22
available in your software sources (typically via the Linux Mint 19.2 Tina
repositories).
apt list -u lists them but you cannot actually install them. They will become installable once you upgrade to Linux Mint 19.2.
Yep--Now I remember reading about that in another of your posts.
Seems strange that apt and Synaptic would show them as upgradable using 19.1 and Mate 1.20 though.
But I suppose they are upgradable in the sense that 19.1 is upgradable to 19.2.
I do have a 19.2 that was upgraded inplace from 19.1 and all went smoother than expected but for this daily system I will
do a fresh install.
Thanks for the info.

t42
Level 1
Level 1
Posts: 9
Joined: Mon Jan 20, 2014 6:48 pm

Re: gm10's Linux Mint Tools PPA

Post by t42 » Tue Aug 13, 2019 6:16 pm

Hello,
Thank you for your LMT.
Small thing: If you switch on the kernel flavour mode, then the kernel list is ambiguous, because its interpretation depends on state of the kernel flavour switch.
Maybe it would be more convenient to retain "low-latency" and "generic" label on each line in the kernel list (and this will prevent erroneous installation if by chance you click wrong flavour).
Flavour.png
installed.png
-=t42=-

gm10
Level 18
Level 18
Posts: 8157
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Tue Aug 13, 2019 6:18 pm

all41 wrote:
Tue Aug 13, 2019 6:03 pm
Seems strange that apt and Synaptic would show them as upgradable using 19.1 and Mate 1.20 though.
No, actually this is because they work the same as Update Manager does as I explained to Drugwash above. Dependencies only get checked once you actually try to install. So the package gets listed as upgradable because the version number in the PPA is higher, but you'll fail to install it because you cannot satisfy the dependencies I added to the package. I had to do it that way because menus for MATE 1.22+ are incompatible with menus for previous MATE releases.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

gm10
Level 18
Level 18
Posts: 8157
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Tue Aug 13, 2019 6:26 pm

t42 wrote:
Tue Aug 13, 2019 6:16 pm
Small thing: If you switch on the kernel flavour mode, then the kernel list is ambiguous, because its interpretation depends on state of the kernel flavour switch.
Maybe it would be more convenient to retain "low-latency" and "generic" label on each line in the kernel list (and this will prevent erroneous installation if by chance you click wrong flavour).
Yes, it was done like this one purpose to keep the list less busy. You cannot erroneously install the wrong flavour because only kernels of the flavour you selected in the dropdown are offered for installation. Other kernels are only shown if they are already installed, you can only remove them. At best you can forget you switched flavours, I suppose. But the queue confirmation and mass removal confirmation windows always show the flavour with the version no matter what to avoid confusion there.

It's not that this could not be changed, I'm just not sure it's necessary. I'm willing to listen to more feedback on this though.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
BenTrabetere
Level 5
Level 5
Posts: 945
Joined: Sat Jul 19, 2014 12:04 am
Location: Hattiesburg, MS USA

Re: gm10's Linux Mint Tools PPA

Post by BenTrabetere » Tue Aug 13, 2019 8:20 pm

gm10 wrote:
Tue Aug 13, 2019 10:07 am
Good thing I have you guys as my beta testers.
The 1:5.7.9 update went through without any problems for me. Is this a bug that needs to be reported? :)

Thanks for your efforts and work. TR

gm10
Level 18
Level 18
Posts: 8157
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Wed Aug 14, 2019 1:47 am

BenTrabetere wrote:
Tue Aug 13, 2019 8:20 pm
gm10 wrote:
Tue Aug 13, 2019 10:07 am
Good thing I have you guys as my beta testers.
The 1:5.7.9 update went through without any problems for me. Is this a bug that needs to be reported? :)
:lol: :lol: :lol:

Thanks for that. :P
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

Post Reply

Return to “Community Projects”