maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   What packages are safe to remove (purge)? (https://talk.maemo.org/showthread.php?t=82641)

shawnjefferson 2012-11-25 21:45

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!

pichlo 2012-11-26 00:08

Re: What packages are safe to remove (purge)?
 
Quote:

Originally Posted by vi_ (Post 1297837)
Alternatively you could just copy /usr/lib/locale to /opt and symlink it back.

Yes, we can optify a lot of stuff, but moving it elsewhere does not get rid of it. As reinob said, the point of this thread is to achieve a clean device with not a byte on it over and above what is absolutely necessary.

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.

vipanh16 2012-11-26 02:01

Re: What packages are safe to remove (purge)?
 
i had remove

pichlo 2012-12-04 11:41

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".

reinob 2012-12-04 13:19

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!

pichlo 2012-12-04 15:19

Re: What packages are safe to remove (purge)?
 
Quote:

Originally Posted by reinob (Post 1301277)
I guess your hildon-desktop comes from CSSU

Yes :)

Quote:

You can edit update-rc.d and change "notreally=0" to "noreally=1". This way it will effectively become a nop :)
Excellent, thanks!
Done. I was sure someone smarter than me would come up with a better solution :)

Quote:

Would be nice to check what other packages are similarly broken!
I suppose we will find out sooner or later.

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]

int_ua 2013-04-06 12:19

Re: What packages are safe to remove (purge)?
 
IP Heartbeat daemon (iphbd)?

Alecsandru 2013-04-06 18:55

Re: What packages are safe to remove (purge)?
 
Quote:

Originally Posted by pichlo (Post 1301259)
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".

var/lib/dpkg/info search the app name (followed by .md5sum .postinst ,etc) , open terminal at that address and ''rm'' those files , in this way I fix the broken packages:D

Estel 2013-04-14 04:49

Re: What packages are safe to remove (purge)?
 
Quote:

Originally Posted by Alecsandru (Post 1334491)
var/lib/dpkg/info search the app name (followed by .md5sum .postinst ,etc) , open terminal at that address and ''rm'' those files , in this way I fix the broken packages:D

No, you haven't. You have deleted *whole and all* post/pre/ install/remove script for those packages, not only offending lines, related to broken "features". It mean, that many important things may not get executed, when they should. You have broken it even more.

/Estel

pichlo 2013-05-11 16:26

Re: What packages are safe to remove (purge)?
 
Quote:

Originally Posted by reinob (Post 1191068)
I'm going through a list of all packages in my N900 and marking the ones I would like to remove (particularly all l10n packages for language/country combinations that I will never need), but I'm still in the "preparation phase" (just editing my list on the computer).

Any progress on removing the l10n packages, reinob? ;)

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:
  • osso-applet-languageregional
    This took with it the Language & Regional option in System/Settings. Acceptable if you've set your regional settings and do not ever intend to change them.
  • rtcom-messaging-ui-portrait
    This I believe was a side effect of removing modest-home-applet. From the name I assume it is used for reading SMS in portrait but as I never used that feature, I have not noticed any difference.
  • sharing-rtcom and pretty much everything with rtcom and/or sharing in the name combined with one of ovi, jabber, sip, gtalk, nokiachat, facebook... basically everything that I do not use.
    It seems kind of obvious what will be lost if you remove one of these. Good riddance as far as I am concerned.
  • Anything with gprs in the name. I know, I know, but I took the conscious choice to get rid of it. I use a pay-as-you-go SIM card and never ever use it for data (too expensive: I once blew £15 just by running apt-get update) and the mobile internet option from my service provider bothered me. Removing GPRS made that option (in internet connections) disappear.

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 :)

pichlo 2013-05-16 23:48

Re: What packages are safe to remove (purge)?
 
Look ma, no tracker!
Code:

~# ps | grep tracker
 1798 root      2604 S    grep tracker
