* [gentoo-user] how to emerge a binary package
@ 2016-08-10 21:26 covici
2016-08-10 22:27 ` Neil Bothwick
0 siblings, 1 reply; 4+ messages in thread
From: covici @ 2016-08-10 21:26 UTC (permalink / raw
To: gentoo-user
Hi. I would like to know the correct way to emerge a tbz2 file where I
wanted to go back to a version which worked and I had used a .9999
package, so I could not do it in .git (let me know if there is a way to
go back to a commit). What I did was to go to / and extract the
archive, but that totally hosed my system, because the /usr/lib which is
normally a link to /usr/lib64 was replace with a directory and so I was
getting lots of libraries which could not be found although they were
there. After discovering this and rebooting, etc. I solved the problem
by extracting to a temp directory and making sure bad things didn't
happen. Now I can watch, but is there a correct way to do this?
Thanks in advance for any suggestions.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] how to emerge a binary package
2016-08-10 21:26 [gentoo-user] how to emerge a binary package covici
@ 2016-08-10 22:27 ` Neil Bothwick
2016-08-10 23:17 ` covici
0 siblings, 1 reply; 4+ messages in thread
From: Neil Bothwick @ 2016-08-10 22:27 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1071 bytes --]
On Wed, 10 Aug 2016 17:26:02 -0400, covici@ccs.covici.com wrote:
> I would like to know the correct way to emerge a tbz2 file where I
> wanted to go back to a version which worked and I had used a .9999
> package, so I could not do it in .git (let me know if there is a way to
> go back to a commit). What I did was to go to / and extract the
> archive, but that totally hosed my system, because the /usr/lib which is
> normally a link to /usr/lib64 was replace with a directory and so I was
> getting lots of libraries which could not be found although they were
> there. After discovering this and rebooting, etc. I solved the problem
> by extracting to a temp directory and making sure bad things didn't
> happen. Now I can watch, but is there a correct way to do this?
I had exactly the same problem with /lib being overwritten when I
unpacked a tbz into /, it took a while to work out what was wrong.
Although it gives warnings, emerge -1a /path/to/pkg.tbz usually works.
--
Neil Bothwick
I get enough exercise just pushing my luck.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] how to emerge a binary package
2016-08-10 22:27 ` Neil Bothwick
@ 2016-08-10 23:17 ` covici
2016-08-10 23:20 ` Neil Bothwick
0 siblings, 1 reply; 4+ messages in thread
From: covici @ 2016-08-10 23:17 UTC (permalink / raw
To: gentoo-user
Neil Bothwick <neil@digimed.co.uk> wrote:
> On Wed, 10 Aug 2016 17:26:02 -0400, covici@ccs.covici.com wrote:
>
> > I would like to know the correct way to emerge a tbz2 file where I
> > wanted to go back to a version which worked and I had used a .9999
> > package, so I could not do it in .git (let me know if there is a way to
> > go back to a commit). What I did was to go to / and extract the
> > archive, but that totally hosed my system, because the /usr/lib which is
> > normally a link to /usr/lib64 was replace with a directory and so I was
> > getting lots of libraries which could not be found although they were
> > there. After discovering this and rebooting, etc. I solved the problem
> > by extracting to a temp directory and making sure bad things didn't
> > happen. Now I can watch, but is there a correct way to do this?
>
> I had exactly the same problem with /lib being overwritten when I
> unpacked a tbz into /, it took a while to work out what was wrong.
>
> Although it gives warnings, emerge -1a /path/to/pkg.tbz usually works.
OK, thanks. Is thea for ask?
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] how to emerge a binary package
2016-08-10 23:17 ` covici
@ 2016-08-10 23:20 ` Neil Bothwick
0 siblings, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2016-08-10 23:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 272 bytes --]
On Wed, 10 Aug 2016 19:17:04 -0400, covici@ccs.covici.com wrote:
> > Although it gives warnings, emerge -1a /path/to/pkg.tbz usually
> > works.
>
> OK, thanks. Is thea for ask?
Yes.
--
Neil Bothwick
Intel: where Quality is job number 0.9998782345!
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-08-10 23:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-10 21:26 [gentoo-user] how to emerge a binary package covici
2016-08-10 22:27 ` Neil Bothwick
2016-08-10 23:17 ` covici
2016-08-10 23:20 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox