dpkg: error processing selinux-policy-default (--configure)

Asked by suresh_vandiyur@yahoo.co.in on 2008-10-04

root@suresh-desktop:~# apt-get install wine
Reading package lists... Done
Building dependency tree
Reading state information... Done
wine is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 230 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up selinux-policy-default (1:1.26-7) ...
make: *** /etc/selinux/src: No such file or directory. Stop.
dpkg: error processing selinux-policy-default (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 selinux-policy-default
E: Sub-process /usr/bin/dpkg returned an error code

how to install wine
Help me
BY
Suresh

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu selinux-policy-default Edit question
Assignee:
No assignee Edit question
Solved by:
Luky Winarto
Solved:
2008-10-07
Last query:
2008-10-07
Last reply:
2008-10-06

This question was reopened

Hi,

The output "wine is already the newest version." means than wine is already installed on your pc. To install a Windows program, open a terminal and enter something like this:

$ cd <location of .exe Windows program installer>
$ wine <name of .exe Windows program installer>

This will launch the Windows installer so that wine can install it in Ubuntu.

Please check https://help.ubuntu.com/community/Wine for more info on how to use wine.

Regards,

Mark

Luky Winarto (luckyborneo) said : #2

Hi suresh_vandiyur, Mark's answer is absolutely right. Your Wine is already installed and the newest ones, according to your repository. But, if you want to install the latest version (wine-1.1.5), you probably want to visit this site:
http://www.winehq.org/site/download-deb

Have a nice try...

-Luky-

hello

How to install Wine.... /usr/bin/dkeg error was in wine installation.. how to recover and how to install wine.... ya...
i have another doubt,can you help me
whenever i start my machine,after the login one empty pdf file and empty word file was opened. i did not set any crontab ya... how to stop ya.. help me
by
Suresh

Mark Rijckenberg <email address hidden> wrote: Your question #47111 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/47111

    Status: Open => Answered

Mark Rijckenberg proposed the following answer:
Hi,

The output "wine is already the newest version." means than wine is
already installed on your pc. To install a Windows program, open a
terminal and enter something like this:

$ cd
$ wine

This will launch the Windows installer so that wine can install it in
Ubuntu.

Please check https://help.ubuntu.com/community/Wine for more info on how
to use wine.

Regards,

Mark

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/47111/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/47111

You received this question notification because you are a direct
subscriber of the question.

---------------------------------
 Connect with friends all over the world. Get Yahoo! India Messenger.

Best Luky Winarto (luckyborneo) said : #4

Hi suresh_vandiyur,
Is this the error did you mean?
dpkg: error processing selinux-policy-default (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 selinux-policy-default
E: Sub-process /usr/bin/dpkg returned an error code

ya... you r correct.. That is my problem

ya.. you are correct... That was occured.. how to recover that?..
Help me
Suresh

Luky Winarto <email address hidden> wrote: Your question #47111 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/47111

    Status: Open => Answered

Luky Winarto proposed the following answer:
Hi suresh_vandiyur,
Is this the error did you mean?
dpkg: error processing selinux-policy-default (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 selinux-policy-default
E: Sub-process /usr/bin/dpkg returned an error code

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/47111/+confirm?answer_id=3

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/47111

You received this question notification because you are a direct
subscriber of the question.

---------------------------------
 Connect with friends all over the world. Get Yahoo! India Messenger.

Hi,

Please try this suggestion: http://ubuntuforums.org/showthread.php?t=343280

So open a terminal and run:

sudo aptitude update
sudo aptitude purge selinux-policy-default

You might be getting the selinux errors above, because you tried to install/use selinux-policy-default on a non-selinux-compatible kernel.

Regards,

Mark