Bug 8480 - 3_b1: mgaonline rpm will not reinstall all files.
Summary: 3_b1: mgaonline rpm will not reinstall all files.
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-22 23:54 CET by Bit Twister
Modified: 2012-12-24 20:07 CET (History)
2 users (show)

See Also:
Source RPM: mgaonline-2.78-2.mga3.src.rpm
CVE:
Status comment:


Attachments

Description Bit Twister 2012-12-22 23:54:09 CET
Description of problem:

mgaonline rpm will not reinstall all files on Cauldron and Mageia 2

Once you remove/install it, you no longer get update notifications.

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


How reproducible: Always


Steps to Reproduce:
Clean install of Mageia-3-beta1-x86_64-DVD.iso. Default runlevel: 3
Package Group Selection has all package groups selected except LSB and Other
Graphical Desktops + updates followed with
urpme --auto-orphans and reboot. 
 
1. click up a terminal
2. su - root
3. ls -al â/etc/cron.daily/mgaupdate
4. Note file exists on clean install
5. mcc ->Software Management->Install & Remove Software
6. enter mgaonline in search box
7. click Files: and note it has â/etc/cron.daily/mgaupdate as part of rpm.
8. remove the package
9. ls -al â/etc/cron.daily/mgaupdate
10. Note file does not exist
11. Back to mcc and install mgaonline rpm
12. ls -al â/etc/cron.daily/mgaupdate
13. Note file does not exist
Comment 1 roelof Wobben 2012-12-23 09:55:49 CET
Cannot reproduce this on a fully updated M2 and Cauldron.
Both on step 3 I get a file not found error message. 

And when I do find / - iname mgaupdate on Cauldron I see this output : 

[root@localhost /]# find / -iname mgaupdate
/usr/sbin/mgaupdate


Roelof

CC: (none) => r.wobben

roelof Wobben 2012-12-23 10:42:38 CET

CC: (none) => thierry.vignaud

Comment 2 roelof Wobben 2012-12-23 10:43:07 CET
@thierry : Can you shine a light at this matter ?

Roelof
Comment 3 Bit Twister 2012-12-23 14:55:01 CET
(In reply to comment #1)
> Cannot reproduce this on a fully updated M2 and Cauldron.
> Both on step 3 I get a file not found error message. 

Sorry, bad assumption on my part.
I was assuming that the file was supposed to be there according to the FILES given for the rpm in mcc.

The problem is, automatic update notification quit working after remove/install of the rpm.

My workaround solution was to create a /etc/cron.daily script to run
    urpmi --downloader wget --auto --auto-update --test
since I assumed it was because /etc/cron.daily/mgaupdate did not exist after reinstall.

Reason I remove the rpm is, I have a bunch of clean install scripts, one of which removes mgaonline because during it's execution it would lock the rpm database and cause package install failures from the rest of my install scripts.
Comment 4 Thierry Vignaud 2012-12-24 20:07:34 CET
It's a ghost file.
It's normal it doesn't exist until filled in.

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


Note You need to log in before you can comment on or make changes to this bug.