FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 04-23-2011, 04:01 PM
"Hans-J. Ullrich"
 
Default howto modify dependencies?

Hi all,

as I have trouble with the package ppp since version 2.4.5-*, and no one cared
although I filed a bugreport, I set the package to hold (version 2.4.4-rel-10.1
is working fine!)

But as newer packages require higher versions of ppp, I cannot install them.
besides, all packages which are using ppp in higher versions, do also not work
at me.

However, as the old version is working fine, I am looking for a way, to install
newer packages but hold the old ppp-version. I could still not manage it,
because of dependencies (which is logically). Neither with aptitude nor with
apt-get I found an option. Any hints?

Talking of aptitude just a simple question: "apt-get --purge remove 2.6.32-*"
is removing anything with "2.6.32-" in its name. But aptitude does not offer
this option, doesn't it? Is aptitude using some other syntax???

Happy eastern!

Hans


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201104231801.40103.hans.ullrich@loop.de">http://lists.debian.org/201104231801.40103.hans.ullrich@loop.de


Sat Apr 23 18:30:01 2011
Return-path: <gentoo-dev+bounces-45404-tom=linux-archive.org@lists.gentoo.org>
Envelope-to: tom@linux-archive.org
Delivery-date: Sat, 23 Apr 2011 17:46:46 +0300
Received: from pigeon.gentoo.org ([208.92.234.80]:34262 helo=lists.gentoo.org)
by s2.java-tips.org with esmtps (TLSv1:AES256-SHA:256)
(Exim 4.69)
(envelope-from <gentoo-dev+bounces-45404-tom=linux-archive.org@lists.gentoo.org>)
id 1QDe6g-0000OA-RZ
for tom@linux-archive.org; Sat, 23 Apr 2011 17:46:46 +0300
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
by pigeon.gentoo.org (Postfix) with SMTP id 1D5C51C009;
Sat, 23 Apr 2011 16:04:18 +0000 (UTC)
X-Original-To: gentoo-dev@lists.gentoo.org
Delivered-To: gentoo-dev@lists.gentoo.org
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
by pigeon.gentoo.org (Postfix) with ESMTP id 05C2A1C018
for <gentoo-dev@lists.gentoo.org>; Sat, 23 Apr 2011 16:02:31 +0000 (UTC)
Received: from [192.168.1.101] (hnvr-4d07b258.pool.mediaWays.net [77.7.178.88])
(using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
(No client certificate requested)
(Authenticated sender: chithanh)
by smtp.gentoo.org (Postfix) with ESMTPSA id 1C0121B4015
for <gentoo-dev@lists.gentoo.org>; Sat, 23 Apr 2011 16:02:30 +0000 (UTC)
Message-ID: <4DB2F7FF.8040201@gentoo.org>
Date: Sat, 23 Apr 2011 18:02:07 +0200
From: =?UTF-8?B?Q2jDrS1UaGFuaCBDaHJpc3RvcGhlciBOZ3V54buFbg==?=
<chithanh@gentoo.org>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.18) Gecko/20110403 Gentoo/2.0.13 SeaMonkey/2.0.13
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] reconciling new-style virtuals with overlays, was:
RDEPENDing on packages from overlays?
References: <4DB26C3C.8090602@gentoo.org> <4DB2A9CD.7010708@gentoo.org> <20110423123235.1d618818@googlemail.com> <4DB2D3E4.9080005@gentoo.org> <20110423143709.4aa18f6a@googlemail.com> <4DB2E689.3010609@gentoo.org> <20110423155724.040acfc0@googlemail.com>
In-Reply-To: <20110423155724.040acfc0@googlemail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Ciaran McCreesh schrieb:
> On Sat, 23 Apr 2011 16:47:37 +0200
> Ch=C3=AD-Thanh Christopher Nguy=E1=BB=85n <chithanh@gentoo.org> wrote:
> =20
>> What I propose solves the problems that old-style virtuals introduce
>> in dependency resolution.
>> =20
> Not really, because it means we'd have to keep the nasty old code aroun=
d
> forever. If we just do away with the things entirely instead then we
> can pretend they never existed (like we did for ? : dependencies).
> =20

We can mostly pretend that they never existed. PROVIDE will only be
relevant during the installation phase.

>> What other problems do they cause?
>> =20
> DEPEND=3D">=3Dvirtual/blah-2"
>
> DEPEND=3D"virtual/blah[foo]"
>
> DEPEND=3D"!virtual/that-i-provide"
>
> PROVIDE=3D"not-a/virtual"
> =20
Would be ignored during dependency calculation and become
not-a/virtual-<version> in package.provided later.
> best_version virtual/blah
>
> The full VDB load required to figure out whether or not a virtual is
> installed

Problems I had indeed not taken into account are !virtual/foo
dependencies and USE flags in package.provided (not allowed yet, bug
142941). But the former are also not going to work any more if new-style
virtuals are used instead of old-style, as you block only the virtuals
and not their providers.

If the USE flag problem is considered a show-stopper, then I have to
take back my proposal until bug 142941 is fixed.


Regards,
Chi-Thanh Christopher Nguyen
 
Old 04-23-2011, 04:44 PM
David Kalnischkies
 
Default howto modify dependencies?

Hi Hans!

At first: This is a support question and properly better suited for
debian-user@ or its local off-springs. A german one is available, too!
debian-devel is for (suprise suprise) development discussions.

(and i have cc'ed you in this mail, which is against CoC…)

On Sat, Apr 23, 2011 at 18:01, Hans-J. Ullrich <hans.ullrich@loop.de> wrote:
> as I have trouble with the package ppp since version 2.4.5-*, and no one cared
> although I filed a bugreport, I set the package to hold (version 2.4.4-rel-10.1
> is working fine!)

Does your bugreport include as much information as possible?
Maybe if you tell us (read: debian-user not debian-devel) what your
problems with ppp are someone can point you into the right direction.
Pinging the maintainer helps sometimes, too.


> However, as the old version is working fine, I am looking for a way, to install
> newer packages but hold the old ppp-version. I could still not manage it,
> because of dependencies (which is logically). Neither with aptitude nor with
> apt-get I found an option. Any hints?

No option as ignoring dependencies is not an option (and not a good idea).
What you can do is 'apt-get build-dep' to install the build dependencies
of a package and 'apt-get source' to get the source code.
I would recommend to change the version in debian/changelog, after that
you can build it, for the lazy people 'apt-get source -b' will work.
You are out of luck if the source package depends on newer ppp than you
have (obviously), so this will not work for ever - or even at all now.
(in essence: you are starting your own more or less unsupportable backports)


> Talking of aptitude just a simple question: "apt-get --purge remove 2.6.32-*"
> is removing anything with "2.6.32-" in its name. But aptitude does not offer
> this option, doesn't it? Is aptitude using some other syntax???

Note that "2.6.32-*" in apt-get is NOT a shell-like global but a regular
expression! So it matches also "2.6.32", "2.6.32--------" and "226632"!

Don't know if and how aptitude supports this or not through,
not my cup of tea^Wpackage manager…


Best regards

David Kalnischkies


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: BANLkTimxfE62wB8Zt=v2OSKe9cOQyyfjWg@mail.gmail.com ">http://lists.debian.org/BANLkTimxfE62wB8Zt=v2OSKe9cOQyyfjWg@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 10:22 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org