[RESOLVED] no ssh, flashing green after reboot pogo pro

This forum is for all other ARMv5 devices

Re: no ssh, flashing green after reboot pogo pro

Postby pepedog » Tue Nov 27, 2012 3:24 pm

Remove the package linux and try again
You don't use that kernel anyway
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: no ssh, flashing green after reboot pogo pro

Postby dinjo » Tue Nov 27, 2012 3:41 pm

What exactly need i do for get rid of /lib exists error some say to remove it but as soon i remove lib none f command works also it states that , cna you give me the command to move files (which ones please)


grep '^lib/' /var/lib/pacman/local/*/files - How do i uninstall it ?
find /lib -exec pacman -Qo -- {} + - What here ?

Also i see ppl saying need to move firmware files

Can you list down these steps

All are lib*.so how do i move them ?
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: no ssh, flashing green after reboot pogo pro

Postby dinjo » Tue Nov 27, 2012 3:49 pm

Let me know if any steps are incorrect or in incorrect order

$this->bbcode_second_pass_code('', 'pacman -R pcmciautils kernel26-oxnas-pci kernel26-oxnas-nopci
cp iar lib/* to /usr/lib/*
mv lib oldlib
/oldlib/ld-2.16.so /usr/bin/ln -s /usr/lib lib
pacman -Syu --ignore glibc
pacman -Su

pacman -R linux
pacman -Su
depmod -a')
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: no ssh, flashing green after reboot pogo pro

Postby chaskito » Tue Nov 27, 2012 9:11 pm

I believe my only problem is getting rid of everything in the /lib directory. If I move all the content won't it all the sym links be lost? I have read so much at this point... I feel even more stupid. Everytime I move everything out of /lib it breaks my pogo and i have to unplug and start over, I have a feeling there is a simple solution... I apologize for my ignorance, but I am trying. Any ideas? Can I just make a new /lib folder and change the name of the current one?
chaskito
 
Posts: 26
Joined: Sun Feb 27, 2011 8:50 pm

Re: no ssh, flashing green after reboot pogo pro

Postby pepedog » Tue Nov 27, 2012 9:32 pm

First find out if any files are owned by a package other than glibc
$this->bbcode_second_pass_code('', 'find /lib -exec pacman -Qo -- {} +')
Remove those other packages
Now any files or directories not owned by glibc either move to /usr/lib or delete
try pacman -Syu again

A message that says "glibc: /lib exists in filesystem" means there is odd files or directories (like the gmac file, firmware, modules, firmware, udev, or something else)
If a message says glibc does now own /lib there is a package to remove

If you accidentally force glibc and break it, this might work
$this->bbcode_second_pass_code('', '/usr/lib/ld-2.16.so /usr/bin/pacman -S glibc')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: no ssh, flashing green after reboot pogo pro

Postby chaskito » Tue Nov 27, 2012 9:41 pm

the only thing using files in /lib are glibc (as can be seen in my earlier post). when i copy the files into another folder then remove the files I break the system, as I just did again...

$this->bbcode_second_pass_code('', 'rm -R /lib/*
')
$this->bbcode_second_pass_code('', '-bash: /usr/bin/ls: No such file or directory')

I am doing something totally wrong each time.
$this->bbcode_second_pass_code('', 'find /lib -exec pacman -Qo -- {} +
error: cannot determine ownership of directory '/lib'
/lib/libnsl.so.1 is owned by glibc 2.16.0-1
/lib/ld-2.16.so is owned by glibc 2.16.0-1
/lib/libnss_compat.so.2 is owned by glibc 2.16.0-1
/lib/libBrokenLocale-2.16.so is owned by glibc 2.16.0-1
/lib/libSegFault.so is owned by glibc 2.16.0-1
/lib/librt-2.16.so is owned by glibc 2.16.0-1
/lib/libresolv-2.16.so is owned by glibc 2.16.0-1
/lib/libnss_dns-2.16.so is owned by glibc 2.16.0-1
/lib/libcrypt-2.16.so is owned by glibc 2.16.0-1
/lib/libnsl-2.16.so is owned by glibc 2.16.0-1
/lib/libthread_db.so.1 is owned by glibc 2.16.0-1
/lib/libnss_nis.so.2 is owned by glibc 2.16.0-1
/lib/libBrokenLocale.so.1 is owned by glibc 2.16.0-1
/lib/libutil.so.1 is owned by glibc 2.16.0-1
/lib/libnss_hesiod-2.16.so is owned by glibc 2.16.0-1
/lib/ld-linux.so.3 is owned by glibc 2.16.0-1
/lib/libutil-2.16.so is owned by glibc 2.16.0-1
/lib/libnss_dns.so.2 is owned by glibc 2.16.0-1
/lib/libresolv.so.2 is owned by glibc 2.16.0-1
/lib/libnss_files-2.16.so is owned by glibc 2.16.0-1
/lib/libpthread.so.0 is owned by glibc 2.16.0-1
/lib/libdl-2.16.so is owned by glibc 2.16.0-1
/lib/libmemusage.so is owned by glibc 2.16.0-1
/lib/libnss_nis-2.16.so is owned by glibc 2.16.0-1
/lib/libdl.so.2 is owned by glibc 2.16.0-1
/lib/libpcprofile.so is owned by glibc 2.16.0-1
/lib/libnss_nisplus-2.16.so is owned by glibc 2.16.0-1
/lib/libnss_db.so.2 is owned by glibc 2.16.0-1
/lib/libnss_hesiod.so.2 is owned by glibc 2.16.0-1
/lib/libpthread-2.16.so is owned by glibc 2.16.0-1
/lib/libm.so.6 is owned by glibc 2.16.0-1
/lib/libc-2.16.so is owned by glibc 2.16.0-1
/lib/libanl-2.16.so is owned by glibc 2.16.0-1
/lib/libc.so.6 is owned by glibc 2.16.0-1
/lib/libnss_compat-2.16.so is owned by glibc 2.16.0-1
/lib/libm-2.16.so is owned by glibc 2.16.0-1
/lib/libcidn-2.16.so is owned by glibc 2.16.0-1
/lib/libthread_db-1.0.so is owned by glibc 2.16.0-1
/lib/librt.so.1 is owned by glibc 2.16.0-1
/lib/libnss_nisplus.so.2 is owned by glibc 2.16.0-1
/lib/libnss_db-2.16.so is owned by glibc 2.16.0-1
/lib/libcidn.so.1 is owned by glibc 2.16.0-1
/lib/libanl.so.1 is owned by glibc 2.16.0-1
/lib/libcrypt.so.1 is owned by glibc 2.16.0-1
/lib/libnss_files.so.2 is owned by glibc 2.16.0-1
')

I have moved firmware, modules, everything, copied all the .so etc files to another directory. Thanks, any help with moving the /lib directory contents appreciate, because then I believe I can throw them back in after upgrading glibc, no?
chaskito
 
Posts: 26
Joined: Sun Feb 27, 2011 8:50 pm

Re: no ssh, flashing green after reboot pogo pro

Postby pepedog » Tue Nov 27, 2012 9:56 pm

Remove all files or folder not owned by glibc only, it wont break then
pacman -Syu will work sweetly if you do this.

A maniac would probably do this and get away with it, if they think they have moved gmac files, modules and firmware
$this->bbcode_second_pass_code('', '
pacman -Syu --ignore glibc
pacman -Sf glibc
/usr/lib/ld-2.16.so /bin/rm -r /lib
/usr/lib/ld-2.16.so /usr/bin/pacman -S glibc')
Are you desparate enough to try that?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: no ssh, flashing green after reboot pogo pro

Postby chaskito » Tue Nov 27, 2012 10:05 pm

what is the worst that this maniac could do? permanently break the pogo, or just the software? If it is just the os, then I am willing to do it, as there is NOTHING that isn't owned by glibc in /lib, and when I delete lib's contents I destroy the system anyway... so, go for it?
chaskito
 
Posts: 26
Joined: Sun Feb 27, 2011 8:50 pm

Re: no ssh, flashing green after reboot pogo pro

Postby pepedog » Wed Nov 28, 2012 12:02 am

Just (possibly) OS
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: no ssh, flashing green after reboot pogo pro

Postby chaskito » Wed Nov 28, 2012 1:04 am

So I went ahead and forced glibc, everything worked well! Did a reboot and now have a nice flashing green light and no ssh. Back to the drawing board I suppose. Thanks for the suggestions, I greatly appreciate it.
chaskito
 
Posts: 26
Joined: Sun Feb 27, 2011 8:50 pm

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 2 guests