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

Bug#288277: marked as done (apt-get -t do not always work)



Your message dated Thu, 20 Oct 2005 02:47:08 -0700
with message-id <E1ESX0u-00033J-00@spohr.debian.org>
and subject line Bug#152129: fixed in apt 0.6.42
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.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Jan 2005 20:03:19 +0000
>From davide.prina@gmail.com Sun Jan 02 12:03:19 2005
Return-path: <davide.prina@gmail.com>
Received: from rproxy.gmail.com [64.233.170.194] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1ClBwd-0004cG-00; Sun, 02 Jan 2005 12:03:19 -0800
Received: by rproxy.gmail.com with SMTP id 34so178117rns
        for <submit@bugs.debian.org>; Sun, 02 Jan 2005 12:03:16 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding;
        b=GF0F9Ej57ZfeCuOE4iHnI3OTgr5xoWJ+h3mcOuZgI3TOWJTQNXTpCsJaFR1acBC2MxYFV+3No+R8GEdGKjjjviXcWiI/xQzHqIWZewmJqmBoM7LWdpp5SS93Y+zNerQuqT3TtsKXQ0U58fymJh3zrtUDFFiaL58fFt+CcQFdYLA=
Received: by 10.38.25.1 with SMTP id 1mr230215rny;
        Sun, 02 Jan 2005 12:03:15 -0800 (PST)
Received: by 10.38.206.26 with HTTP; Sun, 2 Jan 2005 12:03:15 -0800 (PST)
Message-ID: <c097048e050102120362926246@mail.gmail.com>
Date: Sun, 2 Jan 2005 21:03:15 +0100
From: Davide Prina <davide.prina@gmail.com>
Reply-To: Davide Prina <davide.prina@gmail.com>
To: submit@bugs.debian.org
Subject: apt-get -t do not always work
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: apt
Version: 0.5.27

If I give the following:
$ apt-get --print-uris source PACKAGE_NAME
$ apt-get --print-uris source PACKAGE_NAME -t stable
$ apt-get --print-uris source PACKAGE_NAME -t testing
$ apt-get --print-uris source PACKAGE_NAME -t unsable

I have the same results
The same you can have when you append the version after the source

For example if you take the abiword package (that have three different
versions for stable, testing and unstable) the -t flag do not work

so
$ apt-get --print-uris source abiword=1.0.2+cvs.2002.06.05-1woody2
$ apt-get --print-uris source abiword=1.0.2+cvs.2002.06.05-1woody2 -t stable
$ apt-get --print-uris source abiword=1.0.2+cvs.2002.06.05-1woody2 -t testing
$ apt-get --print-uris source abiword=1.0.2+cvs.2002.06.05-1woody2 -t unstable

all give me the same results

You can have same results with apt-get -s install
If I do
# apt-get -s isntall PACKAGE_NAME -t DEBIAN_VERSION
it work fine

but if I use the version it don't work anymore
# apt-get -s isntall PACKAGE_NAME=PACK_VER -t DEBIAN_VERSION

for example
# apt-get -s install abiword=1.0.2+cvs.2002.06.05-1woody2 -t testing
it try to install the stable version

I think it is better to check always the -t flag and print an error
message (for example: not found) if the Debian version (with -t) is
different from the one of the package version


-- System Information:
Debian Release: Sarge
Architecture: i386 (i686)
Linux: 2.4.27
libc6: 2.3.2.ds1-18

Ciao
Davide

---------------------------------------
Received: (at 152129-close) by bugs.debian.org; 20 Oct 2005 09:54:28 +0000
>From katie@spohr.debian.org Thu Oct 20 02:54:28 2005
Return-path: <katie@spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1ESX0u-00033J-00; Thu, 20 Oct 2005 02:47:08 -0700
From: Michael Vogt <mvo@debian.org>
To: 152129-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#152129: fixed in apt 0.6.42
Message-Id: <E1ESX0u-00033J-00@spohr.debian.org>
Sender: Archive Administrator <katie@spohr.debian.org>
Date: Thu, 20 Oct 2005 02:47:08 -0700
Delivered-To: 152129-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: apt
Source-Version: 0.6.42

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive:

apt-doc_0.6.42_all.deb
  to pool/main/a/apt/apt-doc_0.6.42_all.deb
apt-utils_0.6.42_i386.deb
  to pool/main/a/apt/apt-utils_0.6.42_i386.deb
apt_0.6.42.dsc
  to pool/main/a/apt/apt_0.6.42.dsc
apt_0.6.42.tar.gz
  to pool/main/a/apt/apt_0.6.42.tar.gz
apt_0.6.42_i386.deb
  to pool/main/a/apt/apt_0.6.42_i386.deb
libapt-pkg-dev_0.6.42_i386.deb
  to pool/main/a/apt/libapt-pkg-dev_0.6.42_i386.deb
libapt-pkg-doc_0.6.42_all.deb
  to pool/main/a/apt/libapt-pkg-doc_0.6.42_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 152129@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Vogt <mvo@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 19 Oct 2005 22:02:09 +0200
Source: apt
Binary: apt-utils libapt-pkg-doc libapt-pkg-dev apt-doc apt
Architecture: source all i386
Version: 0.6.42
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 44135 152129 250583 316638 324921 325686 327456 333299 334539 334656 334671 334714
Changes: 
 apt (0.6.42) unstable; urgency=low
 .
   * apt-pkg/cdrom.cc:
     - unmount the cdrom when apt failed to locate any package files
   * allow cdrom failures and fallback to other sources in that case
     (closes: #44135)
   * better error text when dpkg-source fails
   * Merge bubulle@debian.org--2005/apt--main--0 up to patch-115:
     - patch-99: Added Galician translation
     - patch-100: Completed Danish translation (Closes: #325686)
     - patch-104: French translation completed
     - patch-109: Italian translation completed
     - patch-112: Swedish translation update
     - patch-115: Basque translation completed (Closes: #333299)
   * applied french man-page update (thanks to Philippe Batailler)
     (closes: #316638, #327456)
   * fix leak in the mmap code, thanks to Daniel Burrows for the
     patch (closes: #250583)
   * support for apt-get [build-dep|source] -t (closes: #152129)
   * added "APT::Authentication::TrustCDROM" option to make the life
     for the installer people easier (closes: #334656)
   * fix crash in apt-ftparchive (thanks to Bastian Blank for the patch)
     (closes: #334671)
   * apt-pkg/contrib/md5.cc:
     - fix a alignment problem on sparc64 that gives random bus errors
       (thanks to Fabbione for providing a test-case)
   * init the default ScreenWidth to 79 columns by default
     (Closes: #324921)
   * cmdline/apt-cdrom.cc:
     - fix some missing gettext() calls (closes: #334539)
   * doc/apt-cache.8.xml: fix typo (closes: #334714)
Files: 
 ab162ba5029eec59384011ad4ebc9dfc 785 admin important apt_0.6.42.dsc
 b953f0b5267290469c1dcce08fd8b5b2 1446364 admin important apt_0.6.42.tar.gz
 571916aaf47bed1d4ff4528401a29deb 85242 doc optional apt-doc_0.6.42_all.deb
 3ee1e1d5de4fa1a511eeb1b662e0c46c 108542 doc optional libapt-pkg-doc_0.6.42_all.deb
 05b26b7a9085a283e83aaf91e3ebef6b 1209020 admin important apt_0.6.42_i386.deb
 a646363a3c93417cc4f4805804ef7d63 78694 libdevel optional libapt-pkg-dev_0.6.42_i386.deb
 32c07da71aedf61ae561244345f32a2e 200246 admin important apt-utils_0.6.42_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDV2YFliSD4VZixzQRAriHAJ9oamcu0WTMX7GYEB+F+fS6tr0UPACeNYPG
zXMI9Q+ogMRqs+2C+TTMpCE=
=BKXz
-----END PGP SIGNATURE-----



Reply to: