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

Bug #566682 reported by Savvas Radevic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devscripts (Debian)
Fix Released
Unknown
devscripts (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: devscripts

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

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: devscripts 2.10.61ubuntu5
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Mon Apr 19 16:26:30 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100329)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: devscripts

Related branches

Revision history for this message
Savvas Radevic (medigeek) wrote :
description: updated
Changed in devscripts (Debian):
status: Unknown → New
Changed in devscripts (Debian):
status: New → Fix Committed
Changed in devscripts (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.4 KiB)

This bug was fixed in the package devscripts - 2.11.1ubuntu1

---------------
devscripts (2.11.1ubuntu1) oneiric; urgency=low

  * Merge from Debian unstable; remaining changes:
    - Demote Recommends to Suggests:
      + libcrypt-ssleay-perl: only needed for a corner case (uscan on SSL
        download sites), wasn't installed by default in previous releases
        either, and seems quite dead upstream; universe only.
      + debian-keyring: not useful enough in Ubuntu; universe only.
      + equivs: too much of a hack to install by default; universe only.
      + libyaml-syck-perl: transition-check is fairly Debian-specific.
    - scripts/debchange.{pl,1}:
      + Adjust --security template for Ubuntu.
      + Add -U/--upstream flag that forces original "just increment
        the end" behaviour; Ubuntu is upstream for some pieces of software.
      + Add --distributor= and DEBCHANGE_DISTRIBUTOR to override lsb_release
        output.
      + Default to "oneiric" as distribution.
      + Add "ubuntu1" to version string for new versions, with tweaks for
        special cases.
      + Add -R/--rebuild flag for Ubuntu's no-change rebuilds.
      + Don't use the last distribution in debian/changelog when doing
        "dch -r" on Ubuntu. "Just because it was last uploaded to jaunty
        doesn't mean that's the right thing to do now." Thanks to Colin
        Watson. (LP: #429288)
    - Add test/debchange.pl, test/Makefile: debchange test suite.
    - Rename XS-Vcs-* to XS-Debian-Vcs-*.
  * Remove debian-maintainers from Recommends (the key moved to debian-keyring).

devscripts (2.11.1) unstable; urgency=low

  [ David Prévot ]
  * Stylish manual pages convention review. (Closes: #628447)
  * Handle the last description in devscripts(1). (Closes: #628086)
  * French translation updates.

  [ Adam D. Barratt ]
  * debian/copyright: Update repository information somewhat belatedly
    for the move to git.

  [ James Vega ]
  * debchange: Remove dapper from the list of recognized distributions.
  * debcheckout: Handle Alioth's new anonymous access URLs when converting to
    authenticated URLs. (Closes: #628674)
  * debsnap: Allow -a to be specified multiple times. Thanks to Timo Juhani
    Lindfors for the suggestion.
  * uscan: Fix --destdir regression when repacking zip archives. Thanks to
    Christian Kastner for the patch. (Closes: #628076)
  * mergechanges: Do not drop fields when the Files/Checksums-* fields are not
    at the end of the source files. (Closes: #625620)
  * debuild: Call dpkg-source --before-build/--after-build when emulating
    dpkg-buildpackage. (Closes: #628481)
  * chdist:
    + Create /etc/apt/apt.conf.d and /etc/apt/preferences.d in the chdist
      directory structure. (Closes: #528274, LP: #566682)
    + When multiple binary versions exist, use newest version for
      compare-src-bin-*.
    + Copy archive keyrings to etc/apt/trusted.gpg.d.

  [ Christoph Berg ]
  * dscextract: new script, extracts a single file from a Debian source
    package.
  * debcheckout: When retrieving the source for debian/-only repositories,
    move all .dsc components to the current directory, not just .orig.tar.gz.
  * uscan:...

Read more...

Changed in devscripts (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.