Re: list installed packages present only in stable
On Tue, 25 Oct 2016 23:36:02 -0400
kamaraju kusumanchi <raju.mailinglists@gmail.com> wrote:
> Thanks for the script. But I do not think it does what I want. For
> example, currently there is a python3.4 package installed on my
> system.
>
> % dpkg -l python3.4 | cut -c 1-72
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Tri
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name Version Architecture Description
> +++-==============-============-============-===========================
> ii python3.4 3.4.2-1 amd64 Interactive high-level obje
>
>
> The output of apt-show-versions does not contain the word jessie. So
> it will not get picked up in the "jessie" variable of your script.
>
> % apt-show-versions -b | grep "\<python3.4\>"
> python3.4:amd64 3.4.2-1 installed: No available version in archive
> python3.4-minimal:amd64 3.4.2-1 installed: No available version in
> archive
>
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?
Regards
Michael
> I think what I need is something that looks against the repository
> itself. For example
>
> % rmadison python3.4
> debian:
> python3.4 | 3.4.2-1 | jessie-kfreebsd | source, kfreebsd-amd64,
> kfreebsd-i386 python3.4 | 3.4.2-1 | jessie | source, amd64,
> arm64, armel, armhf, i386, mips, mipsel, powerpc, ppc64el, s390x
> new:
>
> which shows that this package is available only in Jessie but no
> corresponding version in Stretch or Sid.
>
> But rmadison itself is slow. So I need something that caches this
> information on the local computer for all the packages.
>
> raju
> --
> Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog
>
>
.-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-.
No more blah, blah, blah!
-- Kirk, "Miri", stardate 2713.6
Reply to: