Bug 4631

Summary: 2_b1: javaws.1.gz dangling link
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: RPM PackagesAssignee: D Morgan <dmorganec>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: r.h.michel+mageia
Version: CauldronKeywords: Triaged
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: icedtea-web-1.2-1.mga2.src.rpm CVE:
Status comment:

Description Bit Twister 2012-02-22 11:36:28 CET
Description of problem:

dangling: /usr/share/man/man1/javaws.1.gz -> /etc/alternatives/javaws.1.gz

Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. Clean install of  Mageia-2-beta1-x86_64-DVD.iso + updates
1. Assuming icedtea-web is installed
2. symlinks -r / |  grep dangling
Comment 1 Manuel Hiebel 2012-02-23 11:26:22 CET
Hi, thanks for reporting this bug.
Assigned to the package maintainer.

(Please set the status to 'assigned' if you are working on it)

Keywords: (none) => Triaged
Assignee: bugsquad => dmorganec

Comment 2 Renaud Michel 2012-04-01 22:21:18 CEST
Hello
Some more information regarding this bug, the problem is in the %posttrans which adds the alternatives:

alternatives \
 --install %{_libdir}/mozilla/plugins/libjavaplugin.so %{javaplugin} \
 %{_libdir}/IcedTeaPlugin.so %{priority} \
 --slave %{_bindir}/javaws javaws %{_prefix}/bin/javaws%{binsuffix} \
 --slave %{_mandir}/man1/javaws.1.gz javaws.1.gz \
 %{_mandir}/man1/javaws-itweb.1.gz

the problem being that manpages are compressed with xz, so the last part of the alternative definition should be

 --slave %{_mandir}/man1/javaws.1.xz javaws.1.xz \
 %{_mandir}/man1/javaws-itweb.1.xz

CC: (none) => r.h.michel+mageia

Bit Twister 2012-04-19 03:12:51 CEST

Source RPM: icedtea-web-1.1.4-1.mga2.src.rpm => icedtea-web-1.2-1.mga2.src.rpm

Comment 3 D Morgan 2012-04-19 08:22:52 CEST
just fixed thanks

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