[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: list installed packages present only in stable



On Thu 03 Nov 2016 at 14:46:05 (+0100), tomas@tuxteam.de wrote:
> On Thu, Nov 03, 2016 at 02:29:07PM +0100, steve wrote:
> > Le 03-11-2016, à 13:58:49 +0100, tomas@tuxteam.de a écrit :
> > 
> > >On Thu, Nov 03, 2016 at 01:51:54PM +0100, steve wrote:
> > >>Le 03-11-2016, à 12:45:46 +0100, tomas@tuxteam.de a écrit :
> > >>
> > >>>Just wondering: what's the respective content of the /etc/apt/sources.list
> > >>>and children?
> > >>
> > >>deb http://httpredir.debian.org/debian/ jessie main
> > >>deb-src http://httpredir.debian.org/debian/ jessie main
> > >
> > >[...]
> > 
> > Which means ?
> > 
> > 
> > >>which is pretty standard isn't?
> > >
> > >Thanks. That's for your Debian Jessie boxes. Is that the same for your
> > >Raspbian box?
> > 
> > cat sources.list
> > deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib
> > non-free rpi
> > 
> > and
> > 
> > cat sources.list.d/raspi.list deb
> > http://archive.raspberrypi.org/debian/ jessie main ui
> 
> Hm. So my hunch was wrong ;-)
> 
> That's really interesting: where does apt-cache get the archive from?
> The packages themselves don't "know" to what archive (or suite) they
> belong -- they may well belong to several different archives and/or
> suites.

I find these searches very difficult to interpret. Perhaps I need to
immerse myself in the terminology and mechanisms behind aptitude etc.

$ aptitude search ~Ajessie~i | wc -l
185
$ aptitude search ~Astable~i | wc -l
2316
$ cat /etc/apt/sources.list
# jessie
# the word above is the name my functions etc use for the distribution because
# lsb_release can be unreliable and slow when running an unreleased distribution.
# one hash, one space, one word, end of line.

# Original installation from ...

# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 CD Binary-1 20110205-17:27]/ squeeze main

# ... but upgraded to wheezy when it was still testing.
# ... then upgraded to jessie when it was still testing.

deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free

deb http://ftp.us.debian.org/debian jessie-backports main contrib non-free
#deb-src http://ftp.us.debian.org/debian jessie-backports main contrib non-free

deb http://ftp.us.debian.org/debian testing main contrib non-free

#
$ 

No trace of the word "stable" in my sources.list and never has been,
unless the squeeze CD originally wrote it there before I changed it
almost straight away.

Cheers,
David.


Reply to: