![]() |
Re: What packages are safe to remove (purge)?
I tried the locale-gen method above-thanks! I read some posts about optifying the locale-archive that seemd to imply it may cause some problems, so I shyed away from that.
Edit: just rebooted and lost all the proper text from all system buttons and widgets. In the Settings menu under regional settings, my location has changed and anytime I select and save my proper location, the device reboots and doesn't keep my location (shows Algeria, the first item in the list). No languages are shown at all. Fixed it by following this post (which basically just rebuilt my whole local-archive). http://talk.maemo.org/showthread.php?t=52443&page=4 Perhaps I was missing something from my locale.gen file that was required? I am using both en_US and en_CA, so I had this in my file: en_US.UTF-8 UTF-8 en_CA.UTF-8 UTF-8 However, on reboot all menus and system widgets have missing text, as described in this thread: http://talk.maemo.org/showthread.php?t=52443 (which is the thread that made me think purging locales wasn't as straight-forward as it was on the n810 :) ) Edit2: Added en_US ISO-8859-1 and en_CA ISO-8859-1 to my locale.gen file and tried locale-gen again. This time it worked great (menus and widgets fine), and my locale-archive is only 1.5mb instead of 22mb. Thanks! |
Re: What packages are safe to remove (purge)?
Quote:
Actually, even more important than getting rid of installed stuff is IMO getting rid of running stuff. My dream is to get to the point where all my running processes fit in memory and my swap is left unused. |
Re: What packages are safe to remove (purge)?
i had remove
|
Re: What packages are safe to remove (purge)?
Careful about removing /etc/rc?.d. I did apt-get upgrade last night and got an upgrade of hildon-desktop. The upgrade failed and I ended up having partially installed package. Too tired to investigate, I left it for the morning. To cut it short, the problem was that part of the post-inst process is updating the rc.d folders. Since I had them removed, this phase failed. I fixed it by recreating the folders (0 to 6 is enough, S is not used) and running apt-get upgrade again. I assume that fixing /usr/sbing/update-rc.d would have the same effect, but it is a bit late for me to try that now. Perhaps someone else can verify it works? The fix I had in mind was replacing exit 1 on line 141 with md "$etcd$1.d".
|
Re: What packages are safe to remove (purge)?
Thanks @pichlo,
I guess your hildon-desktop comes from CSSU, so CSSU team should fix that obsolete "feature". You can edit update-rc.d and change "notreally=0" to "noreally=1". This way it will effectively become a nop :) Would be nice to check what other packages are similarly broken! |
Re: What packages are safe to remove (purge)?
Quote:
Quote:
Done. I was sure someone smarter than me would come up with a better solution :) Quote:
BTW I also deleted the rc.d folder again after the update with no visible impact. [EDIT] Four months on, still no problems found.[/EDIT] |
Re: What packages are safe to remove (purge)?
|
Re: What packages are safe to remove (purge)?
Quote:
|
Re: What packages are safe to remove (purge)?
Quote:
/Estel |
Re: What packages are safe to remove (purge)?
Quote:
Just thought I'd mention that I finally took the plunge and removed modest-home-applet which "autoremoved" a bunch of other things. I was a bit uncertain about some of them, but I went what the heck, off with them. The one I resisted for longest was rtcom-accounts-voip-support but I removed that one as well and haven't regretted. 3 days on and one reboot and everything (that I use) still works. Other packages that went were:
I am sure there is more as I remove things from time to time but do not always keep the log. Perhaps I should get a full list of what is installed by default and compare it with my list :) |
Re: What packages are safe to remove (purge)?
Look ma, no tracker!
Code:
~# ps | grep tracker Question: has anyone managed/failed removing filemanager? it seems easy but don't apps use it in their file open dialogs? |
Re: What packages are safe to remove (purge)?
Quote:
I'll see if I can remove it and see what happens. AFAIK the file-open dialog is part of the hildon framework (but perhaps provided by the file manager, I don't know). Thanks for pushing this effort still further! |
Re: What packages are safe to remove (purge)?
Sorry if I confused the issue. I don't have a problem with file manager. I just want to get rid of it because it comes with 20 language packages and I can't get rid of them selectively ;)
I do have an issue with mplayer integration but that's off-topic in this thread. Stock media player launched automatically by tapping a movie file in file manager. With stock media player gone, nothing launches when I tap the file. I need to open it from mplayer. |
Re: What packages are safe to remove (purge)?
Quote:
http://talk.maemo.org/showthread.php?t=17757 |
Re: What packages are safe to remove (purge)?
Thanks. I was going to do a search (even though I wouldn't know the magic word was 'dbus' - I was going to go for 'integration' and/or 'association' as in that thread you've linked) as soon as I get home (at work now). I posted it at 00:48 and mentioned the missing integration just by the way, admitting it was off-topic ;)
|
Re: What packages are safe to remove (purge)?
What exactly do packages sysinfod and wappushd do?
Nothing depends on them, at least on my phone. Please note I ask 'exactly'. I can guess from their names what they might be doing. |
Re: What packages are safe to remove (purge)?
Quote:
Quote:
|
Re: What packages are safe to remove (purge)?
That sounds like I can live without wappushd. Well, I removed them both, leaving the other packages with sysninfo in the name untouched. Now, I am not sure if this is related or not, but I've lost Bluetooth. Reboot or even power off with battery out does not solve it. Which doesn't bother me that much except that FMTX went with it. Currently on the hunt for the cause and the cure.
|
Re: What packages are safe to remove (purge)?
Quote:
|
Re: What packages are safe to remove (purge)?
Quote:
There is bluetooth-sysinfo script in /etc/event.d that is triggered by bluetoothd and testserver. I removed testserver months ago and bluetoothd is running. I've tried following all scripts in event.d and init.d that look relevant to bluetooth and fmtx but I have to multitask with the job I actually get paid for so the progress is a bit slow. Edit: Reading the bluetooth-sysinfo script, it calls sysinfo-tool -g /certs/npc/esn/bt_id to get the BT address and then dumps it to /sys/devices/platform/hci_h4p/bdaddr (typing this by hand, no ssh at the moment). When I call sysinfo-tool -g /certs/npc/esn/bt_id in xterm I get, "The name com.nokia.SystemInfo was not provided by any .service files (2)". Edit2: /sys/devices/platform/hci_h4p/driver and /sys/bus/platform/drivers/hci_h4p circularly link to each other. As do other components under /sys/devices/platform and /sys/bus/platform/drivers. It it supposed to be like that? I wonder if that might be the effect of flashing. |
Re: What packages are safe to remove (purge)?
Update: reinstalling sysinfod put Bluetooth and FMTX back.
Upshot: sysinfod is NOT a safe package to remove. Although I wish it were. Having two instances running all the time is annoying. |
Re: What packages are safe to remove (purge)?
I made some testing about sysinfod.
First grab installation deb, backup it and unpack, e.g. Code:
apt-get install --reinstall sysinfod Unpack deb: Code:
ar x sysinfod_0~20100226.1\+0m5_armel.deb Code:
apt-get remove sysinfod Enable wifi: (use xterm on root) Code:
./sysinfod --system In another tab run (also root) Code:
wl1251-cal Then you can kill sysinfod (Ctrl+c) Finish with GUI to select access point. Enable bluetooth: Code:
./sysinfod --system Another tab or over ssh (root): Code:
/usr/bin/sysinfo-tool -g /certs/npc/esn/bt_id | sed 's/\(..\)/\1:/g;s/:$//' > /sys/devices/platform/hci_h4p/bdaddr Code:
dbus-send --system --type=method_call --dest=org.bluez `dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.ListAdapters | awk -F'"' '/at/ {print $2}' ` org.bluez.Adapter.SetProperty string:Powered variant:boolean:true Getting rid of sysinfod: For bluetooth, run once (when sysinfod is running): Quote:
And later (no need for sysinfod) Code:
cat bt_address > /sys/devices/platform/hci_h4p/bdaddr wl1251-cal do more, there are wiki page: http://wiki.maemo.org/Wl1251-cal |
Re: What packages are safe to remove (purge)?
Thanks for that, Aapo. It looks rather involved but I will try it one evening when I manage to stay awake while putting the kids to bed :)
Meanwhile, here is my full list of packages that I have removed from my phone. Please keep in mind that some of them might be useful for some people. For example MfE, AS and all those chat (Jabber etc - I only use Skype and even that only rarely so everything else had to go) and sharing (Facebook and friends - no one will ever force me to use that) plugins. And of course, some of them have been replaced with community alternatives (adobe-flash-player and kernel come to mind). You may notice that stock file manager went too. I replaced it with Hamster Filer (*the* file manager - that's how a file manager should look!). However I did not have much luck there because of the totally brain dead way the language dependencies are implemented. The main reason for wanting to get rid of File Manager was to get rid of its l10n packages, but - fancy that - they are used by hildon-status-bar-usb and ke-recv. D'oh! Without further ado... Code:
adobe-flashplayer |
Re: What packages are safe to remove (purge)?
Pichlo, what you use for imageviewer replacement? imageviewer misses so many features and nothing can be do. I have tried to use eog (eye of the gnome) and geeqie, but they would need more work to be handy on N900.
|
Re: What packages are safe to remove (purge)?
You're right, the imageviewer replacement is still a bit open. Currently I use quiver from diablo repos but it is far from perfect, and not only because of missing icons for some buttons.
I actually quite liked imageviewer but I had to remove it if I wanted to remove tracker. My ideal solution would be gpicview from Debian but my attempts to install it directly (read: out of Easy Debian) have thus far always resulted in a bricked device (through replacing libc6). |
Re: What packages are safe to remove (purge)?
Anybody know what maemo-installer-utils is for? Nothing (that I have) depends on it but the name looks a bit scary.
|
Re: What packages are safe to remove (purge)?
Quote:
http://wiki.maemo.org/Fremantle_clos...nstaller-utils |
Re: What packages are safe to remove (purge)?
Quote:
I pushed gpicview (0.2.3-2 from debian) to the extras-devel. It is missing icons (zoom in, zoom out, fullscreen). And many icons, including 'open', are out of the screen. -> It can open file only from commandline -> no point for menu icon yet. Test with: /opt/gpicview/bin/gpicview IMAGENAME Referring log, there are missing also gtk-save, gtk-delete and 'gtk-preferences'. ------ BTW: If you want test newer libc6, check this out: http://talk.maemo.org/showthread.php?p=1329134 (for libc6 2.15.90, should be enough for wheezy+jessie). |
Re: What packages are safe to remove (purge)?
What is Prolog good for? Do I need it?
In my post above I indicated having removed prolog-extensions but trying to do it now again wants to autoremove ohm-plugin-prolog which I do not list above. It is quite possible that I missed it, of course. I have never knowingly used Prolog, nor do I feel any urge to start now. |
Re: What packages are safe to remove (purge)?
Quote:
|
Re: What packages are safe to remove (purge)?
Thanks. That would explain why alsa-policy-enforcement depends on swi-prolog.
So I won't touch it. But what about the two packages I mentioned above? prolog-extensions and ohm-plugin-prolog? Do I need those? |
Re: What packages are safe to remove (purge)?
Quote:
prolog-extensions is also a closed source package [1], but open source replacement exists, too [3]. It looks like it provides file /usr/lib/prolog/extensions/fact.so, which source [4] suggests it may be related to the audio stuff, too (a "bridge" ohm-fact <-> prolog-fact), but if you want to be 100% sure, you should inspect that by yourself, I just briefly looked through the code. If you asked me whether you can remove these packages I would rather say "no, I think the audio system strongly needs them". [1] http://wiki.maemo.org/Fremantle_closed_packages [2] https://gitorious.org/maemo-multimed...4e0:ohm-plugin [3] https://meego.gitorious.org/maemo-mu...4e0/extensions [4] https://gitorious.org/maemo-multimed...ions/pl_fact.c |
Re: What packages are safe to remove (purge)?
maemo-input-sounds
|
Re: What packages are safe to remove (purge)?
Quote:
|
Re: What packages are safe to remove (purge)?
I've just found that trying to edit any contact with a country specified, or indeed creating a new contact and trying to specify a country, crashed osso-addresbook. Has anyone encoutered and fixed something lime that? I am asking here because I am absolutely definitely positive that it is a side-effect of an over-zealous purge but can't pinpoint which package might be responsible since it happened sometimes in the past 3 or 4 weeks and I did not keep the record.
|
Re: What packages are safe to remove (purge)?
Quote:
Code:
$ dpkg --get-selections > package-list-for-thread-82641 |
Re: What packages are safe to remove (purge)?
Quote:
|
Re: What packages are safe to remove (purge)?
1 Attachment(s)
Quote:
I have attached a list of deleted packages. On top of that, I have also shrank my locales cache. I've tried putting packages that sounded remotely relevant back one by one, even rebooting each time, but with no effect. The moment I select a country from the drop-down "Region" list, the Contacts app goes boom. For contacts that already have the country specified, all I need to do is open them for editing. Quote:
"Doctor, it hurts when I try to scratch my left ear with my right foot." "Well, don't do it then!" |
Re: What packages are safe to remove (purge)?
Do you have /usr/lib/locale/locale-archive ?
|
Re: What packages are safe to remove (purge)?
I do indeed. Otherwise nothing would work. But, as mentioned in post #78, I've reduced it to only contain the UK locales. Rolling it back to stock was on my list to try, your post prompted me to get my posterior in gear and try it right away and I am happy to report that it fixed the problem.
It is obvious that I must have made a mistake in shrinking the locales cache. I followed reinob's guide in post #39, with my /etc/locale.gen containing: Code:
en_GB.UTF-8 UTF-8 So what should my locales look like to have my cake and eat it, so to speak? |
All times are GMT. The time now is 15:28. |
vBulletin® Version 3.8.8