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

Bug#115953: marked as done (apt-get -d install <package> doesn't work as documented)



Your message dated Wed, 17 Oct 2001 11:10:08 -0600 (MDT)
with message-id <[🔎] Pine.LNX.3.96.1011017110957.13019B-100000@wakko.deltatee.com>
and subject line Bug#115953: apt-get -d install <package> doesn't work as documented
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 17 Oct 2001 11:04:12 +0000
>From root@westel.hu Wed Oct 17 06:04:12 2001
Return-path: <root@westel.hu>
Received: from gate.westel900.hu [194.176.224.33] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15toUZ-0006KP-00; Wed, 17 Oct 2001 06:04:08 -0500
Date: Wed, 17 Oct 2001 12:57:41 +0200
From: Janos Holanyi <csani@lme.linux.hu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apt-get -d install <package> doesn't work as documented
Reply-To: Janos Holanyi <csani@lme.linux.hu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.22i
X-Reportbug-Version: 1.30
Message-ID:<[🔎] 15toS5-0007XM-00@gate.westel900.hu>
Delivered-To: submit@bugs.debian.org

Package: apt
Version: 0.5.4
Severity: normal

Hi,

Given the following exceprt from the apt-get(8) manpage:

       -d

       --download-only
              Download  only;  package  files are only retrieved,
              not unpacked  or  installed.   Configuration  Item:
              APT::Get::Download-Only.

and the actual behavior of apt-get, e.g.:

  # apt-get -d install ssh
  Reading Package Lists... Done
  Building Dependency Tree... Done
  Sorry, ssh is already the newest version.
  0 packages upgraded, 0 newly installed, 0 to remove and 31  not upgraded.

there is a contradiction: apt-get still wants to install the package.
If it wouldn't want to, it had downloaded the package and had left it in
/var/cache/apt/archives.

There are several ways we could solve this contradiction:

1. make a new apt-get command, e.g.: apt-get deb <package>

2. correct the manpage, e.g.: s/"package  files are only retrieved, not
   unpacked  or  installed."/"the regular install procedure of apt-get(8)
   stops right after retrieving the package. It doesn't retrieve the package
   if it is already installed and if the dependencies are not met."/

3. any more ideas?

Thanks.
BR,

Csan

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux holanyij 2.4.10 #1 Sat Sep 29 02:12:03 CEST 2001 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages apt depends on:
ii  libc6                  2.2.4-3           GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2 1:2.95.4-0.011006 The GNU stdc++ library

---------------------------------------
Received: (at 115953-done) by bugs.debian.org; 17 Oct 2001 17:10:10 +0000
>From jgg@debian.org Wed Oct 17 12:10:10 2001
Return-path: <jgg@debian.org>
Received: from cast-ext.ab.videon.ca [206.75.216.34] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 15tuCo-0004vO-00; Wed, 17 Oct 2001 12:10:10 -0500
Received: (qmail 25392 invoked from network); 17 Oct 2001 17:10:09 -0000
Received: from unknown (HELO wakko.deltatee.com) ([24.82.81.190]) (envelope-sender <jgg@debian.org>)
          by cast-ext.ab.videon.ca (qmail-ldap-1.03) with SMTP
          for <115953-done@bugs.debian.org>; 17 Oct 2001 17:10:09 -0000
Received: from localhost
	([127.0.0.1] helo=wakko.deltatee.com ident=jgg)
	by wakko.deltatee.com with smtp (Exim 3.16 #1 (Debian))
	id 15tuCn-0003OA-00; Wed, 17 Oct 2001 11:10:09 -0600
Date: Wed, 17 Oct 2001 11:10:08 -0600 (MDT)
From: Jason Gunthorpe <jgg@debian.org>
X-Sender: jgg@wakko.deltatee.com
To: 115953-done@bugs.debian.org
cc: APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#115953: apt-get -d install <package> doesn't work as documented
In-Reply-To: <[🔎] 20011017182701.A1025@iluvatar>
Message-ID: <[🔎] Pine.LNX.3.96.1011017110957.13019B-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 115953-done@bugs.debian.org


On Wed, 17 Oct 2001, Gergely Nagy wrote:

> I think apt-get does it correctly. For the package is already
> downloaded (it is installed, a few steps further), and as there is no
> newer version, there's no point in downloading it. If you want to get
> the .deb, you can use the --reinstall option to apt-get, or you can
> take a look at the dpkg-repack utility.

Sounds fair

Jason



Reply to: