🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #149

Re: oldstable packages

#149
From: David Wright
Date: Fri, 16 Oct 2026 14:50
82 lines
6345 bytes
On Fri 16 Oct 2026 at 10:25:35 (+0200), Klaus Jantzen wrote:
> following the documentation for preparing a full-upgrade from Bookworm
> I used
> 
> aptlist'?narrow(?installed, ?not(?origin(Debian)))' to find non-Debian
> packages. Nothing was found but I got a list with 1000 or so entries
> of the form ... apparmor/oldstable,now 3.0.8-3 amd64
> [installed,automatic] appstream/oldstable,now 0.16.1-2+b1 amd64
> [installed,automatic] apt-forktracer/oldstable,oldstable,now 0.9 all
> [installed] apt-listchanges/oldstable,oldstable,now 3.24 all
> [installed] apt-utils/oldstable,now 2.6.1 amd64 [installed] ... What
> should I do with that information? Delete something? How? Leave
> everything as is?

That command gives me just:

  $ apt list '?narrow(?installed, ?not(?origin(Debian)))'
  Listing... Done
  inxi/now 3.3.38-1-1 all [installed,local]
  xtoolwait/now 1.3-6.2 amd64 [installed,local]
  $ 

whereas gives me a couple of thousand:

  $ apt list '?narrow(?installed)'
  Listing...
  2to3/oldstable,now 3.11.2-1 all [installed]
  acl/oldstable,now 2.3.1-3 amd64 [installed,automatic]
  acpi-support-base/oldstable,now 0.143-5.1 all [installed,automatic]
  [ … ]
  $ 

My source file is:

  $ cat /etc/apt/sources.list.d/debian.sources 

  Types: deb
  URIs: http://deb.debian.org/debian
  Suites: bookworm bookworm-updates
  Components: main non-free non-free-firmware contrib
  Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

  Types: deb
  URIs: http://security.debian.org/debian-security
  Suites: bookworm-security
  Components: main non-free non-free-firmware contrib
  Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

  #
  $ 

So I'm wondering what you have in yours, and whether having
oldstable in place of bookworm could lead to your results.

I agree with Anssi, but you might feel more confident were
you to pipe your output through something like:

  | grep -v oldstable,now | grep -v oldstable-security,now

Thus, for example, on my system using the shorter command line:

  $ apt list '?narrow(?installed)' | grep -v oldstable,now | grep -v oldstable-security,now

  WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

  Listing...
  inxi/now 3.3.38-1-1 all [installed,local]
  xtoolwait/now 1.3-6.2 amd64 [installed,local]
  $ 

so the contrast is:

  $ apt list '?narrow(?installed)' | grep -v oldstable,now | grep -v oldstable-security,now | wc -l
  WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
  3
  $ apt list '?narrow(?installed)' | wc -l
  WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
  2187
  $ 

Cheers,
David.
Technical Details
Message-ID: <NORpT-5WpC-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <NOLu9-5SGE-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From: David Wright <deblis@lionunicorn.co.uk>
Newsgroups: linux.debian.user
Subject: Re: oldstable packages
Date: Fri, 16 Oct 2026 16:50:01 +0200
Message-ID: <NORpT-5WpC-1@gated-at.bofh.it>
References: <NOLu9-5SGE-3@gated-at.bofh.it>
X-Original-To: debian-user@lists.debian.org
X-Mailbox-Line: From debian-user-request@lists.debian.org  Fri Oct 16 14:46:56 2026
Old-Return-Path: <nobody@lionunicorn.co.uk>
X-Amavis-Spam-Status: No, score=-1.9 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .lionunicorn. - helo: .bisque.cedar.relay.mailchannels. - helo-domain: .mailchannels.)  FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0 FROM_NBDY_ANON=1.17; rate: -2.33
X-Sender-ID: thundermail|x-authsender|david@lionunicorn.co.uk
X-Sender-ID: thundermail|x-authsender|david@lionunicorn.co.uk
X-Mc-Relay: Junk
X-Mc-Copy: stored-urls
X-Mailchannels-Senderid: thundermail|x-authsender|david@lionunicorn.co.uk
X-Mailchannels-Auth-ID: thundermail
X-Skirt-Eight: 6962da343931d8e0_1792161996354_1227572154
X-Mc-Loop-Signature: 1792161996354:2486402813
X-Mc-Ingress-Time: 1792161996354
Authentication-Results: cloud225.thundercloud.uk;
        spf=pass (sender IP is 24.255.218.34) smtp.mailfrom=nobody@lionunicorn.co.uk smtp.helo=argo.corp
Received-Spf: pass (cloud225.thundercloud.uk: connection is authenticated)
Reply-To: debian-user@lists.debian.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Ppp-Message-ID: 
 <179216198980.4107540.13755300190458321417@cloud225.thundercloud.uk>
X-Ppp-Vhost: lionunicorn.co.uk
X-Rspamd-Queue-ID: 4j5nnd6ZZ6zGnsd
X-Spamd-Result: default: False [3.20 / 999.00];
	REPLYTO_EQ_TO_ADDR(2.00)[];
	ENVFROM_SERVICE_ACCT(1.00)[];
	FORGED_SENDER(0.30)[deblis@lionunicorn.co.uk,nobody@lionunicorn.co.uk];
	ONCE_RECEIVED(0.20)[];
	REPLYTO_MX_GOOD(-0.10)[bendel.debian.org];
	MX_GOOD(-0.10)[mail.lionunicorn.co.uk];
	MIME_GOOD(-0.10)[text/plain];
	TO_MATCH_ENVRCPT_ALL(0.00)[];
	FREEMAIL_ENVRCPT(0.00)[hotmail.co.uk];
	DMARC_NA(0.00)[lionunicorn.co.uk];
	MIME_TRACE(0.00)[0:+];
	UWH_IDENTITY(0.00)[1|0f6dc490a5efc657|t=68|r=0|m=postfix|n=17|h=pppm:1:15/1+pppv:1:16/0|f=nv];
	RCPT_COUNT_ONE(0.00)[1];
	ARC_NA(0.00)[];
	REPLYTO_DOM_NEQ_FROM_DOM(0.00)[];
	MISSING_XM_UA(0.00)[];
	RCVD_COUNT_ONE(0.00)[1];
	R_SPF_SOFTFAIL(0.00)[~all];
	FROM_NEQ_ENVFROM(0.00)[deblis@lionunicorn.co.uk,nobody@lionunicorn.co.uk];
	FROM_HAS_DN(0.00)[];
	RCVD_TLS_ALL(0.00)[];
	TO_DN_NONE(0.00)[];
	RCVD_VIA_SMTP_AUTH(0.00)[];
	R_DKIM_NA(0.00)[];
	ASN(0.00)[asn:34931, ipnet:149.255.56.0/22, country:GB];
	HAS_REPLYTO(0.00)[debian-user@lists.debian.org]
X-Rspamd-Action: no action
X-Rspamd-Server: mailclean11
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832435
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/atI4wvp9QeccUdwg@argo.corp
Approved: robomod@news.nic.it
Lines: 82
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 16 Oct 2026 09:46:26 -0500
X-Original-Message-ID: <atI4wvp9QeccUdwg@argo.corp>
X-Original-References: <adeda7cc-2389-461c-86d3-d13129b8c4bb@mailbox.org>