![]() |
Re: Easy Debian Fremantle Beta Testing
Just a request, not a demand:
If you create images based on mine, could you please NOT put "sulu" in the file name? I've had some requests for help with "my" images, but since I usually don't try other images I don't really know what's going on there. If YOU create an image, then it is YOU who deserves the credit (and needs to take the blame ;) ). So people should first turn to you if they need help. I'll happily help out if I can, but I don't like to stand in the first line in these cases. Thanks! |
Re: Easy Debian Fremantle Beta Testing
I certainly don't think I contributed enough to call it mine, but it is fine by me to rename it. I haven't seen any posts about problems or questions about the image. I can only assume it is working without issues then...
Will remove the mediafire link this weekend so there is only one 'official' link to the file from qole. |
Re: Easy Debian Fremantle Beta Testing
What is the passwords for user and root in debian_jessie2sulu_armhf.img?
|
Re: Easy Debian Fremantle Beta Testing
Quote:
|
Re: Easy Debian Fremantle Beta Testing
Quote:
|
Re: Easy Debian Fremantle Beta Testing
As far as I know I haven't changed any passwords - because I didn't need them. I used debian chroot for root access (no pw needed) and also user can be accessed without pw.
Can't test right now due to a recent re-install. |
Re: Easy Debian Fremantle Beta Testing
It happens when I use terminal from lxde session. When debian chroot are used password not needed, it is true.
P.S. Ok,user just not setup. Password must be set with Code:
$ sudo passwd user Code:
$ sudo visudo |
Re: Easy Debian Fremantle Beta Testing
Hello,
First of all I would like to say thanks for the images and the effort put in this. I have a little problem coming from my side and I would need a little bit of help. I already used Easy Debian on my previous N900 without any real issue, but today I tried to set it up on my second N900 on which I have made some significant changes. So I will detail here the changes I made on my second N900 (and are related somehow to Easy Debian) and the error message I get when I try to launch an image. First the error is : Code:
~ $ debbie The changes I've made to the second N900 (basically I wanted for the root password to be required for becoming root) : Code:
/etc/sudoers.d/01sudo Code:
Defaults env_keep+=GTK_MODULES Code:
Defaults env_keep+=GTK_MODULES How can I correct this without giving away the security put in place (root password required to become root)? Should I put something else in /etc/sudoers.d/chroot.sudoers? |
Re: Easy Debian Fremantle Beta Testing
Quote:
Everything works fine except Easy Debian. Not sure if it is a "su problem", the "Exec format error" part of the error seems to point to a kernel incompatibility. Haven't had a lot of time to investigate the problem and interested in a solution as well. |
Re: Easy Debian Fremantle Beta Testing
Are your N900s running kernel power? The armhf images need it.
|
Re: Easy Debian Fremantle Beta Testing
Quote:
Last time I used the backup N900 I checked the application manager and I only had the option to un-install kernel power so it appeared to be installed. Didn't check the kernel version then. Maybe I need to do a re-install. apt-get install --reinstall -y kernel-power kernel-power-flasher Will give it a try tomorrow. |
Re: Easy Debian Fremantle Beta Testing
Quote:
Will look into this next days as I don't have time right now. We will see if it works after installing kernel power. |
Re: Easy Debian Fremantle Beta Testing
Quote:
|
Re: Easy Debian Fremantle Beta Testing
Just had time to try this, and I also confirm that once kernel power installed the armhf image works.
Thanks. |
Re: Easy Debian Fremantle Beta Testing
Hey,
I seem to have some trouble to upgrade debian_jessie2sulu_armhf image. At first when I did a "apt-get update && apt-get upgrade" I had an error of this kind (translating to English, so the error message could be different but the idea is the same) : Code:
dpkg : unrecoverable fatal error, abandon Code:
mv /var/lib/dpkg/statoverride /var/lib/dpkg/statoverride.bak Code:
WARNING: this version of the GNU libc requires kernel version 2.6.32 or later. Please upgrade your kernel before installing glibc. Has anyone any idea? |
Re: Easy Debian Fremantle Beta Testing
Quote:
For now I suggest to ignore the update and put the package on hold (I probably should have done that in the image..). Changes are mentioned below - not sure if the updates are really needed. https://launchpad.net/debian/+source...2.19-18+deb8u6 |
Re: Easy Debian Fremantle Beta Testing
What a coincidence!
Just this week I tried to create a first Stretch image, and took the chance to also build some new glibc packages for Jessie. [1] As for Stretch, I have bad news. Stretch comes with glibc 2.24 and some essential software in Stretch makes it mandatory to ship at least 2.23. I managed to build 2.23 for kernel 2.6.28, but actually running that build on the Maemo kernel immediately causes a segfault. So unless someone (certainly not me) plans to either bring a more recent kernel to Maemo (at least 2.6.32, preferably 3.2 or newer), or restores glibc's ability to run on kernel 2.6.28 just for us, Jessie will be the last Easy Debian release ever. [1] http://www38.zippyshare.com/v/TToYMdN7/file.html |
Re: Easy Debian Fremantle Beta Testing
Quote:
And when I want to install vim I get : Code:
vim : Depends: vim-runtime (= 2:7.4.488-7) but it is not going to be installed Quote:
Quote:
|
Re: Easy Debian Fremantle Beta Testing
Quote:
Code:
dpkg -l | grep libc That's why I upload update archives from time to time. These archives include the full set of patched glibc packages so you can manually install (dpkg -i) them. Quote:
Quote:
I think in the grand scheme of things we just have to realize that the N900 is a legacy device now, not because it is slow but because its software is basically unmaintainable, and we're hitting increasingly harder walls as time goes on. The only thing I can offer now is to try to build Jessie backports on demand for software that is available in Stretch. |
Re: Easy Debian Fremantle Beta Testing
Quote:
Code:
ii glibc-doc 2.19-18+deb8u4 all GNU C Library: Documentation Quote:
Code:
dpkg: error processing archive /var/cache/apt/archives/libc6_2.19-18+deb8u6_armhf.deb (--unpack) : |
Re: Easy Debian Fremantle Beta Testing
I see you have mixed glibc packages (notice the deb8u4/deb8u6 in your output!).
Where are the deb8u6 packages from? If they are from the official Debian repo then I'd be puzzled that your ED works at all. Quote:
The easiest way would be to unpack the archive to an empty directory and then run dpkg -i *.deb in that directory. It will install some packages you don't need but that's only some MB. Maybe afterwards you'll have to run apt-get -f install again. |
Re: Easy Debian Fremantle Beta Testing
Quote:
I try to always use the official repos and add another repo only if really needed. After getting in the chroot I did an apt-get update && apt-get upgrade which got me in this state (I always try to get the system up to date before installing additional packages). Quote:
Thanks. |
Re: Easy Debian Fremantle Beta Testing
Quote:
In Easy Debian Jessie (and only here) please avoid any packages from the Debian repo that are build from the glibc source package! [1] In principle the same is true for pulseaudio, but installing that from Debian will only result in broken sound in the chroot, not in a completely broken chroot. [1] https://packages.debian.org/source/jessie/glibc |
Re: Easy Debian Fremantle Beta Testing
So, I did a dpkg -i *.deb and some packages installed without any issue but the result was :
Code:
dpkg: dependency problems prevent configuration of libc6-dev:armhf: Code:
FATAL: kernel too old My first usage of Easy Debian is for web browsing, as some websites don't work at all with Maemo's browser, so I decided to install midori and surf. Those installed without any issue and they are technically working, but frankly it is not the user experience I expect on a mobile device. All in all, thank you for keeping this alive as much as you can. |
Re: Easy Debian Fremantle Beta Testing
Quote:
I already did an echo "libc6 hold" | dpkg --set-selections and echo "libc6-dev hold" | dpkg --set-selections in my current Easy Debian image but that doesn't seem to be enough then. What is the best approach to put everything from this list that shouldn't be updated on-hold? |
Re: Easy Debian Fremantle Beta Testing
I'm trying to add printer via cups web interface, but no local printers are listed...
lsusb output from maemo: Bus 001 Device 042: ID 03f0:0604 Hewlett-Packard DeskJet 840c Bus 001 Device 001: ID 1d6b:0002 lsusb from debian chroot: libudev: udev_has_devtmpfs: name_to_handle_at on /dev: Function not implemented I could not find any useful info on google and I really don't want to cram up my rootfs with cups (>60MB!) Ideas? |
Re: Easy Debian Fremantle Beta Testing
Quote:
glibc-doc glibc-source libc-bin libc-dev-bin libc6 libc6-dbg libc6-dev libc6-pic libpulse0 linux-libc-dev locales-all pulseaudio xkb-data |
Re: Easy Debian Fremantle Beta Testing
Anybody have patched glibc for latest Ubuntu? I would like to try kwin with xwayland on sailfish but ancient kernel stops me.
|
Re: Easy Debian Fremantle Beta Testing
Quote:
Code:
--- debian/debhelper.in/libc.preinst.orig 2017-10-08 11:32:18.123876676 +0200 Oh, I'm doing the build on a Raspberry3, and it took close to 6 hours, so it's nice getting it right the first time. |
Re: Easy Debian Fremantle Beta Testing
Quote:
It only works up to glibc 2.22 and Xenial already comes with 2.23. If someone has a working solution I'd be interested too, because then also Debian Stretch would become an option again. @klausade: Indeed you're right. Sorry for the inconvenience! I neglected to document these steps because dpkg-source didn't record them. Nice to see, someone is actually checking what I've been doing! I'll update the instructions. |
Re: Easy Debian Fremantle Beta Testing
It was half year ago :)
I was able to compile 2.23 and I use it with ubuntu 17.04 on 3.0 kernel. I only changed MIN_KERNEL_SUPPORTED in debian/sysdeps/linux.mk |
Re: Easy Debian Fremantle Beta Testing
fyi:
I just built Netsurf 3.7 for Easy Debian Jessie/armhf and it seems to work fine. So I uploaded an archive of the Debian packages. [1] As always, please feel free to host and share this archive as it will undoubtedly vanish at some point. Code:
$ md5sum netsurf_3.7_ed_sulu.tar Code:
ERROR: Insufficient privilege to mount the device with given options [1] http://www86.zippyshare.com/v/0wxbdbue/file.html [2] https://github.com/mhogomchungu/zulu.../open_volume.c |
Re: Easy Debian Fremantle Beta Testing
Just some quick tip (and it's probably not even new in this thread - in fact I'm pretty sure it's at least mentioned somewhere in the early 100 pages):
I just installed Marble in ED and stumbled upon the problem of not being able to create waypoints for routing, because that requires a right-click, which doesn't work for KDE applications via ED's default way of tap&hold. So I installed xdotool and added these five lines to my .config/openbox/lxde-rc.xml: Code:
$ diff lxde-rc.xml.orig lxde-rc.xml It should work in pretty much any application. At least it does in Marble, Netsurf and Pcmanfm (although in the latter two also tap&hold works). For reasons I don't really care to dig into, it doesn't work in Lxterm. |
Re: Easy Debian Fremantle Beta Testing
Just a quick reminder, which are the packages that one should definitely not update in the ED chroot?
|
Re: Easy Debian Fremantle Beta Testing
Quote:
(btw: This is also the showstopper that prevented me from updating ED to Stretch. glibc has seen a major rewrite between the versions in Jessie and Stretch, and I've never figured out if or how support for kernel 2.6.28 can be patched in again.) The pulseaudio packages [3], while not being critical for the system to run, need to be rebuilt to use the protocol version of Maemo's old pulseaudio version. [2] Otherwise you'll have no sound in ED. [1] https://packages.debian.org/source/jessie/glibc [2] http://talk.maemo.org/showpost.php?p...postcount=3138 [3] https://packages.debian.org/source/jessie/pulseaudio |
Re: Easy Debian Fremantle Beta Testing
About two weeks ago I found out, that there is a new version 7 of the Midori webbrowser, which has even made it into Debian testing.
Since then I've been trying to backport it to Jessie for Easy Debian, and I finally made it, but it turned out to require quite some backporting. This means that it's not quite as straight-forward as just installing a .deb package and be done with it. So I recommend you to read this post carefully before installing Midori. For those of you who still want to get started right way, here's an archive that includes the minimal set of packages required: https://www12.zippyshare.com/v/1MX3Eec9/file.html Code:
$ md5sum midori_install.tar Code:
# find . The sulu subdirectory contains packages that I backported from stretch and stretch-backports, which also only depend on packages in jessie or jessie-backports. For clarity, the names of the subdirectories are the names of the respective debian source packages. The install_midori.sh script installs the dependencies from jessie and jessie-backports and then installs the packages in this archive: Code:
# cat install_midori.sh HOWEVER, you might already have other packages installed, that depend on packages which are also built from the same source packages I backported. This will create a conflict because my packages, originating from stretch and stretch-backports, have higher version numbers than the ones from jessie on your system. This situation might also occur later, if you install further packages from Debian, so after installing this midori backport you should be very attentive when installing ANY new packages, because you'll technically be running a release mix. Therefore, rather than executing this script blindly, I recommend you to use it as an instruction manual, and are especially careful when running the last dpkg line. For example, you might encounter the following situation, when trying to install nautilus: Code:
# apt-get install -s nautilus In case you need additional packages (and in case you want to build packages based on mine) you'll find ALL the packages I backported (and needed for my backports) in this archive: https://www69.zippyshare.com/v/ZSC2PFBQ/file.html Code:
$ md5sum midori_build.tar Code:
# find . As you can see, in in the gtk+3.0 subdirectory there is libgail-3-0_3.22.11-1_armhf.deb, which you would need in the afore-mentioned nautilus example. In case you want to reproduce my backport, here are some hints: dependency tree: Code:
+midori 7 (sid) + "clean" backport * "dirty" backport (see remarks) _ not backported, just installed from Debian remarks: cmake: testsuite disabled Code:
diff debian/rules.orig debian/rules disable compression because it is not defined in dh10 (jessie-backports) disable version check and hard-code version because for some reason $version is empty under dh10 (chicken-and-egg problem, rebuilding dh12 with dh12 works without hacks) Code:
diff /lib/Debian/Debhelper/Dh_Lib.pm.built_with_dh9 /lib/Debian/Debhelper/Dh_Lib.pm taken straight from stretch because backport to jessie as root fails due to #770193 [1] and backporting as regular user fails due to some other error I don't remember fortunately dependencioes check out pygobject: ignore testsuite Code:
diff debian/rules.orig debian/rules backport of newer versions fails due to newer gcc required, which I haven't been able to backport in other words: The webkit version this midori build is based on is outdated. DON'T USE THIS BROWSER FOR SECURITY-CRITICAL TASKS! [2] known problems: 1. Midori only starts within Easy Debian's LXDE desktop, but not directly in Maemo via debbie. This is the gdb output, I don't know what to make of it: Code:
gdb) run 3. Because Midori is now based on Gtk+3, Easy Debian's default right-click method of "tap&hold" doesn't work here. You'll have to resort to something like the modifier solution I posted earlier. [3] btw: Since it was clear pretty soon, that this backport wouldn't be a piece of cake, I also tried to backport Midori 6 instead of Midori 7. Version 6 however, wasn't any easier to backport, so I returned to version 7. Because Midori is also available as a snap package, I also tried to backport the snapd package from Debian stretch, to enable Easy Debian to handle hopefully arbitrary snap packages. I succeeded in doing so, and first tests of it under a jessie chroot on my Cubieboard 2 running stretch looked promising, but it didn't actually work on the N900. I'm not sure, but I believe this is due to Maemo's kernel being too old for apparmor, which is required by snap. And as always: Please mirror these archives! [1] https://bugs.debian.org/cgi-bin/bugr...cgi?bug=770193 [2] https://blogs.gnome.org/mcatanzaro/2...urity-updates/ [3] http://talk.maemo.org/showthread.php...&page=328#3273 |
Re: Easy Debian Fremantle Beta Testing
fyi:
Since Jessie is archived now, you'll have to adapt your sources.list in case you want to install additional software in Easy Debian: Code:
# cat /etc/apt/sources.list Code:
# cat /etc/apt/apt.conf |
Re: Easy Debian Fremantle Beta Testing
1 Attachment(s)
Here's a build of netsurf 3.9 based on a backport of openssl 1.1 (from buster), that should support TLS 1.3 (see screenshot*):
https://transfer.sh/PEg06/netsurf-3....ed_sulu.tar.gz ** Code:
$ md5sum netsurf-3.9_openssl-1.1.1c_ed_sulu.tar.gz netsurf uses curl as a backend, and you need your netsurf and curl to use the same openssl version. So I had to backport curl as well, which was a bit tricky, because autoconf had introduced a new option called "runstatedir" in the meantime. I neeed to patch that option out of the source package. As a consequence the archive linked above contains these packages: Code:
libcurl4_7.64.0-4_armhf.deb But the truth is, I don't know what will actually happen. This libcurl4 package has the potential to break ANY other program that uses curl.***** For completeness, here's another archive that includes all the packages I backported during this build: https://transfer.sh/tGxRo/netsurf-3....ackages.tar.gz Code:
$ md5sum netsurf-3.9_openssl-1.1.1c_ed_sulu_all_packages.tar.gz Code:
$ ls -1 * *) Whoever decided to make Ctrl + Shift + P the screenshot hotkey deserves to be tarred and feathered! How am I supposed to hit those three keys without breaking my fingers? ;) **) Since zippyshare has blocked users from some parts of the world (including Germany), I needed to find another file host. transfer.sh looks kind of nice, but they seem to delete files after 14 days if I got that correctly. ***) Strictly spoken, you don't need netsurf_3.9-1_all.deb at all. ****) In parts, they ship the same files. *****) Which you might not even be aware of, because it's happening in the background.****** ******) These stars are getting out of hand. :eek: |
Re: Easy Debian Fremantle Beta Testing
Can we get this fast tracked to extras-testing?
(edit)Just noticed is for easy-debian... I will have to try to rehabilitate my old Debian install as the repos for it have been gone for a long time. maybe we should look to host at *.maemo.org like the other repos. |
Re: Easy Debian Fremantle Beta Testing
Quote:
Easy Debian is in the Extras repo [1], you can find Jessie/armhf images at qole.org [2] and kernel-power (which you'll need for armhf) is also available in Extras. [1] http://repository.maemo.org/ [2] http://qole.org/files/ |
All times are GMT. The time now is 16:44. |
vBulletin® Version 3.8.8