Recently my own debian package repo (use reprepro tool) server got damaged and lost all packages.
Then I rebuild new repo by copying cached packages from all servers (/var/cache/apt/archives).
I used "reprepro includedeb" command ro rebuild the repo.
Now I want to test new repo.
For that, I am planing to delete all old repo link from /etc/apt/sources.list.d/xxx, then add new repo.
After that I want to confirm that, all the installed packages in the server now pointing to this new rep, How to do that?
I also want to confirm that, there should not be any package upgrade when I add new repo ?
I also want to find the packages which are installed in the server and not exist in new repo ?
I am looking for a way to find missing packages in the new repo.