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