Bug#584613: apt: download-only should allow downloading packages in spite of unrelated errors
On Sa, 2010-06-05 at 13:28 +1000, Russell Coker wrote:
> 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.
Well, the command you used does not exist for downloading a single
package file. To do that, use the 'download' command of aptitude; as I
don't think that we have a way to do that in APT. Adding such a download
command should be easy though.
>
> # 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).
>
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Reply to: