======== Checking domain ========
======== Adding repositories ========
OK
======== Install ========
======== Installation failed ========
Rolling back have to be done manually !
Check your legacy configuration files => ‘/etc/yunohost/.legacy’
Check install logs => ‘/var/log/yunohost.log’ and ‘/var/log/yunohost.error’
with root
su root
cd /tmp/install_script
./install_yunohostv2
Result
======== Checking domain ========
======== Adding repositories ========
OK
======== Install ========
======== Installation failed ========
Rolling back have to be done manually !
Check your legacy configuration files => ‘/etc/yunohost/.legacy’
Check install logs => ‘/var/log/yunohost.log’ and ‘/var/log/yunohost.error’
One of my answers is missing. I tried on a ubuntu only the second time.
The same install on a debian 8 give me :
root@yuno3:/tmp/install_script# ./install_yunohostv2
======== Get path of current script =======
Running from /tmp/install_script
======== Check rights ========
======== YunoHost Installation ========
======== Check dependencies ========
W: Failed to fetch http://debian.mirrors.ovh.net/debian/dists/jessie-backports/main/source/Sources Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
python-dnspython
The following NEW packages will be installed:
python-dnspython python-xmpp
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 366 kB of archives.
After this operation, 5,105 kB of additional disk space will be used.
Get:1 Index of /debian/ jessie/main python-dnspython all 1.12.0-1 [101 kB]
Get:2 Index of /debian/ jessie/main python-xmpp all 0.4.1-cvs20080505.4 [265 kB]
Fetched 366 kB in 0s (2,734 kB/s)
Selecting previously unselected package python-dnspython.
(Reading database … 32540 files and directories currently installed.)
Preparing to unpack …/python-dnspython_1.12.0-1_all.deb …
Unpacking python-dnspython (1.12.0-1) …
Selecting previously unselected package python-xmpp.
Preparing to unpack …/python-xmpp_0.4.1-cvs20080505.4_all.deb …
Unpacking python-xmpp (0.4.1-cvs20080505.4) …
Setting up python-dnspython (1.12.0-1) …
Setting up python-xmpp (0.4.1-cvs20080505.4) …
======== Checking domain ========
======== Adding repositories ========
OK
Update Repo Failure : Rolling back
cp: cannot stat ‘/etc/yunohost/.legacy/*’: No such file or directory
Rollback failed
root@yuno3:/tmp/install_script# cd /etc/apt/
root@yuno3:/etc/apt# cat sources.list
deb Index of /debian/ jessie main
deb-src Index of /debian/ jessie main
The debian repo are hosted by ovh and you have backports in your sources.list.
It seems that the backport repo is not working and I think you should not use this repo. It contains earlier version of packages that can conflict with packages required by yuno.
I think you should these two steps :
Comment the backport line in the sources.list and try again to install yuno
If “1” did not worke, replace the ovh repo by the official debian ones. Below my own sources.list (if your server is not hosted in France, maybe you should find another mirrors) :
======== Checking domain ========
======== Adding repositories ========
OK
======== Install ========
======== Installation failed ========
Rolling back have to be done manually !
Check your legacy configuration files => ‘/etc/yunohost/.legacy’
Check install logs => ‘/var/log/yunohost.log’ and ‘/var/log/yunohost.error’
Nothing in ‘/etc/yunohost/.legacy’
root@yuno1:/var/log# ls -la | grep yuno
-rw-r–r-- 1 root root 40476 Aug 23 19:14 yunohost.log
-rw-r–r-- 1 root root 1077 Aug 23 19:14 yunohost-update.log
yunohost.log file :
After this operation, 425 MB of additional disk space will be used.
(Reading database … 32794 files and directories currently installed.)
Removing sudo (1.8.10p3-1+deb8u2) …
You have asked that the sudo package be removed,
but no root password has been set.
Without sudo, you may not be able to gain administrative privileges.
If you would prefer to access the root account with su(1)
or by logging in directly,
you must set a root password with “sudo passwd”.
If you have arranged other means to access the root account,
and you are sure this is what you want,
you may bypass this check by setting an environment variable
(export SUDO_FORCE_REMOVE=yes).
Refusing to remove sudo.
dpkg: error processing package sudo (–remove):
subprocess installed pre-removal script returned error exit status 1
Errors were encountered while processing:
sudo
E: Sub-process /usr/bin/dpkg returned an error code (1)