![]() |
Re: [SOLVED] apt-get error
the nokia N900 is a magical phone and I don't know why I tried messing it up. right now I cant even access my photos and audio clips yet they exist in the file manager.
|
Re: [SOLVED] apt-get error
/home/user # dpkg -r nitdroid-kernel-2.6.28-06
(Reading database ... 27985 files and directories currently installed.) Removing nitdroid-kernel-2.6.28-06 ... Android not found. MUST be mounted on '/and' dpkg: error processing nitdroid-kernel-2.6.28-06 (--remove): subprocess pre-removal script returned error exit status 1 Errors were encountered while processing: nitdroid-kernel-2.6.28-06 /home/user # thats the report after tryng to uninstall it. |
Re: [SOLVED] apt-get error
Those packages where outdated when i was experimenting with Nitdroid some time ago. Get rid of them!
Code:
apt-get purge nitdroid-installer nitdroid-kernel-2.6.28-06_final1 |
Re: [SOLVED] apt-get error
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
Enter 'help' for a list of built-in commands. ~ $ sudo gainroot Root shell enabled BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash) Enter 'help' for a list of built-in commands. /home/user # apt-get purge nitdroid-installer nitdroid-kernel-2.6.28-06_finall Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package nitdroid-kernel-2.6.28-06_finall /home/user # |
Re: [SOLVED] apt-get error
Viqtah,
It's final1 i.e. 1 not L |
Re: [SOLVED] apt-get error
This is all very true and very useful but I can't get rid of the feeling that this is like worrying about a rusty exhaust when the engine needs fixing. Sure, the exhaust needs replacing too but that is not your biggest concern.
Removing nitroid installer and kernel will save you a few MB but you need to clean a few hundred MB. So please return to post #28 and give us the results of the commands there. |
Re: NITDROID issue.
Quote:
nitdroid has their own support forums, its called http://forum.nitdroid.com. There's plenty of nitdroid threads scattered on both this forum as well as nitdroid forum. So there's really no need to go hijack other people's threads when they were asking about [A] (or specifically apt-get cert issue) and you're trying to divert the case to be [B] (specifically nitdroid issue). Now... looking back at what you have said: Quote:
Code:
Nokia-N900-51-1:/and# Quote:
Code:
Android not found. MUST be mounted on '/and' Code:
dpkg -l| grep nitdroid Quote:
Hopefully you didn't continue on following the nitdroid installation guide to the point where you have basically FUBARed your maemo setup. Otherwise it will be a simple matter of just suggesting to backup and reflash. In the meantime, I strongly urge you to start reading manual pages. In most linux installations, the manual pages are always included. The only exception are under embedded devices (including maemo). The only way to read manual pages if you cannot access one is via searching with Google. For example, to learn what dpkg is and how it works the normal command would be "man dpkg". If you don't have manpages installed anywhere else you can simply "man dpkg" into Google search and the first few links will be the links directly from the manual itself. There are few other minor exceptions but the bottom line is that you need to stop thinking N900 is some sort of "magical phone". It isn't, you just need to learn how it works (ideally having linux installed elsewhere and you constantly use it would be a bonus) is the most important step. "alex" on nitdroid forum has said this before: Quote:
|
Re: [SOLVED] apt-get error
Quote:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ sudo gainroot Root shell enabled BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash) Enter 'help' for a list of built-in commands. /home/user # apt-get clean /home/user # mount rootfs on / type rootfs (rw) ubi0:rootfs on / type ubifs (rw,bulk_read,no_chk_data_crc) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) tmpfs on /tmp type tmpfs (rw,noatime,size=1024k) tmpfs on /var/run type tmpfs (rw,nosuid,noatime,size=256k,mode=755) none on /dev type tmpfs (rw,noatime,size=10240k,mode=755) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noatime,size=65536k) /dev/mmcblk0p2 on /home type ext3 (noatime,nodiratime,errors=continue,commit=1,data= writeback) /home/opt on /opt type none (bind) nodev on /sys/kernel/debug type debugfs (0) /opt/pymaemo/usr/lib/python2.5 on /usr/lib/python2.5 type bind (bind) /opt/pymaemo/usr/share/pyshared on /usr/share/pyshared type bind (bind) /opt/pymaemo/usr/lib/pyshared on /usr/lib/pyshared type bind (bind) /opt/pymaemo/usr/share/python-support on /usr/share/python-support type bind (bind) /opt/pymaemo/usr/lib/python-support on /usr/lib/python-support type bind (bind) /dev/mmcblk0p1 on /home/user/MyDocs type vfat (rw,noauto,nodev,exec,nosuid,noatime,nodiratime,ut f8,uid=29999,shortname=mixed,dmask=000,fmask=0000, rodir) /dev/mmcblk1p1 on /media/mmc1 type vfat (rw,noauto,nodev,exec,nosuid,noatime,nodiratime,ut f8,uid=29999,shortname=mixed,dmask=000,fmask=0000, rodir) /home/user # df Filesystem 1k-blocks Used Available Use% Mounted on rootfs 233104 228820 0 100% / ubi0:rootfs 233104 228820 0 100% / tmpfs 1024 88 936 9% /tmp tmpfs 256 96 160 38% /var/run none 10240 80 10160 1% /dev tmpfs 65536 4 65532 0% /dev/shm /dev/mmcblk0p2 2064208 719360 1239992 37% /home /home/opt 2064208 719360 1239992 37% /opt /opt/pymaemo/usr/lib/python2.5 2064208 719360 1239992 37% /usr/lib/python2.5 /opt/pymaemo/usr/share/pyshared 2064208 719360 1239992 37% /usr/share/pyshared /opt/pymaemo/usr/lib/pyshared 2064208 719360 1239992 37% /usr/lib/pyshared /opt/pymaemo/usr/share/python-support 2064208 719360 1239992 37% /usr/share/python-support /opt/pymaemo/usr/lib/python-support 2064208 719360 1239992 37% /usr/lib/python-support /dev/mmcblk0p1 28312128 8892224 19419904 31% /home/user/MyDocs /dev/mmcblk1p1 3871744 8192 3863552 0% /media/mmc1 /home/user # free total used free shared buffers Mem: 245540 240400 5140 0 4312 Swap: 786424 51324 735100 Total: 1031964 291724 740240 /home/user # du -kx / | sort -n tail -n20 sort: invalid option -- 2 BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) multi-call binary Usage: sort [-nrugMcszbdfimSTokt] [-o FILE] [-k start[.offset][opts][,end[.offset][opts]] [-t CHAR] [FILE]... /home/user # du -kx/home | sort -n | tail -n20 du: invalid option -- / BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) multi-call binary Usage: du [-aHLdclsxhmk] [FILE]... /home/user # |
Re: NITDROID issue.
Quote:
|
Re: [SOLVED] apt-get error
Quote:
Quote:
Quote:
Quote:
Code:
sudo gainroot Once done, repeat the df and du commands from post #28, making sure you type them correctly this time. |
Re: [SOLVED] apt-get error
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
Enter 'help' for a list of built-in commands. ~ $ sudo gainroot Root shell enabled BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash) Enter 'help' for a list of built-in commands. /home/user # rm -rf /and /home/user # apt-get clean /home/user # mount rootfs on / type rootfs (rw) ubi0:rootfs on / type ubifs (rw,bulk_read,no_chk_data_crc) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) tmpfs on /tmp type tmpfs (rw,noatime,size=1024k) tmpfs on /var/run type tmpfs (rw,nosuid,noatime,size=256k,mode=755) none on /dev type tmpfs (rw,noatime,size=10240k,mode=755) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noatime,size=65536k) /dev/mmcblk0p2 on /home type ext3 (noatime,nodiratime,errors=continue,commit=1,data= writeback) /home/opt on /opt type none (bind) nodev on /sys/kernel/debug type debugfs (0) /opt/pymaemo/usr/lib/python2.5 on /usr/lib/python2.5 type bind (bind) /opt/pymaemo/usr/share/pyshared on /usr/share/pyshared type bind (bind) /opt/pymaemo/usr/lib/pyshared on /usr/lib/pyshared type bind (bind) /opt/pymaemo/usr/share/python-support on /usr/share/python-support type bind (bind) /opt/pymaemo/usr/lib/python-support on /usr/lib/python-support type bind (bind) /dev/mmcblk0p1 on /home/user/MyDocs type vfat (rw,noauto,nodev,exec,nosuid,noatime,nodiratime,ut f8,uid=29999,shortname=mixed,dmask=000,fmask=0000, rodir) /dev/mmcblk1p1 on /media/mmc1 type vfat (rw,noauto,nodev,exec,nosuid,noatime,nodiratime,ut f8,uid=29999,shortname=mixed,dmask=000,fmask=0000, rodir) /home/user # df Filesystem 1k-blocks Used Available Use% Mounted on rootfs 233104 151028 77792 66% / ubi0:rootfs 233104 151028 77792 66% / tmpfs 1024 76 948 7% /tmp tmpfs 256 96 160 38% /var/run none 10240 80 10160 1% /dev tmpfs 65536 4 65532 0% /dev/shm /dev/mmcblk0p2 2064208 718568 1240784 37% /home /home/opt 2064208 718568 1240784 37% /opt /opt/pymaemo/usr/lib/python2.5 2064208 718568 1240784 37% /usr/lib/python2.5 /opt/pymaemo/usr/share/pyshared 2064208 718568 1240784 37% /usr/share/pyshared /opt/pymaemo/usr/lib/pyshared 2064208 718568 1240784 37% /usr/lib/pyshared /opt/pymaemo/usr/share/python-support 2064208 718568 1240784 37% /usr/share/python-support /opt/pymaemo/usr/lib/python-support 2064208 718568 1240784 37% /usr/lib/python-support /dev/mmcblk0p1 28312128 8892224 19419904 31% /home/user/MyDocs /dev/mmcblk1p1 3871744 8192 3863552 0% /media/mmc1 /home/user # free total used free shared buffers Mem: 245540 241980 3560 0 9044 Swap: 786424 22792 763632 Total: 1031964 264772 767192 /home/user # du -kx / | sort -n | tail -n20 6932 /boot 7960 /lib/dsp 8424 /lib/modules/2.6.28.10-power50 8636 /var/log 12184 /usr/share/locale 12544 /lib/modules 14160 /usr/share/microb-engine/chrome 14844 /usr/share/microb-engine 19652 /usr/bin 23352 /usr/lib/locale 24196 /usr/lib/microb-engine 24364 /var/lib/dpkg/info 24392 /lib 30200 /var/lib/dpkg 31432 /var/lib 40580 /var 50928 /usr/share 147536 /usr/lib 225368 /usr 306580 /home/user # du -kx /home | sort -n | tail -n20 36876 /home/opt/usr/share 37456 /home/opt/rovio/angrybirds 37460 /home/opt/rovio 38460 /home/opt/usr 48812 /home/opt/sunjre/lib 48868 /home/opt/lib 49108 /home/opt/sunjre 60068 /home/system/lib 65424 /home/opt/var/lib/apt/lists 65444 /home/opt/var/lib/apt 65448 /home/opt/var/lib 72984 /home/user/.sword/modules/texts/ztext 72988 /home/user/.sword/modules/texts 72992 /home/user/.sword/modules 74776 /home/user/.sword 81992 /home/opt/var 125612 /home/system 193688 /home/user 384864 /home/opt 705564 /home /home/user # |
Re: [SOLVED] apt-get error
Excellent! That looks much better. We have cleared ~70MB from your rootfs (feel free to refer to post #32 for an explanation what rootfs means), which means your apt and dpkg should work fine again. Your SD card is full and I would still like to know what is in your /home/system (there should be only 3 things in /home: lost+found, opt and user), but your phone should work as it is. I would recommend one update as per post #16 and forget about Android. It is not for the feint-hearted.
|
Re: [SOLVED] apt-get error
Quote:
|
Re: [SOLVED] apt-get error
Quote:
|
Re: [SOLVED] apt-get error
Hopefully I wont have to flash my phone
|
Re: [SOLVED] apt-get error
from your post #32 "All user files - contacts, SMS and calls history, saved games, in a word everything that does not go to MyDocs is kept here, more specifically somewhere under /home/user. It is also here that apt and dpkg use for a cache. Your dpkg output suggests that you have run out of this "optfs" space. If that happens, you can no longer create new files - including tracker databases, meaning Media Player list will appear empty even though you have tons of music files and 20GB free in MyDocs."
how can I get my audio and image files to show? |
Re: [SOLVED] apt-get error
Quote:
Quote:
Code:
sudo gainroot Quote:
|
Re: [SOLVED] apt-get error
I already removed the installer, the kernel remains still. I entered the code to manually restart tracker and I gat my fingers crossed. waiting for a miracle
|
Re: [SOLVED] apt-get error
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
Enter 'help' for a list of built-in commands. ~ $ tracker-processes -r Found 142 pids... Setting database locations Checking database directories exist Checking database version Checking database files exist Removing all database files Removing database:'/home/user/.local/share/tracker/data/common.db' Removing database:'/var/tmp/tracker-user/cache.db' Removing database:'/home/user/.cache/tracker/file-meta.db' Removing database:'/home/user/.cache/tracker/file-contents.db' Removing database:'/home/user/.cache/tracker/email-meta.db' Removing database:'/home/user/.cache/tracker/email-contents.db' Setting index database locations Checking index directories exist Checking index files exist Removing all database index files Removing database index:'/home/user/.cache/tracker/file-index.db' Removing database index:'/home/user/.cache/tracker/email-index.db' ~ $ |
Re: [SOLVED] apt-get error
Quote:
finally my files are back. thanks for the help. I still have alot to learn though. |
Re: [SOLVED] apt-get error
After the command apt-get update I receive the following:
Code:
W: GPG error: https://downloads.maemo.nokia.com ./ Release: The following signatures were invalid: KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 Code:
213.128.137.22 repository.maemo.org Please help in solving the problem. |
Re: [SOLVED] apt-get error
How about reading the thread???
There is no solution to the GPG errors because the key of the Nokia has expired as the message states. That is bad and insecure, but there is nothing we could do about it. There is no need to map repository.maemo.org in /etc/hosts any more. Please redo the changes and post the output of Code:
sudo gainroot |
Re: [SOLVED] apt-get error
Quote:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ sudo gainroot Root shell enabled BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash) Enter 'help' for a list of built-in commands. /home/user # apt-get update Get:1 https://downloads.maemo.nokia.com ./ Release.gpg [198B] Hit http://repository.maemo.org fremantle Release.gpg Ign http://repository.maemo.org fremantle/free Translation-ru Ign https://downloads.maemo.nokia.com ./ Translation-ru Ign http://repository.maemo.org fremantle/non-free Translation-ru Hit http://repository.maemo.org fremantle Release.gpg Ign http://repository.maemo.org fremantle/free Translation-ru Ign http://repository.maemo.org fremantle/non-free Translation-ru Get:2 https://downloads.maemo.nokia.com ./ Release.gpg [198B] Hit http://maemo.merlin1991.at fremantle Release.gpg Ign https://downloads.maemo.nokia.com ./ Translation-ru Ign http://maemo.merlin1991.at fremantle/free Translation-ru Ign http://maemo.merlin1991.at fremantle/non-free Translation-ru Hit http://repository.maemo.org fremantle-1.3 Release.gpg Ign http://repository.maemo.org fremantle-1.3/free Translation-ru Ign http://repository.maemo.org fremantle-1.3/non-free Translation-ru Hit http://repository.maemo.org fremantle Release.gpg Ign http://repository.maemo.org fremantle/free Translation-ru Ign http://repository.maemo.org fremantle/non-free Translation-ru Get:3 https://downloads.maemo.nokia.com ./ Release.gpg [198B] Hit http://repository.maemo.org fremantle Release.gpg Ign http://repository.maemo.org fremantle/free Translation-ru Ign http://repository.maemo.org fremantle/non-free Translation-ru Hit http://repository.maemo.org fremantle Release Hit http://repository.maemo.org fremantle Release Hit http://maemo.merlin1991.at fremantle Release Ign https://downloads.maemo.nokia.com ./ Translation-ru Hit http://repository.maemo.org fremantle-1.3 Release Hit http://repository.maemo.org fremantle Release Hit http://repository.maemo.org fremantle Release Hit https://downloads.maemo.nokia.com ./ Release Hit https://downloads.maemo.nokia.com ./ Release Hit https://downloads.maemo.nokia.com ./ Release Get:4 https://downloads.maemo.nokia.com ./ Release [507B] Get:5 https://downloads.maemo.nokia.com ./ Release [507B] Ign https://downloads.maemo.nokia.com ./ Release Get:6 https://downloads.maemo.nokia.com ./ Release [507B] Ign https://downloads.maemo.nokia.com ./ Release Ign https://downloads.maemo.nokia.com ./ Release Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex Ign http://repository.maemo.org fremantle/free Packages/DiffIndex Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex Hit https://downloads.maemo.nokia.com ./ Packages Hit https://downloads.maemo.nokia.com ./ Packages Hit https://downloads.maemo.nokia.com ./ Packages Ign http://repository.maemo.org fremantle/free Packages/DiffIndex Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex Ign http://maemo.merlin1991.at fremantle/free Packages/DiffIndex Ign http://maemo.merlin1991.at fremantle/non-free Packages/DiffIndex Ign http://repository.maemo.org fremantle-1.3/free Packages/DiffIndex Ign http://repository.maemo.org fremantle-1.3/non-free Packages/DiffIndex 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/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 Hit http://maemo.merlin1991.at fremantle/free Packages Hit http://maemo.merlin1991.at fremantle/non-free Packages Hit http://repository.maemo.org fremantle-1.3/free Packages Hit http://repository.maemo.org fremantle-1.3/non-free Packages 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 2115B in 19s (106B/s) Reading package lists... Done W: GPG error: https://downloads.maemo.nokia.com ./ Release: The following signatures were invalid: KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 W: GPG error: https://downloads.maemo.nokia.com ./ Release: The following signatures were invalid: KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 W: GPG error: https://downloads.maemo.nokia.com ./ Release: The following signatures were invalid: KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 W: You may want to run apt-get update to correct these problems /home/user # |
Re: [SOLVED] apt-get error
That is the output that everybody gets since Nokia abandoned the N900 and did not renew the expiring repository key. Please note that this is no error for apt-get, but only a Warning about the gpg error.
Just go on like normal. |
Re: [NOT solved] apt-get error
Ehe, cant go on.
I had to re-flash my phone N900 (tested extras-devel repo, and the filesystem became corrupt or read-only, by who knows what. Its another story). I had a backup (that also contained the program-list). BUT.. bunch of packages are missing (like "maemo-applet-tvout", "minignumeric", "gftp-gtk", "less", "x48", "locate"), others have broken dependency (as the "PyQt4 Demo") Also the site garage.maemo.org have also expired. Why it was shttp in the first place, i have no clew on. Is repo shut down, or is it just the encryption pgp/gpg key? UHG:mad: <- ms pacman |
Re: [SOLVED] apt-get error
Quote:
Below is the the result of some of the commands you gave on this thread: 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. ~ $ root 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. Nokia-N900-02-8:~# apt-get clean Nokia-N900-02-8:~# apt-cache policy multi-boot* u-boot* W: Unable to locate package multi-boot* W: Unable to locate package u-boot* Nokia-N900-02-8:~# apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. 2 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up maeflight (5.1.3-1) ... dpkg (subprocess): unable to execute post-installation script: Exec format error dpkg: error processing maeflight (--configure): subprocess post-installation script returned error exit status 2 Setting up nitdroid-kernel-2.6.28-07 (6-rc6) ... Android not mounted on '/and'. Can't do anything dpkg: error processing nitdroid-kernel-2.6.28-07 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: maeflight nitdroid-kernel-2.6.28-07 E: Sub-process /usr/bin/dpkg returned an error code (1) Nokia-N900-02-8:~# apt-get install kernel-power kernel-power modules kernel-power-flasher Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package modules Nokia-N900-02-8:~# thanks |
Re: [SOLVED] apt-get error
First please ake sure to get rid of all of the typos and the regular expression
Code:
dpkg -l | grep multiboot To get rid of nitdroid-kernel you have to mount the partition you were installing nitdroid to, to the mount point, aka. folder, /and. For maeflight's postinst script to work you might need to install wget Code:
sudo gainroot |
Re: [SOLVED] apt-get error
Quote:
First, i don't think I have neither multi-boot nor u boot installed cos it was only nitdroid kernel that was not fully installed before I stopped it due to a bad intenet connection. I typed the first set of code above but it brought no result. When i typed the second command, below is what I got 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. ~ $ root 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. Nokia-N900-02-8:~# apt-get wget maeflight E: Invalid operation wget Nokia-N900-02-8:~# apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up maeflight (5.1.3-1) ... dpkg (subprocess): unable to execute post-installation script: Exec format error dpkg: error processing maeflight (--configure): subprocess post-installation script returned error exit status 2 Setting up nitdroid-kernel-2.6.28-07 (6-rc6) ... Android not mounted on '/and'. Can't do anything dpkg: error processing nitdroid-kernel-2.6.28-07 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: maeflight nitdroid-kernel-2.6.28-07 E: Sub-process /usr/bin/dpkg returned an error code (1) Nokia-N900-02-8:~# In addition, i can't access the folders as applications like cuteexplorer, filebox stopped working even after I uninstalled and re-installed. I even used 'clear device' option but all to no avail. As it is now, there are many applications on my phone that have stopped working while I have both maeflight and nitdroid kernel in the HAM. The kernel's status is that 'it is broken but updateable and has no option to uninstall. For maeflight, when I try to uninstall it, the application manager shuts down abruptly. I'll be glad to hear from you asap. I believe you can help me fix the problem. Thanks |
Re: [SOLVED] apt-get error
First:
Well, those typos... Please try the commands again: Code:
sudo gainroot Code:
mount |
Re: [SOLVED] apt-get error
Quote:
|
Re: [SOLVED] apt-get error
Below is the first command results:
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. ~ $ 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 # apt-get install maeflight Reading package lists... Done Building dependency tree Reading state information... Done maeflight is already the newest version. The following packages were automatically installed and are no longer required: libqtm-serviceframework rtcom-accounts-plugin-facebook rtcom-skype-emoticons-theme nokiamaps-navigation-provider-settings-203 rtcom-accounts-voip-support libqtm-publishsubscribe cherry dsme-thermalobject-surface modest-home-applet libqtm-versit microb-geolocation libqt4-translations maemo-optify-runonce libqtm-sensors Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 111 not upgraded. 2 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up maeflight (5.1.3-1) ... dpkg (subprocess): unable to execute post-installation script: Exec format error dpkg: error processing maeflight (--configure): subprocess post-installation script returned error exit status 2 Setting up nitdroid-kernel-2.6.28-07 (6-rc6) ... Android not mounted on '/and'. Can't do anything dpkg: error processing nitdroid-kernel-2.6.28-07 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: maeflight nitdroid-kernel-2.6.28-07 E: Sub-process /usr/bin/dpkg returned an error code (1) /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: libqtm-serviceframework rtcom-accounts-plugin-facebook rtcom-skype-emoticons-theme nokiamaps-navigation-provider-settings-203 rtcom-accounts-voip-support libqtm-publishsubscribe cherry dsme-thermalobject-surface modest-home-applet libqtm-versit microb-geolocation libqt4-translations maemo-optify-runonce libqtm-sensors Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 111 not upgraded. 2 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up maeflight (5.1.3-1) ... dpkg (subprocess): unable to execute post-installation script: Exec format error dpkg: error processing maeflight (--configure): subprocess post-installation script returned error exit status 2 Setting up nitdroid-kernel-2.6.28-07 (6-rc6) ... Android not mounted on '/and'. Can't do anything dpkg: error processing nitdroid-kernel-2.6.28-07 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: maeflight nitdroid-kernel-2.6.28-07 E: Sub-process /usr/bin/dpkg returned an error code (1) /home/user # Below is the second command results: 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. ~ $ 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 # mount rootfs on / type rootfs (rw) ubi0:rootfs on / type ubifs (rw,bulk_read,no_chk_data_crc) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) tmpfs on /tmp type tmpfs (rw,noatime,size=1024k) tmpfs on /var/run type tmpfs (rw,nosuid,noatime,size=256k,mode=755) none on /dev type tmpfs (rw,noatime,size=10240k,mode=755) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noatime,size=65536k) /dev/mmcblk0p2 on /home type ext3 (rw,noatime,errors=continue,commit=1,data=writebac k) /home/opt on /opt type none (bind) cgroup on /dev/cgroup/cpu type cgroup (cpu,memory) nodev on /sys/kernel/debug type debugfs (0) /opt/pymaemo/usr/lib/python2.5 on /usr/lib/python2.5 type bind (bind) /opt/pymaemo/usr/share/pyshared on /usr/share/pyshared type bind (bind) /opt/pymaemo/usr/lib/pyshared on /usr/lib/pyshared type bind (bind) /opt/pymaemo/usr/share/python-support on /usr/share/python-support type bind (bind) /opt/pymaemo/usr/lib/python-support on /usr/lib/python-support type bind (bind) /dev/mmcblk0p1 on /home/user/MyDocs type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime, utf8,uid=29999,shortname=mixed,dmask=000,fmask=013 3,rodir) /dev/mmcblk1p1 on /media/mmc1 type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime, utf8,uid=29999,shortname=mixed,dmask=000,fmask=013 3,rodir) /home/user # ls -al /home drwxr-xr-x 5 user users 4096 Oct 2 14:52 . drwxr-xr-x 26 root root 1896 Oct 4 17:36 .. drwxr-xr-x 2 root root 4096 Oct 2 02:31 .apt-archive-cache drwxr-xr-x 73 root root 4096 Oct 5 11:46 opt drwxr-xr-x 42 user users 4096 Oct 5 13:12 user /home/user # la -al / /bin/sh: la: not found /home/user # la -al / /bin/sh: la: not found /home/user # |
Re: [SOLVED] apt-get error
Now even i share the typo business :eek::eek:
Excuse me,please. Lets start over with the commands. First install maeflight and wget to get rid of this issue, hopefully Code:
sudo gainroot Code:
ls -al / |
Re: [SOLVED] apt-get error
There you go:
Results of the first command 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. ~ $ 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 # apt get install wget maeflight /bin/sh: apt: not found /home/user # Results of the second command |
Re: [SOLVED] apt-get error
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. ~ $ 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 # ls -al / drwxr-xr-x 26 root root 1896 Oct 4 17:36 . drwxr-xr-x 26 root root 1896 Oct 4 17:36 .. drwxr-xr-x 2 root root 160 Feb 16 2010 .dev drwxr-xr-x 2 root root 3920 Oct 4 17:10 bin drwxr-xr-x 3 root root 232 Oct 2 02:03 boot drwxr-xr-x 2 root root 160 Feb 16 2010 cdrom -rw------- 1 root root 0 Jan 1 1970 core drwxr-xr-x 3 root root 232 Jul 6 17:31 dbus-1 drwxr-xr-x 10 root root 3480 Jan 1 2000 dev drwxr-xr-x 87 root root 9616 Jan 1 2000 etc -rw-rw-rw- 1 root root 4 Jan 1 1970 fb-progress.pid drwxr-xr-x 2 root root 160 Feb 16 2010 floppy drwxr-xr-x 5 user users 4096 Oct 2 14:52 home drwxr-xr-x 2 root root 160 Feb 16 2010 initrd drwxr-xr-x 8 root root 6200 Oct 2 22:56 lib drwxr-xr-x 3 root root 224 Jun 9 12:55 media drwxr-xr-x 3 root root 232 Jan 1 1970 mnt drwxr-xr-x 73 root root 4096 Oct 5 11:46 opt dr-xr-xr-x 169 root root 0 Jan 1 1970 proc -rw-r--r-- 1 root root 10377 Jan 1 2000 rb.log drwxr-xr-x 3 root root 240 Jan 1 2000 rescue drwxr-xr-x 6 root root 856 Oct 5 13:13 root drwxr-xr-x 2 root root 5952 Apr 7 08:34 sbin drwxr-xr-x 2 root root 160 Feb 16 2010 srv drwxr-xr-x 12 root root 0 Jan 1 1970 sys drwxr-xr-x 2 root root 160 Apr 4 2010 syspart drwxrwxrwt 9 root root 800 Oct 5 13:18 tmp drwxr-xr-x 13 root root 928 Sep 21 13:59 usr drwxr-xr-x 14 root root 936 Feb 16 2010 var /home/user # ls -al /home/user drwxr-xr-x 42 user users 4096 Oct 5 13:12 . drwxr-xr-x 5 user users 4096 Oct 2 14:52 .. drwx------ 2 user users 4096 Oct 4 19:04 .AbiSuite drwxr-xr-x 3 root root 4096 Feb 15 2010 .activesync drwxr-xr-x 2 user users 4096 Oct 2 02:46 .backgrounds drwxr-xr-x 3 user users 4096 Oct 2 02:45 .bookmarks -rw------- 1 user users 333 Oct 5 13:43 .browser -rw-r--r-- 1 user users 225 Oct 5 12:39 .browser_typed_urls drwxr-xr-x 6 user users 4096 Oct 5 13:14 .cache drwxr-xr-x 2 user users 4096 Oct 4 19:06 .calendar drwxr-xr-x 2 user users 4096 Oct 4 19:06 .clock -rw-r--r-- 1 user users 77 Oct 5 13:12 .clockd.conf drwxr-xr-x 11 user users 4096 Oct 5 11:54 .config drwx------ 3 user users 4096 Oct 2 01:46 .dbus drwx------ 2 user users 4096 Oct 2 01:45 .gnome2 drwx------ 2 root root 4096 Oct 2 02:30 .gnupg drwxr-xr-x 2 user users 4096 Oct 4 23:08 .gstreamer-0.10 drwxr-xr-x 2 user users 4096 Oct 4 16:35 .hildon-application-manager drwxr-xr-x 4 user root 4096 Oct 4 19:06 .intellisyncd drwx------ 3 user users 4096 Oct 2 02:45 .local drwx------ 4 user users 4096 Oct 2 01:45 .maemosec-certs drwx------ 3 user users 4096 Oct 2 01:45 .maemosec-secure drwx------ 2 user users 4096 Oct 2 20:04 .mafw-playlists drwx------ 2 user users 4096 Oct 4 19:06 .mafw-playlists.backup -rw-r--r-- 1 user users 10240 Oct 4 23:05 .mafw.db drwxr-xr-x 5 user users 4096 Oct 2 02:56 .modest drwx------ 6 user users 4096 Oct 2 16:19 .mozilla drwxr-xr-x 2 user users 4096 Oct 2 02:45 .netstory dr-xr-x--- 2 user users 4096 Nov 14 2010 .obex-root drwx------ 9 user users 4096 Oct 5 13:50 .opera drwxr-xr-x 5 user users 4096 Oct 5 11:24 .osso drwx------ 4 user users 4096 Oct 4 22:32 .osso-abook drwx------ 3 user users 4096 Oct 4 19:06 .osso-abook-backup drwxr-xr-x 2 user users 4096 Oct 2 02:46 .osso-backup drwxr-xr-x 2 user users 4096 Aug 28 2009 .osso-cud-scripts drwxr-xr-x 3 user users 4096 Oct 2 01:45 .osso_rss_feed_reader drwxr-xr-x 2 user users 4096 Oct 2 20:55 .profiled drwx------ 2 user users 4096 Jan 1 2000 .pulse -rw------- 1 user users 256 Oct 2 01:45 .pulse-cookie drwx------ 3 user users 4096 Oct 4 22:57 .rtcom-accounts drwx------ 3 user users 4096 Oct 4 19:06 .rtcom-eventlogger drwxr-xr-x 2 user users 4096 Oct 2 07:06 .rtcom-messaging-ui drwxr-xr-x 2 root root 4096 Oct 4 22:31 .signon drwxr-xr-x 2 user users 4096 Mar 25 2013 .someplayer -rw-r--r-- 1 user users 23330 Jun 22 2010 .sso-autologin.prefs drwxr-x--- 6 user users 4096 Oct 2 18:02 .thumbnails drwxrwxrwx 15 user root 65536 Oct 5 13:13 MyDocs drwxr-xr-x 2 user users 4096 Oct 4 21:07 Playlists -rw-r--r-- 1 root root 4521 Oct 5 12:39 Xorg.0.log /home/user # ls -al /home/user/MyDocs/.nitdroid ls: /home/user/MyDocs/.nitdroid: No such file or directory /home/user # |
Re: [SOLVED] apt-get error
I've been removing some of the applications that are no more functional. Could that be the cause?
|
Re: [SOLVED] apt-get error
Please try to copy and paste the commands i gave you for wget and maeflight. Though there might be the chance of human error on my side as well, along with my failing keyboard, it is your best chance to get things working.
For the nitroid-kernel: As there are no nitdroid cruft in your file system, you could use some stronger commands to get rid Code:
sudo gainroot |
Re: [SOLVED] apt-get error
After entering the command, I got this:
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. ~ $ 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 nitdroid-kernel-2.6.28-07 (Reading database ... 42769 files and directories currently installed.) Removing nitdroid-kernel-2.6.28-07 ... Android not found. MUST be mounted on '/and' dpkg: error processing nitdroid-kernel-2.6.28-07 (--remove): subprocess pre-removal script returned error exit status 1 Errors were encountered while processing: nitdroid-kernel-2.6.28-07 /home/user # I'm just hoping for the best. And if I have to reflash the phone, I wouldn't mind. I did copy the commands you gave correctly. Thanks for being there. Hope to read from you. |
Re: [SOLVED] apt-get error
I copied and pasted the wget command and later learnt from the results that I could use 'apt-get autoremove'. Below is the results
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. ~ $ 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 # apt-get install wget maeflight Reading package lists... Done Building dependency tree Reading state information... Done wget is already the newest version. wget set to manually installed. maeflight is already the newest version. The following packages were automatically installed and are no longer required: libqtm-serviceframework rtcom-accounts-plugin-facebook rtcom-skype-emoticons-theme nokiamaps-navigation-provider-settings-203 rtcom-accounts-voip-support libqtm-publishsubscribe cherry dsme-thermalobject-surface modest-home-applet libqtm-versit microb-geolocation libqt4-translations maemo-optify-runonce libqtm-sensors Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up maeflight (5.1.3-1) ... dpkg (subprocess): unable to execute post-installation script: Exec format error dpkg: error processing maeflight (--configure): subprocess post-installation script returned error exit status 2 Setting up nitdroid-kernel-2.6.28-07 (6-rc6) ... Android not mounted on '/and'. Can't do anything dpkg: error processing nitdroid-kernel-2.6.28-07 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: maeflight nitdroid-kernel-2.6.28-07 E: Sub-process /usr/bin/dpkg returned an error code (1) /home/user # apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libqtm-serviceframework rtcom-accounts-plugin-facebook rtcom-skype-emoticons-theme nokiamaps-navigation-provider-settings-203 rtcom-accounts-voip-support libqtm-publishsubscribe cherry dsme-thermalobject-surface modest-home-applet libqtm-versit microb-geolocation libqt4-translations maemo-optify-runonce libqtm-sensors Hmm, seems like the AutoRemover destroyed something which really shouldn't happen. Please file a bug report against apt. The following information may help to resolve the situation: The following packages have unmet dependencies: qtm-maemo-metapackage: Depends: libqtm-publishsubscribe (>= 1:1.0.2-maemo1) but it is not going to be installed Depends: libqtm-sensors (>= 1:1.0.2-maemo1) but it is not going to be installed Depends: libqtm-serviceframework (>= 1:1.0.2-maemo1) but it is not going to be installed Depends: libqtm-versit (>= 1:1.0.2-maemo1) but it is not going to be installed E: Internal Error, AutoRemover broke stuff /home/user # |
Re: [SOLVED] apt-get error
Aaargh, my apt-get capabilities seems to have left me...
Now try this please Code:
sudo gainroot Quote:
NEVER use autoremove, if you do not know what removal is connected to which formerly installed package! |
Re: [SOLVED] apt-get error
Ok thanks. This is what I got after entering the commands
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. ~ $ 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 # mkdir /and /home/user # mount /home /and /home/user # mkdir -p /and/system/etc /home/user # mkdir -p /and/system/lib/modules/2.6.28.NIT.07 /home/user # dpkg -r --force-remove-reinstreq nitdroid-kernel-2.6.28-07 (Reading database ... 42769 files and directories currently installed.) Removing nitdroid-kernel-2.6.28-07 ... Deleting leftover 2.6.28.NIT.07 modules in Android... Deleting leftover 2.6.28.NIT.07 modules in Maemo... dpkg - warning: while removing nitdroid-kernel-2.6.28-07, unable to remove directory `/and': Device or resource busy - directory may be a mount point ? dpkg - warning: while removing nitdroid-kernel-2.6.28-07, directory `/and/system' not empty so not removed. dpkg - warning: while removing nitdroid-kernel-2.6.28-07, unable to remove directory `/and': Device or resource busy - directory may be a mount point ? /home/user # still hoping. I really appreciate your time. Thanks once again |
All times are GMT. The time now is 11:31. |
vBulletin® Version 3.8.8