From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FqNSz-0000V4-Vt for garchives@archives.gentoo.org; Wed, 14 Jun 2006 04:58:58 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k5E4vZgj011237; Wed, 14 Jun 2006 04:57:35 GMT Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.201]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k5E4kwnS013681 for ; Wed, 14 Jun 2006 04:46:59 GMT Received: by nz-out-0102.google.com with SMTP id z3so44149nzf for ; Tue, 13 Jun 2006 21:46:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=bJqmy7wGQsyc5z2rlGSgXMNpbrzGjdZFsiz3bvefeeDHPs8xxtdXRQKCfEH1Srajm6y5OeeYwMEDmgLNR6X+55s/goPc/WvMAGWXhAABTPAvzwCzRhBMJS/D13Q+2yZMF5h7zKhin6vSNuK++qNrlEF8kMGFtPOCbvKS2uLZJ2Y= Received: by 10.36.215.21 with SMTP id n21mr397273nzg; Tue, 13 Jun 2006 21:46:58 -0700 (PDT) Received: by 10.37.22.74 with HTTP; Tue, 13 Jun 2006 21:46:58 -0700 (PDT) Message-ID: <9acccfe50606132146w280fb2eaq150d7b9443f261ff@mail.gmail.com> Date: Tue, 13 Jun 2006 21:46:58 -0700 From: "Kevin O'Gorman" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Use and removal of binary packages In-Reply-To: <20060613181003.166cf10d@hactar.digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5179_9928257.1150260418342" References: <9acccfe50606130940o34c975f5kf44ccb290f93be45@mail.gmail.com> <20060613181003.166cf10d@hactar.digimed.co.uk> X-Archives-Salt: dabf0bd6-6215-42bc-8a17-faec93858c22 X-Archives-Hash: 15dd8f8018e19981bd3dff3729641a7f ------=_Part_5179_9928257.1150260418342 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 6/13/06, Neil Bothwick wrote: > > On Tue, 13 Jun 2006 09:40:47 -0700, Kevin O'Gorman wrote: > > > I may have a need to install one or more binary packages to fix > > a problem I'm having. These are ones that have been made for > > my system during normal emerges, but have since been pruned from > > the system. > > > > My question: how to clean up when I'm done? A cursory look at > > the packages makes me think they're plain tar archives with no > > metadata. How do I get rid of them when I'm done with them? > > There is metadata appended to the end of the file. If you try unpacking > one, you'll see a warning about extraneous data, this is the metadata. > > > Or must I install them using some tool that creates the metadata? > > What's wrong with installing with portage? Provided the packages are in > $PKGDIR, you can install with "emerge --usepkgonly packagename". You can > then unmerge in the usual way. > > If the package is one that prevents you from using portage, unpack it to > the root of your filesystem, then immediately use the above command to > emerge it properly. > > > -- > Neil Bothwick > > Failure is not an option...it is integrated with every Microsoft product. > > > Something about this is just not clicking with me. I restored my backup to an empty directory, chrooted to that directory, ran quickpkg on some of the packages I've been trying to re-emerge, and was feeling good. But... I got out of chroot, copied these to $PKGDIR (/usr/portage/packages) like the other packages there, and tried to emerge. No joy. Examples of what I tried: > treat Backups # emerge -v --usepkgonly =glib-1.2.10-r5 > Calculating dependencies > !!! There are no packages available to satisfy: "=glib-1.2.10-r5" > !!! Either add a suitable binary package or compile from an ebuild. > > treat Backups # and > treat dev-libs # emerge -v --usepkgonly ./glib-1.2.10-r5.tbz2 > emerging by path implies --oneshot... adding --oneshot to options. > > *** emerging by path is broken and may not always work!!! > > Calculating dependencies > *** You need to adjust PKGDIR to emerge this package. > > treat dev-libs # > But this one, for instance, was /usr/portage/packages/dev-libs/glib-1.2.10-r5.tbz2 and PKGDIR is /usr/portage/packages so what am I doing wrong now? This is getting demoralizing. ++ kevin -- Kevin O'Gorman, PhD ------=_Part_5179_9928257.1150260418342 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 6/13/06, Neil Bothwick <neil@digimed.co.uk> wrote:
On Tue, 13 Jun 2006 09:40:47 -0700, Kevin O'Gorman wrote:

> I may have a need to install one or more binary packages to fix
> a problem I'm having.  These are ones that have been made for
> my system during normal emerges, but have since been pruned from
> the system.
>
> My question: how to clean up when I'm done?  A cursory look at
> the packages makes me think they're plain tar archives with no
> metadata.  How do I get rid of them when I'm done with them?

There is metadata appended to the end of the file. If you try unpacking
one, you'll see a warning about extraneous data, this is the metadata.

> Or must I install them using some tool that creates the metadata?

What's wrong with installing with portage? Provided the packages are in
$PKGDIR, you can install with "emerge --usepkgonly packagename". You can
then unmerge in the usual way.

If the package is one that prevents you from using portage, unpack it to
the root of your filesystem, then immediately use the above command to
emerge it properly.


--
Neil Bothwick

Failure is not an option...it is integrated with every Microsoft product.


Something about this is just not clicking with me.  I restored my backup to
an empty directory, chrooted to that directory, ran quickpkg on some of the
packages I've been trying to re-emerge, and was feeling good.  But...

I got out of chroot, copied these to $PKGDIR (/usr/portage/packages) like
the other packages there, and tried to emerge.  No joy.  Examples of
what I tried:
treat Backups # emerge -v --usepkgonly =glib-1.2.10-r5
Calculating dependencies
!!! There are no packages available to satisfy: "=glib-1.2.10-r5"
!!! Either add a suitable binary package or compile from an ebuild.

treat Backups #

and
treat dev-libs # emerge -v --usepkgonly ./glib- 1.2.10-r5.tbz2
emerging by path implies --oneshot... adding --oneshot to options.

*** emerging by path is broken and may not always work!!!

Calculating dependencies
*** You need to adjust PKGDIR to emerge this package.

treat dev-libs #


But this one, for instance, was
/usr/portage/packages/dev-libs/glib-1.2.10-r5.tbz2
and PKGDIR is
/usr/portage/packages
so what am I doing wrong now?

This is getting demoralizing.

++ kevin
--
Kevin O'Gorman, PhD
------=_Part_5179_9928257.1150260418342-- -- gentoo-user@gentoo.org mailing list