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

Failed installation on Ubuntu 17.10 #7

Open
kulla opened this issue Feb 14, 2018 · 11 comments
Open

Failed installation on Ubuntu 17.10 #7

kulla opened this issue Feb 14, 2018 · 11 comments

Comments

@kulla
Copy link

kulla commented Feb 14, 2018

I tried to follow the installation process mentioned at https://docs.qameta.io/allure/#_installing_a_commandline with the commands

sudo apt-add-repository ppa:qameta/allure
sudo apt-get update 
sudo apt-get install allure

However, after sudo apt-get update I get the following error:

....
Err:6 http://ppa.launchpad.net/qameta/allure/ubuntu artful Release                                                                                                                             
     404  Not Found
....
Reading package lists... Done                     
 E: The repository 'http://ppa.launchpad.net/qameta/allure/ubuntu artful Release' does not have a Release file.
 N: Updating from such a repository can't be done securely, and is therefore disabled by default.
 N: See apt-secure(8) manpage for repository creation and user configuration details.

Thus, I cannot install allure at Ubuntu 17.10.

@kulla
Copy link
Author

kulla commented Feb 14, 2018

I just see, that allure is only available on the LTS versions of Ubuntu. Is this intentional?

@aligin
Copy link

aligin commented Feb 28, 2018

The same with Debian Stretch.

@d-kay23
Copy link

d-kay23 commented Mar 5, 2018

They don't support unstable ubuntu versions, but you can workaround this if you don't care, just change line in repo lists:
sudo vim /etc/apt/sources.list.d/qameta-ubuntu-allure-artful.list
instead of:
deb http://ppa.launchpad.net/qameta/allure/ubuntu artful main
paste:
deb http://ppa.launchpad.net/qameta/allure/ubuntu xenial main

@aligin
Copy link

aligin commented Mar 5, 2018

Eventually I installed it manually by command (its docker)

RUN apt-get update && apt-get install -y default-jre

RUN curl -o allure-2.6.0.tgz -Ls https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/2.6.0/allure-2.6.0.tgz && tar -zxvf allure-2.6.0.tgz -C /opt/ && ln -s /opt/allure-2.6.0/bin/allure /usr/bin/allure && allure --version

@jyotsanam
Copy link

Unable to resolve this issue. Tried workaround suggested: the file is empty and second command did not run on my terminal. Please help.

@dudziakm
Copy link

dudziakm commented Aug 27, 2019

Eventually I installed it manually by command (its docker)

RUN apt-get update && apt-get install -y default-jre

RUN curl -o allure-2.6.0.tgz -Ls https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/2.6.0/allure-2.6.0.tgz && tar -zxvf allure-2.6.0.tgz -C /opt/ && ln -s /opt/allure-2.6.0/bin/allure /usr/bin/allure && allure --version

wow, perfect! Thank you! working so good :)

I am trying to do the same thing for the newer version but it is not so easy ;)

The following command installs Allure but now I am struggling with adding allure to PATH.

RUN curl -o allure-commandline-2.12.0.tgz -Ls http://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline/2.12.0/allure-commandline-2.12.0.tgz && \ tar -zxvf allure-commandline-2.12.0.tgz -C /opt/ && ln -s /opt/allure-commandline-2.12.0/bin/allure /usr/bin/allure

@dudziakm
Copy link

dudziakm commented Aug 27, 2019

I made something like that:

RUN curl -o allure-commandline-2.12.0.tgz -Ls http://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline/2.12.0/allure-commandline-2.12.0.tgz && \ tar -zxvf allure-commandline-2.12.0.tgz -C /opt/ && ln -s /opt/allure-commandline-2.12.0/bin/allure /usr/bin/allure

ENV PATH="$PATH:/opt/allure-2.12.0/bin"

RUN allure --version

Works perfectly :)

@snez
Copy link

snez commented Apr 21, 2021

The following worked for me on Debian 10

RUN apt update && \
    mkdir -p /usr/share/man/man1 && \
    apt install -y default-jre && \
    dpkg --configure -a
RUN curl -o allure-2.7.0.tgz -Ls https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/2.7.0/allure-2.7.0.tgz && \
    tar -zxvf allure-2.7.0.tgz -C /opt/ && \
    ln -s /opt/allure-2.7.0/bin/allure /usr/bin/allure && \
    allure --version

@exustash
Copy link

exustash commented Jun 23, 2021

The following worked for me on Debian 10

RUN apt update && \
    mkdir -p /usr/share/man/man1 && \
    apt install -y default-jre && \
    dpkg --configure -a
RUN curl -o allure-2.7.0.tgz -Ls https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/2.7.0/allure-2.7.0.tgz && \
    tar -zxvf allure-2.7.0.tgz -C /opt/ && \
    ln -s /opt/allure-2.7.0/bin/allure /usr/bin/allure && \
    allure --version

I get this error message

tar: Error opening archive: Unrecognized archive format on debian buster

@dy21335
Copy link

dy21335 commented Jul 4, 2021

Eventually I installed it manually by command (its docker)
RUN apt-get update && apt-get install -y default-jre
RUN curl -o allure-2.6.0.tgz -Ls https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/2.6.0/allure-2.6.0.tgz && tar -zxvf allure-2.6.0.tgz -C /opt/ && ln -s /opt/allure-2.6.0/bin/allure /usr/bin/allure && allure --version

wow, perfect! Thank you! working so good :)

I am trying to do the same thing for the newer version but it is not so easy ;)

The following command installs Allure but now I am struggling with adding allure to PATH.

RUN curl -o allure-commandline-2.12.0.tgz -Ls http://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline/2.12.0/allure-commandline-2.12.0.tgz && \ tar -zxvf allure-commandline-2.12.0.tgz -C /opt/ && ln -s /opt/allure-commandline-2.12.0/bin/allure /usr/bin/allure

thanks a lot. besides,i have to change http://repo.maven..... into https://repo.maven..... for Allure

@trishAme
Copy link

I made something like that:

RUN curl -o allure-commandline-2.12.0.tgz -Ls http://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline/2.12.0/allure-commandline-2.12.0.tgz && \ tar -zxvf allure-commandline-2.12.0.tgz -C /opt/ && ln -s /opt/allure-commandline-2.12.0/bin/allure /usr/bin/allure

ENV PATH="$PATH:/opt/allure-2.12.0/bin"

RUN allure --version

Works perfectly :)
thanks a lot! It helps me with Ubuntu 20.04 and Allure 2.19
but extracting to /opt works only with sudo and looks like \ in && \ tar is is redundant.

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

No branches or pull requests

9 participants