Details
-
Type:
Bug
-
Status:
Fix Provided
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Packages
-
Labels:None
Description
Upgrade path of chef packages is broken in debian/wheezy
The following packages in apt.opscode.com/wheezy conflicts with debian.net/wheezy packages:
- libyajl-ruby with ruby-yajl
- libpolyglot-ruby with ruby-polyglot
- libtreetop-ruby with ruby-treetop
- libmixlib-log-ruby with ruby-mixlib-log
They did conflict at File level and conflict is not specified, then the only fix if you happen to be in this case is:
- Force overwrite with debian upstream packages :
dpkg --force-overwrite -i ruby-yajl_1.1.0-1_amd64.deb dpkg --force-overwrite -i ruby-polyglot_0.3.3-3_all.deb dpkg --force-overwrite -i ruby-treetop_1.4.10-5_all.deb dpkg --force-overwrite -i ruby-mixlib-log_1.4.1-1_all.deb
- You may now
apt-get -f install
- Then delete lib*-ruby packages as they are not in dependency anymore
apt-get remove libmixlib-log-ruby libtreetop-ruby libpolyglot-ruby libyajl-ruby
- Reinstall ruby-* package, just to be sure
apt-get install --reinstall ruby-polyglot ruby-treetop ruby-mixlib-log ruby-yajl apt-mark markauto ruby-polyglot ruby-treetop ruby-mixlib-log ruby-yajl
What should be done:
- Add a Conflict with ruby-* packages in lib*-ruby packages to inform apt-get it should REMOVE older packages before Upgrading chef/ohai
- Upload fixed packages to apt.opscode.com/wheezy
Please see attached pull request:
https://github.com/opscode/opscode-packages/pull/7/