Welcome to the IPFire Wiki

This wiki is a community-maintained resource about everything there is to know about IPFire.

Please join in and help us improving it!

Differences in Revisions: How to change into the testing branch

»
2.21 -> 2.23
# How to change into the testing branch
 
To test any addon that isn't in the stable branch of IPFire you have to make a tiny modification of your pakfire.conf. You need access IPFire via console or SSH. Please change to following:
 
Change in file `/opt/pakfire/etc/pakfire.conf` :
 
## 32bit Version of IPFire
 
<file>
$version = "2.21";
$version = "2.23";
</file>
 
to
 
<file>
$version = "2.21.1";
$version = "2.23.1";
</file>
\\
## 64bit Version of IPFire
 
<file>
$version = "2.21-x86_64";
$version = "2.23-x86_64";
</file>
 
to
 
<file>
$version = "2.21.1-x86_64";
$version = "2.23.1-x86_64";
</file>
 
\\
After that execute:
 
`pakfire update --force`
 
After executing the above command you'll see this:
 
![](pakfire_update_force.png)
 
Go to the IPFire menu **System** > **Home** and you'll see this [Notification](/configuration/system/startpage#notifications):
 
![](/configuration/system/home_notice.png)
 
Click to the **Notice** and go to the Pakfire page (menu **IPFire** > **Pakfire**) and complete the upgrade.
 
You are now inside the testing branch.
 
\\ The testing branches may **not** be stable.
 
# How to change from Stable to the Release Candidate (RC)
 
To test a RC that is not the stable branch of IPfire you have to make a tiny modification of your pakfire.conf. You need access IPFire via console or SSH. Please change to following:
 
Change in file /opt/pakfire/etc/pakfire.conf :
 
32bit Version of IPFire
 
<file>
$version = "2.21";
$version = "2.23";
</file>
 
to
 
<file>
$version = "2.21.1";
$version = "2.23.1";
</file>
 
64bit Version of IPFire
 
<file>
$version = "2.21-x86_64";
$version = "2.23-x86_64";
</file>
 
to
 
<file>
$version = "2.21.1-x86_64";
$version = "2.23.1-x86_64";
</file>
 
After that execute:
 
`pakfire update --force`
 
Then to upgrade execute:
 
`pakfire upgrade --force`
 
You are now using the RC version of IPfire. **These Release Candidates may not be stable and are only for testing purposes.** Please install this RC only if you know what you are doing...
 
 
# Change back to the stable branch
 
If you want to return to the stable branch, the following files must be processed:
 
* **Leave Testing Tree**
 
<code bash>
vi /opt/pakfire/etc/pakfire.conf
</code>
 
Change the Version
 
32bit Version of IPFire
 
<code bash>
`...`
`$version = "2.21.1";`
`$version = "2.23.1";`
`...`
</code>
 
to
 
<code bash>
`...`
`$version = "2.21";`
`$version = "2.23";`
`...`
</code>
 
64bit Version of IPFire
 
<code bash>
`...`
`$version = "2.21.1-x86_64";`
`$version = "2.23.1-x86_64";`
`...`
</code>
 
to
 
<code bash>
`...`
`$version = "2.21-x86_64";`
`$version = "2.23-x86_64";`
`...`
</code>
 
* **Mine-File edit**
 
<code bash>
vi /opt/pakfire/db/core/mine
</code>
 
Change to core update number of stable version.