[Bug 330286] Re: package selinux 1:0.3 failed to install/upgrade: subprocess pre-removal script returned error exit status 127
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: selinux (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/330286 Title: package selinux 1:0.3 failed to install/upgrade: subprocess pre- removal script returned error exit status 127 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/selinux/+bug/330286/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 330286] Re: package selinux 1:0.3 failed to install/upgrade: subprocess pre-removal script returned error exit status 127
Thanks, it helped me. Anyone should stay away from SELinux on Ubuntu as it's not well supported and you'll be in for a major headache. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/330286 Title: package selinux 1:0.3 failed to install/upgrade: subprocess pre- removal script returned error exit status 127 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 330286] Re: package selinux 1:0.3 failed to install/upgrade: subprocess pre-removal script returned error exit status 127
Hi all A workaround for fixing this problem (it worked for my Jaunty and selinux 1.0.4) is: 1.- Boot from liveCD, mount root partition in hard disk and delete /selinux and /etc/selinux (I got the idea from http://ubuntuforums.org/archive/index.php/t-1063667.html) 2.- After that, I realized that the problem was still the same (the same output that in #2), so I suppose that the last action wasn't relevant. Be free to do it or don't... 3.- then I tried to create the file generating the error... mad...@chispita:~$ sudo touch /etc/init.d/selinux 4.-...And change the permissions: mad...@chispita:~$ sudo chmod 0777 /etc/init.d/selinux 5.- And then... mad...@chispita:~$ sudo dpkg --force-remove-reinstreq -r selinux And that was all... Hope this can help to someone, but in any case the bug is still on. Best regards. -- package selinux 1:0.3 failed to install/upgrade: subprocess pre-removal script returned error exit status 127 https://bugs.launchpad.net/bugs/330286 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 330286] Re: package selinux 1:0.3 failed to install/upgrade: subprocess pre-removal script returned error exit status 127
This also happens with selinux 1.0.6 and 1.0.9 -- package selinux 1:0.3 failed to install/upgrade: subprocess pre-removal script returned error exit status 127 https://bugs.launchpad.net/bugs/330286 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 330286] Re: package selinux 1:0.3 failed to install/upgrade: subprocess pre-removal script returned error exit status 127
This also happens with selinux 1:0.4 -- package selinux 1:0.3 failed to install/upgrade: subprocess pre-removal script returned error exit status 127 https://bugs.launchpad.net/bugs/330286 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 330286] Re: package selinux 1:0.3 failed to install/upgrade: subprocess pre-removal script returned error exit status 127
sudo apt-get remove selinux Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: python-sepolgen python-selinux python-semanage checkpolicy selinux-utils libustr-1.0-1 libsemanage1 policycoreutils Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: selinux 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 127kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 401205 files and directories currently installed.) Removing selinux ... /var/lib/dpkg/info/selinux.prerm: 55: /etc/init.d/selinux: not found dpkg: error processing selinux (--remove): subprocess installed pre-removal script returned error exit status 127 Errors were encountered while processing: selinux E: Sub-process /usr/bin/dpkg returned an error code (1) -- package selinux 1:0.3 failed to install/upgrade: subprocess pre-removal script returned error exit status 127 https://bugs.launchpad.net/bugs/330286 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 330286] Re: package selinux 1:0.3 failed to install/upgrade: subprocess pre-removal script returned error exit status 127
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/22705027/Dependencies.txt ** Attachment added: DpkgTerminalLog.gz http://launchpadlibrarian.net/22705028/DpkgTerminalLog.gz -- package selinux 1:0.3 failed to install/upgrade: subprocess pre-removal script returned error exit status 127 https://bugs.launchpad.net/bugs/330286 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs