[Mono-list] App deployment failed: 'System.Core' is not present (installation-horror)

2016-07-15 Thread webman

Hello !

I just deployed (per copy!) an application from one debian server
to another and tried to execute it:

>
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly
'System.Core, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Core, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'
<

The app was previously compiled on windows and copied over to several
debian servers where ether the packet "mono-runtime" or "mono-complete"
is installed.

Now recompiled the program on linux/debian, having mono 4.2.4 (and
development
tools installed), without changing the problem.

GAC of dev-box:

System.Core, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089


GAC of problem-box:

root@hel:/ops/tools# apt-cache policy mono-runtime
mono-runtime:
  Installed: 4.4.1.0-0xamarin1
  Candidate: 4.4.1.0-0xamarin1

but NO "System.Core" in gac.


This is on debian/jessie (8.5, kernel 3.16.0), with
mono installed via instructions on the mon website.
The state of the installation result, after installing
mono-runtime:

root@hel:/ops/tools# dpkg -l *mono*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ NameVersionArchitecture
Description
+++-===-==-==-==
=
ii  ca-certificates-mono4.4.1.0-0xamarin1  allCommon
CA certificates (Mono keystore)
ii  libmono-corlib4.5-cil   4.4.1.0-0xamarin1  allMono
core library (for CLI 4.5)
ii  libmono-i18n-west4.0-cil4.4.1.0-0xamarin1  allMono
I18N.West library (for CLI 4.0)
un  libmono-i18n4.0-all   (no
description available)
ii  libmono-i18n4.0-cil 4.4.1.0-0xamarin1  allMono
I18N base library (for CLI 4.0)
ii  libmono-security4.0-cil 4.4.1.0-0xamarin1  allMono
Security library (for CLI 4.0)
ii  libmono-system-configuratio 4.4.1.0-0xamarin1  allMono
System.Configuration library (for CLI 4.0)
ii  libmono-system-security4.0- 4.4.1.0-0xamarin1  allMono
System.Security library (for CLI 4.0)
ii  libmono-system-xml4.0-cil   4.4.1.0-0xamarin1  allMono
System.Xml library (for CLI 4.0)
ii  libmono-system4.0-cil   4.4.1.0-0xamarin1  allMono
System libraries (for CLI 4.0)
un  libmono0  (no
description available)
un  mono-1.0-runtime  (no
description available)
un  mono-2.0-runtime  (no
description available)
ii  mono-4.0-gac4.4.1.0-0xamarin1  allMono
GAC tool (for CLI 4.0)
un  mono-apache-server2   (no
description available)
un  mono-apache-server4   (no
description available)
un  mono-common   (no
description available)
un  mono-fastcgi-server2  (no
description available)
un  mono-fastcgi-server4  (no
description available)
ii  mono-gac4.4.1.0-0xamarin1  allMono
GAC tool
un  mono-jit  (no
description available)
ii  mono-runtime4.4.1.0-0xamarin1  amd64  Mono
runtime - default version
ii  mono-runtime-common 4.4.1.0-0xamarin1  amd64  Mono
runtime - common files
ii  mono-runtime-sgen   4.4.1.0-0xamarin1  amd64  Mono
runtime - Sgen


But, sad to say, this is not the end of the story. I took a new box
and first installed "mono-runtime" and the problem persists. Then
I removed the "mono-runtime" and now, I am unable to install something
from mono, wether "-complete" nor "-devel" succeed with a long list
of unresolved dependecies:

root@lila:/ops/install# apt-get install -t wheezy mono-devel

The following packages have unmet dependencies:
 mono-devel : Depends: libgdiplus (>= 2.6.7) but it is not going to be
installed
  Depends: libmono-system-design4.0-cil (>= 1.0) but it is not
going to be installed
  Depends: libmono-system-drawing4.0-cil (>= 3.0.6) but it is
not going to be installed
  Depends: libmono-system-messaging4.0-cil (>= 2.10.1) but it is
not going to be installed
  Depends: libmono-system-runtime4.0-cil (>= 2.10.1) but it is
not going to be installed
  Depends: libmono-system-servicemodel-activation4.0-cil (>=
1.0) but it is not going to be installed
  Depends: libmono-system-servicemodel-web4.0-cil (>= 3.2.1) but
it is not going to be installed
  Depen

[Mono-list] Install on debian fails

2017-01-12 Thread webman
Hello !

I just tried to install mono-complete and followed exactly
the instructions here:

http://www.mono-project.com/docs/getting-started/install/linux/

But the setup failed:

+ apt-get install -t wheezy mono-complete
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:
 mono-complete : Depends: mono-devel (= 4.6.2.16-0xamarin1) but it is not
going to be installed
 Depends: mono-4.0-service (= 4.6.2.16-0xamarin1) but it is
not going to be installed
 Depends: monodoc-manual (= 4.6.2.16-0xamarin1) but it is
not going to be installed
 Depends: libmono-cil-dev (= 4.6.2.16-0xamarin1) but it is
not going to be installed
E: Unable to correct problems, you have held broken packages.

This was a fresh machine setup, so why could this happen?
From my experience, sad to say, this is an ongoing problem.

Could please have someone an eye on this?
Or are there newer instructions?

Thanks,
Manfred





___
Mono-list maillist  -  Mono-list@lists.dot.net
http://lists.dot.net/mailman/listinfo/mono-list


Re: [Mono-list] Install on debian fails

2017-01-12 Thread webman
Hi !
 
Oh, yeah, sorry - I am on debian jessie (8.6), with kernel 3.16.
I had several other attempts to install mono from the xamarin
repo (and I reported them here - but, sad to say, got no answer).
 
On official repo, there is mono 3.2.8 and nothing in backports.
On the initial machine, I gave up and I am missing features. But
this one is completely new - although, it's a LXC VM. Exactly this
should help me to come to a workaround.
 
In the basic setup, there is absolut nothing about mono. Should
I install from original repositiory first and the upgrade to
the version in the xamarin repository?
 
Thanks,
Manfred
 
 
From: William Ivanski [mailto:william.ivan...@gmail.com] 
Sent: Friday, January 13, 2017 2:37 AM
To: web...@manfbraun.de; mono-list@lists.dot.net
Subject: Re: [Mono-list] Install on debian fails
 
Are you using Debian 7 (Wheezy) or 8 (Jessie) ? If you are on Debian 7, could 
you please try on Debian 8?
 
Em qui, 12 de jan de 2017 às 21:43,  escreveu:
Hello !

I just tried to install mono-complete and followed exactly
the instructions here:

http://www.mono-project.com/docs/getting-started/install/linux/

But the setup failed:

+ apt-get install -t wheezy mono-complete
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:
 mono-complete : Depends: mono-devel (= 4.6.2.16-0xamarin1) but it is not
going to be installed
 Depends: mono-4.0-service (= 4.6.2.16-0xamarin1) but it is
not going to be installed
 Depends: monodoc-manual (= 4.6.2.16-0xamarin1) but it is
not going to be installed
 Depends: libmono-cil-dev (= 4.6.2.16-0xamarin1) but it is
not going to be installed
E: Unable to correct problems, you have held broken packages.

This was a fresh machine setup, so why could this happen?
>From my experience, sad to say, this is an ongoing problem.

Could please have someone an eye on this?
Or are there newer instructions?

Thanks,
Manfred





___
Mono-list maillist  -  Mono-list@lists.dot.net
http://lists.dot.net/mailman/listinfo/mono-list
-- 
William Ivanski - Microsoft MVP
___
Mono-list maillist  -  Mono-list@lists.dot.net
http://lists.dot.net/mailman/listinfo/mono-list


Re: [Mono-list] Install on debian fails

2017-01-13 Thread webman
Hi !

Thanks for your investigation!
That is exactly, what I've done (and wrote initially).
The mono-xamarin.list contains two entries, the second
one is that '.. libjpeg62...'.

But, in opposite to William, who used:
>apt-get install mono-complete
I used
>apt-get install -t wheezy mono-complete

I've pin'ned my system to 900 to not accidentally
install something form the backports repository,
which I need for some rare things. So my prefs are:
Package: *
Pin: release n=jessie
Pin-Priority: 900

I came to the "-t" argument, because I use this way,
if I install from backports.

Now, I tried again with just plain:
>apt-get install mono-complete

This succeeds, but installed mono 3.2.8 

No I have further headdache. It is a zfs dataset,
I restored the last snapshot and now, it can wether
mount nor unmound (just opened a help call there) ...
Just cannot boot this time.

Anyway, I would like to hear opinions about this.
Thanks,
Manfred



> -Original Message-
> From: Alexander Köplinger [mailto:alk...@microsoft.com]
> Sent: Friday, January 13, 2017 3:29 AM
> To: web...@manfbraun.de; William Ivanski
> Cc: mono-list@lists.dot.net
> Subject: Re: [Mono-list] Install on debian fails
> 
> For Debian 8 (Jessie) you need to add a second separate repository for
> libdiplus as mentioned here: http://www.mono-project.com/docs/getting-
> started/install/linux/#libgdiplus-debian-80-and-later-not-ubuntu
> 
> > echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-
> compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
> 
> I just tried this in a clean Docker container and it works.
> 
> - Alex
> 
> > On 13 Jan 2017, at 03:17, William Ivanski 
> wrote:
> >
> > Here is what I did to install mono on Debian Jessie:
> >
> > 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
> > apt-get update
> > aptitude install mono-complete
> > aptitude install mono-xsp4
> > aptitude install monodevelop
> >
> > Can't tell you exactly what version was installed at the time, but it
> worked. I always keep the system up-to-date, so right now I'm running mono
> 4.6.2, from Xamarin repo.
> >
> > Em sex, 13 de jan de 2017 às 00:10,  escreveu:
> > Hi !
> >
> >
> >
> > Oh, yeah, sorry - I am on debian jessie (8.6), with kernel 3.16.
> >
> > I had several other attempts to install mono from the xamarin
> >
> > repo (and I reported them here - but, sad to say, got no answer).
> >
> >
> >
> > On official repo, there is mono 3.2.8 and nothing in backports.
> >
> > On the initial machine, I gave up and I am missing features. But
> >
> > this one is completely new - although, it's a LXC VM. Exactly this
> >
> > should help me to come to a workaround.
> >
> >
> >
> > In the basic setup, there is absolut nothing about mono. Should
> >
> > I install from original repositiory first and the upgrade to
> >
> > the version in the xamarin repository?
> >
> >
> >
> > Thanks,
> >
> > Manfred
> >
> >
> >
> >
> >
> > From: William Ivanski [mailto:william.ivan...@gmail.com]
> > Sent: Friday, January 13, 2017 2:37 AM
> > To: web...@manfbraun.de; mono-list@lists.dot.net
> > Subject: Re: [Mono-list] Install on debian fails
> >
> >
> >
> > Are you using Debian 7 (Wheezy) or 8 (Jessie) ? If you are on Debian 7,
> could you please try on Debian 8?
> >
> >
> >
> > Em qui, 12 de jan de 2017 às 21:43,  escreveu:
> >
> > Hello !
> >
> > I just tried to install mono-complete and followed exactly
> > the instructions here:
> >
> > http://www.mono-project.com/docs/getting-started/install/linux/
> >
> > But the setup failed:
> >
> > + apt-get install -t wheezy mono-complete
> > 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:
> >  mono-complete : Depends: mono-devel (= 4.6.2.16-0xamarin1) but it is
> not
> > going to be installed
> >  Depends: mono-4.0-service (= 4.6.2.16-0xamarin1) but it
> is
> > not going to be installed
> >  Depends: monodoc-manual (= 4.6.2.16-0xamarin1) but it
> is
> > not going to be installed
> >  Depends: libmono-cil-dev (= 4.6.2.16-0xamarin1) but it
> is
> > not going to be installed
> > E: Unable to correct problems, you have held broken packages.
> >
> > This was a fresh machine setup, so why could this happen?
> > >From my experience, sad to say, this is an ongoing problem.
> >
> > Could please have someone an eye on this?
> > Or are there newer instructions?
> >
> > Thanks

Re: [Mono-list] Install on debian fails

2017-01-13 Thread webman
Hi All !

Addendum.

Just removed the apt-pinning and install succeeds!

$ mono --version
Mono JIT compiler version 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan  3 11:48:26 
UTC 2017)

Now, have to look further and read more. Ether my pin'ning
was wrong or my understanding of apt arguments or the
xamarin package ... ;-)

Thanks so far!
Manfred


