Hi,
On rpm side (deb will be looked at too), automatic deps were disabled because
those deps were conflicting with distro package (e.g. systemconfigurator would
provide perl(<package>) that already existed in distros (like Net::Netmask or
such.)
Because those deps were disabled, and because many manual deps are incomplete,
removing oscar packages will not remove all depending packages leaving broken
packages.
Step 1/ was to move packages with perl code in
/usr/lib/system{imager,config,...}/ into perl_vendorlib
=> Done.
- Modules from systemconfigurator have been moved to SystemConfig:: to avoid
conflict with Tk or Net (now SystemConfig::Tk).
- Packaging has been cleaned (both deb+rpm) now make install only requires
DESTDIR= (using INSTALLDIRS=vendor with the Makefile.PL )
- Package for systemimager, systemconfigurator, oscar-installer and sc3 have
beend successfully fixed.
Step 2/ Is to remove AutoReqProv:no (automatic requires & provides) from all
oscar-packages.
=> In progress.
- systemimager is ok (kept the tag for template initrd and boot to avoid
failing packaging x86 code into a noarch package, but removed tag for all
others)
- systemimager, systemconfigurator, oscar-installer, sc3, oscar-base, oda have
been migrated successfully. (now provides and requires correct perl modules).
=> consequence: Found that oscar-base code has broken code: FlatIpDB perl
module is used but doesn't exists (a require is raised on perl(FlatIpDB))
=> benefit: we can find such problem (lib/OSCAR/NextIp.pm using non-existant
FlatIpDB::read_IP_database()) and fix problem before it pops out.
=> benefit: removing oscar-base-lib will remove all package that depends on
those libs. no more package left in a broken state.
Step3/ Test
Step4/ Look on the deb side if such an automatic perl deps can be enabled so
the same behaviour is reached. (removing a package will trigger the remove of
other packages depending on it instead of leaving them alone in a broken
state).
Note: rhel-6-x86_64 repository left untouched until successful test on
fedora-17-x86_64 is done.
Best regards,
Olivier.
--
Olivier LAHAYE
>From home
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel