Public bug reported:

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

** Affects: alien (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1239416

Title:
  Alien fails to create deb if directory already exists

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alien/+bug/1239416/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to