You are not logged in.

#1 2016-11-04 14:44:12

beng
Member
Registered: 2015-09-29
Posts: 81

[SOLVED] BL and Yunohost

Hi,
I'm trying to install Yunohost (yunohost.org) manually to test the solution but I'm running into issues as my "jessie" (BL hydrogen, 8.6) seems to be missing quite a few "standards" packages

Not sure whether I can post a link to the application forum where I'm asking for help - admin please remove if not:
Yunohost forum topic

The latest instructions that were passed on to me and their results is pasted below, please look especially at the last one:

sudo apt-get -f install:
   

0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

sudo apt-get update && apt-get autoclean && apt-get autoremove:
   

Reading package lists... Done
    E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied)
    E: Unable to lock the download directory

apt-get install php5-fpm:
   

Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    php5-fpm : Depends: libonig2 (>= 5.9.5) but it is not installable
    Depends: libqdbm14 (>= 1.8.74) but it is not installable
    Depends: php5-common (= 5.6.27+dfsg-0+deb8u1) but it is not going to be installed
    Depends: php5-cli but it is not going to be installed
    Depends: php5-json but it is not installable
    E: Unable to correct problems, you have held broken packages.

I was finally recommended to try to trick apt to have it believe my distro is a plain  "jessie", but I'm not sure how to do so though
or to ask for help on how to install these basic packages (php5 etc.) as it's very specific.

Could anyone assist me on the last point is there a way to deal with this in one go or do I have to go package by package?
Thanks A LOT in advance.
beng

Last edited by Head_on_a_Stick (2016-11-22 19:41:19)

Offline

#2 2016-11-04 17:45:18

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: [SOLVED] BL and Yunohost

sudo apt-get update && apt-get autoclean && apt-get autoremove:

first of all, this should be

sudo apt-get update && sudo apt-get autoclean && sudo apt-get autoremove:

that's why you're getting permission denied errors.
but please, just do

sudo apt-get update
cat /etc/apt/sources.list /etc/apt/sources.list.d/*

and post the output here.

Offline

#3 2016-11-07 09:53:26

beng
Member
Registered: 2015-09-29
Posts: 81

Re: [SOLVED] BL and Yunohost

Thank you ohnonot

here is the output:

# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160706-02:22]/ jessie non-free main contrib   

# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160706-02:22]/ jessie contrib main non-free 

# deb-src http://httpredir.debian.org/debian/ jessie contrib non-free main   

deb http://security.debian.org/ jessie/updates main contrib non-free 
# deb-src http://security.debian.org/ jessie/updates non-free contrib main   

# jessie-updates, previously known as 'volatile'

deb http://pkg.bunsenlabs.org/debian/ bunsen-hydrogen main 
# added by bl-welcome
# Debian backports
deb http://httpredir.debian.org/debian/ jessie-backports main contrib non-free 

# added by bl-welcome
# Multimedia repository
deb http://www.deb-multimedia.org/ jessie main non-free 

deb http://repo.yunohost.org/debian/ jessie stable

Offline

#4 2016-11-07 12:05:53

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] BL and Yunohost

You don't have the jessie sources in your sources.list.

deb http://httpredir.debian.org/debian jessie main contrib non-free

The defaults are shown here:
Sources - sources.list and backports details

NB Be careful with deb-multimedia, it has caused issues for some.

Last edited by damo (2016-11-07 12:07:14)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2016-11-07 15:10:58

beng
Member
Registered: 2015-09-29
Posts: 81

Re: [SOLVED] BL and Yunohost

checked my sources.list and added missing entry, update

rerun script:

Current stable only works on Debian Jessie for the moment.
Failure !
The following error was caught during YunoHost installation :

Setting up deb package sources failed

Installation logs are located in /var/log/yunohost-installation.log

and the logs:

Reading package lists...
Building dependency tree...
Reading state information...
dialog is already the newest version.
lsb-release is already the newest version.
whiptail is already the newest version.
wget is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[ 2016-11-07 15:09:07+00:00 ] ----- [ entering create_custom_config           ]
[ 2016-11-07 15:09:07+00:00 ] ----- [ entering confirm_installation           ]
[ 2016-11-07 15:09:10+00:00 ] ----- [ entering setup_package_source           ]

Failure !
The following error was caught during Yunohost installation :

Setting up deb package sources failed

Offline

#6 2016-11-07 17:50:23

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] BL and Yunohost

Do you have apache installed?

yunohost wrote:

Warning: Apache could already be installed by default on your dedicated server. If it's the case the installation script will fail since YunoHost is using Nginx. You will have to remove apache2.2 package with the command: sudo apt-get autoremove apache2.2 and execute the script again


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#7 2016-11-07 19:27:12

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,076
Website

Re: [SOLVED] BL and Yunohost

beng wrote:
Current stable only works on Debian Jessie for the moment.

Try:

sudo apt purge bunsen-os-release

Then run the script again.

Offline

#8 2016-11-22 09:01:24

beng
Member
Registered: 2015-09-29
Posts: 81

Re: [SOLVED] BL and Yunohost

@Head_on_a_Stick

Sorry for the late answer I have been busy with other things
but thanks a lot, I was able to carry on the manual installation of yunohost after i ran

sudo apt purge bunsen-os-release

Offline

#9 2016-11-22 19:40:36

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,076
Website

Re: [SOLVED] BL and Yunohost

Excellent! Thanks for reporting back, I have marked the thread [SOLVED]

You can re-install the bunsen-os-release package once the script has done it's work, the package just changes /etc/os-release and the Yunohost installer checks that file to confirm a Debian system before proceeding.

Offline

#10 2016-11-23 09:49:46

beng
Member
Registered: 2015-09-29
Posts: 81

Re: [SOLVED] BL and Yunohost

@Head_on_a_Stick: Thanks A LOT!

Offline

Board footer

Powered by FluxBB