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

Bug#176108: marked as done (apt: mistake in prefernces file location not caught)



Your message dated Sat, 11 Jan 2003 00:57:40 -0700 (MST)
with message-id <[🔎] Pine.LNX.3.96.1030111005640.6114F-100000@wakko.debian.net>
and subject line Bug#176108: apt: mistake in prefernces file location not caught
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.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Jan 2003 08:44:06 +0000
>From jidanni@dman.ddts.net Fri Jan 10 02:44:05 2003
Return-path: <jidanni@dman.ddts.net>
Received: from smtp1.apol.com.tw (smtp.ht.net.tw) [203.79.224.62] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18Wulp-0003iE-00; Fri, 10 Jan 2003 02:44:05 -0600
Received: from debian (TC210-203-44-142.3-16.pl.ebtnet.net [210.203.44.142])
	by smtp.ht.net.tw (8.9.3/8.9.3) with ESMTP id QAA8878507
	for <submit@bugs.debian.org>; Fri, 10 Jan 2003 16:44:06 +0800 (CST)
Received: from jidanni by debian with local (Exim 3.36 #1 (Debian))
	id 18WuPk-0001Ag-00; Fri, 10 Jan 2003 16:21:16 +0800
Content-Type: text/plain; charset="BIG5"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Dan Jacobson" <jidanni@dman.ddts.net>
To: "Debian Bug Tracking System" <submit@bugs.debian.org>
Subject: apt: mistake in prefernces file location not caught
X-Mailer: reportbug 2.2
Date: Fri, 10 Jan 2003 16:21:15 +0800
Message-Id: <[🔎] E18WuPk-0001Ag-00@debian>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.6 required=5.0
	tests=SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: 

Package: apt
Version: 0.5.4
Severity: minor
File: /usr/share/man/man8/apt-get.8.gz

gentlemen, if one messes up with the -o here, no error is raise, no
warning is given

apt-get -o Dir::Etc::Preferences=some/invalid/place \
-s install libc6
...Building Dependency Tree... 50%
Building Dependency Tree... 50%
(funny, same line repated)

The following extra packages will be installed:
  libc6-dev locales
3 packages upgraded, 0 newly installed, 0 to remove and 685  not upgraded.
Inst libc6-dev (2.3.1-9 Debian:unstable) []
Inst locales (2.3.1-9 Debian:unstable) []
Inst libc6 (2.3.1-9 Debian:unstable)
Conf libc6 (2.3.1-9 Debian:unstable)
Conf libc6-dev (2.3.1-9 Debian:unstable)
Conf locales (2.3.1-9 Debian:unstable)

at least make a note that no checks are made on the apt-get and
apt.conf man pages.

wait! some checks are indeed made:
# apt-get -o Dir::Etc::Preferences=$PWD \
-s install libc6

E: Read error - read (21 Is a directory)

so dirs will be caught but not files!

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux debian 2.4.19-k7 #1 Sun Oct 6 20:29:56 EST 2002 i686
Locale: LANG=zh_TW.Big5, LC_CTYPE=zh_TW.Big5

Versions of packages apt depends on:
ii  libc6                        2.2.5-15    GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2       1:2.95.4-12 The GNU stdc++ library

-- no debconf information


---------------------------------------
Received: (at 176108-done) by bugs.debian.org; 11 Jan 2003 07:57:41 +0000
>From jgg@debian.org Sat Jan 11 01:57:41 2003
Return-path: <jgg@debian.org>
Received: from shawidc-mo1.cg.shawcable.net (pd2mo3so.prod.shaw.ca) [24.71.223.10] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18XGWT-0002r1-00; Sat, 11 Jan 2003 01:57:41 -0600
Received: from pd5mr1so.prod.shaw.ca
 (pd5mr1so-qfe3.prod.shaw.ca [10.0.141.232]) by l-daemon
 (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0H8J00CNKI44JH@l-daemon> for 176108-done@bugs.debian.org; Sat,
 11 Jan 2003 00:57:40 -0700 (MST)
Received: from pn2ml4so.prod.shaw.ca
 (pn2ml4so-qfe0.prod.shaw.ca [10.0.121.148]) by l-daemon
 (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0H8J00AC5I44OA@l-daemon> for 176108-done@bugs.debian.org; Sat,
 11 Jan 2003 00:57:40 -0700 (MST)
Received: from wakko.debian.net ([24.86.195.248])
 by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0H8J00L9PI44ZZ@l-daemon> for 176108-done@bugs.debian.org; Sat,
 11 Jan 2003 00:57:40 -0700 (MST)
Received: from localhost	([127.0.0.1] helo=wakko.debian.net ident=jgg)
	by wakko.debian.net with smtp (Exim 3.35 #1 (Debian))
	id 18XGWS-0002HH-00; Sat, 11 Jan 2003 00:57:40 -0700
Date: Sat, 11 Jan 2003 00:57:40 -0700 (MST)
From: Jason Gunthorpe <jgg@debian.org>
Subject: Re: Bug#176108: apt: mistake in prefernces file location not caught
In-reply-to: <[🔎] E18WuPk-0001Ag-00@debian>
X-Sender: jgg@wakko.debian.net
To: Dan Jacobson <jidanni@dman.ddts.net>, 176108-done@bugs.debian.org
Cc: APT Development Team <deity@lists.debian.org>
Message-id: <[🔎] Pine.LNX.3.96.1030111005640.6114F-100000@wakko.debian.net>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
Delivered-To: 176108-done@bugs.debian.org
X-Spam-Status: No, hits=-8.1 required=5.0
	tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
	      SPAM_PHRASE_00_01,USER_AGENT_PINE
	version=2.41
X-Spam-Level: 


On Fri, 10 Jan 2003, Dan Jacobson wrote:

> gentlemen, if one messes up with the -o here, no error is raise, no
> warning is given

It is entirely legitimate and desired to have a non-existant preferences
file. This is how APT ships. Messages are only printed if the file cannot
be opened for some kind of unusual reason.

Jason



Reply to: