Tuesday, 21 May 2013

Sub-process /usr/bin/dpkg returned an error code (1) while doing sudo apt-get install xrdp

Sub-process /usr/bin/dpkg returned an error code (1) while doing sudo apt-get install xrdp

Well when I trying to install xrdp via
sudo apt-get install xrdp it gives me the following error
ishal@vishal:~$ sudo spt-get install xrdp
[sudo] password for vishal:
sudo: spt-get: command not found
vishal@vishal:~$ sudo apt-get install xrdp
Reading package lists... Done
Building dependency tree      
Reading state information... Done
xrdp is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 49 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up xrdp (0.5.0-2) ...
update-rc.d: chdir /etc/rc0.d: No such file or directory
dpkg: error processing xrdp (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up hadoop-yarn-resourcemanager (2.0.0+960-1.cdh4.2.1.p0.9~precise-cdh4.2.1) ...
update-rc.d: chdir /etc/rc0.d: No such file or directory
dpkg: error processing hadoop-yarn-resourcemanager (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 xrdp
 hadoop-yarn-resourcemanager
E: Sub-process /usr/bin/dpkg returned an error code (1)
I am facing these issues regularly..
What in general should I do?

No comments:

Post a Comment