View Issue Details

IDProjectCategoryView StatusLast Update
0005124SOGoPackaging (Debian)public2020-08-12 10:25
Reporterogm Assigned To 
PrioritynormalSeverityblockReproducibilityhave not tried
Status newResolutionopen 
PlatformServerOSUbuntuOS Version20.04.1 LTS
Product Version5.0.0 
Summary0005124: Unable to install SOGo on Ubuntu 20.04.1
Description

when trying to install sogo on ubuntu 20.04.1 the following error occurs and it is not fixable by removing and reinstalling sogo.

$ sudo apt-get install sogo
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  gnustep-base-common gnustep-base-runtime gnustep-common gnustep-make gobjc gobjc-9 libgc1c2 libgnustep-base1.26 liblasso3 liboath0
  libobjc-9-dev libobjc4 libsbjson2.3 libsope-appserver4.9 libsope-core4.9 libsope-gdl1-4.9 libsope-ldap4.9 libsope-mime4.9 libsope-xml4.9
  libxmlsec1 libxmlsec1-openssl memcached sope4.9-gdl1-mysql sope4.9-libxmlsaxdriver
Suggested packages:
  gnustep-make-doc gobjc-multilib gobjc-9-multilib gcc-9-doc libanyevent-perl libcache-memcached-perl libmemcached libyaml-perl
The following NEW packages will be installed:
  gnustep-base-common gnustep-base-runtime gnustep-common gnustep-make gobjc gobjc-9 libgc1c2 libgnustep-base1.26 liblasso3 liboath0
  libobjc-9-dev libobjc4 libsbjson2.3 libsope-appserver4.9 libsope-core4.9 libsope-gdl1-4.9 libsope-ldap4.9 libsope-mime4.9 libsope-xml4.9
  libxmlsec1 libxmlsec1-openssl memcached sogo sope4.9-gdl1-mysql sope4.9-libxmlsaxdriver
