Your message dated Sun, 9 Oct 2005 06:40:19 +1000 with message-id <[EMAIL PROTECTED]> and subject line Bug#332822: wajig search-apt writes to the current working directory instead of /etc/apt/ 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; 8 Oct 2005 19:38:28 +0000 >From [EMAIL PROTECTED] Sat Oct 08 12:38:28 2005 Return-path: <[EMAIL PROTECTED]> Received: from qproxy.gmail.com [72.14.204.198] by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1EOKWa-00084a-00; Sat, 08 Oct 2005 12:38:28 -0700 Received: by qproxy.gmail.com with SMTP id a10so173971qbd for <[EMAIL PROTECTED]>; Sat, 08 Oct 2005 12:37:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=Rs5VPPcThsJ3u9jtv4Ot99a/M3tB8dk0UUJrJE12Czi1G6uTTr3FU87VReAfm1b7yONPV1ZRjulivJ9qXT7IyOIOJy2SBphxNz96koaw+tZpKJsEaQ39c0s/Y7K1gMAT5ZDd9xuEOlsL6vcxPfVdk/QXkHUe7s2qto12uTNinHo= Received: by 10.64.193.1 with SMTP id q1mr2175813qbf; Sat, 08 Oct 2005 12:37:54 -0700 (PDT) Received: by 10.65.43.20 with HTTP; Sat, 8 Oct 2005 12:37:54 -0700 (PDT) Message-ID: <[EMAIL PROTECTED]> Date: Sat, 8 Oct 2005 12:37:54 -0700 From: David Fedoruk <[EMAIL PROTECTED]> Reply-To: David Fedoruk <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: wajig search-apt writes to the current working directory instead of /etc/apt/ Cc: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 package: wajig replace: wajig version: 2.0.29 replace: 2.0.20 severity: critical I normally run wajig as an unprivialiged user from my home directory using sudo like I do for all other packages install related commands. Wajig assumes my location is /etc/apt/ when I am really in /home/$USER and this happens: -------- console snip ------------------------- [EMAIL PROTECTED]:~$ sudo wajig search-apt stable Using distribution stable. Retrieving the list of mirrors from www.debian.org... --12:15:12-- http://www.debian.org/mirror/mirrors_full =3D> `mirrors_full' esolving www.debian.org... 192.25.206.10 Connecting to www.debian.org|192.25.206.10|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 163,789 (160K) [text/html] Then: The fastest non-US server seems to be: http://debian.yorku.ca/debian/non-US/ Writing sources.list. Done --------------- end snip ------------ Wajig has assumed all along without checking that I am issuing teh command from /etc/apt/ when I am really in /home/$USER/. I use sudo wajig update as I would use sudo apt-get update and expect that it updates the packages list as per usual ..... I hope I have three Debian installed Sarge machines, kernels, blackstar's kernel I compiled the others are standard Debian kernel images: Linux blackstar 2.6.11.7-Blackstar-1.1 #1 Mon May 2 03:00:18 PDT 2005 i686 GNU/Linux Linux fireroad 2.4.27-2-386 #1 Tue Aug 16 15:28:25 JST 2005 i686 GNU/Linux Linux arbutus 2.6.12-3-multimedia-686 #1 Thu Jun 23 11:52:20 CEST 2005 i686 GNU/Linux I've just re-checked these results by changing to root and working in root's home. wajig downloads a list of mirrors then procedes to find appropriate mirros and produded a sources.list in /root. Hope this helps, David -- David Fedoruk B.Mus. UBC,1986 Certificate in Internet Systems Administration, UBC, 2003 "Music is enough for one's life time, but one life time is not enough for music" Sergei Rachmaninov --------------------------------------- Received: (at 332822-done) by bugs.debian.org; 8 Oct 2005 20:41:06 +0000 >From [EMAIL PROTECTED] Sat Oct 08 13:41:06 2005 Return-path: <[EMAIL PROTECTED]> Received: from ihug-mail.icp-qv1-irony2.iinet.net.au [203.59.1.196] by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1EOLVC-0003YF-00; Sat, 08 Oct 2005 13:41:06 -0700 Received: from 202-161-24-184.dyn.iinet.net.au (HELO athene.togaware.com) ([202.161.24.184]) by ihug-mail.icp-qv1-irony2.iinet.net.au with ESMTP; 09 Oct 2005 04:40:33 +0800 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== Received: from gjw by athene.togaware.com with local (Exim 4.54) id 1EOLUS-0000dZ-TV; Sun, 09 Oct 2005 06:40:21 +1000 Date: Sun, 9 Oct 2005 06:40:19 +1000 From: Graham Williams <[EMAIL PROTECTED]> To: David Fedoruk <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Bug#332822: wajig search-apt writes to the current working directory instead of /etc/apt/ Message-ID: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[EMAIL PROTECTED]> User-Agent: Mutt/1.5.11 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-CrossAssassin-Score: 2 Received Sun 09 Oct 2005 5:49am +1000 from David Fedoruk: > package: wajig > replace: wajig > version: 2.0.29 > replace: 2.0.20 > severity: critical > > I normally run wajig as an unprivialiged user from my home directory > using sudo like I do for all other packages install related commands. > Wajig assumes my location is /etc/apt/ when I am really in /home/$USER > and this happens: Hi David, Thanks for the bug report. I'm not sure why you think it might be a "critical" bug. It doesn't render the system unusable. In fact, if it did overwrite sources.list then I might even consider that a critical bug instead..... The behaviour you report is how it is specifically implemented. I did not want to accidently overwrite /etc/apt/sources.list. The purpose of this command, as the description indicates, is to find local Debian archives SUITABLE FOR sources.list, rather than TO REPLACE CURRENT. Thus it creates a suggested sources.list file which it writes into wherever you run the command. In fact, this command does no more than to run the netselect-apt command. If the resulting sources.list looks okay to you then you can go ahead and cut and past the entry you want into the system version (perhaps using wajig editsources). I could add the extra functionality to automatically overwrite the system sources.list but that does seem a little dangerous to me, since many people fine tune their sources.list and overwritting it would be a surprise. I will close the bug with this email. Let me know if you don't agree with the rationale. Regards, Graham > -------- console snip ------------------------- > [EMAIL PROTECTED]:~$ sudo wajig search-apt stable > Using distribution stable. > Retrieving the list of mirrors from www.debian.org... > > --12:15:12-- http://www.debian.org/mirror/mirrors_full > => `mirrors_full' > > esolving www.debian.org... 192.25.206.10 > Connecting to www.debian.org|192.25.206.10|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 163,789 (160K) [text/html] > > > > Then: > > The fastest non-US server seems to be: > http://debian.yorku.ca/debian/non-US/ > > Writing sources.list. > Done > --------------- end snip ------------ > > Wajig has assumed all along without checking that I am issuing teh > command from /etc/apt/ when I am really in /home/$USER/. I use sudo > wajig update as I would use sudo apt-get update and expect that it > updates the packages list as per usual ..... I hope > > I have three Debian installed Sarge machines, kernels, blackstar's > kernel I compiled the others are standard Debian kernel images: > Linux blackstar 2.6.11.7-Blackstar-1.1 #1 Mon May 2 03:00:18 PDT 2005 > i686 GNU/Linux > Linux fireroad 2.4.27-2-386 #1 Tue Aug 16 15:28:25 JST 2005 i686 GNU/Linux > Linux arbutus 2.6.12-3-multimedia-686 #1 Thu Jun 23 11:52:20 CEST 2005 > i686 GNU/Linux > > I've just re-checked these results by changing to root and working in > root's home. wajig downloads a list of mirrors then procedes to find > appropriate mirros and produded a sources.list in /root. > > Hope this helps, > > David > -- > David Fedoruk > B.Mus. UBC,1986 > Certificate in Internet Systems Administration, UBC, 2003 > > "Music is enough for one's life time, but one life time is not enough > for music" Sergei Rachmaninov > > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]