Re: After upgrade, what do you do about "removed" and "obsolete" packages ?
Hi Thomas,
Le 30/05/2024, "Thomas Schmitt" <scdbackup@gmx.net> a écrit:
> Next documenation riddle is what the word "local" means in output lines
> like
>
> linux-image-5.10.0-rc2-ts/now 5.10.0-rc2-ts-37 amd64 [installed,local]
I don't use this but guess it is as in aptitude, where “obsolete/local
packages” are packages that are installed (from dpkg's POV) but not
available from any of the repositories scanned in the last 'apt update'
run.
This happens in particular with:
- packages that used to be in a repo seen by 'apt update' (often, you
installed said packages at that time), but are not included in your
current apt sources (/etc/apt/sources.list,
/etc/apt/sources.list.d/); this usually happens between Debian
releases for some packages shipped by Debian;
- packages that are not in any of the repos seen by 'apt update' and
that you installed from .deb with 'dpkg -i' (I believe the apt
command line tool can also do this); for instance, local packages
you prepared yourself but didn't bother to put in an apt repository.
Regards
--
Florent
Reply to: