libglib1.2 dependency

Bug #207798 reported by Davor
8
Affects Status Importance Assigned to Milestone
glib1.2 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: libglib1.2

I have thrird-party driver for printer Canon Pixma ip1800. in 7.10 it work very well. But in 8.04 in begin of instalation i have error: Dependiency is not satisfiable libglib1.2 Before instalation i did get all uptates.

Revision history for this message
Nhorning (neilhorning) wrote :

I can confirm this. Exactly the same error, except that I can't confirm that it ever worked with 7.10. I assume it does, but I used the 64 bit version of Gutsy. I switched over to 32 bit with Heron primarily to get the printer to work, only to find this error.

Revision history for this message
Nhorning (neilhorning) wrote :

I'm attaching the printer driver as I don't see it in the original post.

Revision history for this message
Davor (dbergam-inet) wrote :

http://hex1a4.net/xubuntu/howto.php?htid=04 Here is all what you need for 7.10. In Gusty it work!

Revision history for this message
Gert Kulyk (gkulyk) wrote :

I'm rather sure this is not a valid bug-report. The driver is a third party one, ubuntu unfortunately cannot take care of every possible dependency of apps not provided by ubuntu (and like in this case, non free ones).

glib1.2 as well as gtk+1.2 are deprecated for a few years now, there is no longer any upstream-support for these libs, so as a consequence they were removed from hardy because fixing possible security issues and other oddities in combination with other apps would require too much manpower needed for other applications which are much more important nowadays.

I did not try it yet, but I'm rather sure you can install the gutsy-packages in hardy to make the driver work (or you can recompile them based upon the gutsy-source-packages for hardy).
The best solution would be of course, if canon would provide updated drivers, but I'm not sure how likely something like this is.

Revision history for this message
Gert Kulyk (gkulyk) wrote :

Oops, it seems like there are still glib-packages for hardy, but renamed ones (libglib1.2 -> libglib1.2ldbl) - sorry about the confusion, the discussion about removal was in debian, not yet in ubuntu. Does installing libglib1.2ldbl solve your problem?

Revision history for this message
Davor (dbergam-inet) wrote :

Kubuntu 8.04 have the same problem!

Revision history for this message
Gert Kulyk (gkulyk) wrote :

I've found a possible workaround in debian bug tracker. It is dealing with a similar issue (canon ip1500). The debian package you've posted was converted from a rpm one, using alien. Alien picked up the dependencies that where present on the system, the package was initially created (e.g. gutsy), therefore it depends on libglib1.2 and not on libglib1.2ldbl, which is now the name of the library. To get it work, download the driver from canon website and convert the package using alien on your hardy-install (with all needed dependencies already installed).
see:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=434264#20

Revision history for this message
Nhorning (neilhorning) wrote :

I tried both of the suggestions above, and neither of them seemed to work. I did get to the point where it would let me install the packages and the ip1800 2.70 was showing up as a driver I could select in the printer configuration. But whenever I try to print a test page, either with the test page button or with an office program, the printer remains silent.

This may be a 3rd party driver, but to write this off no fix planned does not present a pretty picture to potential Ubuntu conversions. Whoever's fault it is, this is a printer that will suddenly stop working with Ubuntu when the new release candidate rolls around. That's something that wouldn't be acceptable in windows, and it shouldn't be acceptable in Ubuntu if it wants to compete.

By the way, thank you for responding so quickly. I actually didn't expect anybody to do so that fast.

Revision history for this message
Nhorning (neilhorning) wrote :

I got it working by using the instructions here.
http://hex1a4.net/xubuntu/howto.php?htid=04

still, getting this working out of the box should at least be a slight priority. Even if it just means leaning on cannon.

Revision history for this message
korvins (katarata) wrote :

I am having the same problem here. IBM lotus notes (ibm-notes-framework) needs the same library but since the name has changed it cannot install it.

This is the deadlock situation:
ibm-notes-framework needs libglib1.2.
libglib1.2ldbl replaces libglib1.2, which prevents me to install it.

Result:
ibm-notes-framework asks me something that apt-get says it is already included with a different name.

This means I am stuck. For me apt-get should either allow me to install libglib1.2 (even being deprecated), or allow to install ibm-notes-framework since I already have a packet that includes it.

I believe apt-get should be able to see that or at least allow to go one way or the other, even if it is at my own risk. I tried -f option without luck.

Could you please comment on this?

Revision history for this message
Apocrypha (michaelhartog) wrote :

I also couldn't install any .deb file.
Here's what I did though:

1. Removed libglib1.2ldbl (it conflict once you actually get a libglib working)
sudo apt-get remove libglib1.2ldbl

2. Grabbed an rpm of libglib1.2 from http://rpm.pbone.net/index.php3/stat/4/idpl/4337058/com/libglib1.2-1.2.10-16mdk.i586.rpm.html (did a quick google, any release should be fine, I chose this one)

3. Alien'd
sudo alien libglib1.2-1.2.10-16mdk.i586.rpm

4. Install with gdebi
sudo gdebi libglib1.2_1.2.10-17_i386.deb (no idea why -16 changes to -17)

5. Grabbed notes
sudo apt-get install ibm-notes-framework

A rather nasty way to have to get around it but it works.

Revision history for this message
korvins (katarata) wrote :

Based on what Apocrypha did, I uninstalled ligblib1.2ldbl and then installed libglib1.2 in deb format.

After that I could install what I wanted.

Revision history for this message
Davor (dbergam-inet) wrote :
Revision history for this message
Constantin Bogza (tinel-c) wrote :

"I got it working by using the instructions here.
http://hex1a4.net/xubuntu/howto.php?htid=04

still, getting this working out of the box should at least be a slight priority. Even if it just means leaning on cannon."

Solved my problem too. Thanks.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Cannot account for all third-party packages.

Changed in glib1.2:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.