| Summary: | Obsoleting a package should remove src.rpm | ||
|---|---|---|---|
| Product: | Infrastructure | Reporter: | Pascal Terjan <pterjan> |
| Component: | BuildSystem | Assignee: | Sysadmin Team <sysadmin-bugs> |
| Status: | ASSIGNED --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Normal | CC: | jquelin, marja11, thierry.vignaud |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
| Bug Depends on: | |||
| Bug Blocks: | 858 | ||
| Attachments: |
Script listing packages to delete
Log of the script on cauldron in 3 use cases |
||
|
Description
Pascal Terjan
2011-03-11 11:50:00 CET
Pascal Terjan
2011-03-11 13:56:23 CET
Severity:
normal =>
enhancement
Thierry Vignaud
2011-05-20 14:55:23 CEST
CC:
(none) =>
thierry.vignaud @ sysadmin-bugs any news on this enhancement request? CC:
(none) =>
marja11 debug packages should also be removed. CC:
(none) =>
boklm I think this can be done using a script in cron removing all source packages with no corresponding binary packages.
Nicolas Vigier
2011-10-14 14:53:19 CEST
Blocks:
(none) =>
858 I had such scripts in my home on n4 which got wiped out. There is also some code in youri-check for that. The Missing check lists the ones where there are binary packages from newer version, I don't remember why it does not list the ones without binary packages but this should be trivial to add. I had http://svn.mandriva.com/viewvc/soft/build_system/distrib/cleaning/debugorphan?revision=269234&view=markup for removing / moving debug packages, this one can be simplified to only do the removing and be run in cron. Created attachment 964 [details]
Script listing packages to delete
Created attachment 965 [details]
Log of the script on cauldron in 3 use cases
This script can list:
- binaries in a media without src.rpm (old binaries), it can be run on debug media too
- src.rpm in a media with no associated binary rpm
Pascal Terjan
2011-10-14 22:07:04 CEST
Attachment 965 mime type:
application/octet-stream =>
text/plain
Jerome Quelin
2011-11-30 13:19:16 CET
CC:
(none) =>
jquelin
Nicolas Vigier
2012-01-13 23:02:37 CET
Status:
NEW =>
ASSIGNED This script has a problem, it only checks one arch so it will report a src.rpm as not having binaries if it is not built for that arch
Nicolas Vigier
2014-03-24 10:52:28 CET
CC:
boklm =>
(none) |