maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Newbie (https://talk.maemo.org/forumdisplay.php?f=26)
-   -   Not Enough Memory in Target Location Error (https://talk.maemo.org/showthread.php?t=20276)

millsb 2008-05-20 19:59

Not Enough Memory in Target Location Error
 
OK, Complete Noob here. Just got my N800. First thing I did was to flash to OS2008. All OK there, seems to run fine.

Now I'm trying to install apps - any apps. Going through the Application Manager, it updated the catalog ok, but no matter what I try to download and install (either directly from the Web or by downloading the .deb file first and double tapping it) I get the same message - "Not enough memory in target location". Even though there IS lots of memory available.

Any suggestions. I've reflashed OS2008 again, just to try that, as many on the forums have suggested it. Same thing.

I would appreciate a "user level" solution as I've no familiarity with Linux.

Thanks

ace 2008-05-20 20:53

Re: Not Enough Memory in Target Location Error
 
Run "df"' in a terminal and look at the line that ends with "/".

asyik 2009-06-01 09:07

Re: Not Enough Memory in Target Location Error
 
i have the same issue here

this is what i get when i run df in terminal

Code:

Filesystem 1k-blocks Used Available Use% Mounted on

/dev/mmcblk0p2 4096 2264 1832 55% /mnt/initfs

none 512 92 420 18% /mnt/initfs/tmp

/dev/mmcblk0p2 10828048 3096312 7181696 30% /

none 512 92 420 18% /tmp

none 1024 68 956 7% /dev

tmpfs 1024 0 1024 0% /dev/shm

/dev/mmcblk0p1 5110000 4376600 33400 86% /media/mmc2

/dev/mmcblk1p1 1981128 776868 1204260 39% /media/mmc1


my system:
n800 os2008 boot to internal sd

internal card: sd 16gb
10gb for diablo
RX-34_DIABLO_5.2008.43-7_PR_COMBINED_MR0_ARM.bin
5gb for FAT
remaining gb for swap

external card: sd 2 gb

muffledcry 2009-06-08 16:49

Re: Not Enough Memory in Target Location Error
 
I have the same issue at times. Anyone know what to do to handle it?

nhanquy 2009-06-08 18:08

Re: Not Enough Memory in Target Location Error
 
I would suggest run in a xterm:
fsck -fy /dev/mmcblk0p2
after booting the device from internal flash.

To run this you have to be root and having e2fsprogs (search how to become root and e2fsprogs)

andmart 2009-06-08 23:19

Re: Not Enough Memory in Target Location Error
 
i 'm with same problem. it' s possible any step missing when cloning system in preparement for boot from sd card? any reference to j
2ffs?

amorek13 2009-12-11 02:19

Re: Not Enough Memory in Target Location Error
 
1 Attachment(s)
i got this error when i try to install costume operator app

this what i get after running df any ideas?

johnnyclem 2010-01-12 02:09

Re: Not Enough Memory in Target Location Error
 
looks like this thread may be a bit old, but i was having the same error message on my n900, and a simple restart fixed the problem

Phlook 2010-01-12 17:52

Re: Not Enough Memory in Target Location Error
 
I am having the same problem trying to install the Maemo 5 Update (1.2009.44-1.002)... Tried to reboot but no dice...

Here's the df command:
http://farm3.static.flickr.com/2711/...af673f6d_o.png

Last line said
/dev/mmcblk1p1 15549952 4757920 10792032 31% media/mmc1

What should i try next?

Rob1n 2010-01-12 18:07

Re: Not Enough Memory in Target Location Error
 
Have you disabled the extras-devel and extras-testing repositories? Otherwise you'll have to start uninstalling some of the non-optified packages.

chiques 2010-01-12 21:33

Re: Not Enough Memory in Target Location Error
 
I just saw the automatic update prompt came up today (01-12-2010) then tried to update Maemo 5 and received the same error. I tried to reboot as 'johnnyclem' recommended ant worked for me.

I rebooted by logging in as 'sudo gainroot' and typing 'reboot' in the xterm shell.

juvirtan 2010-01-14 09:49

Re: Not Enough Memory in Target Location Error
 
Disabling extras-devel repository did the trick for me.

mece 2010-01-14 09:52

Re: Not Enough Memory in Target Location Error
 
this thread is about N800 and it's from 2008.
try here: http://talk.maemo.org/showthread.php?p=470148

First post has some methods.

corelle23 2010-01-18 18:38

Re: Not Enough Memory in Target Location Error
 
Guys even though i have 810 and now the 900 im fairly new to this all I was able to do the first update after tring time and time again now its not leting do the second update is there a step by step to get around the memory thing?

MohammadAG 2010-01-18 18:51

Re: Not Enough Memory in Target Location Error
 
Not enough memory to install 1.1? Fix inside!
Posted about it when PR 1.1 went live.

edcarsky 2010-02-16 16:59

Re: Not Enough Memory in Target Location Error
 
Quote:

Originally Posted by ace (Post 183829)
Run "df"' in a terminal and look at the line that ends with "/".

Hi, i need also Help,,, can you please let me know what is the next step to remove these "/"?

i cant install any program at all,,, it say NOT ENOUGH MEMORY IN TARGET LOCATION,,, i would highly appreciate if you could help me at your earliest convenience.

please you may email me at edcarsky@yahoo.com.

need it badly, thanks.

tavellan 2010-02-16 21:54

Re: Not Enough Memory in Target Location Error
 
Quote:

Originally Posted by juvirtan (Post 470143)
Disabling extras-devel repository did the trick for me.

New N900 firmware 3.2010.02-8 released today and I got same warning as usual. I have seen this also with N800. Disabling some of the repositories like extras-devel does the trick but I don't really know why.

mikeos 2010-02-16 22:46

Re: Not Enough Memory in Target Location Error
 
Quote:

Originally Posted by tavellan (Post 530739)
New N900 firmware 3.2010.02-8 released today and I got same warning as usual. I have seen this also with N800. Disabling some of the repositories like extras-devel does the trick but I don't really know why.

I suppose that by disabling a repo you recover some extra NAND memory free space. Index of extras devel is pretty big because of number of packages it provides.

ZePPerT 2010-02-16 22:48

Re: Not Enough Memory in Target Location Error
 
Thank you very much sir.
I had no clue as there was plenty of space on the device.
disabled some catalogs and wooptiedoo it works.
I'd almost say its a windows machine, not maemo http://talk.maemo.org/images/smilies/tongue.gif

preethugcc 2010-02-16 22:55

Re: Not Enough Memory in Target Location Error
 
pls am suffering from same problem..pls help me

Palleman 2010-02-17 01:14

Re: Not Enough Memory in Target Location Error
 
Heh... I tried to solve the problem by moving the LOCALEs out of the root file system. So, I looked in the /opt/maemo/usr/share/locale and found it was already there. So I deleted the /usr/share/locale and symlinked it to the /opt one. That gave me room enough to install the update today.

And it made my phone look very silly after the reboot. The /opt LOCALE only contained hildon-application-manager locales, and no others. So, most text fields said things like "Wdgt_Sys_24Hr_Clock" and such, instead of "23:37" and similar more meaningful statements. And in addition to look funny, it made the GUI broke at some places, moving buttons out of reach.

So, I had the problem that I wanted to bring back locales from hundreds of packages, but I didn't want to reinstall all my packages.So, I started with:

Code:

dpkg --get-selections | grep install | grep -v deinstall | awk '{print "apt-get --force-yes -yy -d install --reinstall" $1}' > /home/user/pkg.list
to get a list of all installed packages, including the apt-get command to download the .deb files. I ran the file, and all the .deb's were put in the apt-cache (which I long ago moved away from the root file system).

Next, I did:

Code:

/home/user/.apt-cache/archives # for i in *.deb ; do dpkg --fsys-tarfile /home/user/.apt-cache/archives/${i} > /home/user/MyDocs/pkgfiles/${i}.tar ; done
to get the actual files (tar:ed) out of the .deb files. After that I did:

Code:

/home/user/MyDocs/pkgfiles # for i in *.tar ; do tar xvf ${i} ; done
to unpack them from the tar files.

And then I just copied /home/user/MyDocs/pkgfiles/usr/share/locale/* to /usr/share/locale/

I could have done it a bit more neat by only extracting the locale files and so on, but it was quick and dirty and it did the job. Now my phone speaks English again.

And, listan people... I DID ALL THIS ON A CELL PHONE! It wasn't some UNIX server. It wasn't even a Linux laptop. IT WAS A CELL PHONE!

God, I love this machine.

/P

Tiptronic 2010-02-17 01:19

Re: Not Enough Memory in Target Location Error
 
Moving nokia maps and microb helped clear up lots of space. (bottom http://wiki.maemo.org/Free_up_rootfs_space)

turn off catalogs in app manager too

geneven 2010-02-17 01:30

Re: Not Enough Memory in Target Location Error
 
What solved this for me was flashing twice -- eMMC and the other way, both described on the Wiki. Then starting over, though I did restore programs from backup.

Jeromeo 2010-02-17 03:51

Re: Not Enough Memory in Target Location Error
 
I keep getting the same memory error...

I find it simply ridiculous that an application (regardless of which repository it comes from) can tie up so much of the system that nothing else can work properly. A program that destroys system resources, ties up the processor, prevents new programs from being installed, and slows things down without telling the user it is doing so is a virus! Anyone who writes a program that is not optified and uses up root resources is an idiot. Any company that releases a device which boasts 32gigs of memory or 1gig of application memory but limits root to 100 usable megs is lying to its consumers. The fact that an enduser cannot increase available root memory is just lame. I have nearly 60 apps on my device; how do I sit down and figure out which ones are installed on the root file structure or not? How do I find out what is optified and what isn't? How do I look up which program came from which repository? Is there an app out there that fixes this ******ed problem? Why did all of these apps fit before I updated my firmware, but not after? Shouldn't a new firmware update fix problems like this? I paid nearly $600 for this device-this is financially unsettling.
I hate to say this (because I hate iApple) but an iPhone can install any app without causing any problems and not only costs less than half of the N900, but has teams of people working to fix problems in its operating system rather than leaving things up to developing communities who might choose to not optify anything.

Jeromeo 2010-02-17 05:46

Re: Not Enough Memory in Target Location Error
 
I'm not complaining; I think Maemo is the most amazing advancement for mobile phones in years. I want to see errors eliminated, problems fixed, and sales explode. I also want to be able to turn to a coworker or friend and show them something on my phone without being embarassed by bugs and hangups. Everyone I know that has an iPhone can do nearly anything they want without glitches constantly. I want to do the same with my amazing N900. That's all...

sharqawi 2010-02-17 07:49

Re: Not Enough Memory in Target Location Error
 
yupppyyyy ....... disabled some catalogs and it worked out just fine ........... im downloading it right now

late666 2010-02-17 13:38

Re: Not Enough Memory in Target Location Error
 
Still says I haven't got enough space, yet when I check conky I see 33mb available...

barc0de 2010-02-17 13:45

Re: Not Enough Memory in Target Location Error
 
to be clear, you need >=42MB of memory. I had the same issue until I emptied enough space.

From what I hear the next update will require about 42MB as well, which is currently an issue for me considering I m about 7 MB short, despite having removed almost all my applications etc.

geneven 2010-02-17 13:51

Re: Not Enough Memory in Target Location Error
 
Candidate for most hilarious two messages in a row sent by the same user:

1. "Anyone who writes a program that is not optified and uses up root resources is an idiot. Any company that releases a device which boasts 32gigs of memory or 1gig of application memory but limits root to 100 usable megs is lying to its consumers."

2. "I'm not complaining".


ROF,L as they say...

geneven 2010-02-17 13:55

Re: Not Enough Memory in Target Location Error
 
barcOde: I think you should reflash and reflash the eMMS. That will get rid of junk you didn't realize was there. Then watch carefully how stuff you install affects the amount of rootfs you have left. I'm not saying to be paranoid, but just watch to make sure you stay ok. You need enough memory to install these things.

thanvar 2010-02-17 20:39

Re: Not Enough Memory in Target Location Error
 
It seems like i'm the village (forum) idiot here...
I have the same problem ("not enough memory in target location"), disabled the extras-devel and extras-testing catalogues but I still get the same problem... I also switched it off and on a couple of times but nothing... I read some of the posts here in this thread and i can't understand anything that is too "techy" for me. :)
I know very little of this gem of a mobile phone and can't seem to be able enough to update it. Can anyone help me and give me a simplistic step by step?
thanks in advance guys!

drukane 2010-02-17 20:46

Re: Not Enough Memory in Target Location Error
 
install rootsh if not already done

open xterminal
type root then paste this in

apt-get clean
apt-get update
apt-get upgrade

hit return and away it goes

this will perform the update and bypass that nasty memory error i got this a user called chuchu and its works

thanvar 2010-02-17 20:52

Re: Not Enough Memory in Target Location Error
 
first of all, thanx a lot for helping me mate!
Where do i find "rootsh"?
searched for it in the application manager and didn't came up...
(i told you that i'm not good at all at this! lol :confused:)

drukane 2010-02-17 20:56

Re: Not Enough Memory in Target Location Error
 
Quote:

Originally Posted by thanvar (Post 532986)
first of all, thanx a lot for helping me mate!
Where do i find "rootsh"?
searched for it in the application manager and didn't came up...
(i told you that i'm not good at all at this! lol :confused:)

you search for it under downloads on this site then install to your device

drukane 2010-02-17 20:59

Re: Not Enough Memory in Target Location Error
 
Quote:

Originally Posted by drukane (Post 532992)
you search for it under downloads on this site then install to your device


after the update reboot your device, make sure you backup your data first just to be cautious

thanvar 2010-02-17 20:59

Re: Not Enough Memory in Target Location Error
 
thanks again drukane! you rock!;)
I'll post again later if I fail in updating maemo...
Hope I don't!

thanvar 2010-02-17 21:47

Re: Not Enough Memory in Target Location Error
 
Quote:

Originally Posted by drukane (Post 532976)
install rootsh if not already done

open xterminal
type root then paste this in

apt-get clean
apt-get update
apt-get upgrade

hit return and away it goes

this will perform the update and bypass that nasty memory error i got this a user called chuchu and its works

after i install rootsh, open xterminal, and type root, i can't paste all these:
apt-get clean
apt-get update
apt-get upgrade
But one each time because whenever i press "enter" it starts doing stuff...
Anyway when i wrote all of them once the update didn't happen, and when i tried to update again it said the same: "not enough memory...etc" ...:(

Rob1n 2010-02-17 21:50

Re: Not Enough Memory in Target Location Error
 
Quote:

Originally Posted by thanvar (Post 533088)
after i install rootsh, open xterminal, and type root, i can't paste all these:
apt-get clean
apt-get update
apt-get upgrade
But one each time because whenever i press "enter" it starts doing stuff...
Anyway when i wrote all of them once the update didn't happen, and when i tried to update again it said the same: "not enough memory...etc" ...:(

Did it give any errors when you ran them? And did you close App Manager down before running them?

thanvar 2010-02-17 21:54

Re: Not Enough Memory in Target Location Error
 
I didn't notice anything while it was running, and yes I stupidly left the app manager open... So should I do it again?
And if yes, after i type root do i press enter/space before typing the rest?

edit: I press enter, obviously....

Rob1n 2010-02-17 22:05

Re: Not Enough Memory in Target Location Error
 
Quote:

Originally Posted by thanvar (Post 533105)
I didn't notice anything while it was running, and yes I stupidly left the app manager open... So should I do it again?
And if yes, after i type root do i press enter/space before typing the rest?

edit: I press enter, obviously....

Yes, go ahead and run it again. The "update" step should download the repository catalogues, and the "upgrade" step should offer a list of packages to install/update.


All times are GMT. The time now is 16:58.

vBulletin® Version 3.8.8