Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   the output of ls /var/lib/apt/lists/*.debian.org_* | wc -l is not constant (http://www.linux-archive.org/debian-user/497514-output-ls-var-lib-apt-lists-debian-org_-wc-l-not-constant.html)

Regid Ichira 03-05-2011 12:13 PM

the output of ls /var/lib/apt/lists/*.debian.org_* | wc -l is not constant
 
The output of that command varies by a +/-1 in the last couple of days.
Why it that? Could it be related to security updates in stable?
The listing itself is related to the contents of /etc/apt/sources.list. My
sources.list uses:

deb security stable/updates main contrib non-free
deb-src security stable/updates main contrib non-free

deb unstable main contrib non-free
deb-src unstable main contrib non-free
deb testing main contrib non-free
deb-src testing main contrib non-free





--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 453085.10627.qm@web120710.mail.ne1.yahoo.com">http ://lists.debian.org/453085.10627.qm@web120710.mail.ne1.yahoo.com

Liam O'Toole 03-05-2011 03:04 PM

the output of ls /var/lib/apt/lists/*.debian.org_* | wc -l is not constant
 
On 2011-03-05, Regid Ichira <regid23@yahoo.com> wrote:
> The output of that command varies by a +/-1 in the last couple of days.
> Why it that? Could it be related to security updates in stable?
> The listing itself is related to the contents of /etc/apt/sources.list. My
> sources.list uses:
>
> deb security stable/updates main contrib non-free
> deb-src security stable/updates main contrib non-free
>
> deb unstable main contrib non-free
> deb-src unstable main contrib non-free
> deb testing main contrib non-free
> deb-src testing main contrib non-free
>

This is not a direct answer to your question, but the contents listed
above warrant some remarks.

First, the file is incomplete. I presume you intentionally omitted the
full URL of the debian mirror on each line.

Second, the file is inconsistent. You are running a mixture of
testing/unstable (nothing wrong with that, if you know what you are
doing), but you are pulling security updates from stable. If you want to
run testing, then you need to tell APT to 'pin' unstable to a low
priority. You should also have a line like this in your sources.list:

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

If you want to run unstable, then you can delete the lines for testing
and stable; unstable is a self-sufficient suite which receives security
updates directly.

--
Liam O'Toole
Cork, Ireland



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: slrnin4noc.m36.liam.p.otoole@dipsy.tubbynet">http://lists.debian.org/slrnin4noc.m36.liam.p.otoole@dipsy.tubbynet


All times are GMT. The time now is 09:05 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.