Re: [gentoo-user] Use and removal of binary packages

2006-06-14 Thread Kevin O'Gorman
On 6/13/06, Richard Fish [EMAIL PROTECTED] wrote:
On 6/13/06, Kevin O'Gorman [EMAIL PROTECTED] wrote: 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.Did you copy the entire PKGDIR heirarchy?It normally looks something like:$PKGDIR/All/glib-1.2.10-r5.tbz2...$PKGDIR/dev-libs/glib-
1.2.10-r5.tbz2 - ../All/glib-1.2.10-r5.tbz2If you just copied the 'All' directory, without the symlinks, thiscould account for the behavior you are seeing.-RichardOkay, that helped. But not as much as I had hoped.
Now I get:treat dev-libs # emerge -avk =glib-1.2.10-r5These are the packages that would be merged, in order:
Calculating dependencies -emerge: there are no ebuilds to satisfy virtual/glibc.(dependency required by dev-libs/glib-1.2.10-r5 [binary])treat dev-libs # So it sees that it has the glib package, but is still unwilling to emerge it
because of something else I need to do. But I don't know how to findout what to do about this virtual. In /var/cache/edb/virtuals, I have
virtual/glibc sys-libs/glibcand I have 2.3.6-r3 installed:sys-libs/glibc
 Available versions: [P]2.2.5-r10 [P]2.3.2-r12 2.3.3.20040420-r2 ~2.3.4.20040619-r2 2.3.4.20040808-r1 2.3.4.20041102-r1 *2.3.4.20041102-r2 ~2.3.4.20050125-r1 2.3.5 2.3.5-r1 2.3.5-r2 2.3.5-r3 *2.3.6 *2.3.6-r1 ~2.3.6-r2 
2.3.6-r3 ~2.3.6-r4 ~2.4-r1 ~2.4-r2 ~2.4-r3 Installed: 2.3.6-r3 Homepage: http://www.gnu.org/software/libc/libc.html Description: GNU libc6 (also called glibc2) C library
++ kevin-- Kevin O'Gorman, PhD


Re: [gentoo-user] Use and removal of binary packages

2006-06-14 Thread Neil Bothwick
On Wed, 14 Jun 2006 07:42:43 -0700, Kevin O'Gorman wrote:

  treat dev-libs # emerge -avk =glib-1.2.10-r5
 
  These are the packages that would be merged, in order:
 
  Calculating dependencies -
  emerge: there are no ebuilds to satisfy virtual/glibc.
  (dependency required by dev-libs/glib-1.2.10-r5 [binary])

As you obviously have glibc installed, try using the --nodeps option.


-- 
Neil Bothwick

Multitasking: Reading in the bathroom.


signature.asc
Description: PGP signature


Re: [gentoo-user] Use and removal of binary packages

2006-06-14 Thread Kevin O'Gorman

On 6/14/06, Neil Bothwick [EMAIL PROTECTED] wrote:

On Wed, 14 Jun 2006 07:42:43 -0700, Kevin O'Gorman wrote:

  treat dev-libs # emerge -avk =glib-1.2.10-r5
 
  These are the packages that would be merged, in order:
 
  Calculating dependencies -
  emerge: there are no ebuilds to satisfy virtual/glibc.
  (dependency required by dev-libs/glib-1.2.10-r5 [binary])

As you obviously have glibc installed, try using the --nodeps option.


--
Neil Bothwick


Good.  Now progress has been made, and the packages that depended on
glib are emerging.  One down, 6 to go.

++ kevin

--
Kevin O'Gorman, PhD
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Use and removal of binary packages

2006-06-13 Thread Kevin O'Gorman
On 6/13/06, Neil Bothwick [EMAIL PROTECTED] 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 unpackingone, 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 canthen 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 toemerge it properly.--Neil BothwickFailure is not an option...it is integrated with every Microsoft product.

Another killer .signature. Is it optimistic?

Anyway, thanks. This will do very nicely for me because I'll be using packages
created by portage. However, I'm not sure I got what you're talking about in that
last paragraph. Unpacking to the root would pollute everything, no? Then how
do I get a clean unmerge. Just for curiosity -- as I said, I don't think I need it for this.

++ kevin 
-- Kevin O'Gorman, PhD


Re: [gentoo-user] Use and removal of binary packages

2006-06-13 Thread Neil Bothwick
On Tue, 13 Jun 2006 13:08:56 -0700, Kevin O'Gorman wrote:

 However, I'm not sure I got what you're talking about
 in that
 last paragraph.  Unpacking to the root would pollute everything, no?
 Then how
 do I get a clean unmerge.  Just for curiosity -- as I said, I don't
 think I need it for this.

If you break your system to the extent that you cannot emerge anything,
such as accidentally unmerging Python, the way to get your system back is
to unpack the package. This copies the same files that an emerge would,
but skips the preinst/postinst stages of the merge and leaves the portage
database thinking the package isn't installed. So after unpacking the
archive and getting things working again, you should emerge the package
normally to keep portage straight.


-- 
Neil Bothwick

And all the Borg left was this copy of Windows...


signature.asc
Description: PGP signature


Re: [gentoo-user] Use and removal of binary packages

2006-06-13 Thread Kevin O'Gorman
On 6/13/06, Neil Bothwick [EMAIL PROTECTED] 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 unpackingone, 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 canthen 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 toemerge it properly.--Neil BothwickFailure is not an option...it is integrated with every Microsoft product.
Something about this is just not clicking with me. I restored my backup toan empty directory, chrooted to that directory, ran quickpkg on some of thepackages I've been trying to re-emerge, and was feeling good. But...
I got out of chroot, copied these to $PKGDIR (/usr/portage/packages) likethe other packages there, and tried to emerge. No joy. Examples ofwhat I tried:
treat Backups # emerge -v --usepkgonly =glib-1.2.10-r5Calculating 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.tbz2emerging 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.tbz2and PKGDIR is 
/usr/portage/packagesso what am I doing wrong now?This is getting demoralizing.++ kevin-- Kevin O'Gorman, PhD


Re: [gentoo-user] Use and removal of binary packages

2006-06-13 Thread Richard Fish

On 6/13/06, Kevin O'Gorman [EMAIL PROTECTED] wrote:

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.


Did you copy the entire PKGDIR heirarchy?  It normally looks something like:

$PKGDIR/All/glib-1.2.10-r5.tbz2
...
$PKGDIR/dev-libs/glib-1.2.10-r5.tbz2 - ../All/glib-1.2.10-r5.tbz2

If you just copied the 'All' directory, without the symlinks, this
could account for the behavior you are seeing.

-Richard
--
gentoo-user@gentoo.org mailing list