Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"xz" extension problem #46

Open
GoogleCodeExporter opened this issue Feb 18, 2016 · 1 comment
Open

"xz" extension problem #46

GoogleCodeExporter opened this issue Feb 18, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Files with "xz" extensions seem not to be installed with apt-cyg

What steps will reproduce the problem?
1. fresh install cygwin with default plus wget
2. try installing LibXpm4
3. get error "bunzip2: (stdin) is not a bzip2 file."

What is the expected output? What do you see instead?
packages should be installed without this error

What version of the product are you using? On what operating system?
v0.58

Please provide any additional information below.

Original issue reported on code.google.com by yilmaz.d...@gmail.com on 10 Jul 2014 at 12:53

@GoogleCodeExporter
Copy link
Author

at least, but not complete, the following change solves the problem.

    if [[ $file == *.bz2 ]]
    then
    cat $file | bunzip2 | tar > "/etc/setup/$pkg.lst" xvf - -C /
    elif [[ $file == *.xz ]]
    then
    cat $file | unxz | tar > "/etc/setup/$pkg.lst" xvf - -C /
    fi

Original comment by yilmaz.d...@gmail.com on 14 Jul 2014 at 12:36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant