Bug 2197

Summary: ImageJ, a public domain Java image processing program inspired by NIH Image for the Macintosh.
Product: Mageia Reporter: Grigory Maksaev <schlecht>
Component: New RPM package requestAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Normal CC: colette.jc, marja11, zen25000
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: http://rsbweb.nih.gov/ij/
Whiteboard:
Source RPM: imagej CVE:
Status comment:

Description Grigory Maksaev 2011-07-18 18:20:27 CEST
It is an open-source software, quite useful.
However, I do not know under which license it is distributed.
Marja Van Waes 2011-10-27 21:40:45 CEST

CC: (none) => marja11
Summary: Image J - image processing and analysis => ImageJ, a public domain Java image processing program inspired by NIH Image for the Macintosh.
Source RPM: (none) => imagej

Comment 1 Marja Van Waes 2011-11-18 08:52:17 CET
Setting version to cauldron, because package requests will usually be done for cauldron first and then be available in next stable release

The package is in Mdv 2011 contrib-release, I don't know whether that helps to know what kind of license it has

Version: 1 => Cauldron

Comment 2 Grigory Maksaev 2011-11-19 00:15:23 CET
In which Cauldron should I look for ImageJ?
Comment 3 Marja Van Waes 2011-11-19 08:57:42 CET
(In reply to comment #2)
> In which Cauldron should I look for ImageJ?

Cauldron is the development release of Mageia, like cooker is for Mandriva. The package imagej isn't in cauldron yet, but if someone finds time to package it, it'll go in cauldron first, because that way it gets tested on many more systems than our testers have and if there is a flaw in the program, it can be found and fixed before it goes into a stable version of Mageia.

When the package becomes available for cauldron, this bug report will be closed. If you can't wait till next stable release (that would be Mga 2 if someone packages imagej now), you can then reopen this report and ask for the package to be made for current stable (at the moment Mga 1) as well.

Source RPM: imagej => age

Marja Van Waes 2011-11-19 08:57:58 CET

Source RPM: age => imagej

Comment 4 Barry Jackson 2011-11-20 17:06:25 CET
imagej is now in Cauldron.
Please test. Thanks.

Status: NEW => RESOLVED
CC: (none) => zen25000
Resolution: (none) => FIXED

Comment 5 Barry Jackson 2011-11-20 17:09:18 CET
*** Bug 3345 has been marked as a duplicate of this bug. ***

CC: (none) => colette.jc

Comment 6 Grigory Maksaev 2011-11-27 22:02:23 CET
Hi,
Thank you very much for the package, it seems to work, though I have not used it extensively yet.
However, I got several severe problems with/after installation.
I installed the ImageJ package from Cauldron Core repository via MCC and when I checked ImageJ box, I got a message that "RPMDrake or its parts should be updated..." or something like this. After I agreed, I was suggested to install 63 packages (from Cauldron I guess), so I gave it a try.
After installation I rebooted, and:
1. NetworkApplet icon disappeared.
2. I can't launch NetworkApplet, NetworkCenter or MCC from the menu.
3. When I tried to run MCC from a console, I got this:
   
   # mcc
/usr/bin/perl: symbol lookup error: /usr/lib/libDrakX/auto/c/stuff/stuff.so: undefined symbol: Perl_Gthr_key_ptr

4. The list of the packages installed with ImageJ:

imagej-1.45b-1.mga2                           Sun 27 Nov 2011 12:15:29 AM CST
rpmdrake-5.26.11-1.mga2                       Sun 27 Nov 2011 12:15:12 AM CST
urpmi-6.41-1.mga2                             Sun 27 Nov 2011 12:15:09 AM CST
aria2-1.13.0-1.mga2                           Sun 27 Nov 2011 12:15:07 AM CST
lib64gnutls28-3.0.4-1.mga2                    Sun 27 Nov 2011 12:15:06 AM CST
lib64hogweed2-2.4-1.mga2                      Sun 27 Nov 2011 12:15:05 AM CST
meta-task-2-12.mga2                           Sun 27 Nov 2011 12:15:04 AM CST
lib64nettle4-2.4-1.mga2                       Sun 27 Nov 2011 12:14:43 AM CST
python-rpm-4.8.1-15.mga2                      Sun 27 Nov 2011 12:14:42 AM CST
lib64p11-kit0-0.9-1.mga2                      Sun 27 Nov 2011 12:14:41 AM CST
p11-kit-0.9-1.mga2                            Sun 27 Nov 2011 12:14:40 AM CST
rpm-4.8.1-15.mga2                             Sun 27 Nov 2011 12:14:38 AM CST
lib64rpm1-4.8.1-15.mga2                       Sun 27 Nov 2011 12:14:36 AM CST
lib64gcrypt11-1.5.0-1.mga2                    Sun 27 Nov 2011 12:14:19 AM CST
perl-WWW-Curl-4.150.0-6.mga2                  Sun 27 Nov 2011 12:13:09 AM CST
perl-FCGI-0.740.0-3.mga2                      Sun 27 Nov 2011 12:13:08 AM CST
perl-YAML-Syck-1.190.0-1.mga2                 Sun 27 Nov 2011 12:13:06 AM CST
perl-HTML-Parser-3.690.0-1.mga2               Sun 27 Nov 2011 12:13:05 AM CST
perl-Digest-SHA-5.630.0-1.mga2                Sun 27 Nov 2011 12:13:03 AM CST
perl-String-CRC32-1.4-11.mga2                 Sun 27 Nov 2011 12:13:02 AM CST
perl-XML-Parser-2.410.0-1.mga2                Sun 27 Nov 2011 12:13:01 AM CST
perl-File-Sync-0.110.0-1.mga2                 Sun 27 Nov 2011 12:12:59 AM CST
perl-Curses-1.280.0-7.mga2                    Sun 27 Nov 2011 12:12:58 AM CST
perl-Time-Piece-1.200.0-5.mga2                Sun 27 Nov 2011 12:12:57 AM CST
perl-Filesys-Df-0.920.0-7.mga2                Sun 27 Nov 2011 12:12:56 AM CST
perl-Locale-gettext-1.50.0-6.mga2             Sun 27 Nov 2011 12:12:55 AM CST
perl-File-FnMatch-0.20.0-6.mga2               Sun 27 Nov 2011 12:12:54 AM CST
perl-URPM-3.38.4-1.mga2                       Sun 27 Nov 2011 12:12:53 AM CST
perl-DBI-1.616.0-4.mga2                       Sun 27 Nov 2011 12:12:50 AM CST
perl-Term-ReadKey-2.30-12.mga2                Sun 27 Nov 2011 12:12:49 AM CST
perl-Net-DBus-1.0.0-1.mga2                    Sun 27 Nov 2011 12:12:46 AM CST
perl-JSON-PP-2.272.0-2.mga2                   Sun 27 Nov 2011 12:12:45 AM CST
perl-XML-LibXML-1.880.0-1.mga2                Sun 27 Nov 2011 12:12:42 AM CST
perl-version-0.950.0-1.mga2                   Sun 27 Nov 2011 12:12:40 AM CST
perl-Digest-SHA1-2.130.0-6.mga2               Sun 27 Nov 2011 12:12:39 AM CST
perl-Crypt-SSLeay-0.580.0-6.mga2              Sun 27 Nov 2011 12:12:38 AM CST
locales-ru-2.14.1-2.mga2                      Sun 27 Nov 2011 12:12:36 AM CST
locales-ja-2.14.1-2.mga2                      Sun 27 Nov 2011 12:12:35 AM CST
locales-en-2.14.1-2.mga2                      Sun 27 Nov 2011 12:12:30 AM CST
perl-Tk-804.30.0-1.mga2                       Sun 27 Nov 2011 12:12:25 AM CST
perl-Gtk2-WebKit-0.90.0-3.mga2                Sun 27 Nov 2011 12:12:22 AM CST
perl-Gtk2-SourceView2-0.100.0-5.mga2          Sun 27 Nov 2011 12:12:21 AM CST
userdrake-1.13.5-2.mga2                       Sun 27 Nov 2011 12:12:18 AM CST
perl-Gnome2-Vte-0.90.0-4.mga2                 Sun 27 Nov 2011 12:12:17 AM CST
vim-enhanced-7.3.353-1.mga2                   Sun 27 Nov 2011 12:12:15 AM CST
perl-Gtk2-Notify-0.50.0-4.mga2                Sun 27 Nov 2011 12:12:14 AM CST
lib64notify4-0.7.4-4.mga2                     Sun 27 Nov 2011 12:12:13 AM CST
lib64tcl8.5-8.5.11-1.mga2                     Sun 27 Nov 2011 12:12:12 AM CST
vim-common-7.3.353-1.mga2                     Sun 27 Nov 2011 12:12:05 AM CST
perl-Gtk2-1.241.0-1.mga2                      Sun 27 Nov 2011 12:11:59 AM CST
perl-Pango-1.223-1.mga2                       Sun 27 Nov 2011 12:11:57 AM CST
lib64webkitgtk1.0_0-1.6.1-2.mga2              Sun 27 Nov 2011 12:11:56 AM CST
webkit-1.6.1-2.mga2                           Sun 27 Nov 2011 12:11:54 AM CST
webkit1.0-1.6.1-2.mga2                        Sun 27 Nov 2011 12:11:53 AM CST
lib64javascriptcoregtk1.0_0-1.6.1-2.mga2      Sun 27 Nov 2011 12:11:52 AM CST
lib64png15_15-1.5.6-1.mga2                    Sun 27 Nov 2011 12:11:51 AM CST
lib64icu48-4.8.1-2.mga2                       Sun 27 Nov 2011 12:11:50 AM CST
perl-Cairo-1.81.0-1.mga2                      Sun 27 Nov 2011 12:11:48 AM CST
perl-Glib-1.241.0-1.mga2                      Sun 27 Nov 2011 12:11:46 AM CST
locales-2.14.1-2.mga2                         Sun 27 Nov 2011 12:11:43 AM CST
perl-5.14.2-4.mga2                            Sun 27 Nov 2011 12:11:36 AM CST
perl-base-5.14.2-4.mga2                       Sun 27 Nov 2011 12:11:30 AM CST
glibc-2.14.1-2.mga2                           Sun 27 Nov 2011 12:11:20 AM CST

What would you suggest to do?

Thank you.
Comment 7 Barry Jackson 2011-11-28 02:29:13 CET
Ouch!
If you were going to try it in mga1 you should have downloaded it manually from the repo and installed it using rpm -Uvh <packagename>.

It is not generally a good idea to use packages built for a different system.

By activating a Cauldron repository you have updated a whole bunch of incompatible packages from Cauldron onto your mga1 system. 
You now have a broken system, and since rpm is likely broken it's not looking good.

The only solution that is likely to work that I can think of is to do
an "upgrade" install using a mga1 DVD - this will replace all your system files with the original mga1 system files which will then need updating.
The installer will offer the "upgrade" when it detects mga1 just prior to the partitioning section.
It will not touch your personal data - although some custom system settings may be lost.

Ah! another solution just came to mind.
The mga2 alpha1 dvd is now available. You could use that to do an upgrade install. You will then be running Cauldron until mga2 is released.

Best of Luck - either way ;)
Comment 8 Grigory Maksaev 2011-11-28 22:15:29 CET
OK, it'll be a good lesson for me...
However, urpmi is working, as well as wired network. I tried to get rid of the .mga2 packages manually and removed the Cauldron repos from the list, but this option seems to be a pain... too complicated and messy.
So I'll try to recover the system from the DVD and install ImageJ rpm separately.

Thank you!
Comment 9 Barry Jackson 2011-11-28 23:42:07 CET
If you can download all the required packages from the repo into a folder, if rpm is working OK you could then replace them.
CD into the folder and :-

su
rpm -Uvh --force --replacefiles --replacepkgs *.rpm

Worth a try ;)
Comment 10 Grigory Maksaev 2011-11-29 01:34:12 CET
It doesn't seem to work - there are lots of unsatisfied deps... Too complicated for me.
Will try system upgrade via Mageia1 DVD.

Thank you.
Comment 11 Grigory Maksaev 2011-11-29 18:36:33 CET
Hi,

Upgrade to Mageia1 did not work. After checking the installed packages it showed me the time bar for a couple of seconds and then moved to bootloader config, etc. So it looked like it did not install anything at all.

I think I'll try Mga2 alpha, but can I upgrade to it from a CD? I think I'll need proprietary drivers.
Comment 12 Grigory Maksaev 2011-11-29 18:49:06 CET
And BTW, after this upgrade attempt my root password doesn't work any more... :-)
Comment 13 Grigory Maksaev 2011-11-29 19:20:46 CET
And BTW, after this upgrade attempt my root password doesn't work any more... :-)