Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #173861

Re: list installed packages present only in stable

From kamaraju kusumanchi <raju.mailinglists@gmail.com>
Newsgroups linux.debian.user
Subject Re: list installed packages present only in stable
Date 2016-10-26 14:20 +0200
Message-ID <swvlv-3vY-1@gated-at.bofh.it> (permalink)
References <svBCG-bd-9@gated-at.bofh.it> <swbPQ-7oR-23@gated-at.bofh.it> <sweb0-mN-7@gated-at.bofh.it> <swnei-6rW-19@gated-at.bofh.it> <swsxk-1EJ-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Oct 26, 2016 at 5:15 AM, Michael Lange <klappnase@freenet.de> wrote:
> On Tue, 25 Oct 2016 23:36:02 -0400
>
> Hmmm...
> Here I get:
> $ apt-show-versions -b | grep "\<python3.4\>"
> python3.4:amd64/jessie
> python3.4-minimal:amd64/jessie
>
> What does apt-cache say about python3.4? Here I get
> $ apt-cache policy python3.4
> python3.4:
>   Installiert:           3.4.2-1
>   Installationskandidat: 3.4.2-1
>   Versionstabelle:
>  *** 3.4.2-1 0
>         500 http://ftp.de.debian.org/debian/ jessie/main amd64 Packages
>         100 /var/lib/dpkg/status
>
> Not sure why this happens. Maybe the package cache needs to be updated
> first with apt-cache gencaches ? Or isn't jessie in your sources.list?
>

Correct. The output of apt-show-versions will depend on what is listed
in /etc/apt/sources.list. I want the output to be independent of that.
>From the man page of apt-cache

       /etc/apt/sources.list
           Locations to fetch packages from. Configuration Item:
Dir::Etc::SourceList.
       /etc/apt/sources.list.d/
           File fragments for locations to fetch packages from.
Configuration Item: Dir::Etc::SourceParts.

A while ago I decided to move from Jessie to Stretch. So I have

 % inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://httpredir.debian.org/debian/ stretch main contrib non-free
           deb-src http://httpredir.debian.org/debian/ stretch main
contrib non-free
           deb http://httpredir.debian.org/debian/ stretch-updates
main contrib non-free
           deb-src http://httpredir.debian.org/debian/ stretch-updates
main contrib non-free
           deb http://security.debian.org/ stretch/updates main contrib non-free
           deb-src http://security.debian.org/ stretch/updates main
contrib non-free

 % apt-cache policy python3.4
python3.4:
  Installed: 3.4.2-1
  Candidate: 3.4.2-1
  Version table:
 *** 3.4.2-1 100
        100 /var/lib/dpkg/status


But now I find that my system has lots of packages from Jessie which
are no longer present in either Stretch or Sid. I would like get a
list of all such packages and decide if I want to remove them.

-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

list installed packages present only in stable kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2016-10-24 02:50 +0200
  Re: list installed packages present only in stable Cindy-Sue Causey <butterflybytes@gmail.com> - 2016-10-25 17:30 +0200
    Re: list installed packages present only in stable Michael Lange <klappnase@freenet.de> - 2016-10-25 20:00 +0200
      Re: list installed packages present only in stable kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2016-10-26 05:40 +0200
        Re: list installed packages present only in stable Michael Lange <klappnase@freenet.de> - 2016-10-26 11:20 +0200
          Re: list installed packages present only in stable kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2016-10-26 14:20 +0200
            Re: list installed packages present only in stable Frank <zuiderduin@gmx.com> - 2016-10-26 18:00 +0200
            Re: list installed packages present only in stable Michael Lange <klappnase@freenet.de> - 2016-10-26 18:40 +0200
  Re: list installed packages present only in stable Rick Thomas <rbthomas@pobox.com> - 2016-10-29 18:40 +0200
  Re: list installed packages present only in stable kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2016-11-01 07:20 +0100
  Re: list installed packages present only in stable Jonathan Dowland <jmtd@debian.org> - 2016-11-02 11:20 +0100
    Re: list installed packages present only in stable kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2016-11-03 03:20 +0100
      Re: list installed packages present only in stable Jonathan Dowland <jmtd@debian.org> - 2016-11-03 14:10 +0100
        Re: list installed packages present only in stable kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2016-11-04 02:10 +0100
          Re: list installed packages present only in stable Jörg-Volker Peetz <jvpeetz@web.de> - 2016-11-04 14:50 +0100
            Re: list installed packages present only in stable Jörg-Volker Peetz <jvpeetz@web.de> - 2016-11-04 17:20 +0100
              Re: list installed packages present only in stable Jörg-Volker Peetz <jvpeetz@web.de> - 2016-11-04 19:00 +0100
  Re: list installed packages present only in stable steve <dlist@bluewin.ch> - 2016-11-02 11:50 +0100
    Re: list installed packages present only in stable kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2016-11-03 03:30 +0100
      Re: list installed packages present only in stable steve <dlist@bluewin.ch> - 2016-11-03 08:40 +0100
        Re: list installed packages present only in stable Mark Fletcher <mark27q1@gmail.com> - 2016-11-03 10:50 +0100
          Re: list installed packages present only in stable steve <dlist@bluewin.ch> - 2016-11-03 11:00 +0100
            Re: list installed packages present only in stable <tomas@tuxteam.de> - 2016-11-03 12:50 +0100
              Re: list installed packages present only in stable <tomas@tuxteam.de> - 2016-11-03 14:00 +0100
                Re: list installed packages present only in stable steve <dlist@bluewin.ch> - 2016-11-03 14:30 +0100
                Re: list installed packages present only in stable <tomas@tuxteam.de> - 2016-11-03 14:50 +0100
                Re: list installed packages present only in stable steve <dlist@bluewin.ch> - 2016-11-03 15:10 +0100
                Re: list installed packages present only in stable David Wright <deblis@lionunicorn.co.uk> - 2016-11-03 15:20 +0100
                Re: list installed packages present only in stable steve <dlist@bluewin.ch> - 2016-11-03 15:50 +0100
                Re: list installed packages present only in stable <tomas@tuxteam.de> - 2016-11-03 16:40 +0100
              Re: list installed packages present only in stable steve <dlist@bluewin.ch> - 2016-11-03 14:00 +0100
            Re: list installed packages present only in stable Mark Fletcher <mark27q1@gmail.com> - 2016-11-03 23:50 +0100

csiph-web