Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Cannot install Mono Develop on Debian

Programming languages, Coding, Executables, Package Creation, and Scripting.
Message
Author
johnyjj2
Posts: 10
Joined: 2009-12-06 09:22

Cannot install Mono Develop on Debian

#1 Post by johnyjj2 »

Hello,

I cannot install Mono Develop on Debian.

First way

Package downloaded from here (https://packages.debian.org/jessie/all/ ... p/download) does not work because of this error:
Cannot install 'libglade2.0-cil'.
The details (Lintian output) were as follows:
W: monodevelop: debian-news-entry-has-unknown-version 0.18.1-1
E: monodevelop: debian-copyright-file-uses-obsolete-national-encoding at line 23
W: monodevelop: manpage-has-errors-from-man usr/share/man/man1/mdtool.1.gz 104: warning: macro `/'' not defined
E: monodevelop: menu-icon-not-in-xpm-format usr/share/icons/hicolor/scalable/apps/monodevelop.svg
W: monodevelop: script-not-executable usr/lib/monodevelop/AddIns/MonoDevelop.Autotools/templates/autogen.sh.template
W: monodevelop: script-not-executable usr/lib/monodevelop/AddIns/MonoDevelop.Autotools/templates/configure.template
W: monodevelop: script-not-executable usr/lib/monodevelop/AddIns/MonoDevelop.Autotools/templates/exe.wrapper.in.template
W: monodevelop: executable-not-elf-or-script usr/lib/monodevelop/AddIns/MonoDevelop.XmlEditor/schemas/appconfig.xsd
W: monodevelop: executable-not-elf-or-script usr/lib/monodevelop/AddIns/MonoDevelop.XmlEditor/schemas/XMLSchema.xsd
W: monodevelop: executable-not-elf-or-script usr/lib/monodevelop/AddIns/MonoDevelop.XmlEditor/schemas/W3C-License.html
W: monodevelop: executable-not-elf-or-script usr/lib/monodevelop/AddIns/MonoDevelop.XmlEditor/schemas/xslt.xsd
W: monodevelop: executable-not-elf-or-script usr/lib/monodevelop/AddIns/MonoDevelop.XmlEditor/schemas/nant.xsd
W: monodevelop: executable-not-elf-or-script usr/lib/monodevelop/AddIns/MonoDevelop.AspNet/Schemas/readme.txt
W: monodevelop: executable-not-elf-or-script usr/lib/monodevelop/AddIns/MonoDevelop.XmlEditor/schemas/manifest.xsd
W: monodevelop: executable-not-elf-or-script usr/lib/monodevelop/AddIns/MonoDevelop.XmlEditor/schemas/readme.txt
W: monodevelop: executable-not-elf-or-script usr/lib/monodevelop/AddIns/MonoDevelop.AspNet/Schemas/W3C-License.html
Lintian finished with exit status 1

And manual installation of libglade:
root@myusername:~# sudo apt-get install libglade
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libglade
root@myusername:~# sudo apt-get install libglade2.0-cil
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:
libglade2.0-cil : Depends: libgtk2.0-cil (>= 2.12.10-1ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@myusername:~#


Second way

These three commands (http://www.mono-project.com/docs/gettin ... erivatives) worked so my package repository was updated. But then thing described in 'Usage' section did not:
root@myusername:~# sudo apt-get install mono-devel
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-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
Depends: libmono-system-servicemodel4.0a-cil (>= 3.2.3) but it is not going to be installed
Depends: libmono-system-web-extensions4.0-cil (>= 2.10.3) but it is not going to be installed
Depends: libmono-system-web-services4.0-cil (>= 1.0) but it is not going to be installed
Depends: libmono-system-web4.0-cil (>= 2.10.3) but it is not going to be installed
Depends: libmono-system-windows-forms4.0-cil (>= 1.0) but it is not going to be installed
Depends: libmono-cil-dev (= 4.2.2.30-0xamarin2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Similar thing for the second package in 'Usage'.

How to install Mono Develop (for C# development of Android apps) on Debian Linux?

Thank you!

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Cannot install Mono Develop on Debian

#2 Post by Head_on_a_Stick »

Code: Select all

# apt install monodevelop
Works just fine on my jessie system ;)

You must have broken yours -- why do you have a listed dependency on "2.12.10-1ubuntu1" in your supposedly Debian system?

Have a read of this thread and see if any of it sounds familiar:
http://forums.debian.net/viewtopic.php?&t=114130

EDIT: You should always post your sources if you have problems installing packages.

Code: Select all

cat /etc/apt/sources.list{,.d/*}|grep -v "^$"|grep -v "^#"
Last edited by Head_on_a_Stick on 2016-02-21 20:05, edited 1 time in total.
deadbang

johnyjj2
Posts: 10
Joined: 2009-12-06 09:22

Re: Cannot install Mono Develop on Debian

#3 Post by johnyjj2 »

Head_on_a_Stick wrote:You must have broken yours -- why do you have a listed dependency on "2.12.10-1ubuntu1" in your supposedly Debian system?
Thanks! It must have been installed for some other software (I can't recall which one). The installation guide also wanted me to add something to repository list and use apt-get update. How can I restore repository content to original version? (Without breaking already installed software I mean). For sure I have Debian, not Ubuntu.
user8@myusername:~$ cat /etc/apt/sources.list{,.d/*}|grep -v "^$"|grep -v "^#"
deb-src cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official Multi-architecture i386/amd64/source DVD #1 20150906-15:30]/ jessie main
deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official Multi-architecture i386/amd64/source DVD #1 20150906-15:30]/ jessie main
deb http://ftp.uk.debian.org/debian/ jessie main
deb-src http://ftp.uk.debian.org/debian/ jessie main
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
deb http://ftp.uk.debian.org/debian/ jessie-updates main
deb-src http://ftp.uk.debian.org/debian/ jessie-updates main
deb http://archive.canonical.com/ jessie partner
deb http://httpredir.debian.org/debian/ jessie main contrib
deb http://dl.google.com/linux/talkplugin/deb/ stable main
deb http://dl.google.com/linux/talkplugin/deb/ stable main
deb http://download.mono-project.com/repo/debian wheezy main
deb http://download.mono-project.com/repo/debian wheezy main
deb http://ppa.launchpad.net/webupd8team/haguichi/ubuntu jessie main
I have also just read first post in that thread and it looks like I've learnt something new. I've wrongly assumed that if Ubuntu was based on Debian, I can also use its packages. Moreover, it was somehow frequent thing I could see in various internet resources, i.e. to suggest updating sources.list (without any info that some sources are from Ubuntu or that it may be wrong thing to do).

Anyway, how should I proceed with Mono installation?

PS I have found this one is needed:
root@myusername:~# apt-get install libjpeg8
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libjpeg8 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libjpeg8' has no installation candidate
So how should I install it without adding incompatible entries to sources.list?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Cannot install Mono Develop on Debian

#4 Post by stevepusser »

For sure I have Debian, not Ubuntu.
Take a look at these four enabled repos you have. Can you see what, if anything, could be
dangerous with using them, and any other errors?

Code: Select all

deb http://download.mono-project.com/repo/debian wheezy main
deb http://download.mono-project.com/repo/debian wheezy main
deb http://archive.canonical.com/ jessie partner
deb http://ppa.launchpad.net/webupd8team/haguichi/ubuntu jessie main
If you run

Code: Select all

apt-get update
don't you get a load of error messages? You have other issues with your sources, too, but those are annoying, not critical.
Last edited by stevepusser on 2016-02-21 22:49, edited 1 time in total.
MX Linux packager and developer

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Cannot install Mono Develop on Debian

#5 Post by dasein »

johnyjj2 wrote:For sure I have Debian, not Ubuntu.
No.
For sure this is what you have.
Image

I am about to earn my reputation as a mean, dream-crushing old man. But whether you (or anyone else) choose to take it this way or not, it's meant to keep you from doing harm...

At this point in your development as a coder, absolutely no good can come of you trying to deploy an Android app. Your thinking is superficial, your research is sloppy, and you either can't or won't read and follow simple directions. What's worse, your attitude is positively reckless. All of that may change someday, but it's going to take a lot more experience and a fundamental shift in your thinking and attitude.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Cannot install Mono Develop on Debian

#6 Post by stevepusser »

Whoa, after that it'll be another seven years until the OP's next post. :shock:
MX Linux packager and developer

tomazzi
Posts: 730
Joined: 2013-08-02 21:33

Re: Cannot install Mono Develop on Debian

#7 Post by tomazzi »

...and how have You estimated that 7 years? Do You have some algorithm which is able to predict/calculate this? - if yes, then I'm really interested in having a copy of the sources... ;)

Regards.
Odi profanum vulgus

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Cannot install Mono Develop on Debian

#8 Post by dasein »

tomazzi wrote:...and how have You estimated that 7 years? Do You have some algorithm which is able to predict/calculate this?
Can't speak for him, of course, but I believe sp's algorithm is the venerable linear extrapolation. Before starting this thread, the OP's last post was 7 years ago.

Which is, quite frankly, a very large part of what motivated me to post what I did. I find it baffling that anyone could be exposed to Debian for 7 years (even occasionally/intermittently) without learning at least a little about sources.list, or to develop at least a casual understanding that Ubuntu and Debian aren't binary compatible.
Last edited by dasein on 2016-02-22 00:41, edited 1 time in total.

tomazzi
Posts: 730
Joined: 2013-08-02 21:33

Re: Cannot install Mono Develop on Debian

#9 Post by tomazzi »

dasein wrote:Before starting this thread, the OP's last post was 7 years ago.

Which is, quite frankly, a very large part of what motivated me to post what I did. I find it baffling that anyone could run Debian for 7 years (even occasionally/intermittently) without learning at least a little about sources.list, or to develop at least a casual understanding that Ubuntu and Debian aren't binary compatible.
Kudos for stevepusser for checking this... However it was meant to be a joke... ;)

Anyway, I do understand what was the reason to reference Your post regarding the "Frankenstain" systems, and I agree that this is extremely bad thing.

Regards.
Odi profanum vulgus

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Cannot install Mono Develop on Debian

#10 Post by dasein »

tomazzi wrote:Kudos for stevepusser for checking this... However it was meant to be a joke... ;)
As was my "linear extrapolation" followup. Sorry if I was unsuccessful.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Cannot install Mono Develop on Debian

#11 Post by GarryRicketson »

.and how have You estimated that 7 years? Do You have some algorithm which is able to predict/calculate this? - if yes, then I'm really interested in having a copy of the sources..
http://forums.debian.net/viewtopic.php? ... 88#p271488
by johnyjj2
2009-12-06 03:24
=============================
2016 - 2009 = 7 years ago

So anyway :
Anyway, how should I proceed with Mono installation?
Forget about that for now. First do some research, check and see if this "Mono" is available, for the Debian version you prefer, if not you will need to use the version that
does support it.
As it is now, you have some kind of mixture, Debian Wheezy, and Debian Jessie, and then the ubuntu ,as well. If "mono" is only available for Ubuntu, install Ubuntu, then download and install the package.
If this package is also available for Debian Wheezy, and you want to use Debian wheezy, follow the same procedure, but get the package from the Wheezy repos.
The same, for Jessie, if the package is in the Jessie repos, you can install Jessie, that will over write all the mess you have, then install new packages, all from the Jessie repos .
Hope I did not confuse you with all the options.
If you still are having problems, 7 years from now, please let us know.
Last edited by GarryRicketson on 2016-02-22 01:11, edited 1 time in total.

tomazzi
Posts: 730
Joined: 2013-08-02 21:33

Re: Cannot install Mono Develop on Debian

#12 Post by tomazzi »

dasein wrote: As was my "linear extrapolation" followup. Sorry if I was unsuccessful.
Well, Your extrapolation wasn't as clear as You may think of...
The truth is, that You are using Your perfect knowledge of English language against the users of this forums - but You know what? this can be impressive only for new users, who are unsure about their rights and who don't even think about fighting for their rights to express themselves. I'm too old to be catched in this way - and You, Dasein, (aka "The One" - from german) should rethink Your reasons to waste Your time here...

Regards.
Odi profanum vulgus

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Cannot install Mono Develop on Debian

#13 Post by GarryRicketson »

TOPIC =
Cannot install Mono Develop on Debian
Seriously, putting the jokes and flames aside,..
@ johnyjj2
The reason you can not install it, is you have to many conflicting versions of Debian, and then a totally different distro. There is very little chance you can untangle the mess.
So the easiest way will be to re-install your OS, use a distro that supports the package (program) you need, and start fresh.
It is possible to remove unwanted packages, and try to sort it all out, but I can not help there, that is to complicated and beyond my skills, which are limited.
I do not have time right now to do the searches, and see what distros support "Mono", but that is some thing you should be able to do.
If not, maybe someone will help on that, and also, I was joking as well, you do not have to wait another 7 years, you are welcome to ask any questions whenever, but do keep in mind , to think about the question, and if you can find answers doing a search, that is better. If you really do not understand how to do your own searches, you can start a topic on that, and get some advice on doing searches.

tomazzi
Posts: 730
Joined: 2013-08-02 21:33

Re: Cannot install Mono Develop on Debian

#14 Post by tomazzi »

After the repositories are messed-up there's no simple solution to fix them - and indeed re-installing the whole os seems to be a good option...

However, it is possible to add the correct entries to the repositories and try to install them - the final result will of course depend on how badly the exising packages are messed up, but at least there is a chance for successful recovery...
Odi profanum vulgus

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Cannot install Mono Develop on Debian

#15 Post by stevepusser »

Nothing would have been installed from that Canonical and webupd8 Ubuntu PPA, since there aren't any "jessie" packages in them, only packages for Ubuntu releases. There would have just been a lot of errors when doing an "apt-get update" that would have pointed out the problem to anybody paying attention. There may not be any Ubuntu packages at all on the system, but who knows what else the OP has done in the past, since it seems he thought that there's no difference between Ubuntu and Debian.
MX Linux packager and developer

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Cannot install Mono Develop on Debian

#16 Post by dasein »

tomazzi wrote:Dasein, (aka "The One" - from german)
Nope, sorry.

(Sorry for the hijack. Done here.)

johnyjj2
Posts: 10
Joined: 2009-12-06 09:22

Re: Cannot install Mono Develop on Debian

#17 Post by johnyjj2 »

Hi, thanks for all your replies :).

First short digression

I didn't expect flame from one of the users but fortunately I maintain some distance from myself, if that's the correct phrase in English ;p

If you are interested why my last post was seven years ago here, I have started by trying some different Linux distributions, I think I had some troubles with installing Debian or basic configuration (things like not being able to install wifi drivers or similar) so I've tried Ubuntu and just stayed with it, and was reasonably happy with that. My main machine for work was and is Windows. I use Linux at home mostly for using internet so it's rather basic usage. And now I wanted to try again Debian.

To be honest, I have impression that the most basic things in any Linux distribution are much more complicated than with Windows, and amount of unexpected errors I have in any Linux is much higher than in Windows, what kind of discourages me from Linux. But on the other hand security and privacy in Windows is something I'm not hapy with, that's why I have Linux at home. In Linux things rarely work out of the box, as with Windows.

And I have some surprising issues connected with not knowing Linux philosophy. For example I could never understand why vim or vi require pressing i to start typing and escape, colon, w, q, enter to save. My impression is that pressing x and choosing save is easier way ;p, as in notepad. Or after installing Ubuntu, why updates don't work after short time of using computer (I mean, no more space on boot because installer by default allocated very small amount of disk memory, even if it had really much disk space, and updates cannot even suggest any automated way to clean). With Debian I also made mistake about letting it automatically create partitions with splitting them into more than one. I have some other errors. My point is that any predefined things in any Linux I was working with, did not work at all or had very serious limitations. And simple tasks are unnecessarily complicated. Maybe it's just my personal impression, but I found Windows much more convenient.

Or another example, in Windows if I want to install software, I double click exe, press next, next, next, finish and that's it. Even in case of complex software like Visual Studio. If I need to change something, I can do it later, but things work out-of-the-box. With Linux it's often more difficult to install software. Or if I have error, in Win I see some message box with red icon. In Linux terminal I have very lengthy output where any error or failure is not even marked with red font.

So I decided to learn things about Linux only whenever I have to or have some time to do something else than development on Windows.

And the Android app, I just want it to start every 15 minutes, check my current ip, download file from the given external location, upload something, measure download and upload, measure latency by pinging something and save statistics to file. That's all, just in any way, the simpler the better.

What exactly do you mean, Dasein, by fundamental shift in thinking and attitude? My current attitude is to focus on learning things that I use every day (understanding better, improving knowledge and skills) and using as little effort as I can (but accomplishing what I want to do) with things that are much less frequently used by me. Because unfortunately I don't have unlimited time.

And then solution (in case someone in the future needs it).

Or workaround if you prefer to call it that way. I have just added Debian Wheezy repositories to sources.list, updated repository with sudo apt-get update and then I was able to install libjpeg8 (which for some reason is not present in current Debian version). After that mono was installed without any issues.

And again thank you for all your advises and help :).

tomazzi
Posts: 730
Joined: 2013-08-02 21:33

Re: Cannot install Mono Develop on Debian

#18 Post by tomazzi »

johnyjj2 wrote:To be honest, I have impression that the most basic things in any Linux distribution are much more complicated than with Windows
To be honest, over 10 years ago I've discovered that linux-based systems are just a heaven for programmers - and because Your experiences are so different, I would like to hear where is Your problem... (but it was already solved in this topic... - hmm...)
johnyjj2 wrote:For example I could never understand why vim or vi require pressing i to start typing and escape, colon, w, q, enter to save (...)
This time I'm fully agree with You - the vi/vim are a horrible programs, which for unknown reasons are treated as a "holy graals" of all of unix/linux distributions - in fact those editors are old, and extremely inconvenient - just a shadows of the past... - use the nano editor ;)
johnyjj2 wrote:Or another example, in Windows if I want to install software, I double click exe, press next, next, next, finish and that's it.
This time You're stupid - without reading the EULA You're sentencing Yourself to install a crappy software which will make a harm to Your system sooner or later - definitely it's not just clicking "next, next" - unless You're willng (or just don't give a crap about) to give Your private data to a 3rd-party companies ;)

Regards.
Odi profanum vulgus

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Cannot install Mono Develop on Debian

#19 Post by GarryRicketson »

johnyjj2 wrote: I have impression that the most basic things in any Linux distribution are much more complicated than with Windows
Actually it is in reverse, to start with, it is almost impossible to find the command prompt on windows, then when I type in a simple command like:

Code: Select all

cd /etc/apt 

It does not even work, so I check "help", and do some searches, those idiots at MS, they made every thing bass ackward, they use the "/ " backwards, and use " \ " instead,
besides that the "ls" command does not work , so even the most basic things in windows, are much more complicated then in Linux.
"ls" is a little more easy and only 2 letters, as compare to "dir", but one can do so much more with "ls", then the "dir" command on Dos, which is the windows command line.
I don't know who told you or where you get the impression Linux is more complicated, it isn't, Linux simplifies everything in a way that makes it a user friendly OS.
Windows does everything it can to make the command line in accessible, and hide everything behind weird looking little pictures, that look like Egyptian hieroglyphics,
and besides that the things that can be done with those is extremely limited.
One can not even do the most basic things, with a windows program, Windows is not even a real OS, it needs DOS to run it.
As far as "vi" goes, I to agree, it is hard to get used to that, but "edlin" was worse,
Free Dos is not bad, and the "dos editor" is nice, but those backward slashes all ways have annoyed me.
Linux does not restrict anyone to just using "vi", Debian 1.1 had a real nice editor,
called Debian 1.1 had a real nice editor,
called "ae"
also known as "ed" "ed"
I suppose though after all said and done, it is mostly a matter of which OS one is more used to, that would seem like the more simple one. I never considered Windows as a real OS, it is just a very complicated and very poorly written program, designed to make a few things easier for people that only need to do a few simple tasks on a computer. But ends up complicating everything so much, it becomes use less to people like me,
I need things to be very simple.
Last edited by GarryRicketson on 2016-02-24 01:04, edited 2 times in total.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Cannot install Mono Develop on Debian

#20 Post by stevepusser »

Or another example, in Windows if I want to install software, I double click exe, press next, next, next, finish and that's it. Even in case of complex software like Visual Studio. If I need to change something, I can do it later, but things work out-of-the-box. With Linux it's often more difficult to install software. Or if I have error, in Win I see some message box with red icon. In Linux terminal I have very lengthy output where any error or failure is not even marked with red font.
That's an example of what you need to change in your thinking. In Debian, just install the mono-devel package from the repository. Done.

GNU/Linux is not a free and open source version of Windows; it was never meant to be that. Maybe giving this a read would clear things up.
MX Linux packager and developer

Post Reply