Well I found your idea very interesting.
I am not programmer so I can't help on coding but I can test
the script when/if created![]()
after installing knoppix 3.3 with knoppix-installer i decided to try and update the system
note: if you don't wan't a swap partition you must export IGNORE_CHECK=1 or it won't let you proceed
i was warned against useing dist-upgrade as it tends to kill kde
so i used apt-get upgrade and it upgraded some stuff but a lot was not upgraded
after some manual work i managed to get it to the point of 0 not upgraded but it was quite a bit of work and involved removeing some broken devel packages and such
this is obviously beyond a newbie
my idea is to have a program which works out what pacakges have been added upgraded downgraded or removed since my install (useing dpkg -l output)
then the program can be run on another machine to apply the changes file this will be done by comparing the changes file with the local dpkg-l and generating an apt-get command (with packge versions included on the command line)
what do people think if you like the idea i may well code it![]()
Well I found your idea very interesting.
I am not programmer so I can't help on coding but I can test
the script when/if created![]()
ok i discovered dpkg -l output to be unsuitable because it truncates important fields lukilly the list of installed packages is in /var/lib/dpkg/status in plain text
however this file is not sorted in any way which could make compareing harder
COLUMNS=120 dpkg -l | grep ii to get a listing of everything installed 120 columns wide if you make the console window > 120 wide then everything will be on one line per package installed.Originally Posted by plugwash
if i set witdth 120 am i gaurenteed to get the full names and versions
or is there a still chance of something getting cut short
There is no guarentee that the full package name will not be larger than the column if it is increase the size of the column number and repeat the command.Originally Posted by plugwash

MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00
$1619.30
Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003
$639.69
BROADCOM 05-50077-01 PCI-E 4.0 x8 PCI-Express MegaRAID 9560-8i RAID Controller
$714.99
Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00
OWC Mercury Elite Pro Quad 4 Bay RAID Storage Enclosure USB 3.1 Gen 2 No Drives
$149.95
Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller
$64.99
Broadcom Avago LSI MegaRAID 9460-8i 12Gb/s SAS SATA NVMe RAID Controller
$249.97
Inspur LSI YZCA-00424-101 12Gbps SAS 3.0 RAID Controller CARD HBA HDD
$14.99
1 Dell Ultra SSD M.2 NVMe PCI-Express x16 Solid State Storage Adapter Card 6N9RH
$59.99
9300-8i LSI SAS3008 8-Port 12Gb PCIe IT mode ZFS FreeNAS unRAID 2*SFF-8643 US
$49.50