maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   xterm help, please (https://talk.maemo.org/showthread.php?t=84739)

desolar 2012-06-07 10:31

xterm help, please
 
1 Attachment(s)
hi. Please i cant use the n900 xterm anymore due to the error i get. Apt-get anything wont work, auto remove wont work. The attached .txt file is the kind of error i get. Plz help.

vi_ 2012-06-07 10:35

Re: xterm help, please
 
Code:

apt-get remove osso-pdf-viewer
apt-get clean

Then try again.

marmistrz 2012-06-07 10:46

Re: xterm help, please
 
Quote:

Originally Posted by desolar (Post 1218841)
hi. Please i cant use the n900 xterm anymore due to the error i get. Apt-get anything wont work, auto remove wont work. The attached .txt file is the kind of error i get. Plz help.

Have you got extras-devel enabled? Any unstable libraries? libc6 2.10? libstdc++6 4.6?

desolar 2012-06-07 10:46

Re: xterm help, please
 
1 Attachment(s)
thanks for quick reply. I did as u said and got this error also- whqt shd i do?

marmistrz 2012-06-07 10:49

Re: xterm help, please
 
Quote:

Originally Posted by desolar (Post 1218849)
thanks for quick reply. I did as u said and got this error also- whqt shd i do?

try this too:

Code:

apt-get clean
apt-get install --reinstall osso-pdf-viewer=*


desolar 2012-06-07 10:50

Re: xterm help, please
 
Quote:

Originally Posted by marmistrz (Post 1218848)
Have you got extras-devel enabled? Any unstable libraries? libc6 2.10? libstdc++6 4.6?

my extra-devel is currently disabled. As for those libs, i dont have them.

desolar 2012-06-07 10:53

Re: xterm help, please
 
Quote:

Originally Posted by marmistrz (Post 1218852)
try this too:

Code:

apt-get clean
apt-get install --reinstall osso-pdf-viewer=*


i got this, E: Invalid operation osso-pdf-viewer

marmistrz 2012-06-07 10:58

Re: xterm help, please
 
Quote:

Originally Posted by desolar (Post 1218858)
i got this, E: Invalid operation osso-pdf-viewer

You must have made a typo. This:
Code:

apt-get install --reinstall osso-pdf-viewer=*
works alright. Did you type:
Code:

apt-get --reinstall osso-pdf-viewer

desolar 2012-06-07 11:04

Re: xterm help, please
 
i typed the command correctly ....ie ending with =*, i got that error. Then tried it without =*, nd got d same error. What shd i do?

marmistrz 2012-06-07 11:09

Re: xterm help, please
 
Quote:

Originally Posted by desolar (Post 1218862)
i typed the command correctly ....ie ending with =*, i got that error. Then tried it without =*, nd got d same error. What shd i do?

Then the error shouldn't occur. Are you sure you typed
Code:

install --reinstall
For me the command
Code:

apt-get install --reinstall osso-pdf-viewer
causes no error.

If you're sure, show me the log.

desolar 2012-06-07 11:17

Re: xterm help, please
 
1 Attachment(s)
this is what i got now, ealier, i typed --reinstall . Sorry for error complian.

marmistrz 2012-06-07 11:20

Re: xterm help, please
 
Quote:

Originally Posted by desolar (Post 1218868)
this is what i got now

What's the log with the --reinstal command?!

desolar 2012-06-07 11:31

Re: xterm help, please
 
1 Attachment(s)
here, this it.

marmistrz 2012-06-07 11:34

Re: xterm help, please
 
It's what I said you typed incorrectly!!
you typed:
Code:

apt-get --reinstall osso-pdf-viewer
instead of
Code:

apt-get install --reinstall osso-pdf-viewer
Please read with comprehension what people write!!

lma 2012-06-07 11:42

Re: xterm help, please
 
Quote:

Originally Posted by marmistrz (Post 1218876)
It's what I said you typed incorrectly!!
you typed:
Code:

apt-get --reinstall osso-pdf-viewer
instead of
Code:

apt-get install --reinstall osso-pdf-viewer
Please read with comprehension what people write!!

In all fairness, in post #8 above you accidentally gave the wrong version :-b

marmistrz 2012-06-07 11:52

Re: xterm help, please
 
Quote:

Originally Posted by lma (Post 1218884)
In all fairness, in post #8 above you accidentally gave the wrong version :-b

Nope. I asked you whether you typed the wrong version :)
I was pretty sure you typed that way from the start.
But this may have seemed unclear, I made a mental leap

desolar 2012-06-07 11:54

Re: xterm help, please
 
Quote:

Originally Posted by desolar (Post 1218868)
this is what i got now, ealier, i typed --reinstall . Sorry for error complian.

@marmistrz. This is what i got from the --reinstall error. Thanks for guiding me. The attachment in #11

cddiede 2012-06-07 12:00

Re: xterm help, please
 
Tech support via forums is teh hard. :p

desolar 2012-06-07 12:06

Re: xterm help, please
 
1 Attachment(s)
Here. This is it.

desolar 2012-06-07 12:08

Re: xterm help, please
 
Quote:

Originally Posted by cddiede (Post 1218892)
Tech support via forums is teh hard. :p

oh. Please help me in any way. Plz.

desolar 2012-06-07 12:10

Re: xterm help, please
 
Quote:

Originally Posted by lma (Post 1218884)
In all fairness, in post #8 above you accidentally gave the wrong version :-b

hello, ima,.... I just uploaded d log i got. What should i do next. I appreciate all of your help so far

marmistrz 2012-06-07 12:14

Re: xterm help, please
 
Quote:

Originally Posted by desolar (Post 1218899)
hello, ima,.... I just uploaded d log i got. What should i do next. I appreciate all of your help so far

show output from
Code:

cat /var/lib/dpkg/info/osso-pdf-viewer.postrm
in code tags plz

desolar 2012-06-07 12:29

Re: xterm help, please
 
1 Attachment(s)
Please rename to .postrm

sorry, am replying you from a symbian phone, so i cant send codes. I have to add as attachment.

desolar 2012-06-07 12:51

Re: xterm help, please
 
¿¿¿¿what else should i do?

marmistrz 2012-06-07 13:57

Re: xterm help, please
 
Quote:

Originally Posted by desolar (Post 1218921)
¿¿¿¿what else should i do?

Edit the file you were cat-ing, so that before any command there's
echo "some text you may enter"

desolar 2012-06-07 22:39

Re: xterm help, please
 
Quote:

Originally Posted by marmistrz (Post 1218948)
Edit the file you were cat-ing, so that before any command there's
echo "some text you may enter"

i dont fully understand what you mean. could you explain as am just an average n900 user

michaaa62 2012-06-08 05:58

Re: xterm help, please
 
Your package system seems to be in a bad state. Try to forcefully remove the package and correct things later.
Please try
Code:

sudo gainroot
dpkg -r --force-remove-reinstreq osso-pdf-viewer
apt-get update
apt-get install -f
dpkg -a --configure

Hope it helps.

marmistrz 2012-06-08 11:59

Re: xterm help, please
 
Quote:

Originally Posted by desolar (Post 1219182)
i dont fully understand what you mean. could you explain as am just an average n900 user

echo shows some text.
the idea is to determine, which program cause segmentation fault. But try michaaa's approach, this may be easier

desolar 2012-06-08 21:19

Re: xterm help, please
 
Quote:

Originally Posted by michaaa62 (Post 1219286)
Your package system seems to be in a bad state. Try to forcefully remove the package and correct things later.
Please try
Code:

sudo gainroot
dpkg -r --force-remove-reinstreq osso-pdf-viewer
apt-get update
apt-get install -f
dpkg -a --configure

Hope it helps.

ok, i will give a reply when i do it

desolar 2012-06-09 08:12

Re: xterm help, please
 
Emm, this is what i got...... Do you suggest i flash my phone?

$ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # dpkg -r --force-remove-reinstreq osso-pdf-viewer
dpkg - warning, overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 43665 files and directories currently installed.)
Removing osso-pdf-viewer ...
Segmentation fault
dpkg: error processing osso-pdf-viewer (--remove):
subprocess post-removal script returned error exit status 139
Errors were encountered while processing:
osso-pdf-viewer
/home/user # apt-get update
Hit http://repository.maemo.org fremantle-1.3 Release.gpg
Ign http://repository.maemo.org fremantle-1.3/free Translation-en_GB
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign http://repository.maemo.org fremantle-1.3/non-free Translation-en_GB
Hit http://repository.maemo.org fremantle Release.gpg
Ign http://repository.maemo.org fremantle/free Translation-en_GB
Ign http://repository.maemo.org fremantle/non-free Translation-en_GB
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Get:1 http://repository.maemo.org fremantle Release.gpg [197B]
Ign http://repository.maemo.org fremantle/free Translation-en_GB
Ign http://repository.maemo.org fremantle/non-free Translation-en_GB
Get:2 http://repository.maemo.org fremantle Release.gpg [197B]
Ign http://repository.maemo.org fremantle/free Translation-en_GB
Hit https://downloads.maemo.nokia.com ./ Release
Ign http://repository.maemo.org fremantle/non-free Translation-en_GB
Hit http://repository.maemo.org fremantle Release.gpg
Ign http://repository.maemo.org fremantle/free Translation-en_GB
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Hit https://downloads.maemo.nokia.com ./ Packages
Ign http://repository.maemo.org fremantle/non-free Translation-en_GB
Hit http://repository.maemo.org fremantle-1.3 Release
Hit http://repository.maemo.org fremantle Release
Hit http://repository.maemo.org fremantle Release
Hit http://repository.maemo.org fremantle Release
Hit http://repository.maemo.org fremantle Release
Ign http://repository.maemo.org fremantle-1.3/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.3/non-free Packages/DiffIndex
Hit http://repository.maemo.org fremantle-1.3/free Packages
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Hit http://repository.maemo.org fremantle-1.3/non-free Packages
Get:3 http://repository.maemo.org fremantle Release [7955B]
Get:4 http://repository.maemo.org fremantle Release [11.9kB]
Ign http://repository.maemo.org fremantle Release
Hit http://repository.maemo.org fremantle/free Packages
Hit http://repository.maemo.org fremantle/non-free Packages
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Ign http://repository.maemo.org fremantle Release
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Hit http://repository.maemo.org fremantle/free Packages
Hit http://repository.maemo.org fremantle/non-free Packages
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Hit http://repository.maemo.org fremantle/free Packages
Hit http://repository.maemo.org fremantle/non-free Packages
Hit http://repository.maemo.org fremantle/free Packages
Hit http://repository.maemo.org fremantle/non-free Packages
Fetched 20.3kB in 21s (940B/s)
Reading package lists... Done
W: GPG error: http://repository.maemo.org fremantle Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5D0E7C4F2E6D6F9A
W: GPG error: http://repository.maemo.org fremantle Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6713C33F3F027BB1
W: You may want to run apt-get update to correct these problems
/home/user # apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
wireless-tools iw aircrack-ng libqtm-12-location
advanced-power-monitor libqtm-12-multimedia youtube-dl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
osso-pdf-viewer
The following packages will be upgraded:
osso-pdf-viewer
1 upgraded, 0 newly installed, 0 to remove and 79 not upgraded.
55 not fully installed or removed.
Need to get 0B/423kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
osso-pdf-viewer
Install these packages without verification [y/N]? y
Selecting previously deselected package osso-pdf-viewer.
(Reading database ... 43665 files and directories currently installed.)
Preparing to replace osso-pdf-viewer 1.8.24-1+0m5 (using .../osso-pdf-viewer_1.8.24-2+0cssu3_armel.deb) ...
Unpacking replacement osso-pdf-viewer ...
Segmentation fault
dpkg: warning - old post-removal script returned error exit status 139
dpkg - trying script from the new package instead ...
Segmentation fault
dpkg: error processing /var/cache/apt/archives/osso-pdf-viewer_1.8.24-2+0cssu3_armel.deb (--unpack):
subprocess new post-removal script returned error exit status 139
Segmentation fault
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 139
Processing triggers for catoriseplus ...
################################################## ################################################## #######
No changes to hildon menu.
Errors were encountered while processing:
/var/cache/apt/archives/osso-pdf-viewer_1.8.24-2+0cssu3_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
/home/user #

michaaa62 2012-06-09 10:10

Re: xterm help, please
 
Before flashing, try to apply some brute force: Remove the postinst script!
Code:

sudo gainroot
rm /var/lib/dpkg/info/osso-pdf-viewer.postrm
dpkg -r --force-remove-reinstreq osso-pdf-viewer

then try to apply the above code to correct your package system.

desolar 2012-06-09 21:36

Re: xterm help, please
 
Aiight, will post the result immediately after doin' the above.

desolar 2012-06-12 17:25

Re: xterm help, please
 
hello again. i got loads of error msgs. i finally decided to flash my phone. Thanks alot for your time


All times are GMT. The time now is 19:19.

vBulletin® Version 3.8.8