Package: devscripts
Version: 2.10.69
Severity: normal

Hi,

it looks like there's either a bug in apt-cache policy or a bit of
missing glue around its use within dget. Reporting it here since that's
how I noticed it.
| k...@bowmore:/tmp$ grep ^deb\  /etc/apt/sources.list
| deb     http://mirror:9999/debian/ testing main contrib non-free
| deb     http://mirror:9999/debian/ sid main contrib non-free
| deb     http://mirror:9999/debian/ experimental main contrib non-free
| deb     http://autobuild.ikibiki.org/autobuild-unstable ./

(Use-case: approx runs on tcp/9999 by default)

| k...@bowmore:/tmp$ apt-cache policy devscripts|grep http://
|         500 http://mirror/debian/ sid/main amd64 Packages
|         500 http://mirror/debian/ testing/main amd64 Packages
| 
| k...@bowmore:/tmp$ dget devscripts
| no repository found in /etc/apt/sources.list or sources.list.d at 
/usr/bin/dget line 337.

I guess it might be that apt tries to hide the port number for cosmetic
reasons, but that means that the way dget is looking up @hosts from
sources file makes it fail currently. 

A quick ltrace/grep seems to point at:
,---[ apt's cmdline/apt-cache.cc ]---
|             printf("       %4i %s\n",Plcy->GetPriority(VF.File()),
|                    Indx->Describe(true).c_str());

but I'm not sure I want to dig deeper, sorry. ;)

Mraw,
KiBi.

-- Package-specific info:

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

--- ~/.devscripts ---
DEBUILD_PRESERVE_ENVVARS=PATH
NMUDIFF_DELAY=2
DEBCHANGE_RELEASE_HEURISTIC=changelog
DEBCHANGE_AUTO_NMU=no
DEBUILD_DPKG_BUILDPACKAGE_OPTS='-us -uc'
DEBCHANGE_FORCE_SAVE_ON_RELEASE=no

-- System Information:
Debian Release: sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36+ (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev                      1.15.8.5   Debian package development tools
ii  libc6                         2.11.2-6   Embedded GNU C Library: Shared lib
ii  perl                          5.10.1-15  Larry Wall's Practical Extraction 

Versions of packages devscripts recommends:
ii  at                3.1.12-1               Delayed job execution and batch pr
ii  bsd-mailx [mailx] 8.1.2-0.20100314cvs-1  simple mail user agent
ii  bzr               2.3.0~beta2-1          easy to use distributed version co
ii  chromium-browser  6.0.472.63~r59945-1    Chromium browser
ii  conkeror [www-bro 0.9.2+git100804-1      keyboard focused web browser with 
ii  curl              7.21.2-1               Get a file from an HTTP, HTTPS or 
ii  cvs               1:1.12.13-12           Concurrent Versions System
ii  dctrl-tools       2.14.5                 Command-line tools to process Debi
ii  debian-keyring [d 2010.08.01             GnuPG (and obsolete PGP) keys of D
ii  dput              0.9.6.1                Debian package upload tool
ii  elinks [www-brows 0.12~pre5-2            advanced text-mode WWW browser
ii  equivs            2.0.8                  Circumvent Debian package dependen
ii  fakeroot          1.14.4-1               Gives a fake root environment
ii  git [git-core]    1:1.7.2.3-2            fast, scalable, distributed revisi
ii  git-core          1:1.7.2.3-2            fast, scalable, distributed revisi
ii  gnupg             1.4.10-4               GNU privacy guard - a free PGP rep
ii  iceweasel [www-br 3.5.15-1               Web browser based on Firefox
ii  libauthen-sasl-pe 2.1500-1               Authen::SASL - SASL Authentication
ii  libcrypt-ssleay-p 0.57-2                 Support for https protocol in LWP
ii  libjson-perl      2.26-1                 Perl module to parse and convert t
ii  libparse-debcontr 2.005-2                Easy OO parsing of Debian control-
ii  libsoap-lite-perl 0.712-1                Perl implementation of a SOAP clie
ii  libterm-size-perl 0.2-4+b1               Perl extension for retrieving term
ii  libtimedate-perl  1.2000-1               collection of modules to manipulat
ii  liburi-perl       1.56-1                 module to manipulate and access UR
ii  libwww-perl       5.837-1                simple and consistent interface to
ii  libyaml-syck-perl 1.14-1                 Perl module providing a fast, ligh
ii  lintian           2.4.3                  Debian package checker
ii  lsb-release       3.2-26                 Linux Standard Base version report
ii  lynx-cur [www-bro 2.8.8dev.5-1           Text-mode WWW Browser with NLS sup
ii  lzma              4.43-14                Compression method of 7z format in
ii  man-db            2.5.7-6                on-line manual pager
ii  midori [www-brows 0.2.7-1.1              fast, lightweight graphical web br
ii  openssh-client [s 1:5.5p1-5+b1           secure shell (SSH) client, for sec
ii  patch             2.6-3                  Apply a diff file to an original
ii  patchutils        0.3.1-2                Utilities to work with patches
ii  sensible-utils    0.0.4                  Utilities for sensible alternative
ii  strace            4.5.20-2               A system call tracer
ii  subversion        1.6.12dfsg-2           Advanced version control system
ii  unzip             6.0-4                  De-archiver for .zip files
ii  w3m [www-browser] 0.5.2-10               WWW browsable pager with excellent
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          4.999.9beta+20100810-1 XZ-format compression utilities

Versions of packages devscripts suggests:
ii  build-essential               11.5       Informational list of build-essent
pn  cvs-buildpackage              <none>     (no description available)
pn  devscripts-el                 <none>     (no description available)
ii  gnuplot                       4.4.0-1.1  A command-line driven interactive 
pn  libfile-desktopentry-perl     <none>     (no description available)
ii  libnet-smtp-ssl-perl          1.01-2     SSL support for Net::SMTP
ii  mutt                          1.5.20-9   text-based mailreader supporting M
pn  svn-buildpackage              <none>     (no description available)
ii  w3m                           0.5.2-10   WWW browsable pager with excellent

-- no debconf information



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

Reply via email to