You are not logged in.

#1 2011-12-20 02:00:33

pskept
Member
From: pineal gland
Registered: 2011-03-18
Posts: 32

[SOLVED] pacman -Rs lxdm - error: command failed to execute correctly

I received an error message when removing lxdm from my system. I am not sure if this is something I should be concerned with or not. Here is pacman's output:

[root@junta pskept]# pacman -Rs lxdm
checking dependencies...

Remove (2): lxdm-0.4.1-7  consolekit-0.4.5-1

Total Removed Size:   1.41 MB

Do you want to remove these packages? [Y/n] 
(1/2) removing lxdm                                          [################################] 100%
error: command failed to execute correctly
(2/2) removing consolekit                                    [################################] 100%
[root@junta pskept]# 

Last edited by pskept (2011-12-20 16:13:30)

Offline

#2 2011-12-20 09:21:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] pacman -Rs lxdm - error: command failed to execute correctly

Why are you running pacman as root?

Offline

#3 2011-12-20 11:13:33

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,640
Website

Re: [SOLVED] pacman -Rs lxdm - error: command failed to execute correctly

karol wrote:

Why are you running pacman as root?

Seriously....  ?

Offline

#4 2011-12-20 11:15:19

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] pacman -Rs lxdm - error: command failed to execute correctly

Allan wrote:
karol wrote:

Why are you running pacman as root?

Seriously....  ?

Hmmmm, you're right, that wasn't even funny.

Sorry.

Offline

#5 2011-12-20 13:51:43

pskept
Member
From: pineal gland
Registered: 2011-03-18
Posts: 32

Re: [SOLVED] pacman -Rs lxdm - error: command failed to execute correctly

i'm running it as root because i don't care to use sudo. its simple enough to log in as root when i need to. i don't see how that could be relevant to the issue i had.

Offline

#6 2011-12-20 14:30:08

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED] pacman -Rs lxdm - error: command failed to execute correctly

t's probably a post-remove script breaking. Might have to do with your $PATH value as root.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#7 2011-12-20 14:39:16

pskept
Member
From: pineal gland
Registered: 2011-03-18
Posts: 32

Re: [SOLVED] pacman -Rs lxdm - error: command failed to execute correctly

.:B:. wrote:

t's probably a post-remove script breaking. Might have to do with your $PATH value as root.

i have not altered root's $PATH value in any manual way. i cannot report the value of $PATH until this evening.

is this something that i need to be concerned with? is there intervention required on my part?

Offline

#8 2011-12-20 15:22:14

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [SOLVED] pacman -Rs lxdm - error: command failed to execute correctly

"error: command failed to execute correctly" is a message from pacman due to the post_remove hook's not returning 0.
Check out the INSTALL script for lxdm here: https://projects.archlinux.org/svntogit … kages/lxdm

Last edited by lolilolicon (2011-12-20 15:23:05)


This silver ladybug at line 28...

Offline

#9 2011-12-20 15:47:34

pskept
Member
From: pineal gland
Registered: 2011-03-18
Posts: 32

Re: [SOLVED] pacman -Rs lxdm - error: command failed to execute correctly

lolilolicon wrote:

"error: command failed to execute correctly" is a message from pacman due to the post_remove hook's not returning 0.
Check out the INSTALL script for lxdm here: https://projects.archlinux.org/svntogit … kages/lxdm

thanks. this clears things up for me.

should i now mark this thread [SOLVED]?

Offline

#10 2011-12-20 16:11:12

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [SOLVED] pacman -Rs lxdm - error: command failed to execute correctly

pskept wrote:

should i now mark this thread [SOLVED]?

Sure, as you will.


This silver ladybug at line 28...

Offline

#11 2011-12-20 17:18:00

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED] pacman -Rs lxdm - error: command failed to execute correctly

pskept wrote:
.:B:. wrote:

t's probably a post-remove script breaking. Might have to do with your $PATH value as root.

i have not altered root's $PATH value in any manual way. i cannot report the value of $PATH until this evening.

You probably did not indeed, but using su instead of su - will not give you a full root environment and hence not the full root $PATH (/sbin etc.).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#12 2011-12-20 17:19:27

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] pacman -Rs lxdm - error: command failed to execute correctly

the commands are fine but if you use an if block rather than logically statements, it will make pacman happy


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB