Installation Yade on Ubuntu 16.04 Xenial

Asked by Luis Barbosa

Hello,

I've made actualization of Ubuntu 14.04 (yade works well) to 16.04 and now I'm trying to install yade again.

Using:
sudo bash -c 'echo "deb http://www.yade-dem.org/packages/ xenial/" >> /etc/apt/sources.list'
wget -O - http://www.yade-dem.org/packages/yadedev_pub.gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get install yadedaily

I got the following error:
Failed to fetch http://www.yade-dem.org/packages/dists/xenial/xerus//binary-amd64/Packages 404 Not Found

Has anyone experienced this?

Thanks,
Luis

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Klaus Thoeni
Solved:
Last query:
Last reply:
Revision history for this message
Anton Gladky (gladky-anton) said :
#1

Please, show your /etc/apt/sources.list

Revision history for this message
Luis Barbosa (luis-pires-b) said :
#2

# deb cdrom:[Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://br.archive.ubuntu.com/ubuntu/ xenial main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://br.archive.ubuntu.com/ubuntu/ xenial universe
deb-src http://br.archive.ubuntu.com/ubuntu/ xenial universe
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://br.archive.ubuntu.com/ubuntu/ xenial multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://br.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

# deb http://www.yade-dem.org/packages/ trusty/ # desabilitado na atualização para xenial
# deb http://www.yade-dem.org/packages/ trusty/ # desabilitado na atualização para xenial
# deb http://www.yade-dem.org/packages/ trusty/ # desabilitado na atualização para xenial
# deb http://www.yade-dem.org/packages/ trusty/ # desabilitado na atualização para xenial
# deb http://www.yade-dem.org/packages/ trusty/ # desabilitado na atualização para xenial
# deb http://www.yade-dem.org/packages/ trusty/ # desabilitado na atualização para xenial
# deb http://www.yade-dem.org/packages/ trusty/ # desabilitado na atualização para xenial
# deb http://www.yade-dem.org/packages/ trusty/ # desabilitado na atualização para xenial
# deb http://www.yade-dem.org/packages/ trusty/ # desabilitado na atualização para xenial
deb http://www.yade-dem.org/packages/ xenial xerus/
deb http://www.yade-dem.org/packages/ xenial/
deb http://www.yade-dem.org/packages/ xenial/

Revision history for this message
Anton Gladky (gladky-anton) said :
#3

You have to remove this line:

deb http://www.yade-dem.org/packages/ xenial xerus/

Also last 2 duplicating lines should be shortened to one.

Regards

Anton

Revision history for this message
Luis Barbosa (luis-pires-b) said :
#4

Even doing the modifications in sources.list, I got these errors:
##############################################################
Err:1 http://www.yade-dem.org/packages xenial/ libyadedaily 2016.06a-19-baba476~xenial-1
  Writing more data than expected (8980170 > 8979088)
Obter:3 http://www.yade-dem.org/packages xenial/ yadedaily 2016.06a-19-baba476~xenial-1 [1.622 kB]
Err:3 http://www.yade-dem.org/packages xenial/ yadedaily 2016.06a-19-baba476~xenial-1
  Writing more data than expected (1622947 > 1621834)
Obter:2 http://www.yade-dem.org/packages xenial/ python-yadedaily 2016.06a-19-baba476~xenial-1 [2.093 kB]
Err:2 http://www.yade-dem.org/packages xenial/ python-yadedaily 2016.06a-19-baba476~xenial-1
  Hash Sum incorrect
###############################################################
Is that normal, or could be necessary reinstall ubuntu?

Thanks.
Luis

Revision history for this message
Anton Gladky (gladky-anton) said :
#5

There are some problems already on our side. Will be fixed in a couple of days.

Anton

Revision history for this message
Anton Gladky (gladky-anton) said :
#6

Should be fixed already.

Revision history for this message
Luis Barbosa (luis-pires-b) said :
#7

It seems that was installed, but when I run it shows this error:

luis-barbosa@luis-ubuntu:~/Estrutura_Solo$ yadedaily agregadosJCF.py
Welcome to Yade 2016.06a-20-d4840e5~xenial
TCP python prompt on localhost:9000, auth cookie `yeacss'
XMLRPC info provider on http://localhost:21000
Traceback (most recent call last):
  File "/usr/bin/yadedaily", line 289, in <module>
    import yade.qt
  File "/usr/lib/x86_64-linux-gnu/yadedaily/py/yade/qt/__init__.py", line 16, in <module>
    from PyQt5 import QtWebKit, QtWebKitWidgets
ImportError: cannot import name QtWebKit

tks.
Luis

Revision history for this message
Best Klaus Thoeni (klaus.thoeni) said :
#8

Hi,

have you tried to manually install python-pyqt5.qtwebkit?

HTH
K

Revision history for this message
Luis Barbosa (luis-pires-b) said :
#9

Thanks Klaus Thoeni, that solved my question.