Permalink
Browse files

Fix for issue 236: #236

I now remove the zypper package locks in the postinstall.sh
  • Loading branch information...
1 parent 15bdd09 commit 9e34c660bcef461cddf8b7fd248bdc35c1502d81 Lyndon Washington committed Feb 23, 2012
@@ -27,6 +27,11 @@ echo -e "\ninstall chef and puppet ..."
gem install chef --no-ri --no-rdoc
gem install puppet --no-ri --no-rdoc
+# remove zypper locks, preventing installation of additional packages,
+# present because of the autoinst <software><remove-packages>
+echo -e "\nremove zypper package locks ..."
+rm -f /etc/zypp/locks
+
# install the virtualbox guest additions
echo -e "\ninstall the virtualbox guest additions ..."
zypper --non-interactive remove `rpm -qa virtualbox-guest-*`
@@ -27,6 +27,11 @@ echo -e "\ninstall chef and puppet ..."
gem install chef --no-ri --no-rdoc
gem install puppet --no-ri --no-rdoc
+# remove zypper locks, preventing installation of additional packages,
+# present because of the autoinst <software><remove-packages>
+echo -e "\nremove zypper package locks ..."
+rm -f /etc/zypp/locks
+
# install the virtualbox guest additions
echo -e "\ninstall the virtualbox guest additions ..."
zypper --non-interactive remove `rpm -qa virtualbox-guest-*`
@@ -27,6 +27,11 @@ echo -e "\ninstall chef and puppet ..."
gem install chef --no-ri --no-rdoc
gem install puppet --no-ri --no-rdoc
+# remove zypper locks, preventing installation of additional packages,
+# present because of the autoinst <software><remove-packages>
+echo -e "\nremove zypper package locks ..."
+rm -f /etc/zypp/locks
+
# install the virtualbox guest additions
echo -e "\ninstall the virtualbox guest additions ..."
zypper --non-interactive remove `rpm -qa virtualbox-guest-*`
@@ -27,6 +27,11 @@ echo -e "\ninstall chef and puppet ..."
gem install chef --no-ri --no-rdoc
gem install puppet --no-ri --no-rdoc
+# remove zypper locks, preventing installation of additional packages,
+# present because of the autoinst <software><remove-packages>
+echo -e "\nremove zypper package locks ..."
+rm -f /etc/zypp/locks
+
# install the virtualbox guest additions
echo -e "\ninstall the virtualbox guest additions ..."
zypper --non-interactive remove `rpm -qa virtualbox-guest-*`
@@ -27,6 +27,11 @@ echo -e "\ninstall chef and puppet ..."
gem install chef --no-ri --no-rdoc
gem install puppet --no-ri --no-rdoc
+# remove zypper locks, preventing installation of additional packages,
+# present because of the autoinst <software><remove-packages>
+echo -e "\nremove zypper package locks ..."
+rm -f /etc/zypp/locks
+
# install the virtualbox guest additions
echo -e "\ninstall the virtualbox guest additions ..."
zypper --non-interactive remove `rpm -qa virtualbox-guest-*`
@@ -27,6 +27,11 @@ echo -e "\ninstall chef and puppet ..."
gem install chef --no-ri --no-rdoc
gem install puppet --no-ri --no-rdoc
+# remove zypper locks, preventing installation of additional packages,
+# present because of the autoinst <software><remove-packages>
+echo -e "\nremove zypper package locks ..."
+rm -f /etc/zypp/locks
+
# install the virtualbox guest additions
echo -e "\ninstall the virtualbox guest additions ..."
zypper --non-interactive remove `rpm -qa virtualbox-guest-*`

0 comments on commit 9e34c66

Please sign in to comment.