Bug 6178 - etc-update, merge .rpmnew files into existing ones.
Summary: etc-update, merge .rpmnew files into existing ones.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: Mageia 3
Assignee: QA Team
QA Contact:
URL:
Whiteboard: Mdv, cauldron, MGA1TOO MGA2-64-OK MGA...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2012-05-30 21:43 CEST by Hartmut Goebel
Modified: 2012-08-18 14:29 CEST (History)
6 users (show)

See Also:
Source RPM: etc-update
CVE:
Status comment:


Attachments

Description Hartmut Goebel 2012-05-30 21:43:43 CEST
Description of problem:

After an update with urpmi rpm makes .rpmnew  copies  of  all  files  it
knows it should not overwrite. Of course you have to look at  all  those
files and merge any changes. A tedious and much forgotten job.

This tool was available for Mandriva 2010 and should be provided for Mageia, too. It depends only on bash, so packaging for Mageia and updating should be no problem.
Comment 1 Marja Van Waes 2012-06-29 23:05:38 CEST
etc-update-20020731-10mdv2010.0.src.rpm

URL: http://www.xs4all.nl/~hanb/software => (none)
CC: (none) => marja11
Version: 2 => Cauldron
Summary: Add: etc-updates, merge .rpmnew files into existing ones. => etc-updates, merge .rpmnew files into existing ones.
Source RPM: etc-update-20020731-10mdv2010.0.src.rpm => etc-update
Whiteboard: (none) => Mdv MGA1TOO MGA2TOO
Severity: normal => enhancement

Comment 2 Johnny A. Solbu 2012-07-21 23:17:59 CEST
Pushed to Cauldron

Status: NEW => RESOLVED
CC: (none) => johnny
Resolution: (none) => FIXED
Assignee: bugsquad => johnny
Target Milestone: --- => Mageia 3

Comment 3 Johnny A. Solbu 2012-07-21 23:20:25 CEST
Removing invalid whiteboard tags.

Whiteboard: Mdv MGA1TOO MGA2TOO => Mdv

Comment 4 Marja Van Waes 2012-07-30 19:55:35 CEST
(In reply to comment #3)
> Removing invalid whiteboard tags.

Thx for packaging it, Johnny :-)

If you feel like it (there is no obligation) it is valid to package it for Mageia 1 and Mageia 2, because the package was available in Mdv 2010

In that case, but you probably know, the package should go into updates for 1 and 2, and be assigned to QA with a suggested advisory
Comment 5 Hartmut Goebel 2012-07-30 20:07:45 CEST
(In reply to comment #4)

> If you feel like it (there is no obligation) it is valid to package it for
> Mageia 1 and Mageia 2, because the package was available in Mdv 2010

I would appreciate it.

Thanks for packaging.
Comment 6 Johnny A. Solbu 2012-07-30 20:33:04 CEST
(In reply to comment #4)
> In that case, but you probably know, the package should go into updates for 1
> and 2, 

Not updates_testing?

> and be assigned to QA 

How? Reassigning this bug?

> with a suggested advisory

How do I do that?
Comment 7 Marja Van Waes 2012-07-30 21:09:19 CEST
(In reply to comment #6)
> (In reply to comment #4)
> > In that case, but you probably know, the package should go into updates for 1
> > and 2, 
> 
> Not updates_testing?

Yes of course, thanks for being so alert :-D
> 
> > and be assigned to QA 
> 
> How? Reassigning this bug?

yes, to qa-bugs@ml.mageia.org (and put yourself in the cc, so you'll get a mail if QA have any questions

> 
> > with a suggested advisory
> 
> How do I do that?

you can find an example if you scroll a bit down, here
https://wiki.mageia.org/en/Example_update_advisory_announcement

Please read this paragraph https://wiki.mageia.org/en/Updates_policy#Maintainer_.28or_any_interested_packager.29 too

Status: RESOLVED => REOPENED
Version: Cauldron => 2
Resolution: FIXED => (none)
Whiteboard: Mdv => Mdv MGA1TOO

Marja Van Waes 2012-07-30 21:09:48 CEST

Whiteboard: Mdv MGA1TOO => Mdv, cauldron, MGA1TOO

Comment 8 Johnny A. Solbu 2012-08-02 04:17:55 CEST
I have uploaded an updated etc-update to mga1 and mga2 which where in mdv2010.1 and where forgotten in mga.
As this is my first ever update, feel free to change the advisory. :-)=

Suggested advisory:
===================
The package etc-updates where forgotten when importing Mandriva 2010.1 packages.

This update fixes that.
===================

Updated packages in mga1:
===================
etc-update-20020731-11.mga1

Updated packages in mga2:
===================
etc-update-20020731-11.1.mga2

Status: REOPENED => ASSIGNED
Assignee: johnny => qa-bugs

Comment 9 Samuel Verschelde 2012-08-02 08:41:57 CEST
To speed-up the process, it would be ideal to provide testing steps that would allow to check that the main functionalities work. Otherwise you will have to wait for a QA team member to look through the program's documentation and find out themselves how it works.

CC: (none) => stormi

Comment 10 Johnny A. Solbu 2012-08-02 16:48:23 CEST
(In reply to comment #9)
I have never used it myself, so I wouldn't kno whow. Didn't even know it exsisted untill I saw this bug. Perhaps Goebel who opened the bug can provide this, as he seems to use it.
Comment 11 Dave Hodgins 2012-08-08 05:18:29 CEST
Testing complete on Mageia 2 x86-64.

The program shows the diff between /etc/*.rpmnew and the same file name
without the .rpmnew, and gives a numbered menu asking what should be
done.

Turned out I had a few .rpmnew files I'd missed.

I'll test Mageia 2 i586 shortly.

CC: (none) => davidwhodgins

Comment 12 Dave Hodgins 2012-08-08 05:27:18 CEST
I noticed this is a noarch package, so it only needs testing on one arch
for each release.

I've now completed testing on Mageia 1 i586.

Could someone from the sysadmin team push the srpm
etc-update-20020731-11.1.mga2
from Mageia 2 Core Updates Testing to Core Updates and the srpm
etc-update-20020731-11.mga1
from Mageia 1 Core Updates Testing to Core Updates.

Advisory: This update adds etc-update, a script to ease management
of .rpmnew files left after package updates, that was present in
Mandriva 2010.2, but missing from Mageia.

https://bugs.mageia.org/show_bug.cgi?id=6178

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Whiteboard: Mdv, cauldron, MGA1TOO => Mdv, cauldron, MGA1TOO MGA2-64-OK MGA1-32-OK

Comment 13 Thomas Backlund 2012-08-18 14:29:52 CEST
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0165

Status: ASSIGNED => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED
Summary: etc-updates, merge .rpmnew files into existing ones. => etc-update, merge .rpmnew files into existing ones.


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