Simply installing New Releases

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
CharlesV
Administrator
Posts: 7967
Joined: Sun Jul 07, 2019 5:11 pm

Re: Simply installing New Releases

#31 Post by CharlesV »

richb wrote: Thu Jun 08, 2023 12:50 pm Is that script different than the MX tool "User Installed Packages"? The output looks the same.
I believe it is either the same script for very close as UIP.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
CharlesV
Administrator
Posts: 7967
Joined: Sun Jul 07, 2019 5:11 pm

Re: Simply installing New Releases

#32 Post by CharlesV »

AA BB wrote: Thu Jun 08, 2023 3:30 pm CharlesV wrote:

" I run this script on my old machine, which shows me what *I* have installed, and then use it to decide what I want to install on my new machine.
CODE: SELECT ALL
comm -23 <(apt-mark showmanual | sed 's/[: \t].*$//' | sort -u) <( { sed 's/[: \t].*$//' /usr/share/antiX/installed-packages.txt ; dpkg-query -W -f '${Depends}\n' | sed 's/([^)]*)//g; s/ //g; s/,/\n/g' | grep -vF '|' ; } | sort -u) > Packages-installed-by-me.txt"
"


Is there a script to show what was deleted ??
The only way I think that would work is to do a list of ALL installed apps, then compare against a fresh install. (Which would be different based upon WHICH MX verison and sub version you installed originally. )

Basically a diff against the two lists, but you would have to factor the version updates too.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Charlie Brown

Re: Simply installing New Releases

#33 Post by Charlie Brown »

AA BB wrote: Thu Jun 08, 2023 3:30 pmIs there a script to show what was deleted ??

Code: Select all

sudo apt list -i > Currently-installed-packages.txt
diff:

/usr/share/antiX/installed-packages.txt
Currently-installed-packages.txt
Packages-installed-by-me.txt

(Roughly)

(For the current system)

User avatar
CharlesV
Administrator
Posts: 7967
Joined: Sun Jul 07, 2019 5:11 pm

Re: Simply installing New Releases

#34 Post by CharlesV »

Charlie Brown wrote: Thu Jun 08, 2023 4:09 pm
AA BB wrote: Thu Jun 08, 2023 3:30 pmIs there a script to show what was deleted ??

Code: Select all

sudo apt list -i > Currently-installed-packages.txt
diff:

/usr/share/antiX/installed-packages.txt
Currently-installed-packages.txt
Packages-installed-by-me.txt

(Roughly)

(For the current system)
Very Nice!!
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
Stevo
Developer
Posts: 14828
Joined: Fri Dec 15, 2006 7:07 pm

Re: Simply installing New Releases

#35 Post by Stevo »

asqwerth wrote: Thu Jun 08, 2023 2:57 pm UIP is not found in mx19 AFAIK, so users upgrading from 19 to 23 will have to use that script.
I didn't follow the development thread, so I don't know if that's because it uses features only available in MX 21 and up, or just hasn't been packaged for MX 19.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

AA BB
Posts: 392
Joined: Mon Nov 11, 2019 10:49 pm

Re: Simply installing New Releases

#36 Post by AA BB »

Charlie Brown wrote
"diff:

/usr/share/antiX/installed-packages.txt
Currently-installed-packages.txt
Packages-installed-by-me.txt
"

I assume this should be translated into the command :
diff /usr/share/antiX/installed-packages.txt Currently-installed-packages.txt >Packages-installed-by-me.txt

Correct ?

User avatar
CharlesV
Administrator
Posts: 7967
Joined: Sun Jul 07, 2019 5:11 pm

Re: Simply installing New Releases

#37 Post by CharlesV »

I think he meant that the diff of the installed-packages and currently installed packages would give you the "what was uninstalled"

Then you have to factor in the Packages-installed-by-me

But lets see what he says :-)
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
asqwerth
Developer
Posts: 8036
Joined: Sun May 27, 2007 5:37 am

Re: Simply installing New Releases

#38 Post by asqwerth »

Stevo wrote: Thu Jun 08, 2023 4:34 pm
asqwerth wrote: Thu Jun 08, 2023 2:57 pm UIP is not found in mx19 AFAIK, so users upgrading from 19 to 23 will have to use that script.
I didn't follow the development thread, so I don't know if that's because it uses features only available in MX 21 and up, or just hasn't been packaged for MX 19.
No idea. @fehlix ?
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

Charlie Brown

Re: Simply installing New Releases

#39 Post by Charlie Brown »

AA BB wrote: Thu Jun 08, 2023 6:00 pm... I assume this should be translated into the command ...
Since the lists don't look exactly the same, first we need to make them look identical. That's why I wrote "roughly".

Also, you would say: 'currently installed packages' minus 'original list' already gives packages installed by the user, but these two are counting just with apt, the other one also counts dpkg installed ones etc. Therefore it'll be better to include that one separately in the formula not to miss anything.

So, something like this, say:

The Original list: ABCDE
Current list: ABFGJK

User Installed Packages list: FGJK

( CDE were removed by the user )


... Then (whatever way):

installed-packages.txt - (Currently-installed-packages.txt - Packages-installed-by-me.txt) = Original Packages Removed by the User

Again, just a rough idea :)


(Yes, that script is the core of the MX Tool that provided a gui)

User avatar
limotux
Posts: 186
Joined: Tue Jul 27, 2021 9:24 am

Re: Simply installing New Releases

#40 Post by limotux »

Jakob77 wrote: Thu Jun 08, 2023 11:44 am limotux

I can also vote for MX working in the direction of using automatic rolling upgrades.
My 2 cents! I personally believe this is the way any OS should be.
I understand some would say point releases are more stable than rolling release. I agree with that for sure (theoretically at least), but still the way to upgrade can be the same as rolling, just an update not a fresh install! Developers can control what updates and when to get updated/upgraded.

I do not see it really convenient to do a fresh install again once you already installed a system.
MX-23.3_KDE_x64 Libretto May 19 2024, Kernel: 6.1.0-23-amd64 x86_64, KDE Plasma -Init: SysVinit - quad core Intel Core i7 - SSD: Samsung SSD 250GB, Memory: 7.51 GiB
I am not techie. Installed 13 Jun, 2024

Post Reply

Return to “MX Help”