maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [Announce] CSSU devel, it may eat your brain (https://talk.maemo.org/showthread.php?t=84292)

awett 2017-10-17 22:58

Re: [Announce] CSSU devel, it may eat your brain
 
Apt-get update before sleeping ...every time a bad idea sorry

jonwil 2017-10-17 23:19

Re: [Announce] CSSU devel, it may eat your brain
 
Given how far its getting and where its failing, its likely to be something preventing hildon-home or hildon-desktop from starting properly. I dont know how to find out which package (probably one of the recent clones from Freemangordon)

You should never run apt-get upgrade or apt-get dist-upgrade on a N900 EVER. It can and will cause problems (as you have found)

awett 2017-10-17 23:23

Re: [Announce] CSSU devel, it may eat your brain
 
i know i was half the way asleep i ran apt-get install

KotCzarny 2017-10-18 04:44

Re: [Announce] CSSU devel, it may eat your brain
 
maybe cssu-devel should require a password? make it known one but specific enough, for example:
yes-i-know-what-im-doing-an-will-never-indiscriminately-install-packages-from-there

jonwil 2017-10-18 05:52

Re: [Announce] CSSU devel, it may eat your brain
 
FYI, do NOT install maemo-launcher from cssu-devel, when I did it prevented anything relying on it (e.g. hildon-home, hildon-desktop etc) from starting and I had to use RescueOS to restore stock maemo-launcher (there is no version of that package in cssu-testing or cssu-stable, its only in cssu-devel)

jonwil 2017-10-18 05:58

Re: [Announce] CSSU devel, it may eat your brain
 
My clone of connui-cellular (specifically connui-statusbar-cellular) now works and is in cssu-devel.(it doesn't crash hildon-status-menu and it displays the correct icons as far as I can tell (I didn't test the "no sim" icon but I imagine it works)

jonwil 2017-10-18 11:31

Re: [Announce] CSSU devel, it may eat your brain
 
Do not use libplayback-1-0 package from cssu-devel, it makes media player crash.

jonwil 2017-10-19 00:56

Re: [Announce] CSSU devel, it may eat your brain
 
Freemangordon fixed libplayback and it works now (at least in so far as mediaplayer and notification daemon play audio correctly)

xes 2017-10-23 10:10

Re: [Announce] CSSU devel, it may eat your brain
 
Well, while i agree with the "devel" concept and related warnings....

When you discover that a package is bugged at the point that can break ANY device that installs it, you have two possibilities: fix or DELETE IT.

Leave it there to kill some other development device seems to be a complete non-sense.

http://maemo.merlin1991.at/cssu/comm...aemo-launcher/

wicket 2017-10-23 15:21

Re: [Announce] CSSU devel, it may eat your brain
 
Quote:

Originally Posted by jonwil (Post 1537148)
You should never run apt-get upgrade or apt-get dist-upgrade on a N900 EVER.

I don't agree with this. upgrade and dist-upgrade are part of the functionality of APT. As xes pointed out, if there are broken packages/dependencies, they should be fixed. If fixing them is considered to be out of scope for CSSU, please remove upgrade and dist-upgrade functionality from the CSSU maintained fork of APT.

sixwheeledbeast 2017-10-23 17:26

Re: [Announce] CSSU devel, it may eat your brain
 
Packages on Maemo have never been designed to be installed with apt.
Hildon application manager has built in features to limit any damage to the system which is why HAM is the only recommended way to install packages on Maemo.

CSSU-Devel is for devs to share built packages quickly and would be ideally be used on a testing device where apt can be used with caution.

wicket 2017-10-23 19:07

Re: [Announce] CSSU devel, it may eat your brain
 
Quote:

Originally Posted by sixwheeledbeast (Post 1537554)
Packages on Maemo have never been designed to be installed with apt.
Hildon application manager has built in features to limit any damage to the system which is why HAM is the only recommended way to install packages on Maemo.

Very true. Perhaps APT should be removed altogether then?

Quote:

Originally Posted by sixwheeledbeast (Post 1537554)
CSSU-Devel is for devs to share built packages quickly and would be ideally be used on a testing device where apt can be used with caution.

The point of APT that it is a package manager which handles dependencies automatically. When caution must be taken, we have dpkg to install packages manually.

APT exists in stable, testing and devel. It's one thing to expect developers to take caution but regular users expect APT to work as it is supposed to.

sixwheeledbeast 2017-10-23 20:04

Re: [Announce] CSSU devel, it may eat your brain
 
I agree it would be nice if apt worked like other distros but it has never been that way. I don't believe apt could be removed due to to HAM depending on it.

Interestingly apt in maemo is a modified version which hides packages with user/hidden category. From what I recall this was used by offscreen nokia apps in the non-free repo, way back in the day.

There is more to the package management in Maemo than dpkg and apt. HAM uses domains as an extra check on packages.

Take your example of apt in extras, using domains your apt package would actually be the latest version in the root filesystem repository (SSU) and should not be replaced by any "rogue" version uploaded to extras-devel or any other random repo with a greater package version.
Unless you installed this other version manually with apt breaking this "feature".

Really the "disclaimer" should be on rootsh or having root control of your system with R&D mode.
Do you want to be stopped from having root access to your device? Looking at the bigger picture removing that from extras would simply fix the issue if you think about it.

Brodyga 2017-10-27 20:59

Re: [Announce] CSSU devel, it may eat your brain
 
Do not use libbmeipc0 from CSSU-devel, it makes battery charging impossible.

shubell 2017-11-03 12:17

Re: [Announce] CSSU devel, it may eat your brain
 
i've got one maybe silly question. Are the packages nowdays compiled with thumb or not. Because i kinda don't want to upgrade some minor versions because they are misssing thumb.
example
hildon-application-manager (2.2.73-2+thumb0 => 2.2.75-2)

handaxe 2017-11-03 13:18

Re: [Announce] CSSU devel, it may eat your brain
 
I haven't seen thumb builds for a while, so I think not.

HA

Macros 2017-11-07 22:11

Re: [Announce] CSSU devel, it may eat your brain
 
Quote:

Originally Posted by Brodyga (Post 1537868)
Do not use libbmeipc0 from CSSU-devel, it makes battery charging impossible.

So ... lets say I read it, still didn't pay enough attention and the upgrade slipped trough today.
What can I do to revert so my battery charges again?

apt-cache policy only shows ibbmeipc0_1.0-3.

pali 2017-11-07 22:13

Re: [Announce] CSSU devel, it may eat your brain
 
ibbmeipc0 should not be in cssu-devel nor in any cssu flavor.

Macros 2017-11-07 22:32

Re: [Announce] CSSU devel, it may eat your brain
 
It was installed from here:
http://maemo.merlin1991.at/cssu/comm...ibb/libbmeipc/

So quick facts:
I did an "apt-get upgrade" glanced over the packages, everything seemed ok. Then I confirmed. Seconds later my battery shows "Not present or not calibrated" and the charging indicator LED does not light up when I connect the cable.

But maybe it does charge because bnf shows 100% charge and "Wall charger: present"
Yes, it seems its charging anyway.
But it dosn't seem to stop charging at 100%, also I would enjoy seeing my battery level without using the console. ;)

pali 2017-11-07 22:36

Re: [Announce] CSSU devel, it may eat your brain
 
that package should not be in cssu. it is part of the bme-replacement.

jonwil 2017-11-09 07:03

Re: [Announce] CSSU devel, it may eat your brain
 
You shouldn't be using apt-get upgrade or apt-get dist-upgrade on a N900 regardless.

Macros 2017-11-09 08:16

Re: [Announce] CSSU devel, it may eat your brain
 
@pali
Well you may be right, but quite obviously it currently is,
as the package I have linked resides right in the same repository, that is linked on the first page of this thread.

So symptoms:
-No charging indicator,
-battery always shows as empty or not calibrated
-when off and plugged in, charging indicator lights up for a few seconds, flashes green and goes off.
- (not entirely sure)

Workaround:
Control charge state with "bnf"
Remember to unplug before full charge.

Solution:
???

@jonwil:
I have heard this often, but how else should i upgrade all packages which aren't handled by the updater? For example certificate updates.
I usually glance over the packages and skip/hold ones which I am not sure off, or wait a few weeks. Also usually I can fix problems, but in this case I can't find an old version.

Brodyga 2017-11-09 16:54

Re: [Announce] CSSU devel, it may eat your brain
 
@Macros

apt-get install libbmeipc0=0.8.55+0m5

also do not install clockd and libtime0 bacause this broke time sync with operator

freemangordon 2017-11-09 16:58

Re: [Announce] CSSU devel, it may eat your brain
 
Quote:

Originally Posted by Brodyga (Post 1538340)
@Macros

also do not install clockd and libtime0 bacause this broke time sync with operator

hmm?

ten chars

pali 2017-12-01 21:33

Re: [Announce] CSSU devel, it may eat your brain
 
Quote:

Originally Posted by jonwil (Post 1537037)
profiled (looks like whats in Git isn't what's wanted for Maemo Fremantle or if it is I cant get it to upload properly)

It should work on Maemo Fremantle. If it does not build, then there is a build problem...

luf 2018-01-30 17:32

Re: [Announce] CSSU devel, it may eat your brain
 
I just uploaded new curl and libxml2 into cssu-devel (both 0cssu4). All of them include security fixes from wheezy (several CVEs each).
https://github.com/community-ssu/libxml2/commits/master
https://github.com/community-ssu/curl/commits/master

Please test it and report bugs.

luf 2018-01-30 19:24

Re: [Announce] CSSU devel, it may eat your brain
 
I just uploaded new bluez packages (fixed the remotely exploitable bug CVE-2017-1000250). I patched pure maemo version (4.60) and also the one from cssu-devel.

I'm not able to upload the bluez into cssu-devel now (no idea why) so here are links for it:

http://merlin1991.at/~luf/bluez/

http://merlin1991.at/~luf/bluez/blue...b1m5_armel.deb
http://merlin1991.at/~luf/bluez/blue...b1m5_armel.deb
http://merlin1991.at/~luf/bluez/blue...b1m5_armel.deb
http://merlin1991.at/~luf/bluez/blue...b1m5_armel.deb
http://merlin1991.at/~luf/bluez/libb...b1m5_armel.deb
http://merlin1991.at/~luf/bluez/libb...b1m5_armel.deb
http://merlin1991.at/~luf/bluez/libb...b1m5_armel.deb

http://merlin1991.at/~luf/bluez/blue...ssu2_armel.deb
http://merlin1991.at/~luf/bluez/blue...ssu2_armel.deb
http://merlin1991.at/~luf/bluez/blue...ssu2_armel.deb
http://merlin1991.at/~luf/bluez/blue...ssu2_armel.deb
http://merlin1991.at/~luf/bluez/libb...ssu2_armel.deb
http://merlin1991.at/~luf/bluez/libb...ssu2_armel.deb
http://merlin1991.at/~luf/bluez/libb...ssu2_armel.deb

Please test it and report bugs.

tvall 2018-01-31 20:05

Re: [Announce] CSSU devel, it may eat your brain
 
may be just not knowing what im doing. followed the instructions here years ago https://wiki.maemo.org/Bluetooth_PAN

with the updated bluez, pan tethering to my watch quit working. other than that, seems to be working fine. any tips?

edit: well i guess i am an idiot. the patched maemo version works fine. i initially grabbed the cssu-devel version. didnt bother to check what i was running initially.

luf 2018-01-31 22:57

Re: [Announce] CSSU devel, it may eat your brain
 
Quote:

Originally Posted by tvall (Post 1540735)
may be just not knowing what im doing. followed the instructions here years ago https://wiki.maemo.org/Bluetooth_PAN

with the updated bluez, pan tethering to my watch quit working. other than that, seems to be working fine. any tips?

edit: well i guess i am an idiot. the patched maemo version works fine. i initially grabbed the cssu-devel version. didnt bother to check what i was running initially.

You're right I forget to mention to check your version first and choose the correct version.

However the network part is working in 4.99 (just a little bit different way). If you want to test it you need to configure:
/etc/bluetooth/network.conf
#[General]
#Disable=Connection,Server
#DisableSecurity=true
#
#[NAP Role]
#Interface=nap1
#Script=
#
#[PANU Role]
#Interface=panu1
#Script=<path>
#
#[GN Role]
#Interface=gn1
#Script=<path>

Enable your role. Interface is the name of newly created bridge interface and Script is path to your script which can automagically setup the bridge (e.g. include you inet interface). You don't need iptables but you need bridge (KP 52 kernel).

Some info about it is in cssu irc logs (luf, kerio,Macer):
https://mg.pov.lt/mhttps://mg.pov.lt...11-11.log.html
http://logs.nslu2-linux.org/livelogs...o.20130714.txt
aemo-ssu-irclog/%23maemo-ssu.2012-11-11.log.html
http://logs.nslu2-linux.org/livelogs...o.20130714.txt

Unfortunately I was never able to write a wiki page about it :(

Maemish 2019-08-13 21:27

Re: [Announce] CSSU devel, it may eat your brain
 
I did it: apt-get upgrade. Eating my brains. Battery charging indicator not working, and appdownloader crashes before it really opens at all. Has anyone else had this problem with cssu appdownloader? Noticed that someone else had the battery problem and now I'm trying can it be calibrated. I installed offered libbmeipc0 and lets see if it helps on that. But that appdownloader crash worries a bit.


All times are GMT. The time now is 01:52.

vBulletin® Version 3.8.8