allure-framework / allure-debian

Debian (Ubuntu) package configuration for Allure Framework parts
7 stars 8 forks source link

Bionic package corrupted on PPA #9

Open v1-wizard opened 5 years ago

v1-wizard commented 5 years ago

Environment:

$  lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:    18.04
Codename:   bionic

Try to install allure according with documentation:

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

All looks good. But...

$ allure --version 
zsh: command not found: allure

Try to get information about package.

$ sudo apt-cache show allure
Package: allure
Architecture: amd64
Version: 0.5.0.0-1
Priority: extra
Section: universe/games
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 25404
Depends: libatk1.0-0 (>= 1.12.4), libc6 (>= 2.14), libcairo2 (>= 1.2.4), libffi6 (>= 3.0.4), libfontconfig1 (>= 2.12), libfreetype6 (>= 2.2.1), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.31.8), libgmp10, libgtk2.0-0 (>= 2.24.0), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libpangoft2-1.0-0 (>= 1.14.0), zlib1g (>= 1:1.1.4)
Filename: pool/universe/a/allure/allure_0.5.0.0-1_amd64.deb
Size: 3427956
MD5sum: bf8808e6ef302f5a17deec4507d971aa
SHA1: f41e82449eb815882cb8171ebb84e13681ae6c89
SHA256: 873cff2e427a31dd51955bc50660eedb967b900335067ad5b4d202e2fe882803
Homepage: http://allureofthestars.com
Description-en: near-future Sci-Fi roguelike and tactical squad game
 Allure of the Stars is a near-future Sci-Fi roguelike and tactical
 squad game.
Description-md5: 0a946028a5d8b8dddf9a9291793b2236

Apt-cache show only "near-future Sci-Fi roguelike and tactical squad game".

According with dists directory on PPA package exist but packages information is missed(compare with package for trusty). I also don't see package in pool directory.

This issue sound's like already exist Support Ubuntu Bionic (18.04), but for me it's look like bug created by fix.

v1-wizard commented 5 years ago

IMHO: You should rename package to avoid problem with "near-future Sci-Fi roguelike and tactical squad game" =)

poonandrew88 commented 5 years ago

We got the same problem !!!

kehao95 commented 5 years ago

How can I solve that? Is there a workaround?

v1-wizard commented 5 years ago

@kehao95, i did something like this stuff:

  1. # cd /opt
    1. # wget -c https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/2.7.0/allure-2.7.0.tgz -O - | tar -xz && chmod +x /allure-2.7.0/bin/allure
  2. # export PATH=$PATH:/opt/allure-2.7.0/bin"
az-pz commented 4 years ago

qameta team doesn't maintain ppa and they have not created binary for ubuntu 17 or later. https://launchpad.net/~qameta/+archive/ubuntu/allure

As @v1-wizard suggested, download binary directly from bintray qameta link. If you don't trust bintray, you can download binary directly from launchpad using direct link: https://launchpad.net/~qameta/+archive/ubuntu/allure/+sourcefiles/allure/2.4.1~xenial/allure_2.4.1~xenial.tar.gz

You can also look into doing some apt-get magic to force it to install package for unsupported ubuntu versions. I think it's possible.