Discussion:
unknown
1970-01-01 00:00:00 UTC
Permalink
------=_Part_281663391_44699944.1387099508029
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable <html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'><br>Hi,<br><br>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(&lt;package&gt;) that already existed in distros (like Net::Netmask or such.)<br><br>Because those deps were disabled, and because many manual deps are incomplete, removing oscar packages will not remove all depending packages leaving broken packages.<br><br>Step 1/ was to move packages with perl code in /usr/lib/system{imager,config,...}/ into perl_vendorlib <br>=&gt; Done.<br>&nbsp;&nbsp;&nbsp;&nbsp; - Modules from systemconfigurator have been moved to SystemConfig:: to avoid conflict with Tk or Net (now SystemConfig::Tk).<br>&nbsp;&nbsp;&nbsp;&nbsp; - Packaging has been cleaned (both deb+rpm) now make install only requires DESTDIR= (using INSTALLDIRS=vendor with the Makefile.PL)<br>&nbsp;&nbsp;&nbsp;&nbsp; - Package for systemimager, systemconfigurator, oscar-installer and sc3 have beend successfully fixed.<br><br>Step 2/ Is to remove AutoReqProv:no (automatic requires &amp; provides) from all oscar-packages.<br>=&gt; In progress.<br>&nbsp;&nbsp;&nbsp;&nbsp; - 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)<br>&nbsp;&nbsp;&nbsp;&nbsp; - systemimager, systemconfigurator, oscar-installer, sc3, oscar-base, oda have been migrated successfully. (now provides and requires correct perl modules).<br><br>=&gt; 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))<br>&nbsp;&nbsp; =&gt; benefit: we can find such problem (lib/OSCAR/NextIp.pm using non-existant FlatIpDB::read_IP_database()) and fix problem before it pops out.<br>&nbsp;&nbsp; =&gt; benefit: removing oscar-base-lib will remove all package that depends on those libs. no more package left in a broken state.<br><br>Step3/ Test<br><br>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).<br><br>Note: rhel-6-x86_64 repository left untouched until successful test on fedora-17-x86_64 is done.<br><br>Best regards,<br><br>Olivier.<br><div><span name="x"></span>-- <br>&nbsp;&nbsp; Olivier LAHAYE<span name="x"></span><br></div>&nbsp;&nbsp;
Loading...