Hello.
I am missing libssl and don't know where to get one.
ls -l /usr/lib/ | grep ssl
lrwxrwxrwx 1 root root 15 Feb 21 2012 libssl.so -> libssl.so.1.0.0
lrwxrwxrwx 1 root root 15 May 8 2012 libssl.so.1.0.0 -> libssl.so.0.9.8
# ldd /usr/bin/wget...libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0x400f2000)
Have you upgraded from a previous Alt-F version? openssl had version 0.9.8 for RC1If you have upgraded, did you have Alt-F packages installed?Do you have an 'Alt-F' or 'alt-f' folder on the root of any filesystem?What does 'aufs.sh -l' outputs?
cd
aufs.sh -u # unmounts /mnt/sda4/Alt-F
aufs.sh -l # you should not see /mnt/sda4/Alt-F=rw
ldd /usr/bin/wget
aufs.sh -n # always do this before manipulating files or directories under /Alt-F
rm /Alt-F/usr/lib/libssl* /Alt-F/usr/lib/libcrypto*
aufs.sh -r
# ls -l /Alt-F/usr/lib/
total 2
drwxr-xr-x 4 root root 1024 Feb 3 08:00 ipkg
drwxr-xr-x 3 root root 1024 May 8 2012 modules
I tried the first approach and it removed ipkg also. But now I can't install it again.
# aufs.sh -l
aufs on / type aufs (rw,relatime,si=41938bf1)
/mnt/sda4/Alt-F=rw
/rootmnt/root=rw
/rootmnt/rootsq=rr
# aufs.sh -u
cp: can't stat '/var/lib/nfs/.wh..xtab.lock': Operation not permitted
# aufs.sh -l
aufs on / type aufs (rw,relatime,si=41938bf1)
/rootmnt/root=rw
/rootmnt/rootsq=rr
# aufs.sh -u
/mnt/sda4/Alt-F is not a aufs branch.
# ldd /usr/bin/wget
libiconv.so.2 => /usr/lib/libiconv.so.2 (0x4000d000)
libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0x400f2000)
libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x4013c000)
libz.so.1 => /usr/lib/libz.so.1 (0x4026c000)
libdl.so.0 => /lib/libdl.so.0 (0x40286000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40290000)
libc.so.0 => /lib/libc.so.0 (0x402a3000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000)
# ipkg -install /mnt/sda4
Installing Alt-F in /mnt/sda4
rm: /mnt/sda4/Alt-F/home: is a directory
Installing ipkg
wget: can't load library 'libssl.so.1.0.0'
Downloading of ipkg_0.99.163_arm.ipk from http://sourceforge.net/projects/alt-f/files/pkgs/unstable failed.
ipkg: can't umount aufs branch, stopping services and retrying...
Connection to 192.168.0.2 closed by remote host.
Connection to 192.168.0.2 closed.
# ls -l /Alt-F/usr/lib/
total 2
drwxr-xr-x 4 root root 1024 Feb 3 08:00 ipkg
drwxr-xr-x 3 root root 1024 May 8 2012 modules
aufs.sh -u # might give an error
aufs.sh -l # should not show /mnt/sda4/Alt-F, but continue even if it does
aufs.sh -n # might give an error, that's OK
rm -rf /mnt/sda4/Alt-F # this should do a real, brute force approach clean
rm /Alt-F # possible error
ipkg -install /mnt/sda4
On Sunday, February 3, 2013 9:02:21 AM UTC, Wirfeon wrote:
# ls -l /Alt-F/usr/lib/
total 2
drwxr-xr-x 4 root root 1024 Feb 3 08:00 ipkg
drwxr-xr-x 3 root root 1024 May 8 2012 modulesYes, the modules directory was from the previous install (it is a folder from the kernel-modules package. Was you using any kernel module from the package?)
So the 'ipkg -clean' partially failed. I would like to know why.Can you please do a "ls -Rla /mnt/sda4/Alt-F >& /mnt/sda4/foo" and post (attach, if Google Groups allow) the '/mnt/sda4/foo' file?
Back to basics (and guessing)-logout from ssh/telnet, stop all services!-Does the Alt-F Package Manager shows any package installed? If yes, hit the RemoveAll button under "Remove all installed".
-Does it now prompts you for a new install? Don't.-ssh/telnet the boxaufs.sh -u # might give an error
aufs.sh -l # should not show /mnt/sda4/Alt-F, but continue even if it does
aufs.sh -n # might give an error, that's OK
rm -rf /mnt/sda4/Alt-F # this should do a real, brute force approach clean
rm /Alt-F # possible errorNow try again installing usingipkg -install /mnt/sda4Any errors?Solved? Mark as complete (don't forget to attach the /mnt/sda4/foo file, to see if I can diagnose the problem.)
foo.txt
/mnt/sda4/Alt-F/home:...lrwxrwxrwx 1 root root 15 Jun 17 2012 Users -> /mnt/sda4/Usersdrwxr-xr-x 2 1000 1000 1024 Jul 18 2011 wirfeon
# ipkg -install /mnt/sda4Installing Alt-F in /mnt/sda4rm: /mnt/sda4/Alt-F/home: is a directory
/mnt/sda4/Alt-F/usr/lib:...-r--r--r-- 5 root root 0 Jan 15 2011 .wh.libssl.so-r--r--r-- 5 root root 0 Jan 15 2011 .wh.libssl.so.1.0.0
On Sunday, February 3, 2013 5:58:11 PM UTC, Wirfeon wrote:
foo.txtDo you have any idea why 'wirfeon' has a folder under "/Alt-F/home"?I think that was the source of the problem.
Thanks for posting this file. I still don't know how it happened, but I now know what happened.And sorry for losing you mediatomb and minidlna db files, you will have to re-index your media again.