maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   [ HELP] package installation and removal gives error (https://talk.maemo.org/showthread.php?t=83034)

Mohammed Muid 2012-03-14 15:19

[ HELP] package installation and removal gives error
 
i had opera as long as i had this cell phone.i.e1.5 yrs. 1 week ago i reflashed it. then i again installed the apps that i always use. necessary one coz i don twant my device to be full of junk. first i installed faster app manager from hildon manager and selected the files that i needed and downloaded them. after installing i got an error in the log file, it was about opera mobile. here it is--

Setting up opera-mobile (11.5beta1-14~fremantle0) ...
chown: /home/user/.opera/application_cache/mcache/vlink4.dat: Stale NFS file handle
chown: /home/user/.opera/cache/revocation/vlink4.dat: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/vlink4.dat: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FS6.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSM.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSN.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FS9.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSB.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSI.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSC.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSD.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSH.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSF.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FS4.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSL.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSJ.tmp: Stale NFS file handle
dpkg: error processing opera-mobile (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
opera-mobile
Nokia-N900:~#

i did apt-get -f install and also dpkg --configure -a but it gave me the same result.
the directory " /home/user/.opera/cache/turbo/g_0065/opr03FS9" is a symlink broken file. inspite of all these problem opera did install and i am able to use it. i amusing kp49 cssu latest testing

whenever i do apt-get upgrade it gives me the same file to upgrade:

BusyBox v1.19.3 (Debian 1.19.3power5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
libsdl-mixer1.2
The following packages will be upgraded:
custom-operator-name-widget gstreamer0.10-ffmpeg
hildon-desktop-python-loader leafpad mplayer pierogi python-gst0.10
python-hildondesktop qmltube
9 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 11.1MB/13.7MB of archives.
After this operation, 2462kB of additional disk space will be used.
Do you want to continue [Y/n]?

1 not fully installed or removed. is the opera problem i guess. plz sove my problem. i cant even remove opera properly. the application is removed but the broken symlink stays in home/user/.opera

Mohammed Muid 2012-03-14 16:23

Re: [ HELP] package installation and removal gives error
 
plzzz help me. i am in desperate need. plzzz

anthonie 2012-03-14 16:47

Re: [ HELP] package installation and removal gives error
 
Mohammed,

Have you tried the method below before removing the file?

Code:

sudo gainroot
umount /dev/mmcblk0p1
fsck -af /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs


Mohammed Muid 2012-03-14 18:16

Re: [ HELP] package installation and removal gives error
 
yes i tried this. dint help. btw the problem is in home/user/.opera. i gues i shud scandisk this directory. for this i hav to be in single user mode. i guess N900 cannot be in single user mode. the code is for MyDocs

michaaa62 2012-03-14 19:00

Re: [ HELP] package installation and removal gives error
 
Quote:

Originally Posted by Mohammed Muid (Post 1179376)
i had opera as long as i had this cell phone.i.e1.5 yrs. 1 week ago i reflashed it. then i again installed the apps that i always use. necessary one coz i don twant my device to be full of junk. first i installed faster app manager from hildon manager and selected the files that i needed and downloaded them. after installing i got an error in the log file, it was about opera mobile. here it is--

Setting up opera-mobile (11.5beta1-14~fremantle0) ...
chown: /home/user/.opera/application_cache/mcache/vlink4.dat: Stale NFS file handle
chown: /home/user/.opera/cache/revocation/vlink4.dat: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/vlink4.dat: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FS6.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSM.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSN.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FS9.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSB.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSI.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSC.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSD.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSH.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSF.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FS4.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSL.tmp: Stale NFS file handle
chown: /home/user/.opera/cache/turbo/g_0065/opr03FSJ.tmp: Stale NFS file handle
dpkg: error processing opera-mobile (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
opera-mobile
Nokia-N900:~#

i did apt-get -f install and also dpkg --configure -a but it gave me the same result.
the directory " /home/user/.opera/cache/turbo/g_0065/opr03FS9" is a symlink broken file. inspite of all these problem opera did install and i am able to use it. i amusing kp49 cssu latest testing

whenever i do apt-get upgrade it gives me the same file to upgrade:

BusyBox v1.19.3 (Debian 1.19.3power5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
libsdl-mixer1.2
The following packages will be upgraded:
custom-operator-name-widget gstreamer0.10-ffmpeg
hildon-desktop-python-loader leafpad mplayer pierogi python-gst0.10
python-hildondesktop qmltube
9 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 11.1MB/13.7MB of archives.
After this operation, 2462kB of additional disk space will be used.
Do you want to continue [Y/n]?

1 not fully installed or removed. is the opera problem i guess. plz sove my problem. i cant even remove opera properly. the application is removed but the broken symlink stays in home/user/.opera

Try to get rid of the package with
Code:

sudo gainroot
dpkg -r --force-remove-reinstreq opera

BUT this will not touch anything in /home/user/.opera!!! You have to do it from a PC with procedure i gave you a couple of posts ago.

Mohammed Muid 2012-03-15 02:07

Re: [ HELP] package installation and removal gives error
 
there isnt any other way that i can remove this app? thats strange. the provess you mentioned eaarlier is way too complicated and i cant do it.. any way to solve? now this is utterly shocking and dissapointing

will this help?? cyberciti.biz/tips/nfs-stale-file-handle-error-and-solution.html

michaaa62 2012-03-15 07:39

Re: [ HELP] package installation and removal gives error
 
The error is triggered by some sudden reboot, a (very rare) unclean shutdown, or some crash, during which the partition in question was used for some input/output process. This is called 'NFS Stale File Handle', originally name derived from NFS, but commonly used now.

The error itself does not harm any other function of the phone, but opera. If you are not planning to re-install opera, everything should be fine on your device.

But i do not know, if you had other applications, that also might had produce 'NFS Stale File Handle' at the time opera did.


Only a check from a not running system could cure that via file system check, may that be a PC, a second system on the phone, like Nitdroid or Meego or Kubuntu-Mobile, that does not use the /dev/mmcblk0p2 partition.

Did the uninstall work now???

reinob 2012-03-15 07:52

Re: [ HELP] package installation and removal gives error
 
Quote:

Originally Posted by Mohammed Muid (Post 1179638)
there isnt any other way that i can remove this app? thats strange. the provess you mentioned eaarlier is way too complicated and i cant do it.. any way to solve? now this is utterly shocking and dissapointing

Why don't you just delete /home/user/.opera completely and then reinstall opera-mobile?

Mohammed Muid 2012-03-15 08:12

Re: [ HELP] package installation and removal gives error
 
ok i did purge opera but the directory and the error is still present but opera is not in my menu.so its uninstalled but the directory is present.
if i uninstall opera i do not get NFS stale handle anymore so other apps doesnot have this problem. only i can solve this by installing nitdroid? should i install nitdroid on emmc. i like opera. i want it since i dont find microb appealing and other browsers are very slow.

Mohammed Muid 2012-03-15 10:22

Re: [ HELP] package installation and removal gives error
 
any help yet bosses? i am trying too. my cousin is a mechanical engineer. he told that if i can mount /dev/home/mmcblk0p2 and fsck it i can fix the error bt i cant since it says device resource busy. for that i have to access single user mode. any ideas?

reinob 2012-03-15 15:21

Re: [ HELP] package installation and removal gives error
 
@Mohammed Muid,

What part of "Why don't you just delete /home/user/.opera completely and then reinstall opera-mobile?" don't you understand?

Open a terminal and type "rm -rf /home/user/.opera". If that fails, first gain root ("sudo gainroot" or "root") and then repeat the above command.

Mohammed Muid 2012-03-15 16:16

Re: [ HELP] package installation and removal gives error
 
what r you? if this was so easy i woudnt have opened this thread. plzz read my previous posts. this is not that simple. cant delete the file. this is your precious output:


BusyBox v1.19.3 (Debian 1.19.3power5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ rm -rf /home/user/.opera
rm: can't stat '/home/user/.opera/application_cache/mcache/vlink4.dat': Stale NFS file handle
rm: can't remove '/home/user/.opera/application_cache/mcache': Directory not empty
rm: can't remove '/home/user/.opera/application_cache': Directory not empty
rm: can't stat '/home/user/.opera/cache/revocation/vlink4.dat': Stale NFS file handle
rm: can't remove '/home/user/.opera/cache/revocation': Directory not empty
rm: can't stat '/home/user/.opera/cache/turbo/vlink4.dat': Stale NFS file handle
rm: can't stat '/home/user/.opera/cache/turbo/g_0065/opr03FS6.tmp': Stale NFS file handle
rm: can't stat '/home/user/.opera/cache/turbo/g_0065/opr03FSM.tmp': Stale NFS file handle
rm: can't stat '/home/user/.opera/cache/turbo/g_0065/opr03FSN.tmp': Stale NFS file handle
rm: can't stat '/home/user/.opera/cache/turbo/g_0065/opr03FS9.tmp': Stale NFS file handle
rm: can't stat '/home/user/.opera/cache/turbo/g_0065/opr03FSB.tmp': Stale NFS file handle
rm: can't stat '/home/user/.opera/cache/turbo/g_0065/opr03FSI.tmp': Stale NFS file handle
rm: can't stat '/home/user/.opera/cache/turbo/g_0065/opr03FSC.tmp': Stale NFS file handle
rm: can't stat '/home/user/.opera/cache/turbo/g_0065/opr03FSD.tmp': Stale NFS file handle
rm: can't stat '/home/user/.opera/cache/turbo/g_0065/opr03FSH.tmp': Stale NFS file handle
rm: can't stat '/home/user/.opera/cache/turbo/g_0065/opr03FSF.tmp': Stale NFS file handle
rm: can't stat '/home/user/.opera/cache/turbo/g_0065/opr03FS4.tmp': Stale NFS file handle
rm: can't stat '/home/user/.opera/cache/turbo/g_0065/opr03FSL.tmp': Stale NFS file handle
rm: can't stat '/home/user/.opera/cache/turbo/g_0065/opr03FSJ.tmp': Stale NFS file handle
rm: can't remove '/home/user/.opera/cache/turbo/g_0065': Directory not empty
rm: can't remove '/home/user/.opera/cache/turbo': Directory not empty
rm: can't remove '/home/user/.opera/cache': Directory not empty
rm: can't remove '/home/user/.opera': Directory not empty
~ $
same even after root and sudo gainroot. the directories home/user/ whatever given above hav broken symlink which cant be deleted.

Copernicus 2012-03-15 16:30

Re: [ HELP] package installation and removal gives error
 
As I recall, the last time I had this problem (on a desktop machine), I wasn't able to "rm" the files, but I could still "mv" them (or their parent directory) elsewhere -- i.e., "mv .opera stalefiles" or something like that. This at least gets the dead links out of the way.

I think the only way to delete them is as others have pointed out, mount the partition in a different way (such as using the "mass storage mode" when connecting via usb), and deleting them from there...

Mohammed Muid 2012-03-15 17:06

Re: [ HELP] package installation and removal gives error
 
I tried to connect with ssh and delete the folder but couldnt delete. Plzz guide me.i hav tried a lot. M tired

Copernicus 2012-03-15 18:43

Re: [ HELP] package installation and removal gives error
 
Quote:

Originally Posted by Mohammed Muid (Post 1179896)
I tried to connect with ssh and delete the folder but couldnt delete. Plzz guide me.i hav tried a lot. M tired

Well, it isn't so much logging in from outside, but rather re-mounting the partition in a manner (or under an OS) that doesn't go crazy trying to save the dead links. As I understand it, when you connect a N900 to a desktop machine via usb, the "mass storage mode" automagically unmounts the "mydocs" partition and makes it available to the external OS as a removable FAT drive (with read/write permissions). I can't imagine that the external machine would care about preserving the links, so you need only open the FAT drive on the desktop computer using whatever mechanism you prefer, locate the .opera directory, and remove it...

takada 2012-03-15 19:35

Re: [ HELP] package installation and removal gives error
 
try in /var/lib/dpkg/info...for all about opera file... if there...rm using xterm..

reinob 2012-03-16 13:54

Re: [ HELP] package installation and removal gives error
 
Quote:

Originally Posted by Mohammed Muid (Post 1179874)
what r you? if this was so easy i woudnt have opened this thread. plzz read my previous posts. this is not that simple. cant delete the file. this is your precious output:

You didn't say you had tried rm'ing the directory!

I guess your best bet is either to reflash again or to install pali's recovery console and fsck the partition from there.

Once thing that puzzles me. You say you reflashed and then you couldn't (fully) install opera-mobile because those stale file handles were in the /home/user/.opera folder. How can that be? Did you really fully reflash the N900?

Anyway, good luck.

Mohammed Muid 2012-03-16 14:30

Re: [ HELP] package installation and removal gives error
 
Yes i reflashed my op5fs and rootfs.(not my emmc) then i tried to install many apps that i need. While installing opera i faced the problem.even before reflashing i had opera installed but never in this 1.t yrs i faced this problem. And pali's recovery console? How to do that? Where is it. If only i could fsck /dev/home/mmcblk0p2. I cant mount. It says device and resource bzy.

reinob 2012-03-16 15:59

Re: [ HELP] package installation and removal gives error
 
But /home/user/.opera is not in MyDocs, i.e. the whole /home (except MyDocs) is the same partition as /opt, so if you reflashed that then you shouldn't have any leftovers under /home/user (again, except MyDocs).

Maybe it's worth double-checking that flashing wiki and trying again? (just a suggestion, not trying to sound arrogant..)

For Recovery Console: http://talk.maemo.org/showthread.php?t=72726
(package link:
http://maemo.org/packages/package_in...ry-boot/0.1-1/)

At this moment I don't think you need any warnings about extras-devel, so I will not warn you that bad things can happen(tm) :)

Basically it's an additional entry for bootmenu that allows you to drop into a shell right after the kernel is loaded (i.e. before /sbin/preinit has finished).

At that moment only rootfs is mounted, so you can fsck around.

Just keep in mind: it requires bootmenu and a kernel with framebuffer support (="pure" text mode). I use kernel-power-47. You can of course use kp49.

Alternatively, you might want to install backupmenu (a bit "friendlier" because it has an option to fsck all partitions automatically).

Mohammed Muid 2012-03-16 16:05

Re: [ HELP] package installation and removal gives error
 
i have backupmenu installed. do i need install the recovery console too?

Mohammed Muid 2012-03-16 17:12

Re: [ HELP] package installation and removal gives error
 
backupmenu dint allow to fsck. its written that i shud manually fsck. gave the error in dev/mmcblk0p2

Mohammed Muid 2012-03-16 17:47

Re: [ HELP] package installation and removal gives error
 
I DID IT. I DID IT. WENT TO RECOVER MODE. fsck/dev/mmcblk0p2 and had to type y for like 100 times. it fixed it. remove home/user/opera.
but now i cant install opera. it says:



BusyBox v1.19.3 (Debian 1.19.3power5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.19.3 (Debian 1.19.3power5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# apt-get install opera-mobile
Reading package lists... Done
Building dependency tree... Done
Package opera-mobile is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package opera-mobile has no installation candidate
Nokia-N900:~#

and cant boot menu and multiboot work together? i also need backupmenu. how to access that?

michaaa62 2012-03-16 18:26

Re: [ HELP] package installation and removal gives error
 
Hm, seems like you are missing the repository
Code:

[1|user@Nokia-N900|~]apt-cache policy opera-mobile
opera-mobile:
  Installed: 11.5beta1-14~fremantle0
  Candidate: 11.5beta1-14~fremantle0
  Version table:
 *** 11.5beta1-14~fremantle0 0
        500 http://repository.maemo.org fremantle-1.3/non-free Packages
        500 http://repository.maemo.org fremantle/non-free Packages
        500 http://repository.maemo.org fremantle/non-free Packages
        100 /var/lib/dpkg/status
    10alpha1-2~fremantle0 0
        500 http://repository.maemo.org fremantle/non-free Packages

Or grab it here http://repository.maemo.org/extras/p...tle0_armel.deb

Mohammed Muid 2012-03-16 19:10

Re: [ HELP] package installation and removal gives error
 
i want both bootmenu and multiboot. is it possible? i want backup menu too. is it possible?

Edite: after this fsck i am facing sum errors. I noticed the media player (default) the 5 dots iwhenn video plays inis not happening. And there is no back button. I have to press the power button to close media player. Is der anyway i can reinstall it.

Apt-get install -reinstall doesnor work

devian 2012-03-17 03:08

Re: [ HELP] package installation and removal gives error
 
go check the file /var/lib/dpkg/status
(if using nano) type
nano /var/lib/dpkg/status

then search for opera-mobile (ctrl + w)
and paste here the part of the opera-mobile block
it should start like
Quote:

Package: Opera-mobile
and before the description part

(I hope I made myself clear)

Oops I didn't follow the whole thread, it seems like you got Opera removed right?

Mohammed Muid 2012-03-17 04:32

Re: [ HELP] package installation and removal gives error
 
i flashed my phone. but how on earthe the problem is there.: i wanted to install few apps. i went to app manager. added few catalogues. when it started check for updates it suddenly stopped checking. the log file says:

hildon-application-manager 2.2.71
connected to 68fc529d-179a-4014-955d-2e5f8f8c2972
apt-worker: Can't remove /var/lib/apt/lists.new/lock: Stale NFS file handle
E: Could not open lock file /var/lib/apt/lists.new/lock - open (116 Stale NFS file handle)
E: Unable to lock the list directory
connected to 68fc529d-179a-4014-955d-2e5f8f8c2972
apt-worker: Can't remove /var/lib/apt/lists.new/lock: Stale NFS file handle
E: Could not open lock file /var/lib/apt/lists.new/lock - open (116 Stale NFS file handle)
E: Unable to lock the list directory

when it booted first after reflashing the 6dots were blinking and when i had to slect time date region below a white thing was blinking where it was written "missing image"

please help me to solve my problem. plzzzzzzzz

reinob 2012-03-19 08:33

Re: [ HELP] package installation and removal gives error
 
@Mohammed,

I see you've opened a new thread about this problem. Not sure if you managed to actually correctly and fully flash your N900, but that's the only thing you can do at the moment.

I mean really flashing the whole thing. If you do that properly and you still get those stale file handle errors it may be an indication that your EMMC is hosed. That's serious bad luck.

Mohammed Muid 2012-03-19 10:51

Re: [ HELP] package installation and removal gives error
 
i fully flashed my N900 along with emmc. the problem is not there :D

jedi 2012-03-19 13:30

Re: [ HELP] package installation and removal gives error
 
...and not a single word of gratitude was given - incredible!


All times are GMT. The time now is 02:53.

vBulletin® Version 3.8.8