Ubuntu 16.04 Dependency Errors

When trying to install Manager in Ubuntu 16.04 I am getting some dependency errors. Trying to install the dependencies doesn’t work either.

user@desktop:~/Downloads$ sudo dpkg -i Manager.deb
[sudo] password for user: 
(Reading database ... 206048 files and directories currently installed.)
Preparing to unpack Manager.deb ...
Unpacking manager-accounting (16.3.78) over (16.3.78) ...
dpkg: dependency problems prevent configuration of manager-accounting:
 manager-accounting depends on libmono-wcf3.0-cil | libmono-wcf3.0a-cil; however:
  Package libmono-wcf3.0-cil is not installed.
  Package libmono-wcf3.0a-cil is not installed.

dpkg: error processing package manager-accounting (--install):
 dependency problems - leaving unconfigured
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Errors were encountered while processing:
 manager-accounting

Maybe the package name libmono-wcf3.0a-cil has been again renamed. I will need to investigate.

after upgrade to ubuntu 16.04 i can’t find manager anymore nor install it

Could you try to run following commands

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
apt-get install mono-complete

Then try to install Manager again.

I gave that a try, and I’m still having problems. I have the same errors as before.

What do you see when you run “mono --version”?

From my 16.04 install.

$ mono --version
Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	LLVM:          supported, not enabled.
	GC:            sgen

I still have the same problems:

~$ mono --version
Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4)
Copyright © 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen

I see the same issues as you do. So it is an Ubuntu 16.04 thing at the moment.

I’m installing Ubuntu 16.04 to figure out what should be the new dependencies. It looks like libmono-wcf3.0a-cil is no longer available.

I guess the debianfile has to be adapted

I’ve had the same problem switching to Ubuntu 16.04.

Could you try the latest version? It shouldn’t give libmono-wcf3.0a-cil dependency error anymore.

Works great on my Ubuntu 16.04 Desktop install. I had the same issue as initially reported.

Thanks Lubos.

I installed 16.4.4 and now it won’t start in Kubuntu 14.04.

Unhandled Exception:
System.TypeLoadException: A type load exception has occurred.
  at ManagerDesktop.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: A type load exception has occurred.
  at ManagerDesktop.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0

@Jan_Eric_Lindh, could you try again with the latest version?

It works, thanks :slight_smile:

We are back in business. Thanks.

It is a known bug in 16.04 that is in the process of being fixed and a new version of Ubuntu Software Centre will be released in your update channel in the next week.

Workaround in the meantime

Open a terminal and cd to the directory where the Manager.deb file is. Then type the following:

sudo dpkg -i Manager.deb

sudo apt-get -f install

When everything is finished you will find Manager installed and everything will work. If Manager had disappeared after an upgrade to Ubuntu 16.04, don’t worry you will not have lost any data

I have just tried to update to latest version of ManagerServer on DigitalOcean site and it won’t run.

The error message is …

For some reason even a previous version of ManagerServer that was working now gives the same error message. We are out of business until Lubos can help us. Beware.