[Solved] mintupdate -history export

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Lanser
Level 4
Level 4
Posts: 346
Joined: Mon Mar 08, 2010 5:12 am

[Solved] mintupdate -history export

Post by Lanser »

Does anyone know how to export the update history from mintupdate ? [LM19.1 Mate 64]
A search in the obvious places doesn't locate a txt or a log file and mintupdate-cli doesn't seem to have a history option.
I've been using screen grabs, but a txt file would be more useful.
many thanks
Lanser
Last edited by Lanser on Tue Jul 09, 2019 7:15 am, edited 1 time in total.
exit stage left
gm10
Level 20
Level 20
Posts: 10999
Joined: Thu Jun 21, 2018 5:11 pm

Re: mintupdate -history export

Post by gm10 »

May I ask what you would want that for?

mintupdate parses dpkg's log to generate the history but without knowing what you are trying to achieve I'm not sure that's the best answer to give you.
Lanser
Level 4
Level 4
Posts: 346
Joined: Mon Mar 08, 2010 5:12 am

Re: mintupdate -history export

Post by Lanser »

Sure. The history view provides a detailed list of the individual updated files which I find useful for problem determination.
The primary update descriptions generally only provide a high level description of an update that often includes multiple files.
Occasionally one of these files causes an unexpected problem with HW or another app. Having a list just makes PD a bit easier.

Lanser
exit stage left
gm10
Level 20
Level 20
Posts: 10999
Joined: Thu Jun 21, 2018 5:11 pm

Re: mintupdate -history export

Post by gm10 »

No I get that, that's why the history exists, but that still doesn't explain why you'd want to export it/screenshot it, and that's what I was really wondering about.
Lanser
Level 4
Level 4
Posts: 346
Joined: Mon Mar 08, 2010 5:12 am

Re: mintupdate -history export

Post by Lanser »

Old habits. When I see updates that are more complex and maybe have implications down track, I document and keep a record for "change control".
Maybe I have been in IT for too long...but it has helped me identify and fix a few issues over the years
Lanser
exit stage left
gm10
Level 20
Level 20
Posts: 10999
Joined: Thu Jun 21, 2018 5:11 pm

Re: mintupdate -history export

Post by gm10 »

Well, the history doesn't go away, but if you want a separate record for your own documentation then the answer I'll give you is:

Code: Select all

zgrep -e " upgrade " -sh /var/log/dpkg.log*
Lanser
Level 4
Level 4
Posts: 346
Joined: Mon Mar 08, 2010 5:12 am

Re: mintupdate -history export

Post by Lanser »

Thank you gm10. Perfect. I should have realised that it was "dpkg" action.
Using timeshift snapshots to restore is often the quickest way to fix an update problem, but I learn more if I try to understand the root cause and fix options.

cheers
Lanser
exit stage left
Post Reply

Return to “Software & Applications”