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

Bug#176573: marked as done (FW: apt-get "+" qualifier on package names doesn't work as documented.)



Your message dated Mon, 13 Jan 2003 13:38:31 -0700 (MST)
with message-id <[🔎] Pine.LNX.3.96.1030113133614.15263A-100000@wakko.debian.net>
and subject line Bug#176573: FW: apt-get "+" qualifier on package names 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.)

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

--------------------------------------
Received: (at submit) by bugs.debian.org; 13 Jan 2003 19:54:28 +0000
>From bedge@troikanetworks.com Mon Jan 13 13:54:28 2003
Return-path: <bedge@troikanetworks.com>
Received: from mail.troikanetworks.com (communicator.troikanetworks.com) [12.31.172.15] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18YAfD-0007TE-00; Mon, 13 Jan 2003 13:54:28 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: FW: apt-get "+" qualifier on package names doesn't work as documented.
Date: Mon, 13 Jan 2003 11:53:57 -0800
Message-ID: <[🔎] 432296A5CDF78D4FA6B47869124755FBCF1386@communicator.troikanetworks.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: apt-get "+" qualifier on package names doesn't work as documented.
Thread-Index: AcK7OP7id8BSX5PpTlubRIEFJSwKTAABES4Q
From: "Bruce  Edge" <bedge@troikanetworks.com>
To: <submit@bugs.debian.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-3.1 required=5.0
	tests=OUTLOOK_FW_MSG,SPAM_PHRASE_02_03,SUPERLONG_LINE
	version=2.41
X-Spam-Level: 

Package: apt
Version: 0.5.4

The docs (man apt-get) state that you can append a plus sign to a =
package name in order=20
to force it's installation despite conflicts:

       install
              [snip] If a hyphen is appended to the package  name  (with
              no  intervening  space), the identified package will be =
removed if it
              is installed. Similarly a plus sign can be used to =
designate a  pack-
              age  to  install. These latter features may be used to =
override deci-
              sions made by apt-get's conflict resolution system.

This doesn't work:

~ #> apt-get install lprng+ cupsys-bsd+=20
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, cupsys-bsd is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
  cupsys-bsd: Conflicts: lpr
              Conflicts: lprng but 3.8.10-1 is to be installed
  cupsys-client: Conflicts: lprng but 3.8.10-1 is to be installed
  lprng: Conflicts: lpr
         Conflicts: cupsys-bsd but 1.1.18-2 is to be installed
E: Sorry, broken packages


My rational for wanting to do this is I'm using apt-get with =
--download-only to create a
local package mirror of everything I need to burn my own custom =
installer CD.
As it stands, I cannot use this method to create a package pool with any =
conflicting=20
packages.


My exact usage (with smaller package list for example) is:

~ #> apt-get -t woody -o Dir::Etc::sourcelist=3D./sources.list -o =
Dir::Etc::preferences=3D./preferences -o Dir::State::status=3D/dev/null =
-o Dir::Cache=3D/tmp/rep.6446 -o Dir::State=3D/tmp/rep.6446 -o =
Dir::Cache::Archives=3D/tmp/rep.6446/archives -o =
Dir::State::Lists=3D/tmp/rep.6446/lists --reinstall --download-only -y =
install lprng cupsys-bsd
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  cupsys-client debconf fileutils libc6 libcupsys2 libjpeg62 libpng2 =
libtiff3g
  perl-base zlib1g=20
The following NEW packages will be installed:
  cupsys-bsd cupsys-client debconf fileutils libc6 libcupsys2 libjpeg62 =
libpng2
  libtiff3g perl-base zlib1g=20
0 packages upgraded, 11 newly installed, 0 to remove and 0  not =
upgraded.
Need to get 5250kB of archives. After unpacking 19.0MB will be used.
Get:1 copy: woody/main libc6 2.2.5-11.2 [3383kB]
Get:2 copy: woody/main fileutils 4.1-10 [710kB]
Get:3 copy: woody-proposed-updates/main perl-base 5.6.1-8.2 [496kB]
Get:4 copy: woody/main debconf 1.0.32 [94.0kB]
Get:5 copy: woody/main zlib1g 1:1.1.4-1 [44.0kB]
Get:6 copy: woody-proposed-updates/main libpng2 1.0.12-3.woody.3 [107kB]
Get:7 copy: woody/main libjpeg62 6b-5 [76.4kB]
Get:8 copy: woody/main libtiff3g 3.5.5-6 [79.6kB]
Get:9 copy: woody-proposed-updates/main libcupsys2 1.1.14-4 [110kB]
Get:10 copy: woody-proposed-updates/main cupsys-client 1.1.14-4 [83.1kB]
Get:11 copy: woody-proposed-updates/main cupsys-bsd 1.1.14-4 [66.9kB]
Fetched 5250kB in 1s (3824kB/s)
Download complete and in download only mode

Note that lptng has been silently dropped from the packages retrieved.

I am using sid, kernel 2.4.18 and libc6 2.3.1-9

-Bruce





---------------------------------------
Received: (at 176573-done) by bugs.debian.org; 13 Jan 2003 20:39:01 +0000
>From jgg@debian.org Mon Jan 13 14:39:01 2003
Return-path: <jgg@debian.org>
Received: from shawidc-mo1.cg.shawcable.net (pd3mo1so.prod.shaw.ca) [24.71.223.10] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18YBML-0001Z2-00; Mon, 13 Jan 2003 14:39:01 -0600
Received: from pd6mr3so.prod.shaw.ca
 (pd6mr3so-qfe3.prod.shaw.ca [10.0.141.218]) by l-daemon
 (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0H8O006I96O9BU@l-daemon> for 176573-done@bugs.debian.org; Mon,
 13 Jan 2003 13:38:33 -0700 (MST)
Received: from pn2ml6so.prod.shaw.ca
 (pn2ml6so-qfe0.prod.shaw.ca [10.0.121.150]) by l-daemon
 (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0H8O00E4H6O904@l-daemon> for 176573-done@bugs.debian.org; Mon,
 13 Jan 2003 13:38:33 -0700 (MST)
Received: from wakko.debian.net ([24.86.195.248])
 by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0H8O00C2T6O822@l-daemon> for 176573-done@bugs.debian.org; Mon,
 13 Jan 2003 13:38:32 -0700 (MST)
Received: from localhost	([127.0.0.1] helo=wakko.debian.net ident=jgg)
	by wakko.debian.net with smtp (Exim 3.35 #1 (Debian))
	id 18YBLs-00041u-00; Mon, 13 Jan 2003 13:38:32 -0700
Date: Mon, 13 Jan 2003 13:38:31 -0700 (MST)
From: Jason Gunthorpe <jgg@debian.org>
Subject: Re: Bug#176573: FW: apt-get "+" qualifier on package names doesn't
 work as documented.
In-reply-to: 
 <[🔎] 432296A5CDF78D4FA6B47869124755FBCF1386@communicator.troikanetworks.com>
X-Sender: jgg@wakko.debian.net
To: Bruce Edge <bedge@troikanetworks.com>, 176573-done@bugs.debian.org
Cc: APT Development Team <deity@lists.debian.org>, apt@packages.qa.debian.org
Message-id: <[🔎] Pine.LNX.3.96.1030113133614.15263A-100000@wakko.debian.net>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
Delivered-To: 176573-done@bugs.debian.org
X-Spam-Status: No, hits=-8.8 required=5.0
	tests=EMAIL_ATTRIBUTION,IN_REP_TO,OUTLOOK_FW_MSG,
	      QUOTED_EMAIL_TEXT,SPAM_PHRASE_03_05,USER_AGENT_PINE
	version=2.41
X-Spam-Level: 


On Mon, 13 Jan 2003, Bruce  Edge wrote:

> The docs (man apt-get) state that you can append a plus sign to a
> package name in order to force it's installation despite conflicts: 

Er, it says 'decisions made by the conflict resolution system' not
'conflicts'. It's impossible to make apt do something that would violate
a packaging requirement.

> My rational for wanting to do this is I'm using apt-get with
> --download-only to create a local package mirror of everything I need to
> burn my own custom installer CD.  As it stands, I cannot use this method
> to create a package pool with any conflicting packages. 

This is correct. apt-get is not a downloader tool. I think other people
have made downloader tools that can be used for what you want, though
I've never used them and don't know what they are called :>

FYI, it would be fairly striaght forward to write a tool like this based
on libapt-pkg, but I don't think anyone has.

Jason



Reply to: