Package installation and uninstallation not stable?
-
Although pfsense is working in its basic function, but I would like to add some packages.
The packages that I had were: bandwidthd, havp, ntop, imspector, squid, squidguard, lightsquid and lusca-cache. Now I can't reinstall all of them. It seems pfsense cannot pull the packages. I observed this after the July 18 snapshot.
2.0-RC3 (i386)
built on Thu Jul 28 16:30:09 EDT 2011After my snapshot upgrade, all my packages didn't reinstall. When I check the pftop, I only see (null) in the source and destination. Some packages I can manually delete. But when I tried to delete squid and squidguard, I'm stuck here:
Removing package…
Starting package deletion for squidGuard-1.4_3...done.
Starting package deletion for db41-4.1.25_4...done.
Starting package deletion for db3-3.3.11_3,1...done.
Starting package deletion for cyrus-sasl-2.1.23_3...done.
Removing squidGuard components...
Tabs items... done.
Menu items... done.
Services... done.
Loading package instructions...
Deinstall commands...GUI of the squidguard and squid doesn't appear.
This is in consonance with similar posts like: http://forum.pfsense.org/index.php/topic,39203.msg202100.html#msg202100
Also, it makes my WAN unstable. I have 3 ISPs in loadbalance but it seems that after some time, the other 2 ISPs that are not considered as default gw are labeled offline. After I click the System>Routing>Edit and Apply changes, the 3 ISPs get online status. Then after another minutes, the 2 ISPs are offline again.
-
I had noticed this on another box, that when you uninstall squidguard, it kills and uninstalls some of the needed extensions/files by squid. When it kills squid, everything else seems to go with it. I haven't taken a look at what was causing it lately. The only way I had found to get rid of all the packages was to manually delete the packages out of the xml config file, import it, and then start over with installing and configuring the packages.
-
The only way I had found to get rid of all the packages was to manually delete the packages out of the xml config file, import it, and then start over with installing and configuring the packages.
Sorry sir but HOW? I'm afraid that I might delete the necessary entries in the config file. Last time I mistakenly put the static mappings on a different section of the config, my pfsense broke :'(
I usually edit my config file if I want to copy my updated 300 dhcp static mappings to my other pfsense box. Especially if the box came from a fresh installation of pfsense.
edit:
After a snapshot upgrade through console, there's a fatal error regarding squid. I don't know what was that.Also after reboot, the box displayed the menu like ***Welcome to pfSense 2.0-RC3…....
Meaning, it completed its boot correctly and no other installation is ongoing.
But when I login to the webgui, there is this big hdd picture with "Packages are currently being reinstalled in the background. Do not make changes in the GUI until this is complete." being displayed.Then when I check pftop on the cli, it shows a series of (null) entries. The IPs are not displayed.
-
Download the complete xml config, open it in an xml editor (I use xmlnotepad), scroll to the bottom and expand the section where it says "installed packages", delete as needed.
EDIT: As I had said before squidguard screws up squid so any uninstall of squidguard will cause other packages to crash since they all use the same missing files.
-
Thanks sir. I will try this one now. I'll keep you posted. ;D
sorry, where do I start?
<installedpackages>or from <package>Am I going to include deleting this –> _<installedpackages></installedpackages>_or a line after it?</package></installedpackages> -
Already did the editing of the config file.
After reboot in pftop:pfTop: Up State 1-852/852, View: default, Order: bytes PR D SRC DEST STATE AGE EXP PKTS BYTES ip I (null)[49320] (null)[0] 0:0 * * 0 * ip I (null)[25224] (null)[61481] 0:244 * * * * ip I (null)[19069] (null)[31497] 0:0 * * * * ip I (null)[17347] (null)[57610] 0:0 * * * * ip I (null)[30073] (null)[59137] 0:0 * * * * ip I (null)[25224] (null)[15362] 0:0 * * * * ip I (null)[57344] (null)[0] 0:0 * * 0 * ip I (null)[49320] (null)[44292] 0:0 * * * * ip I (null)[49320] (null)[50470] 0:229 * * * * ip I (null)[65535] (null)[29956] 0:252 * * 0 * ip I (null)[49320] (null)[0] 0:0 * * 0 * ip I (null)[16278] (null)[16128] 0:0 * * * * ip I (null)[49320] (null)[17408] 0:244 * * * * ip I (null)[49320] (null)[49931] 0:242 4 * * * ip I (null)[49320] (null)[6044] 0:253 4 * * * ip I (null)[49320] (null)[60942] 0:0 4 * *
I will install the packages later.
-
The only way I had found to get rid of all the packages was to manually delete the packages out of the xml config file, import it, and then start over with installing and configuring the packages.
I was not able to solve this problem in just one sitting. During reinstallation, the process either stopped or halted. I think I made more than 5 reinstallation just to have a successful packages.
But the problem with my pftop remains. I can't view the IPs but only (null).
-
Download the complete xml config, open it in an xml editor (I use xmlnotepad), scroll to the bottom and expand the section where it says "installed packages", delete as needed.
EDIT: As I had said before squidguard screws up squid so any uninstall of squidguard will cause other packages to crash since they all use the same missing files.
this did the trick and solve my problem before.
the pftop issue that I posted above this message is not related to any package installed. there is a forum and a redmine posts about it.
thanks. -
Good post…
worked fine for me...