Hi
I have installed FreeBSD (12.2-RELEASE) on two systems (Say, hosts: FB-1 and FB-2). FB-1 was installed six months ago and contains a lot of packages that were installed from Repo during this time period. However, FB-2 is a fresh install and contains few package installed from Repo. Now I want to compare installed packages between these two OSes, that is which packages are present in FB-1, but are missing from FB-2. One method that comes to my mind is:
I am at work and I cannot access these two FreeBSD systems for next few hours, however, I suspect that this is not the correct way to compare packages. Can you help me in this regard?
Thanks
I have installed FreeBSD (12.2-RELEASE) on two systems (Say, hosts: FB-1 and FB-2). FB-1 was installed six months ago and contains a lot of packages that were installed from Repo during this time period. However, FB-2 is a fresh install and contains few package installed from Repo. Now I want to compare installed packages between these two OSes, that is which packages are present in FB-1, but are missing from FB-2. One method that comes to my mind is:
Code:
pkg info > FB-1-Packages
pkg info > FB- Packages
diff FB-{1,2}-Packages
Thanks