public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Weird error emerging seahorse
@ 2006-04-02 20:49 Kristian Poul Herkild
  2006-04-03  9:16 ` Ow Mun Heng
  0 siblings, 1 reply; 6+ messages in thread
From: Kristian Poul Herkild @ 2006-04-02 20:49 UTC (permalink / raw
  To: gentoo-user

Emerging seahorse fails with following error:

...
mkdir -p /usr/share/mime/packages/
update-mime-database /usr/share/mime/
update-mime-database: I don't have write permission on /usr/share/mime.
Try rerunning me as root.
...
!!! ERROR: app-crypt/seahorse-0.7.8 failed.
!!! Function gnome2_src_install, Line 69, Exitcode 2
!!! install failed
!!! If you need support, post the topmost build error, NOT this status 
message.

And yes, I'm emerging it as root, having done a su - root


Kind Regards,
Kristian Poul Herkild
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Weird error emerging seahorse
  2006-04-02 20:49 [gentoo-user] Weird error emerging seahorse Kristian Poul Herkild
@ 2006-04-03  9:16 ` Ow Mun Heng
  2006-04-03 13:08   ` Kristian Poul Herkild
  0 siblings, 1 reply; 6+ messages in thread
From: Ow Mun Heng @ 2006-04-03  9:16 UTC (permalink / raw
  To: gentoo-user

On Sun, 2006-04-02 at 22:49 +0200, Kristian Poul Herkild wrote:
> Emerging seahorse fails with following error:
> 
> ...
> mkdir -p /usr/share/mime/packages/
> update-mime-database /usr/share/mime/
> update-mime-database: I don't have write permission on /usr/share/mime.
> Try rerunning me as root.
> ...
> !!! ERROR: app-crypt/seahorse-0.7.8 failed.
> !!! Function gnome2_src_install, Line 69, Exitcode 2
> !!! install failed
> !!! If you need support, post the topmost build error, NOT this status 
> message.

what about the dir permission?? Here's mine

 $ ls -ld mime
drwxr-xr-x  12 root root 4096 Mar 31 18:26 mime

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 17:16:07 up 2 days, 19:34, 7 users, load average: 0.31,
0.32, 0.44 


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Weird error emerging seahorse
  2006-04-03  9:16 ` Ow Mun Heng
@ 2006-04-03 13:08   ` Kristian Poul Herkild
  2006-04-03 18:07     ` Raphael Melo de Oliveira Bastos Sales
  0 siblings, 1 reply; 6+ messages in thread
From: Kristian Poul Herkild @ 2006-04-03 13:08 UTC (permalink / raw
  To: gentoo-user

Ow Mun Heng wrote:
> On Sun, 2006-04-02 at 22:49 +0200, Kristian Poul Herkild wrote:
>> Emerging seahorse fails with following error:
>>
>> ...
>> mkdir -p /usr/share/mime/packages/
>> update-mime-database /usr/share/mime/
>> update-mime-database: I don't have write permission on /usr/share/mime.
>> Try rerunning me as root.
>> ...
>> !!! ERROR: app-crypt/seahorse-0.7.8 failed.
>> !!! Function gnome2_src_install, Line 69, Exitcode 2
>> !!! install failed
>> !!! If you need support, post the topmost build error, NOT this status 
>> message.
> 
> what about the dir permission?? Here's mine
> 
>  $ ls -ld mime
> drwxr-xr-x  12 root root 4096 Mar 31 18:26 mime
> 

Apart from dates it's identical to the output I get.

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Weird error emerging seahorse
  2006-04-03 13:08   ` Kristian Poul Herkild
@ 2006-04-03 18:07     ` Raphael Melo de Oliveira Bastos Sales
  2006-04-03 20:57       ` Kristian Poul Herkild
  0 siblings, 1 reply; 6+ messages in thread
From: Raphael Melo de Oliveira Bastos Sales @ 2006-04-03 18:07 UTC (permalink / raw
  To: gentoo-user

Are you running this as root?

2006/4/3, Kristian Poul Herkild <kristian@herkild.dk>:
> Ow Mun Heng wrote:
> > On Sun, 2006-04-02 at 22:49 +0200, Kristian Poul Herkild wrote:
> >> Emerging seahorse fails with following error:
> >>
> >> ...
> >> mkdir -p /usr/share/mime/packages/
> >> update-mime-database /usr/share/mime/
> >> update-mime-database: I don't have write permission on /usr/share/mime.
> >> Try rerunning me as root.
> >> ...
> >> !!! ERROR: app-crypt/seahorse-0.7.8 failed.
> >> !!! Function gnome2_src_install, Line 69, Exitcode 2
> >> !!! install failed
> >> !!! If you need support, post the topmost build error, NOT this status
> >> message.
> >
> > what about the dir permission?? Here's mine
> >
> >  $ ls -ld mime
> > drwxr-xr-x  12 root root 4096 Mar 31 18:26 mime
> >
>
> Apart from dates it's identical to the output I get.
>
> -Kristian
> --
> gentoo-user@gentoo.org mailing list
>
>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Weird error emerging seahorse
  2006-04-03 18:07     ` Raphael Melo de Oliveira Bastos Sales
@ 2006-04-03 20:57       ` Kristian Poul Herkild
  2006-04-04  0:38         ` Richard Fish
  0 siblings, 1 reply; 6+ messages in thread
From: Kristian Poul Herkild @ 2006-04-03 20:57 UTC (permalink / raw
  To: gentoo-user

On Mon, 3 Apr 2006 15:07:33 -0300, Raphael Melo de Oliveira Bastos Sales wrote
> Are you running this as root?

Yes. I always emerge as root, since my ordinary user isn't in the emerge-group.

So basically this:
1) su - root
1.1) writing password and pressing enter
2) emerge seahorse
2.1) failure because it is not running as root.

Weird...

-Kristian


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Weird error emerging seahorse
  2006-04-03 20:57       ` Kristian Poul Herkild
@ 2006-04-04  0:38         ` Richard Fish
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Fish @ 2006-04-04  0:38 UTC (permalink / raw
  To: gentoo-user

On 4/3/06, Kristian Poul Herkild <kristian@herkild.dk> wrote:
> On Mon, 3 Apr 2006 15:07:33 -0300, Raphael Melo de Oliveira Bastos Sales wrote
> > Are you running this as root?
>
> Yes. I always emerge as root, since my ordinary user isn't in the emerge-group.
>
> So basically this:
> 1) su - root
> 1.1) writing password and pressing enter
> 2) emerge seahorse
> 2.1) failure because it is not running as root.

I think the normal portage configuration contains userpriv, which
causes portage to drop root privledges and run as portage:portage.

Try:

2) FEATURES=-userpriv emerge seahorse

Although it is a badly behaved ebuild that wants to modify actual
system files just to build...you might also have to disable
sandboxing.  See 'man make.conf'.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-04-04  0:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-02 20:49 [gentoo-user] Weird error emerging seahorse Kristian Poul Herkild
2006-04-03  9:16 ` Ow Mun Heng
2006-04-03 13:08   ` Kristian Poul Herkild
2006-04-03 18:07     ` Raphael Melo de Oliveira Bastos Sales
2006-04-03 20:57       ` Kristian Poul Herkild
2006-04-04  0:38         ` Richard Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox