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

Bug#66508: marked as done (apt: apt-get leaves bad information in /var/lib/dpkg/available)



Your message dated Fri, 30 Jun 2000 20:12:05 -0600 (MDT)
with message-id <[🔎] Pine.LNX.3.96.1000630200932.30430C-100000@wakko.deltatee.com>
and subject line Bug#66508: apt: apt-get leaves bad information in /var/lib/dpkg/available
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 30 Jun 2000 04:58:15 +0000
>From bkuhn@ebb.org Thu Jun 29 23:58:15 2000
Return-path: <bkuhn@ebb.org>
Received: from agnostic.ebb.org [206.112.217.56] (root)
	by master.debian.org with esmtp (Exim 3.12 2 (Debian))
	id 137ssX-0006u6-00; Thu, 29 Jun 2000 23:58:13 -0500
Received: from atheist (mail@atheist [10.0.0.40])
	by agnostic.ebb.org (8.8.7/8.8.7) with ESMTP id AAA27475
	for <submit@bugs.debian.org>; Fri, 30 Jun 2000 00:58:10 -0400
Received: from bkuhn by atheist with local (Exim 2.05 #1 (Debian))
	id 137ssT-00007O-00; Fri, 30 Jun 2000 00:58:09 -0400
Date: Fri, 30 Jun 2000 00:58:09 -0400
From: "Bradley M . Kuhn" <bkuhn@ebb.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Cc: rms@gnu.org
Subject: apt: apt-get leaves bad information in /var/lib/dpkg/available
Message-ID: <[🔎] 20000630005809.A443@ebb.org>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-md5;
	protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz"
X-Mailer: Mutt 1.0i
X-Reportbug-Version: 0.54
X-No-Archive: yes
Delivered-To: submit@bugs.debian.org


--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii

Package: apt
Version: 0.3.19
Severity: important

I have the following in my /etc/apt/sources.list:

deb http://security.debian.org/ potato updates/main
deb http://http.us.debian.org/debian frozen main
deb-src http://http.us.debian.org/debian frozen main
deb http://nonus.debian.org/debian-non-US frozen non-US/main


At one point, I did have references to contrib, but not any more.

I think that an `apt-get update', given that sources.list, should remove any
references to packages that aren't in `main' from /var/lib/dpkg/available.

In other words, I think that /var/lib/dpkg/available should only contain
those packages which are requested by branches in sources.list, and it
should stay in sync as sources.list changes.

This is particularly important on the issue of whether a user wishes to see
non-free packages.  I personally don't, and that's why I removed `contrib'.
Yet, I see in /var/lib/dpkg/available:

Package: staroffice3
Priority: optional
Section: contrib/editors
[...]

And, when I run dpkg -l '*staroff*', I see:
pn  staroffice3    <none>         (no description available)


Fortunately, 
# apt-get install staroffice3

fails with:

E: Package staroffice3 has no installation candidate


But, I think it'd be better if such packages weren't advertised at all, as
long as references thereto aren't in sources.list.

That's not to mention the fact that it is confusing to a user---they see it
in the available file, they see it when they run `dpkg -l', yet the can't
seem to install it.




-- System Information
Debian Release: potato
Architecture: i386
Kernel: Linux atheist 2.2.14 #8 Tue Jan 11 21:25:15 EST 2000 i586

Versions of packages apt depends on:
ii  libc6                         2.1.3-10   GNU C Library: Shared libraries an
ii  libstdc++2.10                 1:2.95.2-4 The GNU stdc++ library            

-- 
Bradley M. Kuhn  -  http://www.ebb.org/bkuhn

--3V7upXqbjpZ4EhLz
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5XCjg53XjJNtBs4cRAbdBAJ4/uknb6QZtebmqK2mIKeopoB29FgCeO1Q3
BZDBvAFede0o2xQL3cfrHQg=
=VUmm
-----END PGP SIGNATURE-----

--3V7upXqbjpZ4EhLz--

---------------------------------------
Received: (at 66508-done) by bugs.debian.org; 1 Jul 2000 02:12:13 +0000
>From jgg@ualberta.ca Fri Jun 30 21:12:13 2000
Return-path: <jgg@ualberta.ca>
Received: from tmmi197-073.telusvelocity.net (wakko.deltatee.com) [209.115.197.73] (mail)
	by master.debian.org with esmtp (Exim 3.12 2 (Debian))
	id 138ClR-0007MG-00; Fri, 30 Jun 2000 21:12:13 -0500
Received: from localhost (wakko.deltatee.com) [127.0.0.1] (jgg)
	by wakko.deltatee.com with smtp (Exim 2.11 #1)
	id 138ClK-0007wG-00 (Debian); Fri, 30 Jun 2000 20:12:06 -0600
Date: Fri, 30 Jun 2000 20:12:05 -0600 (MDT)
From: Jason Gunthorpe <jgg@ualberta.ca>
X-Sender: jgg@wakko.deltatee.com
Reply-To: Jason Gunthorpe <jgg@ualberta.ca>
To: "Bradley M . Kuhn" <bkuhn@ebb.org>, 66508-done@bugs.debian.org
cc: APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#66508: apt: apt-get leaves bad information in /var/lib/dpkg/available
In-Reply-To: <[🔎] 20000630005809.A443@ebb.org>
Message-ID: <[🔎] Pine.LNX.3.96.1000630200932.30430C-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 66508-done@bugs.debian.org



On Fri, 30 Jun 2000, Bradley M . Kuhn wrote:

> I think that an `apt-get update', given that sources.list, should remove any
> references to packages that aren't in `main' from /var/lib/dpkg/available.

apt != dpkg, it does not ever touch dpkg files in any way at all. dselect
(being a dpkg program) will update the available file for you in the way
that dpkg expects them to be updated.

WTH did you CC RMS? I doubt he cares even slightly.

Jason




Reply to: