maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Easy Debian Fremantle Beta Testing (https://talk.maemo.org/showthread.php?t=34550)

t-b 2015-08-09 09:10

Re: Easy Debian Fremantle Beta Testing
 
BTW. I think only readline and openssl are mandatory to install telegram cli.
So it seems like I 'only' need to solve the libssl-dev dependency errors.

marmistrz 2015-08-09 11:22

Re: Easy Debian Fremantle Beta Testing
 
Post the output of

Code:

apt-cache policy libc6-dev
cat /etc/apt/sources.list
cat /etc/apt/sources.list.d/*.list


insanelysexy 2015-08-09 12:14

Re: Easy Debian Fremantle Beta Testing
 
I tried to re install easy deb today and a few problem i ran into :

tried with wheezy3 image and jessie0.

wheezy3 ran into "dpkg aborted, unkown group "crontab" in statoverride " ... on the same lines error.

dpkg-statoverride --remove /usr/bin/crontab didn work !!
groupadd crontab did !!



And , jessie0 image refused to connect to internet. replace its /etc/resolv.conf with maemo /etc/resolv.conf

Sorry if repeated,
It may help someone ....

t-b 2015-08-09 12:35

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by marmistrz (Post 1479072)
Post the output of
Code:

apt-cache policy libc6-dev
cat /etc/apt/sources.list
cat /etc/apt/sources.list.d/*.list


user@Nokia-N900:~$ apt-cache policy libc6-dev
libc6-dev:
Installed: (none)
Candidate: 2.13-38+deb7u8
Version table:
2.13-38+deb7u8 0
500 http://security.debian.org/ wheezy/updates/main armel Packages
2.13-38+deb7u6 0
500 http://ftp.de.debian.org/debian/ wheezy/main armel Packages
user@Nokia-N900:~$ cat /etc/apt/sources.list
deb http://ftp.de.debian.org/debian wheezy main
deb http://security.debian.org/ wheezy/updates main

user@Nokia-N900:~$ cat /etc/apt/sources.list.d/*.list
cat: /etc/apt/sources.list.d/*.list: No such file or directory

marmistrz 2015-08-09 13:03

Re: Easy Debian Fremantle Beta Testing
 
sudo apt-get install libc6-dev

t-b 2015-08-09 13:13

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by marmistrz (Post 1479079)
sudo apt-get install libc6-dev

The following packages have unmet dependencies : libc6-dev: Depends: libc6 (= 2.13-38+deb7u8) but 2.13-38+deb7u6 is to be installed.
E: Unable to correct problems, you have held broken packages.

insanelysexy 2015-08-09 13:25

Re: Easy Debian Fremantle Beta Testing
 
I have a new issue.

My /home/user and MyDocs both are mounted on partitions inmemory card. Now no app is starting as user, everything requires root. I have already chowned and chgred the,m to user and users.

Sohil876 2015-08-09 15:42

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by insanelysexy (Post 1479081)
I have a new issue.

My /home/user and MyDocs both are mounted on partitions inmemory card. Now no app is starting as user, everything requires root. I have already chowned and chgred the,m to user and users.

If you dont want maemos mydocs and home/user to be mounted in easy debian edit sbin/qchroot and comment out their mount lines, see here :- https://wiki.maemo.org/Easy_Debian , read the faq section there.

marmistrz 2015-08-10 16:59

Re: Easy Debian Fremantle Beta Testing
 
@sulu: is there any way to get a right click in your image

Quote:

Originally Posted by t-b (Post 1479080)
The following packages have unmet dependencies : libc6-dev: Depends: libc6 (= 2.13-38+deb7u8) but 2.13-38+deb7u6 is to be installed.
E: Unable to correct problems, you have held broken packages.

and apt-cache policy libc6?

t-b 2015-08-10 17:40

Re: Easy Debian Fremantle Beta Testing
 
Here it is:

root@Nokia-N900:/# apt-cache policy libc6
libc6:
Installed: 2.13-38+deb7u6
Candidate: 2.13-38+deb7u8
Version table:
2.13-38+deb7u8 0
500 http://security.debian.org/ wheezy/updates/main armel Packages
*** 2.13-38+deb7u6 0
500 http://ftp.de.debian.org/debian/ wheezy/main armel Packages
100 /var/lib/dpkg/status

marmistrz 2015-08-10 18:48

Re: Easy Debian Fremantle Beta Testing
 
sudo apt-get install -f?

t-b 2015-08-10 19:41

Re: Easy Debian Fremantle Beta Testing
 
Already tried that and didn't work - I also got the messages you see below installing programs that did work (e.g. emacs, iceweasel, dillo)


root@Nokia-N900:/# apt-get install -f

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "en_US",
LC_MONETARY = "nl_NL",
LC_ADDRESS = "nl_NL",
LC_TELEPHONE = "nl_NL",
LC_MESSAGES = "en_US",
LC_NAME = "nl_NL",
LC_MEASUREMENT = "nl_NL",
LC_IDENTIFICATION = "nl_NL",
LC_NUMERIC = "nl_NL",
LC_PAPER = "nl_NL",
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up dbus (1.6.8-1+deb7u6) ...
adduser: The user `messagebus' already exists. Exiting.
dpkg: error processing dbus (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of dbus-x11:
dbus-x11 depends on dbus; however:
Package dbus is not configured yet.

dpkg: error processing dbus-x11 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
dbus
dbus-x11
E: Sub-process /usr/bin/dpkg returned an error code (1)

marmistrz 2015-08-10 19:46

Re: Easy Debian Fremantle Beta Testing
 
The problem lies in the unconfigured packages. They won't let you install anything else. Try manually removing the offending packages.

t-b 2015-08-10 21:04

Re: Easy Debian Fremantle Beta Testing
 
I removed dbus-x11
I needed to remove pulseaudio to be able to remove dbus - after that the N900 went black and rebooted
Then tried apt-get install -f , apt-get suggested to autoremove a bunch of packages so I executed apt-get autoremove and tried apt-get install -f again, but it failed (without the error messages regarding unconfigured packages)
Then I went for aptitude install libc6-dev and ignored the initial suggested option, I accepted the second option and initially it seemed to be trying to install the correct libc6-dev version.

Now it is complaining about libsysd-login0 contains empty filename though. This package was one of the packages that was autoremoved.
I think all my actions made a mess of the dependencies. Probably better to start from scratch and try again. I think I will use the image for Jessie then.

Thanks for your help marmistrz

marmistrz 2015-09-12 07:58

Re: Easy Debian Fremantle Beta Testing
 
@sulu: is there any chance for fixing the bugs regarding Qt5 and Gtk3 apps when run via debbie? +adding the fix from #3192?

n900_man 2015-10-01 07:08

Re: Easy Debian Fremantle Beta Testing
 
I got 404 ip not found errors, when trying to install some packages.
I did apt-get update, but it doesnt helps. I have image with openoffice and so on.
Maybe I should change sources list to working repos?

marmistrz 2015-10-06 18:47

Re: Easy Debian Fremantle Beta Testing
 
sulu: can I get a matching libc6-dev anywhere? Any package depending on it is uninstallable, since the one in the repos is newer.

t-b 2015-10-08 18:36

Re: Easy Debian Fremantle Beta Testing
 
Unfortunately sulu doesn't seem to be around anymore, would be nice if he could still check in from time to time to answer some of the questions or give some support.. Easy Debian is so close..
Hope he is doing fine with whatever he does nowadays though - priorities can change.

sulu 2015-10-16 16:53

Re: Easy Debian Fremantle Beta Testing
 
Hi,

marmistrz sent me a PM about a week ago and here I am. So I'm still alive. ;)

My job profile has changed a bit and I'm a lot less "on the road" now than I used to be.
Therefore I haven't used the "mobile computer" aspect of my N900 (including ED) for like half a year.

Let me try to answer some questions (regardless of my quite outdated knowledge):

Quote:

Originally Posted by marmistrz (Post 1479154)
@sulu: is there any way to get a right click in your image

Sort of. But it only works with Gtk GUIs afair and it might not even work with Gtk 3.
Afaik it never worked with Qt. I adressed this here [1] in step 7.

Quote:

Originally Posted by marmistrz (Post 1482240)
@sulu: is there any chance for fixing the bugs regarding Qt5 and Gtk3 apps when run via debbie? +adding the fix from #3192?

I honestly have no idea because I have virtually no knowledge about GUI technologies.
Just a guess: Did you check if applying that change to Trolltech.conf inside the image also works on programs started via debbie?

Quote:

Originally Posted by marmistrz (Post 1484540)
sulu: can I get a matching libc6-dev anywhere? Any package depending on it is uninstallable, since the one in the repos is newer.

There you go! [2] This archive contains all the armhf binary packages built from the current glibc source package.

btw:
I think it's only fair to speak out what's obvious anyway. You shouldn't count on me anymore to keep Easy Debian alive!
I'll happily continue to take over any package building jobs, like this one for glibc, but creating sophisticated images or dealing with problems of software I don't even use never was one of my favourites.
So if you want newer images (and I think it's time for one), please find someone else to build them! I believe all the info needed to do that should be in [1] and if you think something is missing I will help you to complete the instructions.


[1] http://talk.maemo.org/showpost.php?p...postcount=3138
[2] http://www86.zippyshare.com/v/2jcPthZm/file.html

t-b 2015-10-17 08:01

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by sulu (Post 1485745)
So I'm still alive. ;)

thx for stopping by Sulu and willing to assist the wizards around here.

@marmistrz hope to see you share some of your experiences. I had issues installing the jessie armhf image.
and this:

Quote:

Originally Posted by sulu (Post 1455334)
You'll need kernel power for my armhf images.

is probably the reason why...

The armel wheezy image is working fine for now though. I use it primarily for the telegram webapp and some browsing with iceweasel.

t-b 2015-10-19 18:44

Re: Easy Debian Fremantle Beta Testing
 
Ha - I had no idea that "kernel power" was just a package / patched kernel that you could install with apt-get... link :o
Just installed in on my spare N900 and no problem to use the Jessie image. Will re-read the specific part about Jessie in this thread - later this week or next week - and do some testing with it.

sicelo 2015-12-07 14:44

Re: Easy Debian Fremantle Beta Testing
 
Hi
This thread has become 323-pages strong, so please forgive me for asking here.

What is the latest, most up-to-date available image for Easy Debian? I seem to think latest should be based on Wheezy?

I will appreciate any help.

sulu 2015-12-07 14:52

Re: Easy Debian Fremantle Beta Testing
 
@sicelo:
Unless I missed something in my absence, this is still the current status:
http://talk.maemo.org/showpost.php?p...postcount=3178

t-b 2015-12-07 21:26

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by sicelo (Post 1490774)
What is the latest

We're lucky to have one Jessie image from Sulu that has some issues but at least works.
Jessie is the latest and will be supported until May 2018.
You can also pick one of the Wheezy images, but they will be supported until February 2016 and then become LTS until May 2018. Not sure if ARM support will be included in LTS support.

sicelo 2015-12-07 22:00

Re: Easy Debian Fremantle Beta Testing
 
Thanks. Downloading. Quick question, do we still have the 'gconf2' limitation of the earlier images?

sulu 2015-12-08 08:17

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by t-b (Post 1490829)
You can also pick one of the Wheezy images, but they will be supported until February 2016 and then become LTS until May 2018. Not sure if ARM support will be included in LTS support.

I wouldn't count on ARM LTS support.

Quote:

Originally Posted by sicelo (Post 1490834)
Quick question, do we still have the 'gconf2' limitation of the earlier images?

Please elaborate! What is this gconf2 limitation about?

sicelo 2015-12-08 10:40

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by sulu (Post 1490857)
Please elaborate! What is this gconf2 limitation about?

Maybe I had misunderstoood, but I recall we were not supposed to upgrade gconf2 in the chroot. Don't remember full details though.

sulu 2015-12-08 11:25

Re: Easy Debian Fremantle Beta Testing
 
Ah, ok. That wasn't really a problem. I don't remember the details, because I joined the N900 and Easy Debian comunity quite late, but it was essentially just a matter of doing a proper dist-upgrade to Squeeze.
It's not an issue with any of my images.

In the Wheezy images you can run upgrades as you would on a regular Debian system.

In the Jessie images it's gotten more complicated again, because I had to patch and recompile glibc to work with Maemo's old kernel. And it has to be done for every new glibc update.
In this post [1] I linked an archive with the latest glibc packages, but I just realized the link is down again. I'll re-upload it some time later this week.


[1] http://talk.maemo.org/showpost.php?p...postcount=3219

t-b 2016-08-12 21:59

Re: Easy Debian Fremantle Beta Testing
 
Had an unrecoverable crash on my phone a few months ago and did not back up my data so lost everything including my Easy Debian install. Had to read through the thread again to search for the method to install the latest version. For later reference and to help my fellow noobs ;) an overview of the steps I've used to install Easy Debian - Jessie and install Iceweasel.

Prerequisites : Up-to-date CSSU install (including extra-testing repo)

1. There is currently only 1 image from Sulu that will receive updates from Debian - so download that one. It will be supported until march 2018
http://qole.org/files/debian_jessie1sulu_armhf.img.lzma unpack it to the root of your SD card. After unpacking you should have a file called debian_jessie1sulu_armhf.img. Be sure to have at least 2.5 GB free space on the card.

2. The Jessie image used is a hard float image and power kernel needs to be installed to be able to use it.
Install "Linux kernel for power user" with the app manager.

3. Install "easy-deb-chroot" with the app manager (I also installed easy-chroot, not sure if that is needed)

4. Reboot the N900

5. Click on the Debian Chroot icon on the desktop - terminal opens with some text and it should end with "Everything set up, running chroot...."
In this environment you can install software and update the debian install.

6. The image has nano (text editor) available - nano is user friendly. You need it to change the default repository:
Type in the terminal (in the chroot environment!)
nano /etc/apt/resource.list
use one of the current active Debian Jessie mirrors.
this is mine:


###### Debian Main Repos
deb http://ftp.nl.debian.org/debian/ jessie main contrib

save the file and exit nano

7. type in terminal (in the Debian chroot environment!) apt-get update

8. type in terminal (in the Debian chroot environment!) apt-get upgrade

I got an error message after doing this:
syntax error: unknown group 'crontab' in statoverride file

I solved this with 'groupadd crontab' and after that running 'apt-get upgrade' again.

This will take a while and after it is completed the process ends with the following message:

errors were encountered while processing:
dbus
dbus-x11
E: Sub-process /usr/bindpkg returned an error code (1)

9. type in terminal (in the Debian chroot environment!) apt-get install iceweasel

10. Now hopefully everything is ready to start browsing with an up-to-date version of iceweasel for Jessie :)
You can use the icon that is already created on the desktop - it takes a while to start and at first it looks likes it crashes.

It is slow, but it works. Hope this is helpful for anyone. There is a ton of additional info in this thread and on the wiki*

* http://wiki.maemo.org/Easy_Debian

sulu 2016-08-13 14:10

Re: Easy Debian Fremantle Beta Testing
 
@t-b:
In case you haven't personalized your updated image with too much sensible data, it might be a good idea to upload it somewhere.

You may also want to check if glibc is outdated and vulnerable [1], as I had to patch it and therefore excluded it from further updates by Debian.
If you need an update please let me know!


[1] http://metadata.ftp-master.debian.or...b8u4_changelog

t-b 2016-08-13 18:56

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by sulu (Post 1512459)
@t-b:
In case you haven't personalized your updated image with too much sensible data, it might be a good idea to upload it somewhere.

You may also want to check if glibc is outdated and vulnerable [1], as I had to patch it and therefore excluded it from further updates by Debian.
If you need an update please let me know!


[1] http://metadata.ftp-master.debian.or...b8u4_changelog

Sure thx. No problem to share the image, there is no personal(ized) data in the image. I only installed it and did some browsing to check if it worked.
Current version of glibc included in the image is 2.19-15 so it would be nice to have a more recent version. If you can provide a patched version, I can share the image with updated glibc library after that.

fw190 2016-08-13 19:17

Re: Easy Debian Fremantle Beta Testing
 
Maybe we could ask quole to update the image on his server?

sulu 2016-08-14 16:27

Re: Easy Debian Fremantle Beta Testing
 
glibc_2.19-18+deb8u4 (untested):
http://www59.zippyshare.com/v/eHVvG4rW/file.html

Code:

$ md5sum glibc_2.19-18+deb8u4_ed_sulu.tar.bz2
b4b0fc46e77f827cf613effe663e6fab  glibc_2.19-18+deb8u4_ed_sulu.tar.bz2


t-b 2016-08-14 19:11

Re: Easy Debian Fremantle Beta Testing
 
Thanks!

I installed the debs manually with 'dpkg -i' followed by 'apt-get install -f'
There were some messages and apt is mentioning that 10 packages are not upgraded. Not sure why though...

ldd --version does show the updated version now.

Is there a method to check that everything is installed correctly?

sulu 2016-08-14 19:34

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by t-b (Post 1512581)
There were some messages and apt is mentioning that 10 packages are not upgraded. Not sure why though...

Pulseaudio comes to mind (had to lower the protocol version, which needs a rebuild), xkb-data (to have the N900's keyboard working), lxsession (needed to delete the lxpolkit binary to get rid of a systemd warning).
It should all be documented in [1]. All affected packages should show up in the output of ...
Code:

dpkg --get-selections | grep hold
... or should depend on these packages.

Quote:

Originally Posted by t-b (Post 1512581)
Is there a method to check that everything is installed correctly?

Please define what you want to check!
If you're sure you installed my packages and ED still starts then you can assume it's installed correctly.
If you didn't install them correctly then you should still see the old version numbers. If I messed up the build, then ED shouldn't start at all.
At least that's all I ever checked.


[1] http://talk.maemo.org/showpost.php?p...postcount=3138

t-b 2016-08-14 19:56

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by sulu (Post 1512590)
Pulseaudio comes to mind (had to lower the protocol version, which needs a rebuild), xkb-data (to have the N900's keyboard working), lxsession (needed to delete the lxpolkit binary to get rid of a systemd warning).
It should all be documented in [1]. All affected packages should show up in the output of ...
Code:

dpkg --get-selections | grep hold
... or should depend on these packages.

libpulse0:armf
lxsession
ppulseaudio
xkb-data

Quote:

Originally Posted by sulu (Post 1512590)
Please define what you want to check!
If you're sure you installed my packages and ED still starts then you can assume it's installed correctly.
If you didn't install them correctly then you should still see the old version numbers. If I messed up the build, then ED shouldn't start at all.
At least that's all I ever checked.

[1] http://talk.maemo.org/showpost.php?p...postcount=3138

OK - Debian starts fine. Version number is adjusted so I guess the update went without issues :)
I will use one of my spare N900's to test my current 'vanilla' install and when that works fine I will share the image (might take a few days).

t-b 2016-08-15 20:22

Re: Easy Debian Fremantle Beta Testing
 
Updated Image debian_jessie2sulu_armhf.img with updated patched glibc library by Sulu can be found here


Changes compared to debian_jessie1sulu_armhf.img:

- Updated glibc
- latest updates Jessie included - August 14 2016
- Iceweaver browser installed
- Debian repository in /etc/apt/resource.list changed to
"deb http://ftp.nl.debian.org/debian/ jessie main contrib"

[edit] removed link now available @ http://qole.org/files

qole 2016-08-29 17:44

Re: Easy Debian Fremantle Beta Testing
 
Hi guys,

I'll get this new image by t-b added to qole.org as soon as I can (tonight, hopefully)

qole 2016-09-02 15:42

Re: Easy Debian Fremantle Beta Testing
 
Sorry it took so long.

I decided to lzma compress it like the other images on my site, and add an md5sum file.

Now available at https://qole.org/files

debian_jessie2sulu_armhf.img.lzma

badpixel 2016-09-13 20:14

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 1514119)
Sorry it took so long.

I decided to lzma compress it like the other images on my site, and add an md5sum file.

Now available at https://qole.org/files

debian_jessie2sulu_armhf.img.lzma

Is it Harmattan mostly compatible?


All times are GMT. The time now is 23:30.

vBulletin® Version 3.8.8