maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition! (https://talk.maemo.org/showthread.php?t=24272)

thorbo 2008-10-30 18:00

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I got the same issues, but just have not had time to write up on it yet... so it seems to be reproducible. I guess I feel less an idiot, but sad that it didn't work for you, either.

qole 2008-10-30 20:23

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by ArchiMark (Post 237965)
qole,

Followed your instructions, but now when I do 'apt-get upgrade from Debian chroot terminal window, I get the following:

Code:

#apt-get upgrade
E: Unable to write to /var/cache/apt
E: The package lists or status file could not be parsed or opened.

Also, when I do:

Code:

#apt-get update
E: Archive directory /var/cache/apt/archives/partial is missing.

Any suggestions????


Thanks!


I'm so sorry!! I forgot about that "partial" subdirectory. You have to make that one too.


So the first line of my example should read:
Code:

mkdir -p /media/mmc1/debian-apt-archives/partial
I've fixed the original instructions, too. Thanks for catching that.

ArchiMark 2008-10-30 22:16

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 237999)
I'm so sorry!! I forgot about that "partial" subdirectory. You have to make that one too.


So the first line of my example should read:
Code:

mkdir -p /media/mmc1/debian-apt-archives/partial
I've fixed the original instructions, too. Thanks for catching that.

Thanks again for your help, qole!

However, just followed your corrected instructions and while it went OK, now when I do 'apt-get upgrade' I get in chroot terminal I get:

Code:

#apt-get upgrade
E: Unable to write to /var/cache/apt
E: The package lists or status file could not be found or opened.

and when I try:
Code:

#apt-get update
E: Archive directory /var/cache/apt/archives/partial is missing

Any suggestions?

Are you sure that corrections you made are correct? For example, I noticed that you changed from 'debian-apt-get-archives' to debian-apt-archives'....

Thanks!

:confused:

qole 2008-10-30 22:36

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by ArchiMark (Post 238041)
Are you sure that corrections you made are correct? For example, I noticed that you changed from 'debian-apt-get-archives' to debian-apt-archives'....

Sounds like you just put the "partial" directory into the wrong parent directory.

I'm fairly sure that I never had "debian-apt-get-archvies", but if that's the directory name you used, then you need to put the "partial" directory into that directory instead...

Code:

mkdir -p /media/mmc1/debian-apt-get-archives/partial
Here's the updated original post for anyone who wants to do this.

ArchiMark 2008-10-30 22:57

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 238044)
Sounds like you just put the "partial" directory into the wrong parent directory.

I'm fairly sure that I never had "debian-apt-get-archvies", but if that's the directory name you used, then you need to put the "partial" directory into that directory instead...

Code:

mkdir -p /media/mmc1/debian-apt-get-archives/partial
Here's the updated original post for anyone who wants to do this.

Thanks, qole, just tried this one more time per above, but now I get error message from the mount command line....

Code:

#mount -o bind /media/mmc1/debian-apt-get-archives /debian/var/cache
mount: mount point /debian/var/cache does not exist

Appreciate some more help....

:)

qole 2008-10-30 23:04

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by ArchiMark (Post 238047)
Thanks, qole, just tried this one more time per above, but now I get error message from the mount command line....

Code:

#mount -o bind /media/mmc1/debian-apt-get-archives /debian/var/cache
mount: mount point /debian/var/cache does not exist

Appreciate some more help....

:)


Hi ArchiMark,

Make sure you are doing that mount command as root in maemo, not in Debian.

However, if you already did the mount command and you haven't rebooted, you can probably just create the partial directory and try apt-get upgrade again.

ArchiMark 2008-10-30 23:56

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 238048)
Hi ArchiMark,

Make sure you are doing that mount command as root in maemo, not in Debian.

However, if you already did the mount command and you haven't rebooted, you can probably just create the partial directory and try apt-get upgrade again.

Thanks again, qole, however, for some reason, it's still not working....

:confused:

Is there a way I can start fresh?

Thanks!

qole 2008-10-31 00:13

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
1. reboot.
2. follow my original post's instructions.

qole 2008-10-31 04:23

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Here's my progress replacing the Hildon desktop with the Debian chroot desktop.

I've written a little script that shuts down the Hildon desktop and then runs the LXDE desktop from the chroot. "Logging out" of LXDE returns you to the OS2008 desktop.

I'm using a tiny command-line menu program, called "9menu," to create an OS2008 program launcher on the LXDE desktop. You can click on items in the little menu and it will start Hildon apps.

This screenshot shows Maemo Mapper, launched from the little 9menu, running on the LXDE desktop. (I also took the screenshot using mh-shot-tool, my favorite Hildon screenshot tool)

http://farm4.static.flickr.com/3230/...d2d01eca_o.png

...and now you all know where I live :)

vabgeo 2008-10-31 04:43

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 236884)
To get the best speed in OpenOffice, make sure you have virtual memory set to 128 MB (in Settings / Control Panel / Memory).

Will setting a larger swap file say 256MB or 512MB in OS2008 be able to speed up stuff?
I know there are commands to make swap file mkswap and swapon, can we resize to make the OS2008 swap larger?

fatalsaint 2008-10-31 14:22

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Pretty cool Qole! Keep it up!

lm2 2008-10-31 19:00

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Sorry to barge in on what sounds like a cool discussion (but one that's way over my head).

I'm trying to download some large flv files from sites like youtube and while there is enough space on the target mmc card, I'm getting a "not enough space in /tmp..." message. I've searched, but can't come up with much I could understand. Any tips, or is this a pipe dream? Thanks!

qole 2008-10-31 19:11

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by lm2 (Post 238242)
Sorry to barge in on what sounds like a cool discussion (but one that's way over my head).

I'm trying to download some large flv files from sites like youtube and while there is enough space on the target mmc card, I'm getting a "not enough space in /tmp..." message. I've searched, but can't come up with much I could understand. Any tips, or is this a pipe dream? Thanks!

I have no idea what software you're using to download these flv files. I assume you're using Easy Debian apps to do it, but which one(s)?

A great maemo app for downloading and watching YouTube videos is mYTube.

migs 2008-10-31 19:30

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I have an N800 with Debian installed when ever I use IceWeasel or even Kazehakase, the browser will crash frequently on certain websites.. Is there something I'm doing wrong is this normal behavior?

lm2 2008-11-01 02:41

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 238245)
I have no idea what software you're using to download these flv files. I assume you're using Easy Debian apps to do it, but which one(s)?

A great maemo app for downloading and watching YouTube videos is mYTube.

Sorry. I'm using the firefox add on Download Helper. It can be used to dl embedded flvs on all sorts of sites.

qole 2008-11-01 04:31

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
You can try editing your /home/user/.chroot file (install leafpad, open a terminal, and type "leafpad .chroot") then remove the # and change "#TMPSIZE=6M" to something much bigger, like "TMPSIZE=20M" (you have to look at the size of a downloaded flv file on your desktop to know what size you need).

In order for your new TMPSIZE to take effect, you need to make sure all Debian apps are closed, and then use the "Close Debian" icon on your menu. When you start Iceweasel again, it will use the new /tmp size. Also, see if there's anywhere in settings you can change the temp directory of that plugin to something other than /tmp.

A huge /tmp directory on the tablet isn't a good idea in general, so if you can find a way to change the temp dir in your plugin, that would be the best solution.

samhogue 2008-11-01 13:31

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Qole,
Real interested to try the scripts to shut down Hildon and use 9menu. Can you access the Hildon file manager with 9menu? I want to access my Samba shares in LXDE without installing all the Samba stuff. What's the speed boost from shutting down Hildon?

qole 2008-11-01 18:21

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I'm trying to package it all up for a new version...

XTC 2008-11-02 19:17

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Qole, Fanoush - I think I need a bit of Your help.
I'm trying to achieve two things.

Stage 1
n810's HW keyboard composed for polish language in UKEYBOAR style to have some consistency between maemo and Easy-Debian.

For that I need 'Chr' button to be additional modifier for polish symbols
ie. key "s" should do s,S(with Shift key),"(with Fn key),ś(sacute - with Chr key),Ś(Sacute - with both Chr and Shift keys).
Right now I've got problem with Chr key since it starts something like context menu and I can't find this behaviour via xmodmap.

Stage 2
To get full Polish keyboard for USB keyboards.
ie. key "s" should do s,S(with Shift key),ś(sacute - with Alt_R key),Ś(Sacute - with both Alt_R and Shift keys). I know that on maemo there's no difference with left or right alt key.
Right now I'm just after my first unsuccessful attempts but I've decided that stage 1 is more important.

arekkusu 2008-11-02 21:24

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Hi ! I am new here... recently bought an used n800
I really should have bought one before ! I was hesitating to buy one for quite some time actually !

I have been playing a bit with it for 2 days now and it's nice little device. Not hugely powerful but nice.

I tested your easy debian... it really is great. Installation was a breeze and it seem to work nicely.
Of course that's keeping in mind the n800 doesn't have huge horsepower... but still I was surprised at that I could open document in openoffice without too much hassle. It's slow of course but not as deadly slow as I would have expected.

So I really have to say you did a really nice job porting debian to the n800 ! I am really grateful :)

