PAKFIRE ERROR: Returncode: 2. Sorry. Please search our forum to find a solution for this problem

I have an installation of IPFIRE.
On the system/home page of IPFIRE web interface it says:
Notice: There is an core-update from 140 to 141 available.

So I click it. And I am taken to the ipfire/pakfire page. I then click the upgrade button.
A new page appears saying:
Pakfire is working … Please wait until all operations have completed successfully.

When this is done, it returns to the ipfire/pakfire page. the upgrade has not changed, it is still waiting to be done. So I click it and try to read the information on the “Pakfire is working” page. After several attempts at upgrading, I am able to copy the following message before it disappears:

PAKFIRE ERROR: Returncode: 2. Sorry. Please search our forum to find a solution for this problem.

So what is a person to do? “Returncode: 2 . Sorry.” is very cryptic.

Let me know what information you may need to solve this interesting dilemma.
Here is a cut and paste of the disk usage.

Disk usage

Device Mounted on Size Used Free Percentage
devtmpfs /dev 997M 1M 997M 1%
tmpfs /dev/shm 1005M 1M 1005M 1%
tmpfs /run 1005M 1M 1004M 1%
/dev/sda3 / 1952M 1672M 163M 92%
/dev/sda1 /boot 64M 50M 11M 82%
/dev/sda4 /var 72420M 10148M 58571M 15%
none /var/lock 8M 1M 8M 1%
none /var/log/vnstat 1005M 1M 1005M 1%
none /var/log/rrd 1005M 39M 966M 4%

First it looks like you have a old installation only 2GB Partition (sda3). Nearly full…

No need to hurry. You have really time :wink: Just goto the System Logs and look for pakfire.

There is a log file with more information.

thanks for the quick response, a lot faster than my response.
Okay, “There is a log file with more information.”.
I went to the /var/log/pakfire directory and there are a lot of files.
Which one has this more information? Is this even the right directory?
I looked at the update-core-upgrade-141.log, but was empty, except serveral lines of “pak_update: no process killed”
So that file was not helpful to me.

You can do it in the GUI of IPFire. Where? Look above what i posted :wink:

I went to the Logs tab, then system logs, then pakfire section.
This is what I found:

Time Section
14:33:18 pakfire: PAKFIRE ERROR: Returncode: 2. Sorry. Please search our forum to find a solution for this problem.
14:33:07 pakfire: PAKFIRE UPGR: core-upgrade-141: Upgrading files and running post-upgrading scri pts…
14:33:07 pakfire: DECRYPT FINISHED: core-upgrade-141 - Status: 0
14:33:05 pakfire: DECRYPT STARTED: core-upgrade-141
14:33:05 pakfire: CLEANUP: tmp
14:33:05 pakfire: PAKFIRE UPGR: core-upgrade-141: Decrypting…
14:33:05 pakfire: DOWNLOAD FINISHED: ipfire/pakfire2/2.23/paks/core-upgrade-2.25-141.ipfire
14:33:05 pakfire: DOWNLOAD INFO: Signature of core-upgrade-2.25-141.ipfire is fine.
14:33:03 pakfire: DOWNLOAD INFO: File received. Start checking signature…
14:33:02 pakfire: DOWNLOAD INFO: HTTP-Status-Code: 200 - 200 OK
14:32:58 pakfire: DOWNLOAD INFO: ipfire/pakfire2/2.23/paks/core-upgrade-2.25-141.ipfire has size of 37366049 bytes
14:32:57 pakfire: DOWNLOAD INFO: Host: mirrors.dotsrc.org (HTTPS) - File: ipfire/pakfire2/2.23/pa ks/core-upgrade-2.25-141.ipfire
14:32:57 pakfire: MIRROR INFO: 25 servers found in list
14:32:57 pakfire: DOWNLOAD STARTED: paks/core-upgrade-2.25-141.ipfire
14:32:57 pakfire: CORE UPGR: Upgrading from release 140 to 141

My knowledge is not enough for that. Because i mentionedabove the sda3 problem, sooner or later you must do a new installation anyway. Maybe you do a backup, install new and restore the backup. Thats the way i would do it because at the moment i dont know it better.

Check also the “ipfire” log section. If it run out of disc space it should show this there…

> 26/14:33:18 ipfire: core-update-141: ERROR cannot update because not enough free space on root.

Thanks Arne.F - I found it in the “ipfire” log section, just as you suggested.
The above error would have been nice on the update web page and in the “pakfire” error log, but it is what it is.

Thanks Tulpenknicker
First it looks like you have a old installation only 2GB Partition (sda3). Nearly full…
It looks like you were right.
the sda3 problem, sooner or later you must do a new installation anyway
A new installation will be in the works. thanks all!

The solution is to read all the comments above and use all of them to check all the symptoms and use what works for you.

1 Like