Bug#672460: devscripts: dget fails to see sources.list entries

Uli Martens uli at youam.net
Fri May 11 08:43:59 UTC 2012


Package: devscripts
Version: 2.11.6
Severity: normal

Hello maintainers,

while trying to use dget, it fails to do anything:

| $ dget base-files
| no repository found in /etc/apt/sources.list or sources.list.d at /usr/bin/dget line 347.

dget filters the repositories from /etc/apt/sources.list{,.d/*} by the
hostnames screenscraped from apt-cache policy. This fails, as apt-cache
policy mangles the hostnames, or rather, the port setting from the
hostname:

| $ apt-cache policy | grep -A 3 500 | head -n 3
|  500 http://127.0.0.1/debian/ squeeze/main amd64 Packages
|      release v=6.0.4,o=Debian,a=stable,n=squeeze,l=Debian,c=main
|      origin 127.0.0.1

As I'm using approx on my system the URI reported by apt-cache is not
the one actually configured:

| $ cat /etc/apt/sources.list
| deb http://127.0.0.1:9999/debian squeeze main
  [...]

thanks,
   Uli

-- Package-specific info:

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

--- ~/.devscripts ---
RMADISON_ARCHITECTURE=source,amd64,i386,all

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev               1.15.8.12         Debian package development tools
ii  libc6                  2.11.3-3          Embedded GNU C Library: Shared lib
ii  perl                   5.10.1-17squeeze3 Larry Wall's Practical Extraction 
ii  python                 2.6.6-3+squeeze6  interactive high-level object-orie
ii  python2.6              2.6.6-8+b1        An interactive high-level object-o

Versions of packages devscripts recommends:
ii  at                   3.1.12-1+squeeze1   Delayed job execution and batch pr
ii  curl                 7.21.0-2.1+squeeze2 Get a file from an HTTP, HTTPS or 
pn  dctrl-tools          <none>              (no description available)
pn  debian-keyring       <none>              (no description available)
pn  debian-maintainers   <none>              (no description available)
pn  dput | dupload       <none>              (no description available)
pn  equivs               <none>              (no description available)
ii  fakeroot             1.14.4-1            Gives a fake root environment
ii  gnupg                1.4.10-4            GNU privacy guard - a free PGP rep
pn  libcrypt-ssleay-perl <none>              (no description available)
ii  libjson-perl         2.21-1              Perl module to parse and convert t
pn  libparse-debcontrol- <none>              (no description available)
pn  libsoap-lite-perl    <none>              (no description available)
ii  liburi-perl          1.54-2              module to manipulate and access UR
ii  libwww-perl          5.836-1             Perl HTTP/WWW client/server librar
ii  lintian              2.5.6~bpo60+1       Debian package checker
ii  man-db               2.5.7-8             on-line manual pager
ii  patch                2.6-2               Apply a diff file to an original
ii  patchutils           0.3.1-2             Utilities to work with patches
pn  python-debian        <none>              (no description available)
pn  python-magic         <none>              (no description available)
ii  sensible-utils       0.0.4               Utilities for sensible alternative
ii  strace               4.5.20-2            A system call tracer
ii  unzip                6.0-4               De-archiver for .zip files
ii  wdiff                0.6.3-1             Compares two files word by word
ii  wget                 1.12-2.1            retrieves files from the web
ii  xz-utils             5.0.0-2             XZ-format compression utilities

Versions of packages devscripts suggests:
pn  bsd-mailx | mailx     <none>             (no description available)
ii  build-essential       11.5               Informational list of build-essent
pn  cvs-buildpackage      <none>             (no description available)
pn  devscripts-el         <none>             (no description available)
pn  gnuplot               <none>             (no description available)
pn  libauthen-sasl-perl   <none>             (no description available)
pn  libfile-desktopentry- <none>             (no description available)
pn  libnet-smtp-ssl-perl  <none>             (no description available)
pn  libterm-size-perl     <none>             (no description available)
ii  libtimedate-perl      1.2000-1           collection of modules to manipulat
ii  libyaml-syck-perl     1.12-1             Perl module providing a fast, ligh
ii  mutt                  1.5.20-9.1         text-based mailreader supporting M
ii  openssh-client [ssh-c 1:5.5p1-6+squeeze1 secure shell (SSH) client, for sec
pn  svn-buildpackage      <none>             (no description available)
pn  w3m                   <none>             (no description available)

-- no debconf information





More information about the devscripts-devel mailing list