migs 2008-11-04 17:29

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quick questions for Qole, does the speed/quality of the SD card where Debian is installed affect the overall performance?

If I start over with a SDHC class 6 card would I notice a difference? Would it prevent the browser crashes?

qole 2008-11-04 17:38

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I have noticed that the SD card can make a huge difference to stability; some cards just aren't very reliable, and they can corrupt my data badly.

I can't comment on speed since I only use SDHC Class 6 cards and so I have nothing to compare with.

migs 2008-11-04 17:49

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 239320)
I have noticed that the SD card can make a huge difference to stability; some cards just aren't very reliable, and they can corrupt my data badly.

I can't comment on speed since I only use SDHC Class 6 cards and so I have nothing to compare with.

So then, I have been using slower cards. Maybe this has been the issue with the crashing problems I have noticed. I will start over with a SDHC card I i will report back..thanks Qole

migs 2008-11-05 01:35

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Well I'm here to report that there is a huge difference with Debian performance using SDHC class 6 cards compared to slower SD cards. Anyone having issues should try changing to a faster card it sure solved alot of my crashing issues..Maybe Qole you can update your first post with a recommendation to try faster cards?

ArchiMark 2008-11-05 04:38

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 238060)
1. reboot.
2. follow my original post's instructions.

That did it, qole....not to mention that I realized in looking at original post again that the mount command continued on and needed to scroll horizontally to see rest of line.... oops.....:rolleyes:

Thanks again for your help!

Xathros 2008-11-05 15:13

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
qole-

I'm a long time lurker, first time poster here. Just had to chime in and say thanks for all of your hard work on this! I'm also following the "LXDE as desktop replacement" thread with great interest.

-X

XTC 2008-11-08 22:00

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I admit I'm not really familiar to chrooting issues so I've got maybe trivial question that's not so for me.
I try to build Elmer (written mostly in Fortran) FEM software within easy-debian and I realised that I dont know where to install compiled application - what location should I point installer to install this within debian image?
df -h in debian shows only "/sys" and in /debian - looks like internal rootfs structure.

rabilon 2008-11-09 16:49

Cannot Create the Debian Image File
 
