FFP packages not installing/removing on flashed Alt-F box.. invalid pkg name error?

498 views
Skip to first unread message

deshwasi

unread,
May 11, 2012, 11:54:43 AM5/11/12
to al...@googlegroups.com
I had ffp on my dns-323 before i flashed Alt-F. i dont know if i was supposed to remove the ffp directory before flashing but after flashing Alt-F i cant seem to be able to install/remove any ffp pkg. all install/remove operations come back with invalid pkg name error. would appreciate any tips on how to fix this. i had squeezeboxserve installed before flashing Alt-F and need to get that going again. thanks

deshwasi

unread,
May 11, 2012, 12:47:52 PM5/11/12
to al...@googlegroups.com
i removed "ffp" and re-installed it from the Alt-F management webpage. seems to be behaving better. now i see many packages dont install because the link used to find them is incorrect. which file do i edit to correct the link to some of the packages listed in ffp? this includes perl. main reason being these packages are in the "extra-packages" folder on the inreto.de website and Alt-F is looking in the "packages" folder and cant find them.

Joao Cardoso

unread,
May 11, 2012, 12:58:40 PM5/11/12
to al...@googlegroups.com


On Friday, May 11, 2012 4:54:43 PM UTC+1, deshwasi wrote:
I had ffp on my dns-323 before i flashed Alt-F. i dont know if i was supposed to remove the ffp directory before flashing but after flashing Alt-F

Not necessarily, you should only disable services that could conflict with Alt-F, as the install instructions says:

 3-If you have ffp, the recommended procedure is to save your current fun_plug and
  ffp directory, e.g. by renaming them, then proceed as in 1.
  If you later decide to use Alt-F together with ffp, you can use Alt-F ffp package
  manager to install ffp packages, or use your current ffp installation, but:

    When Alt-F starts, your ffp directory, if found in the root directory of any filesystem
    of your disk, will be recognized and used by Alt-F. The ffp init script
    will be executed by Alt-F, so you should disable all non needed ffp init scripts,
    disable loading of kernel modules, and only keep services that Alt-F don't have.
    Alt-F binaries have precedence over ffp ones.

Hmm, a bit misleading, as it does seems to apply only to the "run on top" method and not when flashing.
But is still applies, specially the wording after the "but:"
 
i cant seem to be able to install/remove any ffp pkg. all install/remove operations come back with invalid pkg name error. would appreciate any tips on how to fix this. i had squeezeboxserve installed before flashing Alt-F and need to get that going again. thanks

Is your previous ffp installation recognized by Alt-F? i.e., does ffp packages appears as installed under Packages->ffp?

Are you using the command line to install ffp packages or using Alt-F web pages?

What is your ffp directory pathname? /mnt/sda2/ffp?

I think that the best course of action is for you to save your current ffp directory, renaming it to, say, ffp-safe, than do a reboot (to stop any ffp setting or service that might be running) and then install ffp using the Alt-F Package->fffp web page. You can then use your ffp-safe previous installation to recover the *needed* configuration files to the new install.

Be warned that some ffp packages, those sitting in the ffp 'extra-packages'  directory, will not be found by the install web page.


Joao Cardoso

unread,
May 11, 2012, 1:04:57 PM5/11/12
to al...@googlegroups.com


On Friday, May 11, 2012 5:47:52 PM UTC+1, deshwasi wrote:
i removed "ffp" and re-installed it from the Alt-F management webpage. seems to be behaving better. now i see many packages dont install because the link used to find them is incorrect. which file do i edit to correct the link to some of the packages listed in ffp?

Just replace a '$? = 1' with a '$? != 0' around line 19 of  /usr/www/cgi-bin/packages_ffp_proc.cgi:

Index: /usr/www/cgi-bin/packages_ffp_proc.cgi
===================================================================
--- /usr/www/cgi-bin/packages_ffp_proc.cgi    (revision 1594)
+++ /usr/www/cgi-bin/packages_ffp_proc.cgi    (working copy)
@@ -19,7 +19,7 @@
        wget --tries=3 --progress=dot:mega \
                -O $TMPDIR/$2
-       if test $? = 1; then
+       if test $? != 0; then
                wget --tries=3 --progress=dot:mega  \
                        -O $TMPDIR/$2

deshwasi

unread,
May 11, 2012, 1:10:39 PM5/11/12
to al...@googlegroups.com
thanks a lot. will look into it in a minute. i noticed i had a "ffp" file in root directory (not sure if its from older fun_plug install or Alt-F created it). could you tell me if Alt-F creates a "ffp" file in root directory? thanks

Joao Cardoso

unread,
May 11, 2012, 1:17:45 PM5/11/12
to al...@googlegroups.com


On Friday, May 11, 2012 6:10:39 PM UTC+1, deshwasi wrote:
thanks a lot. will look into it in a minute. i noticed i had a "ffp" file in root directory (not sure if its from older fun_plug install or Alt-F created it). could you tell me if Alt-F creates a "ffp" file in root directory? thanks

Yes, ffp is installed and/or recognized if if is found in the root directory of any filesystem, as my previous post said

deshwasi

unread,
May 11, 2012, 1:30:10 PM5/11/12
to al...@googlegroups.com
i see. since i am not sure if its from earlier or Alt-F created i will rename it and see if anything changes. meanwhile your quickfix worked beautifully for finding the extra-packages. do you know if the new ffp 0.7 pkg work with Alt-F? then maybe i can change the path in the script to point to that. thanks a lot.
Reply all
Reply to author
Forward
0 new messages