0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/31.5 MB of archives.
After this operation, 103 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package memcached.
(Reading database ... 71897 files and directories currently installed.)
Preparing to unpack .../00-memcached_1.5.22-2ubuntu0.1_amd64.deb ...
Unpacking memcached (1.5.22-2ubuntu0.1) ...
Selecting previously unselected package gnustep-common.
Preparing to unpack .../01-gnustep-common_2.7.0-4_amd64.deb ...
Unpacking gnustep-common (2.7.0-4) ...
Selecting previously unselected package gnustep-base-common.
Preparing to unpack .../02-gnustep-base-common_1.26.0-7_all.deb ...
Unpacking gnustep-base-common (1.26.0-7) ...
Selecting previously unselected package libgc1c2:amd64.
Preparing to unpack .../03-libgc1c2_1%3a7.6.4-0.4ubuntu1_amd64.deb ...
Unpacking libgc1c2:amd64 (1:7.6.4-0.4ubuntu1) ...
Selecting previously unselected package libobjc4:amd64.
Preparing to unpack .../04-libobjc4_10-20200411-0ubuntu1_amd64.deb ...
Unpacking libobjc4:amd64 (10-20200411-0ubuntu1) ...
Selecting previously unselected package libgnustep-base1.26.
Preparing to unpack .../05-libgnustep-base1.26_1.26.0-7_amd64.deb ...
Unpacking libgnustep-base1.26 (1.26.0-7) ...
Selecting previously unselected package gnustep-base-runtime.
Preparing to unpack .../06-gnustep-base-runtime_1.26.0-7_amd64.deb ...
Unpacking gnustep-base-runtime (1.26.0-7) ...
Selecting previously unselected package libobjc-9-dev:amd64.
Preparing to unpack .../07-libobjc-9-dev_9.3.0-10ubuntu2_amd64.deb ...
Unpacking libobjc-9-dev:amd64 (9.3.0-10ubuntu2) ...
Selecting previously unselected package gobjc-9.
Preparing to unpack .../08-gobjc-9_9.3.0-10ubuntu2_amd64.deb ...
Unpacking gobjc-9 (9.3.0-10ubuntu2) ...
Selecting previously unselected package gobjc.
Preparing to unpack .../09-gobjc_4%3a9.3.0-1ubuntu2_amd64.deb ...
Unpacking gobjc (4:9.3.0-1ubuntu2) ...
Selecting previously unselected package gnustep-make.
Preparing to unpack .../10-gnustep-make_2.7.0-4_all.deb ...
Unpacking gnustep-make (2.7.0-4) ...
Selecting previously unselected package libxmlsec1:amd64.
Preparing to unpack .../11-libxmlsec1_1.2.28-2_amd64.deb ...
Unpacking libxmlsec1:amd64 (1.2.28-2) ...
Selecting previously unselected package libxmlsec1-openssl:amd64.
Preparing to unpack .../12-libxmlsec1-openssl_1.2.28-2_amd64.deb ...
Unpacking libxmlsec1-openssl:amd64 (1.2.28-2) ...
Selecting previously unselected package liblasso3.
Preparing to unpack .../13-liblasso3_2.6.0-7ubuntu1_amd64.deb ...
Unpacking liblasso3 (2.6.0-7ubuntu1) ...
Selecting previously unselected package liboath0.
Preparing to unpack .../14-liboath0_2.6.1-1.3_amd64.deb ...
Unpacking liboath0 (2.6.1-1.3) ...
Selecting previously unselected package libsbjson2.3.
Preparing to unpack .../15-libsbjson2.3_4.9.r1664.20200806_amd64.deb ...
Unpacking libsbjson2.3 (4.9.r1664.20200806) ...
Selecting previously unselected package libsope-xml4.9.
Preparing to unpack .../16-libsope-xml4.9_4.9.r1664.20200806_amd64.deb ...
Unpacking libsope-xml4.9 (4.9.r1664.20200806) ...
Selecting previously unselected package libsope-core4.9.
Preparing to unpack .../17-libsope-core4.9_4.9.r1664.20200806_amd64.deb ...
Unpacking libsope-core4.9 (4.9.r1664.20200806) ...
Selecting previously unselected package libsope-mime4.9.
Preparing to unpack .../18-libsope-mime4.9_4.9.r1664.20200806_amd64.deb ...
Unpacking libsope-mime4.9 (4.9.r1664.20200806) ...
Selecting previously unselected package libsope-appserver4.9.
Preparing to unpack .../19-libsope-appserver4.9_4.9.r1664.20200806_amd64.deb ...
Unpacking libsope-appserver4.9 (4.9.r1664.20200806) ...
Selecting previously unselected package libsope-gdl1-4.9.
Preparing to unpack .../20-libsope-gdl1-4.9_4.9.r1664.20200806_amd64.deb ...
Unpacking libsope-gdl1-4.9 (4.9.r1664.20200806) ...
Selecting previously unselected package libsope-ldap4.9.
Preparing to unpack .../21-libsope-ldap4.9_4.9.r1664.20200806_amd64.deb ...
Unpacking libsope-ldap4.9 (4.9.r1664.20200806) ...
Selecting previously unselected package sope4.9-libxmlsaxdriver.
Preparing to unpack .../22-sope4.9-libxmlsaxdriver_4.9.r1664.20200806_amd64.deb ...
Unpacking sope4.9-libxmlsaxdriver (4.9.r1664.20200806) ...
Selecting previously unselected package sope4.9-gdl1-mysql.
Preparing to unpack .../23-sope4.9-gdl1-mysql_4.9.r1664.20200806_amd64.deb ...
Unpacking sope4.9-gdl1-mysql (4.9.r1664.20200806) ...
Selecting previously unselected package sogo:amd64.
Preparing to unpack .../24-sogo_5.0.0.20200811-1_amd64.deb ...
Unpacking sogo:amd64 (5.0.0.20200811-1) ...
Setting up gnustep-common (2.7.0-4) ...
Setting up liboath0 (2.6.1-1.3) ...
Setting up libgc1c2:amd64 (1:7.6.4-0.4ubuntu1) ...
dpkg: dependency problems prevent configuration of libsbjson2.3:
 libsbjson2.3 depends on libgnustep-base1.25 (>= 1.25.1); however:
  Package libgnustep-base1.25 is not installed.

dpkg: error processing package libsbjson2.3 (--configure):
 dependency problems - leaving unconfigured
