0

I find myself unable to convert a .deb package to .rpm to install it on fedora. I am not able to download the equivalent rpm file, so conversion is my only way out. I get this error after using the prompt alien -r package.deb as su.

Package build failed. Here's the log of the command (cd shadow-beta-0.8.62; rpmbuild --buildroot='/home/user/shadow/shadow-alpha-artful(1)/shadow-beta-0.8.62' -bb --target x86_64 'shadow-beta-0.8.62-2.spec'):
Fehler: Zeile 5: Leerer Tag: Summary:
Für folgende Zielplattform(en) wird gebaut: x86_64

Edit: I am unable to follow the suggestions in the answers. How can I edit a file that is not even generated because the conversion failed?

  • alien --to-rpm --generate package.deb This should generate the source, and you can rebuild the package using rpmbuild -bb <packagename>.spec" after you edit the spec file. – msuchy Dec 29 '18 at 23:19
0

The tag named Summary in the RPM spec file is empty, but it is not allowed to be empty.

alien gets this information from the original deb, which means it must be missing there.

You can always edit the generated spec file and build the RPM yourself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.