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]