From: "Kevin O'Gorman" <kogorman@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Use and removal of binary packages
Date: Tue, 13 Jun 2006 21:46:58 -0700 [thread overview]
Message-ID: <9acccfe50606132146w280fb2eaq150d7b9443f261ff@mail.gmail.com> (raw)
In-Reply-To: <20060613181003.166cf10d@hactar.digimed.co.uk>
[-- Attachment #1: Type: text/plain, Size: 2375 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 3247 bytes --]
next prev parent reply other threads:[~2006-06-14 4:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-13 16:40 [gentoo-user] Use and removal of binary packages Kevin O'Gorman
2006-06-13 17:10 ` Neil Bothwick
2006-06-13 20:08 ` Kevin O'Gorman
2006-06-13 20:58 ` Neil Bothwick
2006-06-13 22:01 ` [gentoo-user] Raid and Gentoo Rafael Fernández López
2006-06-13 22:35 ` Barny M
2006-06-14 4:46 ` Kevin O'Gorman [this message]
2006-06-14 5:26 ` [gentoo-user] Use and removal of binary packages Richard Fish
2006-06-14 14:42 ` Kevin O'Gorman
2006-06-14 16:07 ` Neil Bothwick
2006-06-14 16:38 ` Kevin O'Gorman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9acccfe50606132146w280fb2eaq150d7b9443f261ff@mail.gmail.com \
--to=kogorman@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox