maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   [SOLVED] apt-get error (https://talk.maemo.org/showthread.php?t=89433)

viqtah 2013-08-13 17:46

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.

viqtah 2013-08-13 18:20

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.

michaaa62 2013-08-13 20:05

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

viqtah 2013-08-14 03:34

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 #

thedead1440 2013-08-14 04:14

Re: [SOLVED] apt-get error
 
Viqtah,
It's final1 i.e. 1 not L

pichlo 2013-08-14 06:20

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.

tuxsavvy 2013-08-14 08:10

Re: NITDROID issue.
 
Quote:

Originally Posted by viqtah (Post 1367007)
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.

N900 is not a "magical phone". If you don't know what you are doing then you shouldn't have bothered installing nitdroid in the first place. Blindly following instructions and not knowing specifically what each command does let alone understanding how linux and/or package managers in general would lead anyone to think N900 is some sort of "magical device". There is no magic when it comes to N900. A simple solution I would *highly* recommend is for you to backup and reflash. Maybe you can and will learn a lesson from all of this experience. It would be far quicker than trying to fix up any issues you have and to see you thread hijacking.

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:

Originally Posted by viqtah (Post 1366290)
Nokia-N900-51-1:/and# dpkg -i /home/user/MyDocs/nitdroid-kernel-2.6.28-07_rc4_armel.deb
(Reading database ... 37748 files and directories currently installed.)
Preparing to replace nitdroid-kernel-2.6.28-07 rc4 (using .../nitdroid-kernel-2.6.28-07_rc4_armel.deb) ...
Deleting leftover 2.6.28.NIT.07 modules in Android...
Deleting leftover 2.6.28.NIT.07 modules in Maemo...
Unpacking replacement nitdroid-kernel-2.6.28-07 ...
Setting up nitdroid-kernel-2.6.28-07 (rc4) ...
Copying 2.6.28.NIT.07 essential modules to Maemo...
Running depmod...
Creating item file for multiboot
Nokia-N900-51-1:/and# leafpad /etc/multiboot.d/11-NITDroid-mmcblk0p2-2.6.28.NIT

it redirects me to leafpad from there and nothing happens

Prior to this you have not installed nitdroid, am I wrong? This clearly shows you used dpkg to install nitdroid. Do you see the path that it clearly show:
Code:

Nokia-N900-51-1:/and#
Doesn't that tell you that you have installed nitdroid under "/and"? This is why:
Quote:

Originally Posted by viqtah (Post 1367013)
/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.

Would not work because you can clearly see:
Code:

Android not found. MUST be mounted on '/and'
I don't know how you manage to go from 2.6.28-07 to 2.6.28-06. Nonetheless:
Code:

dpkg -l| grep nitdroid
clearly shows:
Quote:

Originally Posted by viqtah (Post 1367005)
/home/user # dpkg -l | grep nitdroid
ii nitdroid-installer 0.2.8-8 NITDroid new autoinstaller fetches and installs the
ii nitdroid-kernel-2.6.28-06 final1 Linux kernel for NITDroid
/home/user #

So that now leaves two nitdroid related packages installed. One being "nitdroid-installer" package which needs to be manually removed. The other is "nitdroid-kernel-2.6.28-06" package which will require you to mount /and partition. Without you telling us exactly which guide you followed nobody can help you.

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:

Originally Posted by alex
learn terminal commands: apt-get install -f and apt-get purge commands , n900 isn't a phone for normal phone users

I personally wholeheartedly agree.

viqtah 2013-08-14 17:01

Re: [SOLVED] apt-get error
 
Quote:

Originally Posted by pichlo (Post 1367086)
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.


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 #

viqtah 2013-08-14 17:39

Re: NITDROID issue.
 
Quote:

Originally Posted by tuxsavvy (Post 1367106)
N900 is not a "magical phone". If you don't know what you are doing then you shouldn't have bothered installing nitdroid in the first place. Blindly following instructions and not knowing specifically what each command does let alone understanding how linux and/or package managers in general would lead anyone to think N900 is some sort of "magical device". There is no magic when it comes to N900. A simple solution I would *highly* recommend is for you to backup and reflash. Maybe you can and will learn a lesson from all of this experience. It would be far quicker than trying to fix up any issues you have and to see you thread hijacking.

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:


Prior to this you have not installed nitdroid, am I wrong? This clearly shows you used dpkg to install nitdroid. Do you see the path that it clearly show:
Code:

Nokia-N900-51-1:/and#
Doesn't that tell you that you have installed nitdroid under "/and"? This is why:

Would not work because you can clearly see:
Code:

Android not found. MUST be mounted on '/and'
I don't know how you manage to go from 2.6.28-07 to 2.6.28-06. Nonetheless:
Code:

dpkg -l| grep nitdroid
clearly shows:

So that now leaves two nitdroid related packages installed. One being "nitdroid-installer" package which needs to be manually removed. The other is "nitdroid-kernel-2.6.28-06" package which will require you to mount /and partition. Without you telling us exactly which guide you followed nobody can help you.

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:
I personally wholeheartedly agree.

any idea unto how I can get rid of nitdroid?

pichlo 2013-08-14 18:30

Re: [SOLVED] apt-get error
 
Quote:

Originally Posted by viqtah (Post 1367237)
/home/user # df
Filesystem 1k-blocks Used Available Use% Mounted on
rootfs 233104 228820 0 100% /

No space left in rootfs! No wonder you have problems. I bet most of it is taken up by /and.

Quote:

/home/user # du -kx / | sort -n tail -n20
sort: invalid option -- 2
There is a pipe symbol ("|") missing between -n and tail.

Quote:

/home/user # du -kx/home | sort -n | tail -n20
du: invalid option -- /
A space missing between -kx and /home.

Quote:

Originally Posted by viqtah (Post 1367244)
any idea unto how I can get rid of nitdroid?

Start with...
Code:

sudo gainroot
rm -rf /and

Be EXTREMELY careful to type it correctly. Mistyping may lead to rendering your phone completely unusable and having to reflash.

Once done, repeat the df and du commands from post #28, making sure you type them correctly this time.

viqtah 2013-08-14 18:53

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 #

pichlo 2013-08-14 19:51

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.

viqtah 2013-08-14 20:10

Re: [SOLVED] apt-get error
 
Quote:

Originally Posted by pichlo (Post 1366496)
I don't know much about Nitroid (nor have I much interest in finding out), but from the little I know, I understand it is a 3 step process. You need to install multiboot, then you need to install a Nitroid kernel and lastly you need to download a Nitroid image and mount it in a specific folder under root. If I remember correctly, that folder was /and. Feel free to correct me if I am talking BS.

We have had a few people running out of root space because they, instead of mounting Nitroid under /and, tried to copy it there and, not surprisingly, it did not fit.

Now, about your space issue. There are two storage media on our N900. You can think of them as two hard disks. One is small, only 256MB. It is split into smaller parts, containing the bootloader, kernel and, most pertinently to your case, the 227MB root space. This is the first entry you see when you run df. It is vital system space, containing system files and some not-so-well behaved (see below) user applications. Because it contains the root of your file system, it is usually called "rootfs".

The second storage medium (or "hard disk" if you want) is 32GB, split into 3 parts. The first part is the 27GB space formatted as FAT and exported in mass storage mode. It is mounted under /home/user/MyDocs, usually referred to as "MyDocs" and used for documents, images, music etc. It is this part that has 20GB free in your case.

The next part of your 32GB medium is a 2GB space reserved for your applications. The 227MB rootfs mentioned above is just not enough so well written applications should install here. This space is mounted under /home and also (simplified as I am already too verbose) under /opt. Because of that, this partition is often referred to as "optfs".

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.

Keep in mind that I am only guessing since the information you provide is very patchy, to the point of nearly non-existent. Please provide the output of michaaa62's commands in post #28 to give us a better picture.

how can I get back my images and audio clips to show? they do exist as you just mentioned but not showing.

viqtah 2013-08-14 20:12

Re: [SOLVED] apt-get error
 
Quote:

Originally Posted by pichlo (Post 1367271)
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.

I love the n900 as it is and would like to get rid of the android but I cant, I've tried all ways but all is in vain. any ideas?

viqtah 2013-08-14 20:22

Re: [SOLVED] apt-get error
 
Hopefully I wont have to flash my phone

viqtah 2013-08-14 20:32

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?

pichlo 2013-08-14 20:37

Re: [SOLVED] apt-get error
 
Quote:

Originally Posted by viqtah (Post 1367279)
how can I get back my images and audio clips to show? they do exist as you just mentioned but not showing.

They should appear automatically as soon as tracker has had a chance to finish its job. It could not do it until now because of no space in rootfs. If nothing happens in an hour then restart tracker manually but you should not need to.

Quote:

Originally Posted by viqtah (Post 1367281)
I love the n900 as it is and would like to get rid of the android but I cant, I've tried all ways but all is in vain. any ideas?

You've removed most of it already by running 'rm -rf /and'. Then there is the installer and the kernel. I don't know enough about Nitroid to give you an authoritative answer. I would just go with post #43 but post #47 says it's not that simple. You can definitely remove the installer by
Code:

sudo gainroot
apt-get purge nitroid-installer

and leave the kernel be, or follow the link in post #47 to find out more.

Quote:

Originally Posted by viqtah (Post 1367285)
Hopefully I wont have to flash my phone

Hopefully not but that depends on what else have you done to it that we don't know.

viqtah 2013-08-14 20:52

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

viqtah 2013-08-14 20:54

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'
~ $

viqtah 2013-08-14 21:14

Re: [SOLVED] apt-get error
 
Quote:

Originally Posted by pichlo (Post 1367291)
They should appear automatically as soon as tracker has had a chance to finish its job. It could not do it until now because of no space in rootfs. If nothing happens in an hour then restart tracker manually but you should not need to.



You've removed most of it already by running 'rm -rf /and'. Then there is the installer and the kernel. I don't know enough about Nitroid to give you an authoritative answer. I would just go with post #43 but post #47 says it's not that simple. You can definitely remove the installer by
Code:

sudo gainroot
apt-get purge nitroid-installer

and leave the kernel be, or follow the link in post #47 to find out more.



Hopefully not but that depends on what else have you done to it that we don't know.


finally my files are back. thanks for the help. I still have alot to learn though.

Tiran 2013-08-31 19:21

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
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: Ignoring Provides line with DepCompareOp for package binutils
W: You may want to run apt-get update to correct these problems

Then, in the etc/hosts registered
Code:

213.128.137.22 repository.maemo.org
but it did not help.
Please help in solving the problem.

michaaa62 2013-08-31 20:25

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
apt-get update


Tiran 2013-08-31 21:04

Re: [SOLVED] apt-get error
 
Quote:

Originally Posted by michaaa62 (Post 1370952)
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
apt-get update



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 #

michaaa62 2013-08-31 22:17

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.

phoohb 2013-09-08 02:55

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

Adethewura 2013-10-05 00:25

Re: [SOLVED] apt-get error
 
Quote:

Originally Posted by michaaa62 (Post 1366333)
Are leafpad and multiboot installed???
Are you sure that you type the name of the file correctly? Try to use the <TAB>-completion of the X-Terminal application: You <TAB> button on the lower bar of X-Terminal. Type the first letter(s) of a command and let the X-Terminal help you, like this:
Code:

lea<TAB>/e<TAB>mult<TAB>11<TAB>
If leafpad is missing and you cannot install it, there are some text-editor for the X-Terminal installed: mcedit, or vi or nano. But their usage is quite different from the GUI-editor leafpad.

Edit: You might post a link to the tutorial you are following to install nitdroid.

Pls kindly help me, I have the same problem but there's a broken apllication on my phone called maeflight that has refused uninstallation after several attempts. I can't use filebox or cuteexplorer as they won't open.
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

michaaa62 2013-10-05 07:29

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
dpkg -l | grep u-boot

will give you the installed packages fro the 'multiboot' and 'u-boot' search terms. Note please the pipe-symbol after dpkg -l (small L) is accessible via <Blue arrow><Sym> on the Keyboard

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
apt-get install wget maeflight
apt-get install -f

Please feel free to ask for clarification, if you are still unsure about terminal output

Adethewura 2013-10-05 10:18

Re: [SOLVED] apt-get error
 
Quote:

Originally Posted by michaaa62 (Post 1378690)
First please ake sure to get rid of all of the typos and the regular expression
Code:

dpkg -l | grep multiboot
dpkg -l | grep u-boot

will give you the installed packages fro the 'multiboot' and 'u-boot' search terms. Note please the pipe-symbol after dpkg -l (small L) is accessible via <Blue arrow><Sym> on the Keyboard

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
apt-get install wget maeflight
apt-get install -f

Please feel free to ask for clarification, if you are still unsure about terminal output

wow! I'm so happy to get a reply from you now i am sure my problem will be solved.
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

michaaa62 2013-10-05 12:02

Re: [SOLVED] apt-get error
 
First:
Well, those typos...
Please try the commands again:
Code:

sudo gainroot
apt-get install wget maeflight
apt-get install -f

Second: Before you would install nitdroid-kernel you would extract the compressed file system in any of those howtos around, the stuff must be somewhere on your device, probably /home. So please show the output of these commands
Code:

mount
ls -al /home
la -al /

For your software issues you might consider backing up and flash the device completely.

Adethewura 2013-10-05 12:19

Re: [SOLVED] apt-get error
 
Quote:

Originally Posted by michaaa62 (Post 1378739)
First:
Well, those typos...
Please try the commands again:
Code:

sudo gainroot
apt-get install wget maeflight
apt-get install -f

Second: Before you would install nitdroid-kernel you would extract the compressed file system in any of those howtos around, the stuff must be somewhere on your device, probably /home. So please show the output of these commands
Code:

mount
ls -al /home
la -al /

For your software issues you might consider backing up and flash the device completely.

here's the result of the first command

Adethewura 2013-10-05 12:30

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 #

michaaa62 2013-10-05 12:41

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
apt-get install wget maeflight

Second: Lets look for the nitdroid stuff
Code:

ls -al /
ls -al /home/user
ls -al /home/user/MyDocs/.nitdroid

Please why is the output of 'apt-get install -f' different from the output before? Did you remove some stuff???

Adethewura 2013-10-05 12:47

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

Adethewura 2013-10-05 12:51

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 #

Adethewura 2013-10-05 12:52

Re: [SOLVED] apt-get error
 
I've been removing some of the applications that are no more functional. Could that be the cause?

michaaa62 2013-10-05 14:43

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
dpkg -r --force-remove-reinstreq nitdroid-kernel-2.6.28-07


Adethewura 2013-10-05 16:03

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.

Adethewura 2013-10-05 16:10

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 #

michaaa62 2013-10-05 17:26

Re: [SOLVED] apt-get error
 
Aaargh, my apt-get capabilities seems to have left me...

Now try this please
Code:

sudo gainroot
mkdir /and
mount /home /and
mkdir -p /and/system/etc
mkdir -p /and/system/lib/modules/2.6.28.NIT.07
dpkg -r --force-remove-reinstreq nitdroid-kernel-2.6.28-07

Maeflight is not installable because of the server is not available
Quote:

~ $ wget http://www.visvanatha.ca/maeflight/.maeflight_tools
--19:00:42-- http://www.visvanatha.ca/maeflight/.maeflight_tools
=> `.maeflight_tools'
Auflösen des Hostnamen »www.visvanatha.ca«.... 69.196.160.254
Verbindungsaufbau zu www.visvanatha.ca|69.196.160.254|:80... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 404 Not Found
19:00:43 FEHLER 404: Not Found.

~ $
Better install all the packages, that apt-get is complaining after that autoremove.
NEVER use autoremove, if you do not know what removal is connected to which formerly installed package!

Adethewura 2013-10-05 17:42

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