[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 18:08:26 -0600 (MDT)
with message-id <[🔎] Pine.LNX.3.96.1011017175637.13243A-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; 18 Oct 2001 00:08:32 +0000
>From jgg@debian.org Wed Oct 17 19:08:32 2001
Return-path: <jgg@debian.org>
Received: from (skip-ext.ab.videon.ca) [206.75.216.36] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 15u0jc-0008Qq-00; Wed, 17 Oct 2001 19:08:28 -0500
Received: (qmail 7631 invoked from network); 18 Oct 2001 00:08:26 -0000
Received: from unknown (HELO wakko.deltatee.com) ([24.82.81.190]) (envelope-sender <jgg@debian.org>)
          by skip-ext.ab.videon.ca (qmail-ldap-1.03) with SMTP
          for <csani@lme.linux.hu>; 18 Oct 2001 00:08:26 -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 15u0ja-0003TH-00; Wed, 17 Oct 2001 18:08:26 -0600
Date: Wed, 17 Oct 2001 18:08:26 -0600 (MDT)
From: Jason Gunthorpe <jgg@debian.org>
X-Sender: jgg@wakko.deltatee.com
Reply-To: Jason Gunthorpe <jgg@debian.org>
To: =?ISO-8859-1?Q?J=E1nos_Hol=E1nyi?= <csani@lme.linux.hu>
cc: 115953-done@bugs.debian.org, APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#115953: apt-get -d install <package> doesn't work as documented
In-Reply-To: <[🔎] 1003358882.3bce0aa223b1a@mail.holanyi.hu>
Message-ID: <[🔎] Pine.LNX.3.96.1011017175637.13243A-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE
Delivered-To: 115953-done@bugs.debian.org


On Thu, 18 Oct 2001, J=E1nos Hol=E1nyi wrote:

> Please pay attention also to 'not unpacked', if you still feel this issue=
 is
> perfect as it is now... Also 'package files __are__ (...) __retrieved__'
> It still smells fishy for me...

You are reading way too much into that statement. The tailing sentance
rassures the reader that their system will not be altered, but it doesn't
have anything that says it makes the commands it modifies do more than
they otherwise would.
=20
> Please let me know how can I retrieve a set of dependency-conflict-free d=
eb
> files from the official debian archive - using 'standard' and existing De=
bian
> tools -, without having to copy&paste the output of apt-get -d install <f=
oo1>

wakko{root}/tmp/jnk#:> empty
wakko{root}/tmp/jnk#mkdir partial  =20
apt-get -d -o dir::state::status=3D./empty -o dir::cache::archives=3D./ ins=
tall nano
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libc6 libncurses5
The following NEW packages will be installed:
  libc6 libncurses5 nano
0 packages upgraded, 3 newly installed, 0 to remove and 0  not upgraded.
Need to get 3770kB of archives. After unpacking 13.9MB will be used.
Do you want to continue? [Y/n]
Get:1 http://gluck.debian.org woody/main libc6 2.2.4-3 [3363kB]
Get:2 http://gluck.debian.org woody/main libncurses5 5.2.20010318-3 [226kB]
Get:3 http://gluck.debian.org woody/main nano 1.0.5-1 [181kB]
Fetched 3770kB in 1m41s (37.3kB/s)
Download complete and in download only mode
wakko{root}/tmp/jnk#ls
empty                                lock
libc6_2.2.4-3_i386.deb               nano_1.0.5-1_i386.deb
libncurses5_5.2.20010318-3_i386.deb  partial/

It can even run as non-root if you want.

Jason



Reply to: