[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#587989: marked as done (apt-get source fetches the wrong package)



Your message dated Sun, 4 Jul 2010 12:36:08 +0200
with message-id <AANLkTin8AD8P_jldy5mrVq115EGaZB6NCnbeVgcxYDAq@mail.gmail.com>
and subject line Re: Bug#587989: apt-get source fetches the wrong package
has caused the Debian Bug report #587989,
regarding apt-get source fetches the wrong package
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
587989: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587989
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.7.25.3
Severity: normal

Hi,

  $ apt-get source -s automake
  NOTE: This is only a simulation!
	apt-get needs root privileges for real execution.
	Keep also in mind that locking is deactivated,
	so don't depend on the relevance to the real current situation!
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Picking 'automake1.11' as source package instead of 'automake'
  Need to get 1074kB of source archives.
  Fetch source automake1.11

Why that? I want automake, not automake1.11.

Cheers and thanks for your work,
Torsten


-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Media "";
Dir::Media::MountPath "/media/apt";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";

-- /etc/apt/preferences --

Package: *
Pin: release a=apt-build
Pin-Priority: 985

Package: *
Pin: release a=testing
Pin-Priority: 986

Package: *
Pin: release a=unstable
Pin-Priority: 88


-- /etc/apt/sources.list --

deb-src http://ftp.de.debian.org/debian unstable main contrib non-free


-- System Information:
Debian Release: squeeze/sid
Architecture: amd64 (x86_64)

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

Versions of packages apt depends on:
ii  debian-archive-keyring        2009.01.31 GnuPG archive keys of the Debian a
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.4-5  GCC support library
ii  libstdc++6                    4.4.4-5    The GNU Standard C++ Library v3

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc                       <none>     (no description available)
ii  aptitude                      0.6.3-2    terminal-based package manager (te
ii  bzip2                         1.0.5-4    high-quality block-sorting file co
ii  dpkg-dev                      1.15.7.2   Debian package development tools
ii  lzma                          4.43-14    Compression method of 7z format in
ii  python-apt                    0.7.95     Python interface to libapt-pkg

-- no debconf information



--- End Message ---
--- Begin Message ---
Hi Torsten,

2010/7/3 Torsten Werner <twerner@debian.org>:
>  $ apt-get source -s automake

Try
apt-get source -s automake --only-source
instead.

APT chooses to assume that the packages specified on
the commandline are binary packages and map them to source.
If no binary package with this name exists it will check
for a source package with that name.

Obviously, this is a problem then the
binary automake comes from source automake1.11 and
binary automake1.4 comes from source automake.

Regardless of what you choose as default, it will be wrong
so APT chooses here the first option per default as a user
normally wants the source for a binary package and will be
therefore in more cases right than wrong (hopefully).


Best regards,

David Kalnischkies


--- End Message ---

Reply to: