Bug 2382 - Older updates are not removed from updates repositories when a newer update becomes available
Summary: Older updates are not removed from updates repositories when a newer update b...
Status: RESOLVED WONTFIX
Alias: None
Product: Infrastructure
Classification: Unclassified
Component: Others (show other bugs)
Version: unspecified
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Sysadmin Team
QA Contact:
URL:
Whiteboard:
Keywords:
: 3236 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-06 16:22 CEST by Samuel Verschelde
Modified: 2014-05-08 18:06 CEST (History)
6 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Samuel Verschelde 2011-08-06 16:22:23 CEST
you can see in http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/1/i586/media/core/updates/ that we have 2 different versions of putty in the core/updates media for Mageia 1. Is it a bug from the script that moves the packages to main and failed to remove the older one ?
Comment 1 Marja Van Waes 2011-10-31 21:32:04 CET
Nothing changed, so far

[ ]	putty-0.61-0.1.mga1.i586.rpm	13-Jul-2011 19:04 	618K	 
[ ]	putty-0.61-1.1.mga1.i586.rpm	30-Jul-2011 00:11 	619K

CC: (none) => marja11

Comment 2 Marja Van Waes 2012-02-09 16:44:17 CET
it seems no older versions are removed at all, look at e.g firefox (nluug mirror):

File:firefox-6.0-1.1.mga1.i586.rpm 	12621 KB 	20/08/11 	23:59:00
File:firefox-6.0.1-1.2.mga1.i586.rpm 	12622 KB 	01/09/11 	00:02:00
File:firefox-6.0.2-0.1.mga1.i586.rpm 	12618 KB 	09/09/11 	09:52:00
File:firefox-7.0.1-0.1.mga1.i586.rpm 	12373 KB 	30/09/11 	02:30:00
File:firefox-8.0.1-0.4.mga1.i586.rpm 	13398 KB 	25/11/11 	01:17:00
File:firefox-9.0.1-0.1.mga1.i586.rpm 	13950 KB 	22/12/11 	03:51:00

same is true for packages in non-free and tainted repositories


@ sysadmin

If this is wanted behaviour, please explain and close this bug. If it isn't, please set status to ASSIGNED

Summary: putty is present in twice in updates => Older updates are not removed from updates repositories when a newer update becomes available

Comment 3 Thomas Backlund 2012-02-09 16:52:31 CET
Well...

The idea was to be able to do regression testing...


And before someone says that we have the same info in svn, it's not entirely true.

This is because stuff in svn has to be rebuilt in order to create rpms to install, wich may not produce the same results as the initial packages as some libs or packages might have been updated in between...

So... Question becomes... do we want to be able to roll back / do regression testing ?

CC: (none) => tmb

Comment 4 Nicolas Vigier 2012-02-09 16:59:48 CET
I think keeping the possibility to do roll back would be nice.

Alternatively, old updates could be moved to a separate directory if it's causing problem staying in the same repository. Or rpmdrake can be changed to display only the latest version of each package if this is the problem.

CC: (none) => boklm

Comment 5 Manuel Hiebel 2012-02-09 17:03:28 CET
why not make like mdv ? see my duplicate
Comment 6 Manuel Hiebel 2012-02-09 17:03:43 CET
*** Bug 3236 has been marked as a duplicate of this bug. ***

CC: (none) => manuel

Comment 7 Nicolas Vigier 2012-02-09 17:04:54 CET
Why should we do like mandriva ?
Comment 8 Manuel Hiebel 2012-02-09 17:12:33 CET
(In reply to comment #7)
> Why should we do like mandriva ?

Because I have never see somebody using the old update for testing regression. (except for the kernel, so same as in mdv)
(For the QA it's different since the packages are updates and in testing)

And that bring more issues than it solves

CC: manuel => (none)

Comment 9 Nicolas Vigier 2012-02-09 17:17:22 CET
(In reply to comment #8)
> (In reply to comment #7)
> > Why should we do like mandriva ?
> 
> Because I have never see somebody using the old update for testing regression.
> (except for the kernel, so same as in mdv)
> (For the QA it's different since the packages are updates and in testing)

It doesn't mean nobody wants them.

> 
> And that bring more issues than it solves

But you still don't explain what are those issues and why my proposals don't solve them ...
Comment 10 Manuel Hiebel 2012-02-09 17:36:18 CET
oh sorry I have not seen comment 4, yep why not
Raphaël Vinet 2012-02-09 17:57:09 CET

CC: (none) => mailinglistsduraph

Comment 11 Samuel Verschelde 2012-02-09 19:10:23 CET
I agree with comment #4. Having the old updates "somewhere" can be nice, but removing them from the updates media would be great.
Comment 12 Thomas Backlund 2012-02-09 19:18:28 CET
Well, if we move the rpms, we need to hardlink the rpms so rpms dont have to be redownloaded by the mirrors.

(the hardlinking should also be done for updates_testing -> updates move...
 iirc misc had some idea on this layout...)
Comment 13 Marja Van Waes 2012-02-09 19:50:34 CET
(In reply to comment #12)
> Well, if we move the rpms, we need to hardlink the rpms so rpms dont have to be
> redownloaded by the mirrors.
> 
> (the hardlinking should also be done for updates_testing -> updates move...
>  iirc misc had some idea on this layout...)

cc'ing misc
(or is that not needed because he always reads all sysadmin bugs?)

CC: (none) => misc

Comment 14 Thomas Backlund 2012-10-30 19:02:03 CET

Closing as it's intentional

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

Comment 15 Manuel Hiebel 2012-11-01 21:07:11 CET
better status then

Resolution: FIXED => WONTFIX

Comment 16 andré blais 2012-11-02 21:43:22 CET
Wouldn't it be better to say INVALID since it is intended behavior,
instead of WONTFIX, which, if I understand correctly, implies that it is valid but not worth fixing ?

(I didn't change the status)

CC: (none) => andre999mga

Comment 17 Marja Van Waes 2012-11-22 20:25:23 CET
(In reply to comment #16)
> Wouldn't it be better to say INVALID since it is intended behavior,
> instead of WONTFIX, which, if I understand correctly, implies that it is valid
> but not worth fixing ?
> 
> (I didn't change the status)

There was still some discussion about the feature in this report. If it had been invalid, there would not have been a discussion and it would probably have been closed in august 2011
Nicolas Vigier 2014-05-08 18:06:14 CEST

CC: boklm => (none)


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