[Bug 1239416] Re: Alien fails to create deb if directory already exists
Manee Osman
1239416 at bugs.launchpad.net
Wed Mar 8 12:26:28 UTC 2017
@Michal Grňo (michal-grno) fix help me, thank you.
why they don't include it already?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to alien in Ubuntu.
https://bugs.launchpad.net/bugs/1239416
Title:
Alien fails to create deb if directory already exists
Status in alien package in Ubuntu:
Confirmed
Bug description:
1) alien -i any-rpm-file.rpm
2) ctrl+ c to cancel (for example: oh no! I wanted to use --to-deb instead)
3) alien -i any-rpm-file.rmp
4) mkdir: cannot create directory ‘oracle-instantclient12.1-basic-12.1.0.1.0’: File exists
Files affected:
/usr/share/perl5/Alien/Package.pm line 257.
/usr/share/perl5/Alien/Package/Deb.pm line 299
Solution:
Replace mkdir with mkdir -p
-p, --parents
no error if existing, make parent directories as needed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alien/+bug/1239416/+subscriptions
More information about the foundations-bugs
mailing list