Setting up libobjc4:amd64 (10-20200411-0ubuntu1) ...
Setting up memcached (1.5.22-2ubuntu0.1) ...
Setting up gnustep-base-common (1.26.0-7) ...
Setting up libgnustep-base1.26 (1.26.0-7) ...
Setting up libobjc-9-dev:amd64 (9.3.0-10ubuntu2) ...
Setting up libxmlsec1:amd64 (1.2.28-2) ...
Setting up libxmlsec1-openssl:amd64 (1.2.28-2) ...
dpkg: dependency problems prevent configuration of sogo:amd64:
 sogo:amd64 depends on libsbjson2.3 (>= 4.9.r1664.20200806); however:
  Package libsbjson2.3 is not configured yet.

dpkg: error processing package sogo:amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up gobjc-9 (9.3.0-10ubuntu2) ...
Setting up gnustep-base-runtime (1.26.0-7) ...
Setting up libsope-xml4.9 (4.9.r1664.20200806) ...
Setting up liblasso3 (2.6.0-7ubuntu1) ...
Setting up gobjc (4:9.3.0-1ubuntu2) ...
Setting up gnustep-make (2.7.0-4) ...
Setting up libsope-core4.9 (4.9.r1664.20200806) ...
Setting up libsope-mime4.9 (4.9.r1664.20200806) ...
Setting up libsope-appserver4.9 (4.9.r1664.20200806) ...
Setting up libsope-ldap4.9 (4.9.r1664.20200806) ...
Setting up sope4.9-libxmlsaxdriver (4.9.r1664.20200806) ...
Setting up libsope-gdl1-4.9 (4.9.r1664.20200806) ...
Setting up sope4.9-gdl1-mysql (4.9.r1664.20200806) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for systemd (245.4-4ubuntu3.2) ...
Processing triggers for man-db (2.9.1-1) ...
Errors were encountered while processing:
 libsbjson2.3
 sogo:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Steps To Reproduce

try to install on ubuntu 20.04.1 using this source repository "deb http://packages.inverse.ca/SOGo/nightly/5/ubuntu/ focal focal"

$ sudo apt-get install sogo

TagsNo tags attached.

Relationships

related to 0005125 feedbackludovic Webmail SOGO doesn't work 

Activities

francis

francis

2020-08-11 18:04

administrator   ~0014669

Can you try

dpkg-reconfigure libsbjson2.3
dpkg-reconfigure sogo
ogm

ogm

2020-08-11 18:13

reporter   ~0014670

# dpkg-reconfigure libsbjson2.3
/usr/sbin/dpkg-reconfigure: libsbjson2.3 is broken or not fully installed
# dpkg-reconfigure sogo
/usr/sbin/dpkg-reconfigure: sogo is broken or not fully installed
francis

francis

2020-08-11 18:15

administrator   ~0014671

Is libgnustep-base properly installed?

ogm

ogm

2020-08-11 18:20

reporter   ~0014672

# apt install libgnustep-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgnustep-base
ogm

ogm

2020-08-11 18:21

reporter   ~0014673

# aptitude search libgnustep-base

p   libgnustep-base-dev                                           - GNUstep Base header files and development libraries
i A libgnustep-base1.26                                           - GNUstep Base library
ludovic

ludovic

2020-08-11 18:23

administrator   ~0014674

The package name is libgnustep-base1.26 and is in universe.

ogm

ogm

2020-08-11 18:26

reporter   ~0014675

it is installed as you see in the last note, but somehow it doesn't understand that it is there already:

dpkg: dependency problems prevent configuration of libsbjson2.3:
 libsbjson2.3 depends on libgnustep-base1.25 (>= 1.25.1); however:
  Package libgnustep-base1.25 is not installed.
francis

francis

2020-08-11 18:53

administrator   ~0014676

Install libgnustep-base1.26 (not libgnustep-base).

ogm

ogm

2020-08-11 19:00

reporter   ~0014677

it has been installed already with sogo:

# apt-get install libgnustep-base1.26
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgnustep-base1.26 is already the newest version (1.26.0-7).
libgnustep-base1.26 set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libsbjson2.3 : Depends: libgnustep-base1.25 (>= 1.25.1) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
ludovic

ludovic

2020-08-11 19:07