> -Original Message-
> From: Mono-list [mailto:mono-list-boun...@lists.dot.net] On Behalf Of
> web...@manfbraun.de
> Sent: Friday, January 13, 2017 10:08 AM
> To: 'Alexander Köplinger'; 'William Ivanski'
> Cc: mono-list@lists.dot.net
> Subject: Re: [Mono-list] Install on debian fails
> 
> Hi !
> 
> Thanks for your investigation!
> That is exactly, what I've done (and wrote initially).
> The mono-xamarin.list contains two entries, the second
> one is that '.. libjpeg62...'.
> 
> But, in opposite to William, who used:
> >apt-get install mono-complete
> I used
> >apt-get install -t wheezy mono-complete
> 
> I've pin'ned my system to 900 to not accidentally
> install something form the backports repository,
> which I need for some rare things. So my prefs are:
> Package: *
> Pin: release n=jessie
> Pin-Priority: 900
> 
> I came to the "-t" argument, because I use this way,
> if I install from backports.
> 
> Now, I tried again with just plain:
> >apt-get install mono-complete
> 
> This succeeds, but installed mono 3.2.8 
> 
> No I have further headdache. It is a zfs dataset,
> I restored the last snapshot and now, it can wether
> mount nor unmound (just opened a help call there) ...
> Just cannot boot this time.
> 
> Anyway, I would like to hear opinions about this.
> Thanks,
> Manfred
> 
> 
> 
> > -Original Message-
> > From: Alexander Köplinger [mailto:alk...@microsoft.com]
> > Sent: Friday, January 13, 2017 3:29 AM
> > To: web...@manfbraun.de; William Ivanski
> > Cc: mono-list@lists.dot.net
> > Subject: Re: [Mono-list] Install on debian fails
> >
> > For Debian 8 (Jessie) you need to add a second separate repository for
> > libdiplus as mentioned here: http://www.mono-project.com/docs/getting-
> > started/install/linux/#libgdiplus-debian-80-and-later-not-ubuntu
> >
> > > echo "deb http://download.mono-project.com/repo/debian wheezy-
> libjpeg62-
> > compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
> >
> > I just tried this in a clean Docker container and it works.
> >
> > - Alex
> >
> > > On 13 Jan 2017, at 03:17, William Ivanski 
> > wrote:
> > >
> > > Here is what I did to install mono on Debian Jessie:
> > >
> > > 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
> > > apt-get update
> > > aptitude install mono-complete
> > > aptitude install mono-xsp4
> > > aptitude install monodevelop
> > >
> > > Can't tell you exactly what version was installed at the time, but it
> > worked. I always keep the system up-to-date, so right now I'm running
> mono
> > 4.6.2, from Xamarin repo.
> > >
> > > Em sex, 13 de jan de 2017 às 00:10,  escreveu:
> > > Hi !
> > >
> > >
> > >
> > > Oh, yeah, sorry - I am on debian jessie (8.6), with kernel 3.16.
> > >
> > > I had several other attempts to install mono from the xamarin
> > >
> > > repo (and I reported them here - but, sad to say, got no answer).
> > >
> > >
> > >
> > > On official repo, there is mono 3.2.8 and nothing in backports.
> > >
> > > On the initial machine, I gave up and I am missing features. But
> > >
> > > this one is completely new - although, it's a LXC VM. Exactly this
> > >
> > > should help me to come to a workaround.
> > >
> > >
> > >
> > > In the basic setup, there is absolut nothing about mono. Should
> > >
> > > I install from original repositiory first and the upgrade to
> > >
> > > the version in the xamarin repository?
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Manfred
> > >
> > >
> > >
> > >
> > >
> > > From: William Ivanski [mailto:william.ivan...@gmail.com]
> > > Sent: Friday, January 13, 2017 2:37 AM
> > > To: web...@manfbraun.de; mono-list@lists.dot.net
> > > Subject: Re: [Mono-list] Install on debian fails
> > >
> > >
> > >
> > > Are you using Debian 7 (Wheezy) or 8 (Jessie) ? If you are on Debian
> 7,
> > could you please try on Debian 8?
> > >
> > >
> > >
> > > Em qui, 12 de jan de 2017 às 21:43,  escreveu:
> > >
> > > Hello !
> > >
> > > I just tried to install mono-complete and followed exactly
> > > the instructions here:
> > >
> > > http://www.mono-project.com/docs/getting-started/install/linux/
> > >
> > > But the setup failed:
> > >
> > > + apt-get install -t wheezy mono-complete
> > > 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 pa

[Mono-list] Looking for netlink wrapper/library (libnl) in net (C#)

2017-09-13 Thread webman
Hallo !

I have to fetch events from the conntrack
netfilter part and looked for a library,
but found nothing.

I do not want to parse the output, because
it will probably be too "expensive". The tool
should run on a live firewall.

If someone knows something about this or
migth even have a snipped of code, please
let me know!

Thanks anyway,
Manfred



___
Mono-list maillist  -  Mono-list@lists.dot.net
http://lists.dot.net/mailman/listinfo/mono-list


[Mono-list] Looking for forum software running under linux

2017-11-11 Thread webman
Hi @All!

Made a look for this in the internet, but found
nothing other then YetAbotherForum - which needs
SQL server ... :-(

Does anyone know such software, optimally written
in C#??

Thanks anyway,
Manfred





___
Mono-list maillist  -  Mono-list@lists.dot.net
http://lists.dot.net/mailman/listinfo/mono-list