How to upgrade without losing installed applications?  [Solved]

When you run into problems installing MX Linux XFCE
Post Reply
Message
Author
bushyiii
Posts: 48
Joined: Wed Mar 21, 2018 2:46 pm

How to upgrade without losing installed applications?

#1 Post by bushyiii »

My laptop dual boots with Win10 and MX19.4, my home folder is on a separate partition so it's safe when I overwrite my current MX partition to upgrade to MX-21. My question is about any additional software that's currently installed, is there a way to identify and re-install efficiently?

Code: Select all

System:    Host: <filter> Kernel: 4.19.0-6-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-4.19.0-6-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0 
           Distro: MX-19.4_x64 patito feo October 21  2019 base: Debian GNU/Linux 10 (buster) 
Machine:   Type: Portable System: Dell product: Inspiron 5548 v: A10 serial: <filter> Chassis: 
           type: 8 v: A10 serial: <filter> 
           Mobo: Dell model: 03P3GD v: A00 serial: <filter> UEFI [Legacy]: Dell v: A10 
           date: 05/28/2019 
Battery:   ID-1: BAT1 charge: 25.0 Wh condition: 28.7/45.1 Wh (64%) volts: 12.4/10.8 
           model: SANYO DELL R0JM64B5 type: Li-ion serial: <filter> status: Charging 
CPU:       Topology: Dual Core model: Intel Core i7-5500U bits: 64 type: MT MCP arch: Broadwell 
           family: 6 model-id: 3D (61) stepping: 4 microcode: 2F L2 cache: 4096 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19155 
           Speed: 798 MHz min/max: 500/3000 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 4: 798 
           Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, 
           STIBP: conditional, RSB filling 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel HD Graphics 5500 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:1616 
           Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2) v: 4.5 Mesa 18.3.6 
           compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel Broadwell-U Audio vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 00:03.0 chip ID: 8086:160c 
           Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Dell 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:9ca0 
           Sound Server: ALSA v: k4.19.0-6-amd64 
Network:   Device-1: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet 
           vendor: Dell RTL810xE driver: r8169 v: kernel port: 3000 bus ID: 02:00.0 
           chip ID: 10ec:8136 
           IF: eth0 state: down mac: <filter> 
           Device-2: Intel Wireless 3160 driver: iwlwifi v: kernel port: 3000 bus ID: 03:00.0 
           chip ID: 8086:08b3 
           IF: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 704.24 GiB used: 124.01 GiB (17.6%) 
           ID-1: /dev/sda vendor: Samsung model: SSD 840 PRO Series size: 238.47 GiB block size: 
           physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 6B0Q scheme: MBR 
           ID-2: /dev/sdb type: USB vendor: Hitachi model: HDP725050GLA360 size: 465.76 GiB 
           block size: physical: 512 B logical: 512 B rotation: 7200 rpm serial: <filter> 
           scheme: GPT 
Partition: ID-1: / raw size: 20.02 GiB size: 19.58 GiB (97.80%) used: 12.17 GiB (62.1%) fs: ext4 
           dev: /dev/sda5 
           ID-2: /home raw size: 144.11 GiB size: 140.85 GiB (97.74%) used: 111.84 GiB (79.4%) 
           fs: ext4 dev: /dev/sda6 
Sensors:   System Temperatures: cpu: 55.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 0 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-beta-trusty.list 
           1: deb [arch=amd64] https://brave-browser-apt-beta.s3.brave.com/ trusty main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian buster-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian buster main contrib non-free
           2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/jellyfin.list 
           1: deb [arch=amd64] https://repo.jellyfin.org/debian buster main unstable
           Active apt repos in: /etc/apt/sources.list.d/megasync.list 
           1: deb https://mega.nz/linux/MEGAsync/Debian_10.0/ ./
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxrepo.com/mx/repo/ buster main non-free
           Active apt repos in: /etc/apt/sources.list.d/surfshark.list 
           1: deb https://ocean.surfshark.com/debian stretch main
           Active apt repos in: /etc/apt/sources.list.d/teamviewer.list 
           1: deb https://linux.teamviewer.com/deb stable main
           No active apt repos in: /etc/apt/sources.list.d/various.list 
           Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
           1: deb http://repo.vivaldi.com/stable/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/windscribe-repo.list 
           1: deb https://repo.windscribe.com/debian buster main
Info:      Processes: 217 Uptime: 49m Memory: 11.65 GiB used: 1.89 GiB (16.2%) Init: SysVinit 
           v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 Shell: quick-system-in 
           running in: quick-system-in inxi: 3.0.36 

User avatar
dolphin_oracle
Developer
Posts: 20010
Joined: Sun Dec 16, 2007 1:17 pm

Re: How to upgrade without losing installed applications?

#2 Post by dolphin_oracle »

http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

bushyiii
Posts: 48
Joined: Wed Mar 21, 2018 2:46 pm

Re: How to upgrade without losing installed applications?

#3 Post by bushyiii »

I tried that once before, didn't go well.

bushyiii
Posts: 48
Joined: Wed Mar 21, 2018 2:46 pm

Re: How to upgrade without losing installed applications?  [Solved]

#4 Post by bushyiii »

Although this doesn't directly answer my question it is a very helpful solution. The following is from reply #4 by Huckleberry Finn in post: viewtopic.php?p=660115#p660115

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

Post Reply

Return to “Installation”