On Wed, Mar 19, 2014 at 2:55 PM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com> wrote:
On Wed, Mar 19, 2014 at 2:50 PM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com> wrote:
On Wed, Mar 19, 2014 at 2:04 PM, bme
<bme(a)saseco.dk> wrote:
I uninstalled 5.4.3 like this:
sudo apt-get remove xwiki
That does not remove the data. You need to use
sudo apt-get remove --purge xwiki
to really start from scratch.
> sudo apt-get autoremove
>
> This should have clean out all important parts of xwiki and allow me to
> start from scratch (I assume). Then I tried to install the older release,
> but apt-get wont allow it:
>
> bme@wiki:~$ sudo apt-get install xwiki-enterprise-tomcat6-mysql=5.4.1
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies.
> xwiki-enterprise-tomcat6-mysql : Depends: xwiki-enterprise-common (= 5.4.1)
> but 5.4.2 is to be installed
> Depends: xwiki-enterprise-tomcat-common (=
> 5.4.1) but 5.4.2 is to be installed
> Depends: xwiki-enterprise-mysql-common (=
> 5.4.1) but 5.4.2 is to be installed
> E: Unable to correct problems, you have held broken packages.
>
> Any suggestions?
Looks like apt-get is not as clever as I tough and does not follow
properly dependencies when you indicate explicitly the version.
You can try something like:
sudo apt-get install xwiki-enterprise-tomcat7-mysql=5.4.1
xwiki-enterprise-common=5.4.1 xwiki-enterprise-tomcat-common=5.4.1
xwiki-enterprise-mysql-common=5.4.1
By the why this is again just an example, maybe you want a different
version of tomcat or use postgreslqn instead of mysql.