Bug#578446: devscripts: [chdist] Should create etc/apt/apt.conf.d/ directory

2010-04-19 Thread Savvas Radevic
Package: devscripts
Version: 2.10.61ubuntu5
Severity: normal

The error I receive:
W: Unable to read /home/user/.chdist/hardy/etc/apt/apt.conf.d/ - FileExists 
(2: No such file or directory)

Note: I am not sure if this affects Debian's devscripts too.

Launchpad bug: https://bugs.launchpad.net/bugs/566682

If the user try to apt-get update, they get this error.
chdist should create the directory apt.conf.d

$ rm -rf ~/.chdist/hardy

$ chdist create hardy
Now edit /home/forger/.chdist/hardy/etc/apt/sources.list
Then run chdist apt-get hardy update

$ chdist apt-get hardy update
Reading package lists... Done
W: Unable to read /home/forger/.chdist/hardy/etc/apt/apt.conf.d/ - FileExists 
(2: No such file or directory)

(Editing the sources.list does not fix it)

$ chdist apt-get hardy update
Get:1 http://cy.archive.ubuntu.com hardy Release.gpg [189B]
Ign http://cy.archive.ubuntu.com/ubuntu/ hardy/main Translation-en_US
Ign http://cy.archive.ubuntu.com/ubuntu/ hardy/restricted Translation-en_US
Ign http://cy.archive.ubuntu.com/ubuntu/ hardy/universe Translation-en_US
Ign http://cy.archive.ubuntu.com/ubuntu/ hardy/multiverse Translation-en_US
Get:2 http://cy.archive.ubuntu.com hardy Release [65.9kB]
Get:3 http://cy.archive.ubuntu.com hardy/main Packages [1,173kB]
Get:4 http://cy.archive.ubuntu.com hardy/restricted Packages [6,397B]
Get:5 http://cy.archive.ubuntu.com hardy/universe Packages [4,254kB]
Get:6 http://cy.archive.ubuntu.com hardy/multiverse Packages [174kB]
Get:7 http://cy.archive.ubuntu.com hardy/main Sources [338kB]
Get:8 http://cy.archive.ubuntu.com hardy/restricted Sources [1,488B]
Get:9 http://cy.archive.ubuntu.com hardy/universe Sources [1,323kB]
Get:10 http://cy.archive.ubuntu.com hardy/multiverse Sources [60.9kB]
Fetched 7,396kB in 7min 14s (17.0kB/s)
Reading package lists... Done
W: Unable to read /home/forger/.chdist/hardy/etc/apt/apt.conf.d/ - FileExists 
(2: No such file or directory)

$ mkdir /home/forger/.chdist/hardy/etc/apt/apt.conf.d/

$ chdist apt-get hardy update
Hit http://cy.archive.ubuntu.com hardy Release.gpg
Ign http://cy.archive.ubuntu.com/ubuntu/ hardy/main Translation-en_US
Ign http://cy.archive.ubuntu.com/ubuntu/ hardy/restricted Translation-en_US
Ign http://cy.archive.ubuntu.com/ubuntu/ hardy/universe Translation-en_US
Ign http://cy.archive.ubuntu.com/ubuntu/ hardy/multiverse Translation-en_US
Hit http://cy.archive.ubuntu.com hardy Release
Hit http://cy.archive.ubuntu.com hardy/main Packages
Hit http://cy.archive.ubuntu.com hardy/restricted Packages
Hit http://cy.archive.ubuntu.com hardy/universe Packages
Hit http://cy.archive.ubuntu.com hardy/multiverse Packages
Hit http://cy.archive.ubuntu.com hardy/main Sources
Hit http://cy.archive.ubuntu.com hardy/restricted Sources
Hit http://cy.archive.ubuntu.com hardy/universe Sources
Hit http://cy.archive.ubuntu.com hardy/multiverse Sources
Reading package lists... Done


-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
Not present

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-21-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev 1.15.5.6ubuntu4 Debian package development tools
ii  libc62.11.1-0ubuntu6 Embedded GNU C Library: Shared lib
ii  perl 5.10.1-8ubuntu1 Larry Wall's Practical Extraction 

Versions of packages devscripts recommends:
ii  at  3.1.11-1ubuntu5  Delayed job execution and batch pr
ii  bsd-mailx [ 8.1.2-0.20090911cvs-2ubuntu1 simple mail user agent
ii  bzr 2.1.1-1  easy to use distributed version co
ii  chromium-br 5.0.342.9~r43360-0ubuntu2Chromium browser
ii  curl7.19.7-1ubuntu1  Get a file from an HTTP, HTTPS or 
ii  cvs 1:1.12.13-12ubuntu1  Concurrent Versions System
ii  dctrl-tools 2.14 Command-line tools to process Debi
ii  dput0.9.5.1ubuntu1   Debian package upload tool
ii  fakeroot1.14.4-1ubuntu1  Gives a fake root environment
ii  firefox [ww 3.6.3+nobinonly-0ubuntu3 safe and easy web browser from Moz
ii  git-core1:1.7.0.4-1  fast, scalable, distributed revisi
ii  gnupg   1.4.10-2ubuntu1  GNU privacy guard - a free PGP rep
ii  libauthen-s 2.13-1   Authen::SASL - SASL Authentication
ii  libparse-de 2.005-2  Easy OO parsing of Debian control-
ii  libterm-siz 0.2-4build3  Perl extension for retrieving term
ii  libtimedate 1.1900-1 Time and date functions for Perl
ii  liburi-perl 1.52-1   module to manipulate and access UR
ii  libwww-perl 5.834-1  

Bug#578446: devscripts: [chdist] Should create etc/apt/apt.conf.d/ directory

2010-04-19 Thread James Vega
user devscri...@packages.debian.org
usertag 578446 chdist
notfound 578446 2.10.61ubuntu5
forcemerge 528274
thanks

On Tue, Apr 20, 2010 at 01:08:23AM +0200, Savvas Radevic wrote:
 The error I receive:
 W: Unable to read /home/user/.chdist/hardy/etc/apt/apt.conf.d/ - FileExists 
 (2: No such file or directory)
 
 Note: I am not sure if this affects Debian's devscripts too.

So you file a bug without testing Debian's version of the script, or
checking for pre-existing reports?

Yes, this affects Debian's package and there are already two bugs filed
against it.  Merging this with those.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega james...@debian.org


signature.asc
Description: Digital signature


Bug#578446: devscripts: [chdist] Should create etc/apt/apt.conf.d/ directory

2010-04-19 Thread Savvas Radevic
 On Tue, Apr 20, 2010 at 01:08:23AM +0200, Savvas Radevic wrote:
 The error I receive:
 W: Unable to read /home/user/.chdist/hardy/etc/apt/apt.conf.d/ - FileExists 
 (2: No such file or directory)

 Note: I am not sure if this affects Debian's devscripts too.

 So you file a bug without testing Debian's version of the script, or
 checking for pre-existing reports?

Yes, sorry, don't get me wrong. :)
Before I filed it, I was about 90% certain that:
- The bug co-exists in Debian, as well as Ubuntu -- I decided (without
checking the code unfortunately) to file the bug and then check it out
again in the future, when I have some more time. Otherwise, I tend to
forget about filing them afterwards.

- If you read the description, the older bug #528274 (
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528274 ) is not the
same with the newer one.

- The newer bug #578446 (
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578446 ) -- the new
bug I filed has to do with the directory apt.conf.d, but the older
bug has to do with the file apt.conf.

- The older bug seems to be fixed, but I am having problems with
configuring smtp to use the bts command. I never got to make it work,
so I can't control/merge/close bug reports.

 Yes, this affects Debian's package and there are already two bugs filed
 against it.  Merging this with those.

Thanks for trying to sort this out! I noted your question and in the
future I will stop pre-filing bugs.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org