Your message dated Tue, 11 Feb 2014 22:21:49 +0100 with message-id <20140211212149.GA5697@crossbow> and subject line Re: apt: apt-get download foo has caused the Debian Bug report #528412, regarding apt: download-only should allow downloading packages in spite of unrelated errors 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.) -- 528412: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528412 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: apt: download-only should allow downloading packages in spite of unrelated errors
- From: Russell Coker <russell@coker.com.au>
- Date: Sat, 05 Jun 2010 13:28:37 +1000
- Message-id: <20100605032837.23781.41529.reportbug@athena.coker.com.au>
Package: apt Version: 0.7.25.3 Severity: normal I want to download the libpcre3-dev for the purpose of installing it on another system. So the fact that I can't install it on my current system shouldn't be a problem. I'm not going to complete the upgrade of libc6 because it requires restarting kdm and I don't want to logout right now. There is no technical reason why apt-get shouldn't be able to just download a single .deb file and verify the checksum in spite of having problems that might make it impossible to install the package immediately. In fact it would be really convenient if apt-get could be run as non-root for the purpose of downloading packages to be installed on another system. # apt-get -f --download-only install --reinstall libpcre3-dev Reading package lists... Done Building dependency tree Reading state information... Done You might want to run `apt-get -f install' to correct these: The following packages have unmet dependencies: libc-dev-bin: Depends: libc6 (> 2.11) but 2.10.2-9 is to be installed libc6: Depends: libc-bin (= 2.10.2-9) but 2.11.1-1 is to be installed libc6-dbg: Depends: libc6 (= 2.11.1-1) but 2.10.2-9 is to be installed libc6-dev: Depends: libc6 (= 2.11.1-1) but 2.10.2-9 is to be installed libc6-i386: Depends: libc6 (= 2.11.1-1) but 2.10.2-9 is to be installed locales: Depends: glibc-2.11-1 E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). -- Package-specific info: -- apt-config dump -- APT ""; APT::Architecture "amd64"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Install-Recommends "False"; 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.*"; APT::Periodic ""; APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Download-Upgradeable-Packages "0"; APT::Periodic::AutocleanInterval "0"; APT::Update ""; APT::Update::Post-Invoke-Success ""; APT::Update::Post-Invoke-Success:::: "touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true"; APT::Archives ""; APT::Archives::MaxAge "30"; APT::Archives::MinAge "2"; APT::Archives::MaxSize "500"; 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"; Unattended-Upgrade ""; Unattended-Upgrade::Allowed-Origins ""; Unattended-Upgrade::Allowed-Origins:: "Debian stable"; DPkg ""; DPkg::Pre-Install-Pkgs ""; DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true"; DPkg::Post-Invoke ""; DPkg::Post-Invoke:: "if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi"; -- /etc/apt/preferences -- Package: * Pin: release a=stable Pin-Priority: 700 Package: * Pin: release a=testing Pin-Priority: 350 -- /etc/apt/sources.list -- # deb http://mirror.internode.on.net/pub/debian/ unstable main non-free deb-src http://mirror.internode.on.net/pub/debian/ unstable main non-free #deb http://security.debian.org/ unstable/updates main #deb-src http://security.debian.org/ unstable/updates main #deb http://volatile.debian.org/debian-volatile unstable/volatile main #deb-src http://volatile.debian.org/debian-volatile unstable/volatile main #deb http://www.coker.com.au unstable selinux #deb http://www.coker.com.au unstable selinux-mm #deb http://www.coker.com.au unstable misc deb http://mirror.optus.net/debian-multimedia/ unstable main -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages apt depends on: ii debian-archive-keyring 2009.01.31 GnuPG archive keys of the Debian a ii libc6 2.10.2-9 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.4-3 GCC support library ii libstdc++6 4.4.4-3 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.2.1-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 pn python-apt <none> (no description available) -- no debconf information
--- End Message ---
--- Begin Message ---
- To: 528412-done@bugs.debian.org
- Subject: Re: apt: apt-get download foo
- From: David Kalnischkies <david@kalnischkies.de>
- Date: Tue, 11 Feb 2014 22:21:49 +0100
- Message-id: <20140211212149.GA5697@crossbow>
Version: 0.8.11 apt (0.8.11) unstable; urgency=low […] [ Michael Vogt ] […] - add apt-get download (closes: #82738) […] -- Michael Vogt <mvo@debian.org> Tue, 08 Feb 2011 12:58:12 +0100 Even if "download" still has bugs, we are closing one at a time and I think after 3 years it should be possible to close the wishlist bug asking for it. ;) For everyone who wonders why "apt-get install -d …" can't be used for that, Daniel Hardwig gave a fitting explaination in: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528412#20 (I wonder how it happened that this comment was written more than a year /after/ we had the requested feature…) If you want "all dependencies" you will need to use a status file. Its possible with some options to use another download dir and another statusfile, so nothing needs to be done about that exactly. (It also avoids the answer of what "all" in this context actually means) Best regards David KalnischkiesAttachment: signature.asc
Description: Digital signature
--- End Message ---