Ticket #1264 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

/usr/libexec/paludis/utils/unpack: line 103: strip_tar_corruption: command not found

Reported by: yuanyelele Owned by:
Priority: Sometime Milestone:
Component: core/paludis/util Version: 0.82.0
Keywords: unpack, strip_tar_corruption Cc:
Blocked By: Blocking:
Distribution: Gentoo

Description

in /etc/paludis/repositories/gentoo.conf:

sync = tar+file:///var/tmp/portage-latest.tar.xz

Then when I do 'cave sync':

Unpacking /var/tmp/paludis-tarsync-RZQtBy/portage-latest.tar.xz to /var/tmp/paludis-tarsync-RZQtBy/repository

xz -dc var/tmp/paludis-tarsync-RZQtBy/portage-latest.tar.xz | strip_tar_corruption | tar xf - --no-same-owner --strip-components=1 /usr/libexec/paludis/utils/unpack: line 103: strip_tar_corruption: command not found

Then I added an 'echo $PATH', which prints:

/usr/lib/ccache/bin/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin

And, I have in /etc/paludis/bashrc:

PATH="/usr/lib/ccache/bin/:${PATH}"

Change History

comment:1 Changed 6 years ago by yuanyelele

>>> Unpacking /var/tmp/paludis-tarsync-VIuIAf/portage-latest.tar.xz to /var/tmp/paludis-tarsync-VIuIAf/repository
xz -dc //var/tmp/paludis-tarsync-VIuIAf/portage-latest.tar.xz | strip_tar_corruption | tar xf - --no-same-owner --strip-components=1
/usr/lib/ccache/bin/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin
cp /var/tmp/portage-latest.tar.xz /var/tmp/paludis-tarsync-VIuIAf/portage-latest.tar.xz
/usr/libexec/paludis/utils/unpack: line 104: strip_tar_corruption: command not found
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
unpack: error: Couldn't unpack //var/tmp/paludis-tarsync-VIuIAf/portage-latest.tar.xz: 141 127 2
unpack: making ebuild PID  exit with error
/usr/libexec/paludis/utils/unpack: line 29: kill: `': not a pid or valid job spec

comment:2 Changed 6 years ago by ciaranm

Hrm. Either we need to stop using unpack there, or we need to set up some more env vars to keep unpack happy.

comment:3 Changed 6 years ago by dleverton

  • Status changed from new to closed
  • Resolution set to fixed

97a8c5f

Note: See TracTickets for help on using tickets.