When installing the "easy debian without the apps", do you need to install first the "debian chroot app" from the repository first? I tried the "without apps" without installing "debian chroot app" and I could not get the image file to work - it always ended with an error concerning permissions (could not set the permissions to 661). Also, the files in the "insmod" commands in /lib/modules could not be found (they aren't there). So I'm more than a bit confused. I previously tried installing the whole turbo thing from the repository and creating all the apps (onto my internal memory mmc2) but this did not work (nothing would ever run). I have my N810 set up to boot from an 8GB SDHC external card. I would like to get at least the minimal system working so I could try to install R.

Rick B.

qole 2008-11-09 17:56

Re: Cannot Create the Debian Image File
 
Quote:

Originally Posted by rabilon (Post 240621)
When installing the "easy debian without the apps", do you need to install first the "debian chroot app" from the repository first?

Absolutely. The "Easy Debian without the Apps" is a procedure for replacing the automatically downloaded image file (which is packed to the rafters with pre-installed apps) with a much emptier version with no apps installed. But you need to install the easy-deb-chroot app first in order to get the infrastructure in place.

Quote:

Originally Posted by rabilon (Post 240621)
I would like to get at least the minimal system working so I could try to install R.

I wonder what this mysterious "R." is, that someone would go to such lengths to install it? It must be something really big, otherwise you would have installed it in the standard Easy Debian.

debernardis 2008-11-09 19:53

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
R-base is 155 megs from the repos - then there are several additional pkgs you could need. But when I was messing with puppy linux, the core needed some 22 megs only, I seem to remind.

Aisu 2008-11-09 22:38

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Qole, this is getting cooler by the day! I was able to install some KDE4 stuff through the Debian repos :D

http://74.170.137.105/maemo/dolphin.png

Could you rig an edition of Easy Debian with KDE4 as the default desktop? This is so awesome...

rabilon 2008-11-09 23:18

Installing image file
 
Does one need to be root when installing the image file? The owner for my tarred image file is user.root and I cannot change it (even as root). Will this matter?

Rick B.

qole 2008-11-09 23:22

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
It shouldn't matter who the owner of the tarred image file is, since you need to untar this file to use it. You may need to become root in order to delete it, however.

EDIT: R-Base... Oh. Math stuff. :p

qole 2008-11-10 02:45

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Aisu: I have fatalsaint's repo set up as one of the default repositories. You're probably installing his version of KDE4. But yes, it is very cool. Not exactly fast, but very cool.

fatalsaint 2008-11-10 02:58

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Might wanna change that Qole. Stskeeps took all my packages EXCEPT the KDE4 ones from my repo and put them on packages.trspe.org. Though I think his are in different categories.

The problem with mine is that when you have KDE4 packages in your repo.. and try to install KDE3.. you'll have problems because it wants the KDE3 versions of Kate, Klipper, etc.. and apt will want to install the "latest" Kate.. which is 4. something.

qole 2008-11-10 03:57

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
fatalsaint: that's too bad. Make sure you've updated your repository thread to reflect the fact that your repository is now mostly empty.

fatalsaint 2008-11-10 04:08

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
No it's not empty.. all my packages are still on it as well as on Stskeeps... Stskeeps' has his packages though that are not on mine.

The only problem with mine is that if you want KDE3.. it won't work until you remove my repo.

rabilon 2008-11-10 04:19

Cannot Create the Debian Image File
 
OK, I installed the easy deb chroot from the repository. I have 1.9 GB of space on /media/mmc2. When I untar the empty image file, I always get "Cannot change ownership to uid 661, gid 661: Operation not permitted". tar: Error exit delayed from previous errors.

Any ideas on what is going wrong and how to fix it?

Rick B.

qole 2008-11-10 04:33

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
rabilon: that is a harmless error, it just means that the FAT filesystem of your SD card has no permissions, so the permissions are lost as you untar the image. You should only get that error once, as you untar the image file.

rabilon 2008-11-10 04:44

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I was able to mount the image so you must be right that the error can be ignored. Will I have to issue those four commands every time?

I'm downloading the basic debian chroot fstar bz2 file. When it's downloaded, I will execute:

tar xjvf basic-debian-chroot-fstar.bz2 -C /debian

If that works, then I guess I should be able to use apt-get install to install R-base.

Rick B.


All times are GMT. The time now is 12:18.

vBulletin® Version 3.8.8