administrator   ~0014678

Remove Ubuntu's version of libsbjson and install ours: http://packages.inverse.ca/SOGo/nightly/5/ubuntu/pool/focal/s/sope/

ogm

ogm

2020-08-11 19:40

reporter   ~0014679

ok, that is not as easy on ubuntu as i thought.

so basically i did the following:

apt-get remove sogo
wget http://packages.inverse.ca/SOGo/nightly/5/ubuntu/pool/focal/s/sope/libsbjson2.3_4.9.r1664.20200806_amd64.deb
apt-get install libgnustep-base1.26
dpkg -i libsbjson2.3_4.9.r1664.20200806_amd64.deb
apt-get install sogo

That actually worked, but it doesn't feel "stable". The package might get kicked out again, if there is an ubuntu update to it, i assume.

ogm

ogm

2020-08-11 19:40

reporter   ~0014680

ok, that is not as easy on ubuntu as i thought.

so basically i did the following:

apt-get remove sogo
wget http://packages.inverse.ca/SOGo/nightly/5/ubuntu/pool/focal/s/sope/libsbjson2.3_4.9.r1664.20200806_amd64.deb
apt-get install libgnustep-base1.26
dpkg -i libsbjson2.3_4.9.r1664.20200806_amd64.deb
apt-get install sogo

That actually worked, but it doesn't feel "stable". The package might get kicked out again, if there is an ubuntu update to it, i assume.

maxycay

maxycay

2020-08-12 08:11

reporter   ~0014686

apt-get install libgnustep-base1.26

Result:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgnustep-base1.26
E: Couldn't find any package by glob 'libgnustep-base1.26'
E: Couldn't find any package by regex 'libgnustep-base1.26'

what happened?

maxycay

maxycay

2020-08-12 08:17

reporter   ~0014687

How I can install libgnustep-base1.26 right?

ogm

ogm

2020-08-12 08:23

reporter   ~0014688

Did you put deb http://packages.inverse.ca/SOGo/nightly/5/ubuntu/ focal focal in your APT config (/etc/apt/sources.list.d)?

After that you have to do an apt update.

maxycay

maxycay

2020-08-12 10:03

reporter   ~0014691

Yes.
Then I tried reinstalling SOGO.

root@mail:/home/comail# apt-get install sogo
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:
sogo : Depends: gnustep-base-runtime (>= 1.26.0) but 1.25.1-2ubuntu3 is to be installed
Depends: libc6 (>= 2.29) but 2.27-3ubuntu1.2 is to be installed
Depends: libcrypt1 (>= 1:4.1.0) but it is not installable
Depends: libgcc-s1 (>= 3.0) but it is not installable
Depends: libgnustep-base1.26 (>= 1.26.0) but it is not installable
Depends: libsbjson2.3 (>= 4.9.r1664.20200806) but it is not going to be installed
Depends: libzip5 (>= 1.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
E: Package 'libgnustep-base1.26' has no installation candidate

I don't know what happened with libgnustep-base1.26 and how I can install this package?

Issue History

Date Modified Username Field Change
2020-08-11 17:23 ogm New Issue
2020-08-11 18:04 francis Note Added: 0014669
2020-08-11 18:04 francis Description Updated
2020-08-11 18:13 ogm Note Added: 0014670
2020-08-11 18:15 francis Note Added: 0014671
2020-08-11 18:20 ogm Note Added: 0014672
2020-08-11 18:21 ogm Note Added: 0014673
2020-08-11 18:23 ludovic Note Added: 0014674
2020-08-11 18:26 ogm Note Added: 0014675
2020-08-11 18:53 francis Note Added: 0014676
2020-08-11 19:00 ogm Note Added: 0014677
2020-08-11 19:07 ludovic Note Added: 0014678
2020-08-11 19:40 ogm Note Added: 0014679
2020-08-11 19:40 ogm Note Added: 0014680
2020-08-12 08:11 maxycay Note Added: 0014686
2020-08-12 08:17 maxycay Note Added: 0014687
2020-08-12 08:23 ogm Note Added: 0014688
2020-08-12 10:03 maxycay Note Added: 0014691
2020-08-12 10:25 Christian Mack Relationship added related to 0005125