dpkg-deb: error: control directory has bad permissions
I'm running an Ubuntu 12.04 VM and trying to convert an rpm file to a deb file. When I run sudo alien --to-deb --scripts oracle-xe-11.2.0-1.0.x86_64.rpm I get this error
dpkg-deb: error: control directory has bad permissions 777 (must be
> >=0755 and <=0775)
I tried sudo chmod 0755 oracle-xe-11.2.0-1.0.x86_64.rpm and sudo chmod -R 0755 on the directory containing the file and still get the error. What is the control directory?
Update
Sorry for not realizing this before I am getting this error before the control directory error.
dpkg-shlibdeps: warning: /usr/lib/x86_64-linux-gnu/libXm.so.3 has an unexpected SONAME (libXm.so.4)
dpkg-shlibdeps: error: no dependency information found for /usr/lib/x86_64-linux-gnu/libXm.so.3
I ran sudo apt-file search libXm.so.3 and it returned libmotif4: /usr/lib/x86_64-linux-gnu/libXm.so.3 so I downloaded libmotif4 and still got the error and then downloaded libmotif3 as well and got the error.
I ran sudo alien -g my.rpm and that generated oracle-xe-11.2.0 and oracle-xe-11.2.0.orig directories. I ran sudo chmod -R 0755 oracle-xe-11.2.0 and then ran debian/rules binary to generate the errors described above.
ubuntu dpkg deb alien
|
show 2 more comments
I'm running an Ubuntu 12.04 VM and trying to convert an rpm file to a deb file. When I run sudo alien --to-deb --scripts oracle-xe-11.2.0-1.0.x86_64.rpm I get this error
dpkg-deb: error: control directory has bad permissions 777 (must be
> >=0755 and <=0775)
I tried sudo chmod 0755 oracle-xe-11.2.0-1.0.x86_64.rpm and sudo chmod -R 0755 on the directory containing the file and still get the error. What is the control directory?
Update
Sorry for not realizing this before I am getting this error before the control directory error.
dpkg-shlibdeps: warning: /usr/lib/x86_64-linux-gnu/libXm.so.3 has an unexpected SONAME (libXm.so.4)
dpkg-shlibdeps: error: no dependency information found for /usr/lib/x86_64-linux-gnu/libXm.so.3
I ran sudo apt-file search libXm.so.3 and it returned libmotif4: /usr/lib/x86_64-linux-gnu/libXm.so.3 so I downloaded libmotif4 and still got the error and then downloaded libmotif3 as well and got the error.
I ran sudo alien -g my.rpm and that generated oracle-xe-11.2.0 and oracle-xe-11.2.0.orig directories. I ran sudo chmod -R 0755 oracle-xe-11.2.0 and then ran debian/rules binary to generate the errors described above.
ubuntu dpkg deb alien
you are better off compiling from source then converting with alien.
– Panther
Dec 29 '15 at 22:20
is the source contained within the rpm file?
– gary69
Dec 29 '15 at 22:27
no, it would be in the source rpm .
– Panther
Dec 29 '15 at 22:40
I highly suggest you run this on a .rpm system such as RHEL or Centos. You can try this - wiki.debian.org/DataBase/Oracle
– Panther
Dec 29 '15 at 22:45
Ok thank you, i came across that link before but it only has a .deb for oracle 10 and not 11. I tried on Fedora and faced a lot of issues with that and read that oracle isn't supported on Fedora community.oracle.com/thread/2279145?tstart=0. I'll try Centos
– gary69
Dec 29 '15 at 23:02
|
show 2 more comments
I'm running an Ubuntu 12.04 VM and trying to convert an rpm file to a deb file. When I run sudo alien --to-deb --scripts oracle-xe-11.2.0-1.0.x86_64.rpm I get this error
dpkg-deb: error: control directory has bad permissions 777 (must be
> >=0755 and <=0775)
I tried sudo chmod 0755 oracle-xe-11.2.0-1.0.x86_64.rpm and sudo chmod -R 0755 on the directory containing the file and still get the error. What is the control directory?
Update
Sorry for not realizing this before I am getting this error before the control directory error.
dpkg-shlibdeps: warning: /usr/lib/x86_64-linux-gnu/libXm.so.3 has an unexpected SONAME (libXm.so.4)
dpkg-shlibdeps: error: no dependency information found for /usr/lib/x86_64-linux-gnu/libXm.so.3
I ran sudo apt-file search libXm.so.3 and it returned libmotif4: /usr/lib/x86_64-linux-gnu/libXm.so.3 so I downloaded libmotif4 and still got the error and then downloaded libmotif3 as well and got the error.
I ran sudo alien -g my.rpm and that generated oracle-xe-11.2.0 and oracle-xe-11.2.0.orig directories. I ran sudo chmod -R 0755 oracle-xe-11.2.0 and then ran debian/rules binary to generate the errors described above.
ubuntu dpkg deb alien
I'm running an Ubuntu 12.04 VM and trying to convert an rpm file to a deb file. When I run sudo alien --to-deb --scripts oracle-xe-11.2.0-1.0.x86_64.rpm I get this error
dpkg-deb: error: control directory has bad permissions 777 (must be
> >=0755 and <=0775)
I tried sudo chmod 0755 oracle-xe-11.2.0-1.0.x86_64.rpm and sudo chmod -R 0755 on the directory containing the file and still get the error. What is the control directory?
Update
Sorry for not realizing this before I am getting this error before the control directory error.
dpkg-shlibdeps: warning: /usr/lib/x86_64-linux-gnu/libXm.so.3 has an unexpected SONAME (libXm.so.4)
dpkg-shlibdeps: error: no dependency information found for /usr/lib/x86_64-linux-gnu/libXm.so.3
I ran sudo apt-file search libXm.so.3 and it returned libmotif4: /usr/lib/x86_64-linux-gnu/libXm.so.3 so I downloaded libmotif4 and still got the error and then downloaded libmotif3 as well and got the error.
I ran sudo alien -g my.rpm and that generated oracle-xe-11.2.0 and oracle-xe-11.2.0.orig directories. I ran sudo chmod -R 0755 oracle-xe-11.2.0 and then ran debian/rules binary to generate the errors described above.
ubuntu dpkg deb alien
ubuntu dpkg deb alien
edited Jan 9 at 15:56
Community♦
1
1
asked Dec 29 '15 at 21:55
gary69gary69
1347
1347
you are better off compiling from source then converting with alien.
– Panther
Dec 29 '15 at 22:20
is the source contained within the rpm file?
– gary69
Dec 29 '15 at 22:27
no, it would be in the source rpm .
– Panther
Dec 29 '15 at 22:40
I highly suggest you run this on a .rpm system such as RHEL or Centos. You can try this - wiki.debian.org/DataBase/Oracle
– Panther
Dec 29 '15 at 22:45
Ok thank you, i came across that link before but it only has a .deb for oracle 10 and not 11. I tried on Fedora and faced a lot of issues with that and read that oracle isn't supported on Fedora community.oracle.com/thread/2279145?tstart=0. I'll try Centos
– gary69
Dec 29 '15 at 23:02
|
show 2 more comments
you are better off compiling from source then converting with alien.
– Panther
Dec 29 '15 at 22:20
is the source contained within the rpm file?
– gary69
Dec 29 '15 at 22:27
no, it would be in the source rpm .
– Panther
Dec 29 '15 at 22:40
I highly suggest you run this on a .rpm system such as RHEL or Centos. You can try this - wiki.debian.org/DataBase/Oracle
– Panther
Dec 29 '15 at 22:45
Ok thank you, i came across that link before but it only has a .deb for oracle 10 and not 11. I tried on Fedora and faced a lot of issues with that and read that oracle isn't supported on Fedora community.oracle.com/thread/2279145?tstart=0. I'll try Centos
– gary69
Dec 29 '15 at 23:02
you are better off compiling from source then converting with alien.
– Panther
Dec 29 '15 at 22:20
you are better off compiling from source then converting with alien.
– Panther
Dec 29 '15 at 22:20
is the source contained within the rpm file?
– gary69
Dec 29 '15 at 22:27
is the source contained within the rpm file?
– gary69
Dec 29 '15 at 22:27
no, it would be in the source rpm .
– Panther
Dec 29 '15 at 22:40
no, it would be in the source rpm .
– Panther
Dec 29 '15 at 22:40
I highly suggest you run this on a .rpm system such as RHEL or Centos. You can try this - wiki.debian.org/DataBase/Oracle
– Panther
Dec 29 '15 at 22:45
I highly suggest you run this on a .rpm system such as RHEL or Centos. You can try this - wiki.debian.org/DataBase/Oracle
– Panther
Dec 29 '15 at 22:45
Ok thank you, i came across that link before but it only has a .deb for oracle 10 and not 11. I tried on Fedora and faced a lot of issues with that and read that oracle isn't supported on Fedora community.oracle.com/thread/2279145?tstart=0. I'll try Centos
– gary69
Dec 29 '15 at 23:02
Ok thank you, i came across that link before but it only has a .deb for oracle 10 and not 11. I tried on Fedora and faced a lot of issues with that and read that oracle isn't supported on Fedora community.oracle.com/thread/2279145?tstart=0. I'll try Centos
– gary69
Dec 29 '15 at 23:02
|
show 2 more comments
1 Answer
1
active
oldest
votes
If your control directory is on NTFS file system, you will get this error. In fact, your file system should support file permissions.
So the first advice is to copy your files somewhere in your home directory that has Ex4 or other file system.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f252244%2fdpkg-deb-error-control-directory-has-bad-permissions%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
If your control directory is on NTFS file system, you will get this error. In fact, your file system should support file permissions.
So the first advice is to copy your files somewhere in your home directory that has Ex4 or other file system.
add a comment |
If your control directory is on NTFS file system, you will get this error. In fact, your file system should support file permissions.
So the first advice is to copy your files somewhere in your home directory that has Ex4 or other file system.
add a comment |
If your control directory is on NTFS file system, you will get this error. In fact, your file system should support file permissions.
So the first advice is to copy your files somewhere in your home directory that has Ex4 or other file system.
If your control directory is on NTFS file system, you will get this error. In fact, your file system should support file permissions.
So the first advice is to copy your files somewhere in your home directory that has Ex4 or other file system.
answered Apr 5 '17 at 2:45
sarigalinsarigalin
1313
1313
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f252244%2fdpkg-deb-error-control-directory-has-bad-permissions%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
you are better off compiling from source then converting with alien.
– Panther
Dec 29 '15 at 22:20
is the source contained within the rpm file?
– gary69
Dec 29 '15 at 22:27
no, it would be in the source rpm .
– Panther
Dec 29 '15 at 22:40
I highly suggest you run this on a .rpm system such as RHEL or Centos. You can try this - wiki.debian.org/DataBase/Oracle
– Panther
Dec 29 '15 at 22:45
Ok thank you, i came across that link before but it only has a .deb for oracle 10 and not 11. I tried on Fedora and faced a lot of issues with that and read that oracle isn't supported on Fedora community.oracle.com/thread/2279145?tstart=0. I'll try Centos
– gary69
Dec 29 '15 at 23:02