Package: alien
Version: 8.86
Severity: normal

I'm running alien in a directory where I have just unpacked a source tar.gz file
and made it into deb. This means the directory <program-name>-<source-version>
exists. As in this simulation:

fettuce$ mkdir paa-1
fettuce$ alien -r paa_1-2_all.deb 
Warning: alien is not running as root!
Warning: Ownerships of files in the generated packages will probably be wrong.
mkdir: cannot create directory `paa-1': File exists
unable to mkdir paa-1:  at /usr/share/perl5/Alien/Package.pm line 257.
fettuce$ 

Without my mkdir command it runs correctly.

Obviously, it is not for the user to "second guess" what name alien is going
to want to use for its work directory. Perhaps alien could use mktemp to
generate the name of the work directory or maybe use mktemp to make a sandbox 
in which alien could use any name it wanted?

Let me know if you need more info! Thanks and greetings

Alexis


-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages alien depends on:
ii  cpio                   2.11-4            GNU cpio -- a program to manage ar
ii  debhelper              8.0.0             helper programs for debian/rules
ii  dpkg-dev               1.15.8.10         Debian package development tools
ii  make                   3.81-8            An utility for Directing compilati
ii  perl                   5.10.1-17squeeze2 Larry Wall's Practical Extraction 
ii  rpm                    4.8.1-6           package manager for RPM
ii  rpm2cpio               4.8.1-6           tool to convert RPM package to CPI

alien recommends no packages.

Versions of packages alien suggests:
ii  bzip2                         1.0.5-6    high-quality block-sorting file co
ii  lintian                       2.4.3      Debian package checker
pn  lsb-rpm                       <none>     (no description available)
ii  lzma                          4.43-14    Compression method of 7z format in
ii  patch                         2.6-2      Apply a diff file to an original

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to