Package: module-assistant
Version: 0.9.8
Severity: normal
File: /usr/bin/m-a

/usr/share/modass/packages/generic.sh uses tar incorrectly; it assumes
that the default archive to extract is on stdin, whereas the TAPE
environment variable overrides that.

The line:

         action bzcat $tarball | action tar xv

should be:

         action bzcat $tarball | action tar xvf -

or perhaps better:

         action tar xv --bzip2 $tarball


An example session demonstrating the problem follows.  This was run
after a successful installation (which had unset TAPE); I see that
despite the error module-assistant continues with the installation.
Maybe that's an error too.

# export TAPE=/dev/biteme
# m-a -vt a-i fuse
MA_SOURCE_PKG=fuse-source /usr/share/modass/packages/default.sh download
 apt-get -y --force-yes install fuse-source
Reading Package Lists... Done
Building Dependency Tree... Done
fuse-source is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 72 not upgraded.
Updating info about fuse

Updated infos about 1 packages
MA_SOURCE_PKG=fuse-source /usr/share/modass/packages/default.sh unpack
Extracting the package tarball, /usr/src/fuse.tar.bz2
 bzcat /usr/src/fuse.tar.bz2
 tar xv
tar: /dev/biteme: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Target package file
/usr/src/fuse-module-2.6.10_2.3.0-1_i386.deb
already exists, not rebuilding!
dpkg -Ei /usr/src/fuse-module-2.6.10_2.3.0-1_i386.debVersion 2.3.0-1 of fuse-module-2.6.10 already installed, skipping.
zsh: exit 13    m-a -vt a-i fuse



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages module-assistant depends on:
ii libtext-wrapi18n-perl 0.06-2 internationalized substitute of Te ii perl 5.8.7-3 Larry Wall's Practical Extraction

Versions of packages module-assistant recommends:
ii liblocale-gettext-perl 1.05-1 Using libc functions for internati ii libterm-size-perl 0.2-1 Perl extension for retrieving term

-- no debconf information
Package: module-assistant
Version: 0.9.8
Severity: normal
File: /usr/bin/m-a

/usr/share/modass/packages/generic.sh uses tar incorrectly; it assumes
that the default archive to extract is on stdin, whereas the TAPE
environment variable overrides that.

The line:

         action bzcat $tarball | action tar xv

should be:

         action bzcat $tarball | action tar xvf -

or perhaps better:

         action tar xv --bzip2 $tarball


An example session demonstrating the problem follows.  This was run
after a successful installation (which had unset TAPE); I see that
despite the error module-assistant continues with the installation.
Maybe that's an error too.

# export TAPE=/dev/biteme
# m-a -vt a-i fuse
MA_SOURCE_PKG=fuse-source /usr/share/modass/packages/default.sh download
 apt-get -y --force-yes install fuse-source
Reading Package Lists... Done
Building Dependency Tree... Done
fuse-source is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 72 not upgraded.
Updating info about fuse

Updated infos about 1 packages
MA_SOURCE_PKG=fuse-source /usr/share/modass/packages/default.sh unpack
Extracting the package tarball, /usr/src/fuse.tar.bz2
 bzcat /usr/src/fuse.tar.bz2
 tar xv
tar: /dev/biteme: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Target package file
/usr/src/fuse-module-2.6.10_2.3.0-1_i386.deb
already exists, not rebuilding!
dpkg -Ei /usr/src/fuse-module-2.6.10_2.3.0-1_i386.debVersion 2.3.0-1 of fuse-module-2.6.10 already installed, skipping.
zsh: exit 13    m-a -vt a-i fuse



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages module-assistant depends on:
ii libtext-wrapi18n-perl 0.06-2 internationalized substitute of Te ii perl 5.8.7-3 Larry Wall's Practical Extraction

Versions of packages module-assistant recommends:
ii liblocale-gettext-perl 1.05-1 Using libc functions for internati ii libterm-size-perl 0.2-1 Perl extension for retrieving term

-- no debconf information
Package: module-assistant
Version: 0.9.8
Severity: normal
File: /usr/bin/m-a

/usr/share/modass/packages/generic.sh uses tar incorrectly; it assumes
that the default archive to extract is on stdin, whereas the TAPE
environment variable overrides that.

The line:

         action bzcat $tarball | action tar xv

should be:

         action bzcat $tarball | action tar xvf -

or perhaps better:

         action tar xv --bzip2 $tarball


An example session demonstrating the problem follows.  This was run
after a successful installation (which had unset TAPE); I see that
despite the error module-assistant continues with the installation.
Maybe that's an error too.

# export TAPE=/dev/biteme
# m-a -vt a-i fuse
MA_SOURCE_PKG=fuse-source /usr/share/modass/packages/default.sh download
 apt-get -y --force-yes install fuse-source
Reading Package Lists... Done
Building Dependency Tree... Done
fuse-source is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 72 not upgraded.
Updating info about fuse

Updated infos about 1 packages
MA_SOURCE_PKG=fuse-source /usr/share/modass/packages/default.sh unpack
Extracting the package tarball, /usr/src/fuse.tar.bz2
 bzcat /usr/src/fuse.tar.bz2
 tar xv
tar: /dev/biteme: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Target package file
/usr/src/fuse-module-2.6.10_2.3.0-1_i386.deb
already exists, not rebuilding!
dpkg -Ei /usr/src/fuse-module-2.6.10_2.3.0-1_i386.debVersion 2.3.0-1 of fuse-module-2.6.10 already installed, skipping.
zsh: exit 13    m-a -vt a-i fuse



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages module-assistant depends on:
ii libtext-wrapi18n-perl 0.06-2 internationalized substitute of Te ii perl 5.8.7-3 Larry Wall's Practical Extraction

Versions of packages module-assistant recommends:
ii liblocale-gettext-perl 1.05-1 Using libc functions for internati ii libterm-size-perl 0.2-1 Perl extension for retrieving term

-- no debconf information


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

Reply via email to