* [gentoo-user] Use and removal of binary packages @ 2006-06-13 16:40 Kevin O'Gorman 2006-06-13 17:10 ` Neil Bothwick 0 siblings, 1 reply; 11+ messages in thread From: Kevin O'Gorman @ 2006-06-13 16:40 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 526 bytes --] How to remove a binary package? 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? Or must I install them using some tool that creates the metadata? ++ kevin -- Kevin O'Gorman, PhD [-- Attachment #2: Type: text/html, Size: 618 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Use and removal of binary packages 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-14 4:46 ` [gentoo-user] Use and removal of binary packages Kevin O'Gorman 0 siblings, 2 replies; 11+ messages in thread From: Neil Bothwick @ 2006-06-13 17:10 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1146 bytes --] 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. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Use and removal of binary packages 2006-06-13 17:10 ` Neil Bothwick @ 2006-06-13 20:08 ` Kevin O'Gorman 2006-06-13 20:58 ` Neil Bothwick 2006-06-14 4:46 ` [gentoo-user] Use and removal of binary packages Kevin O'Gorman 1 sibling, 1 reply; 11+ messages in thread From: Kevin O'Gorman @ 2006-06-13 20:08 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1643 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. 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 [-- Attachment #2: Type: text/html, Size: 2118 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Use and removal of binary packages 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 0 siblings, 1 reply; 11+ messages in thread From: Neil Bothwick @ 2006-06-13 20:58 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 868 bytes --] 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... [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* [gentoo-user] Raid and Gentoo 2006-06-13 20:58 ` Neil Bothwick @ 2006-06-13 22:01 ` Rafael Fernández López 2006-06-13 22:35 ` Barny M 0 siblings, 1 reply; 11+ messages in thread From: Rafael Fernández López @ 2006-06-13 22:01 UTC (permalink / raw To: gentoo-user Hi, I've bought a computer, and it has the possibility of making a RAID. I configured it through the BIOS setup. I've booted up Gentoo live cd with "dodmraid" parameter, so the raid was placed in /dev/maer/whatever. After installing everything (stage3, stage1 failed for me here in ~amd64), I got to the critical point: GRUB. I've *NO IDEA* of how should I configure GRUB to detect my RAID. If you can help me I'd be very happy !! Because I wonder: How can I say to GRUB where the kernel is, if for reading the "big hard disk" it needs to have a module (or not), just the kernel loaded, but what grub does is load the kernel, so WHAT I HAVE TO DO ? Thank you very much, Rafael Fernandez Lopez. -- "A la vista de suficientes ojos todos los errores resultan evidentes" - Linus Torvalds -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Raid and Gentoo 2006-06-13 22:01 ` [gentoo-user] Raid and Gentoo Rafael Fernández López @ 2006-06-13 22:35 ` Barny M 0 siblings, 0 replies; 11+ messages in thread From: Barny M @ 2006-06-13 22:35 UTC (permalink / raw To: gentoo-user Rafael Fernández López wrote: > I've *NO IDEA* of how should I configure GRUB to detect my RAID. If you > can help me I'd be very happy !! Hi Rafael, hope this will help: http://gentoo-wiki.com/Special:Search?search=Raid&go=Go If you are gonna using LVM, also http://www.gentoo.org/doc/en/lvm2.xml ~ Barny -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Use and removal of binary packages 2006-06-13 17:10 ` Neil Bothwick 2006-06-13 20:08 ` Kevin O'Gorman @ 2006-06-14 4:46 ` Kevin O'Gorman 2006-06-14 5:26 ` Richard Fish 1 sibling, 1 reply; 11+ messages in thread From: Kevin O'Gorman @ 2006-06-14 4:46 UTC (permalink / raw To: gentoo-user [-- 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 --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Use and removal of binary packages 2006-06-14 4:46 ` [gentoo-user] Use and removal of binary packages Kevin O'Gorman @ 2006-06-14 5:26 ` Richard Fish 2006-06-14 14:42 ` Kevin O'Gorman 0 siblings, 1 reply; 11+ messages in thread From: Richard Fish @ 2006-06-14 5:26 UTC (permalink / raw To: gentoo-user On 6/13/06, Kevin O'Gorman <kogorman@gmail.com> 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Use and removal of binary packages 2006-06-14 5:26 ` Richard Fish @ 2006-06-14 14:42 ` Kevin O'Gorman 2006-06-14 16:07 ` Neil Bothwick 0 siblings, 1 reply; 11+ messages in thread From: Kevin O'Gorman @ 2006-06-14 14:42 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 2230 bytes --] On 6/13/06, Richard Fish <bigfish@asmallpond.org> wrote: > > On 6/13/06, Kevin O'Gorman <kogorman@gmail.com> 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 Okay, that helped. But not as much as I had hoped. Now I get: > 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]) > > 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 find out what to do about this virtual. In /var/cache/edb/virtuals, I have > virtual/glibc sys-libs/glibc > and 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 [-- Attachment #2: Type: text/html, Size: 3521 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Use and removal of binary packages 2006-06-14 14:42 ` Kevin O'Gorman @ 2006-06-14 16:07 ` Neil Bothwick 2006-06-14 16:38 ` Kevin O'Gorman 0 siblings, 1 reply; 11+ messages in thread From: Neil Bothwick @ 2006-06-14 16:07 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 479 bytes --] 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. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Use and removal of binary packages 2006-06-14 16:07 ` Neil Bothwick @ 2006-06-14 16:38 ` Kevin O'Gorman 0 siblings, 0 replies; 11+ messages in thread From: Kevin O'Gorman @ 2006-06-14 16:38 UTC (permalink / raw To: gentoo-user On 6/14/06, Neil Bothwick <neil@digimed.co.uk> 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2006-06-14 16:58 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 ` [gentoo-user] Use and removal of binary packages Kevin O'Gorman 2006-06-14 5:26 ` 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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox