Hello!
Remove the foreign repo, from the file which you added it.
It is /etc/apt/sources.list or in /etc/apt/sources.d/ some file
Check that did right, do as root or if you use sudo, sudo apt update.
When all is ok, use this:You probably need to install sed to get above work.
Remove the foreign repo, from the file which you added it.
It is /etc/apt/sources.list or in /etc/apt/sources.d/ some file
Check that did right, do as root or if you use sudo, sudo apt update.
When all is ok, use this:
Code:
dpkg-query -W -f '${Package}\n' | xargs apt-cache policy | sed -ne '/^ /{H;$!b};x;/\*\*\* [^\n]*\n[^\n]*\/var\/lib\/dpkg\/status/p'Statistics: Posted by arzgi — 2026-01-04 16:43