~# find / -name *tracker*
/opt/var/lib/dpkg/info/libtrackerclient0.postinst
/opt/var/lib/dpkg/info/libtrackerclient0.md5sums
/opt/var/lib/dpkg/info/libtrackerclient0.list
/opt/var/lib/dpkg/info/libtrackerclient0.shlibs
/opt/var/lib/dpkg/info/libtrackerclient0.postrm
/opt/var/lib/dpkg/info/libtrackerclient0.digsigsums
/opt/usr/include/c++/4.6/profile/iterator_tracker.h
/usr/lib/dsme/libemergencycalltracker.so.0.0.0
/usr/lib/dsme/libemergencycalltracker.so
/usr/lib/dsme/libalarmtracker.so
/usr/lib/dsme/libalarmtracker.so.0.0.0
/usr/lib/libtrackerclient.so.0
/usr/lib/libtrackerclient.so.0.695.0
/home/opt/var/lib/dpkg/info/libtrackerclient0.postinst
/home/opt/var/lib/dpkg/info/libtrackerclient0.md5sums
/home/opt/var/lib/dpkg/info/libtrackerclient0.list
/home/opt/var/lib/dpkg/info/libtrackerclient0.shlibs
/home/opt/var/lib/dpkg/info/libtrackerclient0.postrm
/home/opt/var/lib/dpkg/info/libtrackerclient0.digsigsums
/home/opt/usr/include/c++/4.6/profile/iterator_tracker.h
/home/user/.macromedia/Flash_Player/#SharedObjects/57UA3ES3/littlewoods.scene7.com/s7_storage_tracker.sol
~#

Yes, it has involved removing mediaplyer. I use symfonie and smplayer instead. If only I could persuade them to register such that they lanch automagically by tapping on the file in filebox.

Question: has anyone managed/failed removing filemanager? it seems easy but don't apps use it in their file open dialogs?

reinob 2013-05-17 06:16

Re: What packages are safe to remove (purge)?
 
Quote:

Originally Posted by pichlo (Post 1344196)
Look ma, no tracker!

...

Yes, it has involved removing mediaplyer. I use symfonie and smplayer instead. If only I could persuade them to register such that they lanch automagically by tapping on the file in filebox.

Question: has anyone managed/failed removing filemanager? it seems easy but don't apps use it in their file open dialogs?

Interesting. I have also removed tracker from one of my N900s. But I didn't notice any issue with the file manager because, well, because I never use it. Long live midnight commander! :)

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!

pichlo 2013-05-17 09:19

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.

mr_pingu 2013-05-17 10:51

Re: What packages are safe to remove (purge)?
 
Quote:

Originally Posted by pichlo (Post 1344256)
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.

2nd link google gave me when I searched for dbus switchboard, which I thought could help you:
http://talk.maemo.org/showthread.php?t=17757

pichlo 2013-05-17 15:02

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 ;)

pichlo 2013-05-20 15:11

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.

AapoRantalainen 2013-05-20 18:55

Re: What packages are safe to remove (purge)?
 
Quote:

Originally Posted by pichlo (Post 1345193)
What exactly do packages sysinfod...

I'm also interested in to hear. Seems "/usr/sbin/sysinfod --system" is running all the time as default. Relevant packages are: sysinfo-common sysinfod sysinfo-tool libsysinfo0


Quote:

Originally Posted by pichlo (Post 1345193)
...wappushd do?

This is far from exact answer but: "This package contains daemon for handling WAP push messages" Which might lead to the: https://en.wikipedia.org/wiki/Wirele...tocol#WAP_Push

pichlo 2013-05-22 08:47

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.

AapoRantalainen 2013-05-22 08:54

Re: What packages are safe to remove (purge)?
 
Quote:

Originally Posted by pichlo (Post 1345873)
Now, I am not sure if this is related or not, but I've lost Bluetooth.

There are one more closed source package with sysinfo on it's name: http://wiki.maemo.org/Fremantle_clos...etooth-sysinfo Do you still have it installed?

pichlo 2013-05-22 10:04

Re: What packages are safe to remove (purge)?
 
Quote:

Originally Posted by AapoRantalainen (Post 1345875)
There are one more closed source package with sysinfo on it's name: http://wiki.maemo.org/Fremantle_clos...etooth-sysinfo Do you still have it installed?

I have four "sysinfo" packages installed: bluetooth-sysinfo, libsysinfo0, sysinfo-common and sysinfo-tool.

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.

pichlo 2013-05-23 09:01

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.

AapoRantalainen 2013-06-03 09:16

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
cp /var/cache/apt/archives/sysinfod_0~20100226.1\+0m5_armel.deb .

(Then you can install it back with dpkg -i sysinfod_0~20100226.1\+0m5_armel.deb)

Unpack deb:
Code:

ar x sysinfod_0~20100226.1\+0m5_armel.deb
tar zxvf data.tar.gz

Then uninstall sysinfod and reboot
Code:

apt-get remove sysinfod
reboot

I found that wifi and bluetooth are then broken (anything else?).

Enable wifi: (use xterm on root)
Code:

./sysinfod --system
Let it running

In another tab run (also root)
Code:

wl1251-cal
It should say: "found MAC address" (And not "The name com.nokia.SystemInfo was not provided by any .service files")

Then you can kill sysinfod (Ctrl+c)

Finish with GUI to select access point.

Enable bluetooth:
Code:

./sysinfod --system
Let it running

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
At this point you can kill sysinfod.

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:

/usr/bin/sysinfo-tool -g /certs/npc/esn/bt_id | sed 's/\(..\)/\1:/g;s/:$//' > bt_address

And later (no need for sysinfod)
Code:

cat bt_address > /sys/devices/platform/hci_h4p/bdaddr
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

----
wl1251-cal do more, there are wiki page: http://wiki.maemo.org/Wl1251-cal

pichlo 2013-06-06 08:21

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
amazon-installer
ap-installer
as-config-applet-0
as-config-applet-l10n*
as-daemon-0
as-utils
camel-as-provider-0
camelisync
cherry
chinese-font
clinkc-av-gnomevfs
clinkc-av0
clinkc0
connui-iapsettings-gprs
csd-gprs
dsme-thermalobject-surface
dtg-installer
ezitext-czech
ezitext-danish
ezitext-dutch
ezitext-english-gb
ezitext-english-us
ezitext-essential-plugins
ezitext-finnish
ezitext-french-ca
ezitext-french-fr
ezitext-german
ezitext-greek
ezitext-italian
ezitext-norwegian
ezitext-polish
ezitext-portuguese-pt
ezitext-russian
ezitext-spanish-es
ezitext-spanish-us
ezitext-swedish
facebook-installer
foreca-installer
funambol-cpp-api
gcc-4.2-base
google-search-widget
gprs-provisioning
gst-nokia-wm
hildon-games-wrapper0
hildon-im-common-virtual-settings
hildon-im-fkb
hildon-im-virtual-keyboard-layouts
hildon-input-method-plugins-western
hildon-input-method-widgets
hildon-startup-progress
hildon-theme-beta
hildon-theme-variant-203
hildon-welcome
hildon-welcome-default-logo
hildon-welcome-settings-203
imageviewer
imengines-ezitext
iphbd
kernel
kernel-flasher
kernel-modules
libas-common-ui-0
libas-protocol-0
libas-storage-0
libezitext
libgssdp-1.0-2
libgupnp-1.0-3
libgupnp-av-1.0-2
libgupnp-igd-1.0-2
libicd-network-gprs
libloudmouth1-0
libmaesync
libnice-gstreamer0.10
libnice0
libomxil-ti-components
libomxil-ti0
libpoppler0c2
libpoppler0c2-glib
libsofia-sip-ua-glib3
libsofia-sip-ua0
libtelepathy-farsight0
libtotem-plparser12
location-home-applet
maemo-customer-logo-203
maemo-optify-runonce
maemoblocks
maesync-backend
maesync-controller
maesync-l10n*
mafw-gst-renderer
mafw-iradio-source
mafw-iradio-source-bookmarks-203
mafw-playlist-daemon
mafw-tracker-source
mafw-upnp-source
mediaplayer
mediaplayer-l10n*
mediaplayer-restore
mediaplayerhomeapplet
microb-geolocation
microb-l10n
modest-as-plugin-0
modest-home-applet
modest-nokiamessaging-plugin
modest-nokiamessaging-plugin-l10n*
mp-fremantle-203-pr
nokiamaps-navigation-provider-settings-203
nokiamessaging
operator-wizard-settings-override-203
osso-abook-home-applet
osso-applet-device
osso-applet-device-l10n*
osso-applet-languageregional
osso-applet-memory
osso-applet-memory-l10n*
osso-applet-textinput
osso-applet-textinput-l10n*
osso-calculator
osso-calculator-engine
osso-calculator-ui
osso-calculator-ui-l10n*
osso-dsm-ui-l10n*
osso-filemanager
osso-filemanager-ui
osso-graphics-game-lmarbles
osso-lmarbles
osso-maesync-plugin
osso-maesync-ui
osso-notes
osso-notes-l10n*
osso-pdf-viewer
osso-pdf-viewer-l10n*
osso-rss-feed-reader
osso-rss-feed-reader-applet
osso-rss-feed-reader-feeds-203
osso-rss-feed-reader-l10n*
osso-rss-feed-reader-lib*
osso-sketch
osso-sketch-l10n*
osso-startup-wizard
osso-startup-wizard-settings-203
osso-suw-l10n*
osso-systemui-splashscreen
osso-tutorial-l10n*
ota-settings
ovi-promotion-widget
preinstalled-contacts-variant-203
prolog-extensions
qtm-maemo-metapackage
rtcom-accounts-plugin-facebook
rtcom-accounts-plugin-gtalk
rtcom-accounts-plugin-jabber
rtcom-accounts-plugin-nokiachat
rtcom-accounts-plugin-sip
rtcom-accounts-sip-203
rtcom-accounts-voip-support
rtcom-accounts-xmpp-203
rtcom-skype-emoticons-theme
sharing-rtcom
sharing-service-flickr
sharing-service-ovi
status-area-applet-activesync-0
status-area-applet-battery
tablet-browser-mediaplayer-plugin
telepathy-gabble
telepathy-sofiasip
testserver
tracker
tracker-utils
tutorial-home-applet
wappushd


AapoRantalainen 2013-06-06 08:59

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.

pichlo 2013-06-06 09:21

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).

pichlo 2013-06-08 21:10

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.

anthonie 2013-06-09 00:59

Re: What packages are safe to remove (purge)?
 
Quote:

Originally Posted by pichlo (Post 1350621)
Anybody know what maemo-installer-utils is for? Nothing (that I have) depends on it but the name looks a bit scary.

It's a helper program according to the wiki entry.

http://wiki.maemo.org/Fremantle_clos...nstaller-utils

AapoRantalainen 2013-06-14 07:51

Re: What packages are safe to remove (purge)?
 
Quote:

Originally Posted by pichlo (Post 1349916)
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).


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).

pichlo 2013-09-24 08:04

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.

misiak 2013-09-24 12:13

Re: What packages are safe to remove (purge)?
 
Quote:

Originally Posted by pichlo (Post 1376387)
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.

Prolog is used on N900 to decide about audio output levels for speakers and audio out (see e.g. first paragraph of http://wiki.maemo.org/Porting/Audio ). That sounds like a crazy idea, doesn't it? I wish I could meet a guy who decided "hey, using prolog for this would be a great idea" :)

pichlo 2013-09-24 12:18

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?

misiak 2013-09-24 12:59

Re: What packages are safe to remove (purge)?
 
Quote:

Originally Posted by pichlo (Post 1376417)
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?

ohm-plugin-prolog is closed source package [1], but open source replacement exists [2], and from quick glance at the sources I can tell you it evaluates rules from /usr/share/policy/rules/current/ directory for audio levels (revised the two files in that directory, too).

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

int_ua 2013-10-15 00:07

Re: What packages are safe to remove (purge)?
 
maemo-input-sounds

reinob 2013-10-15 08:26

Re: What packages are safe to remove (purge)?
 
Quote:

Originally Posted by int_ua (Post 1380669)
maemo-input-sounds

nice catch! :)

pichlo 2013-11-06 21:58

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.

int_ua 2013-11-07 07:24

Re: What packages are safe to remove (purge)?
 
Quote:

Originally Posted by pichlo (Post 1384758)
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.

Code:

$ dpkg --get-selections > package-list-for-thread-82641
Have you filed a bug report? I think we absolutely need that.

reinob 2013-11-07 09:13

Re: What packages are safe to remove (purge)?
 
Quote:

Originally Posted by pichlo (Post 1384758)
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.

Just to clarify: by "country" do you mean the "region" sub-field in an address?

pichlo 2013-11-07 13:18

Re: What packages are safe to remove (purge)?
 
1 Attachment(s)
Quote:

Originally Posted by reinob (Post 1384853)
Just to clarify: by "country" do you mean the "region" sub-field in an address?

Yes, that's the one.

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:

Originally Posted by int_ua (Post 1384825)
Have you filed a bug report? I think we absolutely need that.

And what exactly would be the bug description?
"Doctor, it hurts when I try to scratch my left ear with my right foot."
"Well, don't do it then!"

int_ua 2013-11-12 10:44

Re: What packages are safe to remove (purge)?
 
Do you have /usr/lib/locale/locale-archive ?

pichlo 2013-11-12 12:10

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
en_GB ISO-8859-1

(I found that the second line was necessary to render all strings and labels.)

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