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)

int_ua 2012-02-28 08:39

What packages are safe to remove (purge)?
 
I've deleted all games except chess (will add package names on request) and
Code:

osso-systemui-splashscreen
cherry

without losing any critical functionality.
Who tried any other package? Unsuccessfull strories?

Russe89 2012-02-28 08:49

Re: What packages are safe to remove (purge)?
 
Here is a list of all apps i remove when i flash my N900:
Code:

sudo apt-get remove
hildon-theme-beta
osso-chess-ui
gnuchess osso-graphics-game-chess
osso-lmarbles osso-graphics-game-lmarbles
osso-sounds-game-chess
maemoblocks
ap-installer amazon-installer foreca-installer facebook-installer skype-installer dtg-installer
tutorial-home-applet
osso-tutorial-l10n-engb
osso-tutorial-l10n-ptpt
osso-tutorial-l10n-frca
osso-tutorial-l10n-nlnl
osso-tutorial-l10n-cscz
osso-tutorial-l10n-itit
osso-tutorial-l10n-eses
osso-tutorial-l10n-svse
osso-tutorial-l10n-frfr
osso-tutorial-l10n-dede
osso-tutorial-l10n-fifi
osso-tutorial-l10n-nono
osso-tutorial-l10n-esmx
osso-tutorial-l10n-enus
osso-tutorial-l10n-ruru
osso-tutorial-l10n-mr0
osso-tutorial-l10n-plpl

So its just the games, the secondary theme and the whole tutorial and the installer apps, but i don't need them.

reinob 2012-02-29 08:54

Re: What packages are safe to remove (purge)?
 
but if I try removing e.g. cherry, then mp-fremantle-pr is removed, thus marking a number of (critical?) packages as auto-removeable!

do you install/reinstall those packages manually? or have you manipulated the mp-fremantle-pr metapackage to fix the dependencies?

at the moment saying that you can delete some of those packages "without losing any critical functionality" seems a bit of a risky statement.

I would also be interested in removing a whole bunch of things I don't need, but perhaps any of you who have actually done that could explain more in detail which steps you've followed?

Thanks.

int_ua 2012-03-01 17:29

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

Originally Posted by reinob (Post 1171883)
do you install/reinstall those packages manually? or have you manipulated the mp-fremantle-pr metapackage to fix the dependencies?

It was a long time ago when I deleted the games. I think I just marked them as manually-installed with apt-get install. Maybe I didn't notice and deleted something useful, please add the packages which are marked for auto-removal.

reinob 2012-04-05 09:00

Re: What packages are safe to remove (purge)?
 
@int_ua,

Sorry for the late reply.

Code:

# apt-get -s purge cherry
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  libtpsession (0.1-6+0m5)
  libqtm-serviceframework (1.0.2-maemo4+0m5)
  rtcom-accounts-plugin-facebook (4.140-1+0m5)
  libqt4-declarative (4.7.0~git20100909-0maemo1+0m5)
  rtcom-skype-emoticons-theme (0.0.7-2+0m5)
  libqtm-multimedia (1.0.2-maemo4+0m5)
  rtcom-accounts-voip-support (4.140-1+0m5)
  n900-fmrx-enabler (1.5-4+0m5)
  libqtm-publishsubscribe (1.0.2-maemo4+0m5)
  libconninet0 (0.40+0m5)
  libqtm-messaging (1.0.2-maemo4+0m5)
  qtm-modest-plugin (0.0.2-6+0m5)
  libqtm-location (1.0.2-maemo4+0m5)
  dsme-thermalobject-surface (0.0.1+0m5)
  modest-home-applet (0.0.4-5+0m5)
  libqtm-versit (1.0.2-maemo4+0m5)
  libconnsettings0 (0.23+0m5)
  microb-geolocation (1.1.5-6+0m5)
  libqtm-bearer (1.0.2-maemo4+0m5)
  libqt4-translations (4.7.0~git20100909-0maemo1+0m5)
  libtelepathy-qt4-0 (0.2.0-2maemo7+0m5)
  maemo-optify-runonce (0.10-32+0m5)
  libqtm-contacts (1.0.2-maemo4+0m5)
  libqtm-systeminfo (1.0.2-maemo4+0m5)
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  cherry* (0.25-1+0m5)
  mp-fremantle-generic-pr* (21.2011.38-1)
0 upgraded, 0 newly installed, 2 to remove and 20 not upgraded.
Purg mp-fremantle-generic-pr [21.2011.38-1]
Purg cherry [0.25-1+0m5]

I suppose I could first mark (some of) those packages as manually installed so that they are not auto-remove'd, but I still find this dependency chaos very annoying.

AapoRantalainen 2012-04-11 18:54

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

but I still find this dependency chaos very annoying.
Just reflashed device. Updated to the PR-1.3.1 with HAM
And then continued with apt-get -s purge cherry (or apt-get remove --purge cherry) and it will only uninstall cherry and mp-fremantle-generic-pr (not hundreds of packages)


Quote:

Who tried any other package?
I started to fill this wikipage with my experiments:
http://wiki.maemo.org/Fremantle_closed_packages

If somebody want join filling, I have four steps to gather basic information.
Code:

#description
apt-cache show osso-systemui-splashscreen
#Provides files:
dpkg -L osso-systemui-splashscreen
#Current version
apt-cache policy osso-systemui-splashscree
#Reverse dependencies
apt-cache showpkg osso-systemui-splashscreen

#Remove (on device which can be reflashed)
apt-get remove --purge osso-systemui-splashscreen

And then I have explicitly state what happens when removed. I have tried to be verbose and comment every aspect.

I have found it is sometimes hard to say what is critical functionality. I have never used ActiveSync, so removing ActiveSync is not losing critical functionality? I rarely use bluetooth, so it is then not critical functionality? For sure when device will not start anymore = critical.

reinob 2012-04-12 07:09

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

Originally Posted by AapoRantalainen (Post 1190876)
Just reflashed device. Updated to the PR-1.3.1 with HAM
And then continued with apt-get -s purge cherry (or apt-get remove --purge cherry) and it will only uninstall cherry and mp-fremantle-generic-pr (not hundreds of packages)

A few days ago I decided to remove mp-fremantle-generic-pr. That was the only package that was removed, but then the list of packages I posted above are marked as being auto removeable.

I manually installed some of them (the ones that sounded like I could need them) and then did auto remove of the rest. Everything's OK for now (I didn't dare reboot yet..)

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

It will take time until I actually do that, but then I'll post my results (if at all relevant). I have never flashed my N900.. and would like to keep it that way :)

reinob 2012-04-12 08:46

Re: What packages are safe to remove (purge)?
 
I have also removed qtm-maemo-metapackage and its dependencies (libqtm-*), as no other package seems to depend on that (YMMV).

You can check it here:
http://maemo.org/packages/package_in...age/1.3-2+0m5/

reinob 2012-04-13 12:22

Re: What packages are safe to remove (purge)?
 
Soo.. I just shutdown and turned on my N900 again. No problems at all.

I marked the following as manually installed (because of mp-fremantle-generic-pr):

Code:

        libtpsession (0.1-6+0m5)
        rtcom-accounts-plugin-facebook (4.140-1+0m5)
        libqt4-declarative (4.7.0~git20100909-0maemo1+0m5)
        rtcom-skype-emoticons-theme (0.0.7-2+0m5)
        rtcom-accounts-voip-support (4.140-1+0m5)
        n900-fmrx-enabler (1.5-4+0m5)
        libconninet0 (0.40+0m5)
        dsme-thermalobject-surface (0.0.1+0m5)
        modest-home-applet (0.0.4-5+0m5)
        libconnsettings0 (0.23+0m5)
        microb-geolocation (1.1.5-6+0m5)
        libqt4-translations (4.7.0~git20100909-0maemo1+0m5)
        libtelepathy-qt4-0 (0.2.0-2maemo7+0m5)

and then purge-removed the following:
Code:

mp-fremantle-generic-pr
libqtm-*
maemo-optify-runonce
cherry
sharing-service-flickr
sharing-service-ovi
chinese-font
google-search-widget
tutorial-home-applet
osso-tutorial*
testserver
{ap,amazon,foreca,facebook,skype,dtg}-installer
osso-lmarbles, osso-graphics-game-lmarbles
osso-mahjon, osso-graphics-game-mahjong, osso-sounds-game-mahjong
maemoblocks
osso-rss-feed-reader*
qtm-modest-plugin

So far so good.

Next in line are *-l10n-* (except -mr0 and -enus, -dede)
as well as ezitext-* (I don't even use the VKB at all).

Next-next in line are:
osso-systemui-splashscreen (need to make sure first)
hildon-welcome (same thing)
kernel-modules (from stock kernel, I only use kp50 now).

int_ua 2012-04-14 04:21

Re: What packages are safe to remove (purge)?
 
An old script that I've used to purge locales manually (there were some dependencies preventing me from purging packages IIRC):
http://talk.maemo.org/showthread.php?t=61824

pichlo 2012-11-19 01:18

Re: What packages are safe to remove (purge)?
 
I've just added activesync and nokiamessaging to the list with no observable negative effect (assuming you do not use those services, that is :)), although I did have to reboot once since removing the AS status bar plugin messed up the system menu until after a reboot.

sixwheeledbeast 2012-11-19 08:02

Re: What packages are safe to remove (purge)?
 
ezitext* can go if you don't use the predictive text.

int_ua 2012-11-19 10:56

Re: What packages are safe to remove (purge)?
 
removing osso-systemui-splashscreen causes N900 to reboot instead of shutting down.

pichlo 2012-11-19 11:29

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

Originally Posted by int_ua (Post 1295836)
removing osso-systemui-splashscreen causes N900 to reboot instead of shutting down.

No it does not. I do not have it and I can shut down just fine.

reinob 2012-11-19 11:36

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

Originally Posted by int_ua (Post 1295836)
removing osso-systemui-splashscreen causes N900 to reboot instead of shutting down.

It should not happen. That "splashscreen" is what you see when you poweroff the N900 (it also makes a sound, depending on the settings).

But generally I would not remove to remove that package, until we understand exactly what it does (it may affect actdead mode as well).

vi_ 2012-11-19 12:13

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

Originally Posted by pichlo (Post 1295713)
I've just added activesync and nokiamessaging to the list with no observable negative effect (assuming you do not use those services, that is :)), although I did have to reboot once since removing the AS status bar plugin messed up the system menu until after a reboot.

Be careful, removing one of those sync daemons may kill your ability to use nokia suite!

pichlo 2012-11-19 12:23

Re: What packages are safe to remove (purge)?
 
I volunteer as a guinea pig :) I have removed osso-systemui-splashscreen and the only effect that I have noticed so far is that my N900 shuts down faster. If reinob's suspicion is right and it does something useful as a side effect then I guess I will find out sooner or later :)

misiak 2012-11-19 14:14

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

Originally Posted by pichlo (Post 1295879)
I volunteer as a guinea pig :) I have removed osso-systemui-splashscreen and the only effect that I have noticed so far is that my N900 shuts down faster. If reinob's suspicion is right and it does something useful as a side effect then I guess I will find out sooner or later :)

to check if it does some magic with going to actdead state, you can try this simple test:
1. set an alarm for next 5 minutes
2. power off your n900 after, let's say, 4 minutes
3. wait and check if the alarm rings
if it doesn't ring then something messed up (maybe after removing osso-systemui-splashscreen).

reinob 2012-11-19 14:59

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

Originally Posted by pichlo (Post 1295879)
I volunteer as a guinea pig :) I have removed osso-systemui-splashscreen and the only effect that I have noticed so far is that my N900 shuts down faster. If reinob's suspicion is right and it does something useful as a side effect then I guess I will find out sooner or later :)

Nah. I guess I was being too careful. When shutting down (when dbus is stopped in either USER or ACTDEAD mode), the splashscreen-util is run, which basically (as far as I can tell) makes that "dong" sound and waits to be killed.

The package also includes a module for MCE, which (I guess) makes it run when you poweroff from the MCE menu (the script in /etc/event.replace.d/ only runs the splashscreen-util if not already running, which makes me think that MCE runs it -- normally -- by itself when shutting down.)

I'll remove it from my "normal" N900 (the other two don't have it).

pichlo 2012-11-19 15:35

Re: What packages are safe to remove (purge)?
 
I am happy to report that misiak's experiment was successful (the alarm fired) and that, despite vi_'s warning my Nokia Suite was still working. (Thanks for the warning BTW, I would not have tried otherwise as I never use it.)

What is not working so well is eggtimer. It triggered but now refuses to shut up, even after booting to console in bootmenu and deleting the eggtimer binary manually. I doubt it is related though. It may never have worked: this is the first time ever I have actually let it trigger.

pichlo 2012-11-19 16:37

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

Originally Posted by pichlo (Post 1295927)
What is not working so well is eggtimer. It triggered but now refuses to shut up, even after booting to console in bootmenu and deleting the eggtimer binary manually. I doubt it is related though. It may never have worked: this is the first time ever I have actually let it trigger.

I think it was EggTimer's fault. It could not cope well with the phone being switched off while it was counting down. It registered an alarm with alarmd and, after power down and up, the alarm triggered, but EggTimer was not running any more so there was no one to cancel the alarm. Or something like that anyway.

SSH to the rescue. Nothing else worked, pressing Stop in the dialogue just closed the dialogue which immediately sprang back and started playing again, giving me only a few seconds to do something. Repeating it several times rebooted the device. The only thing that worked was logging in through SSH and running
Code:

alarmd -Xrfs
It had the unfortunate side effect of deleting all my alarms; fortunately I had only four.

However, I have also noticed that my whatsitsname that pops up when you press the blue up arrow and Sym/Ctrl and allows you to type extra keys now looks like this (see below). Never mind the accented characters, that's deliberate. I am referring to the colours. Could that be the result of uninstalling ezitext?

reinob 2012-11-19 20:52

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

Originally Posted by pichlo (Post 1295941)
However, I have also noticed that my whatsitsname that pops up when you press the blue up arrow and Sym/Ctrl and allows you to type extra keys now looks like this (see below). Never mind the accented characters, that's deliberate. I am referring to the colours. Could that be the result of uninstalling ezitext?

Yup. I have exactly the same in my dev-N900 where I've also removed ezitext* including dependencies and reverse dependencies.

I think the culprit is hildon-input-method-widgets and/or hildon-input-method-plugins-western, which gets uninstalled when imengines-ezitext gets removed.

When those are removed, I guess we just get some sort of default hard-code keyboard assistant.

misiak 2012-11-20 00:27

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

Originally Posted by reinob (Post 1296027)
When those are removed, I guess we just get some sort of default hard-code keyboard assistant.

Another N900 "gem" worth noticing, thanks for the information :)

sixwheeledbeast 2012-11-20 21:35

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

Originally Posted by reinob (Post 1296027)
I think the culprit is hildon-input-method-widgets and/or hildon-input-method-plugins-western, which gets uninstalled when imengines-ezitext gets removed.

When those are removed, I guess we just get some sort of default hard-code keyboard assistant.

Confirmed same issue here, shame there's no way of installing them with out pulling ezitext back again. Daft Nokia dependencies. :(

misiak 2012-11-20 21:47

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

Originally Posted by sixwheeledbeast (Post 1296435)
Confirmed same issue here, shame there's no way of installing them with out pulling ezitext back again. Daft Nokia dependencies. :(

Yes way! Why not download packages and repackage them without dependecies? Is it against the license? If not, I think it would be worth to give a shot and check if it works without these dependencies... Even if not, the other package contents may be extracted, examined and modified to contain only stuff needed for these.

edit: i mean, for personal use of course ;)

reinob 2012-11-20 21:54

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

Originally Posted by misiak (Post 1296439)
Yes way! Why not download packages and repackage them without dependecies? Is it against the license? If not, I think it would be worth to give a shot and check if it works without these dependencies... Even if not, the other package contents may be extracted, examined and modified to contain only stuff needed for these.

edit: i mean, for personal use of course ;)

I guess this would also be something for CSSU (I already suggested in the CSSU thread that they could have a look at unnecessary dependencies). Unfortunately it may not be such a relevant topic (e.g. vs portrait support..) for the general public (which seems to have been the target for Nokia *and* for CSSU. We have to start assuming that only geeks, and an ever-decreasing number at that, actually own and use a N900).

Add.: Hmm.. maybe it's time for Maemo5 - Hacker edition

sixwheeledbeast 2012-11-20 21:54

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

Originally Posted by misiak (Post 1296439)

Well, without recompiling them obviously.
As mentioned in a another thread there are lots of silly dependences that are not really proper (Nokia MetaPackage).
Will take some time to work out what can be removed and what is required.

pichlo 2012-11-21 23:22

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

Originally Posted by reinob (Post 1296441)
We have to start assuming that only geeks, and an ever-decreasing number at that, actually own and use a N900.

Given the amount of traffic in this thread, I cannot but agree :)

Quote:

Add.: Hmm.. maybe it's time for Maemo5 - Hacker edition
I thought Maemo was a hacker edition :)

Edit: I am assuming that all the zzz scripts can go too. The "remove first boot flag" one is a no op anyway.

Siren 2012-11-22 09:55

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

Originally Posted by sixwheeledbeast (Post 1296442)
Well, without recompiling them obviously.
As mentioned in a another thread there are lots of silly dependences that are not really proper (Nokia MetaPackage).
Will take some time to work out what can be removed and what is required.

Repackaging to remove wrong dependencies != recompiling. Repackaging can be done by anyone with access to vi and tar on own system (assuming that autobuilder is working), or if we want to avoid autobuilder, deb* tools too.

None of this require any recompiling, so it can be done for closed-source packages, too. BTW, re-packaging is not against any license. You can even put it into official repos - just remember to use non-free for closed source things, and, use modified names... (to avoid overwriting original packages - current state of repos is so wonderful, that anyone can overwrite any essential package with anything, in -devel).

reinob 2012-11-22 13:42

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

Originally Posted by pichlo (Post 1297030)
I thought Maemo was a hacker edition :)

Not quite (at least in my book).

Quote:

Edit: I am assuming that all the zzz scripts can go too. The "remove first boot flag" one is a no op anyway.
Yup. We'd need to figure out which of the scripts in /etc/init.d are executed, sourced or linked by any other startup scripts (which we know now are *only* in /etc/event.d).

Code:

$ grep init.d /etc/event.d/*
fmtx, funambol-cpp-api, iphb, ke-recv, ke-recv-extra, kernel-power (yup, ssh script is in /etc/init.d), pymaemo-optify, rcS, reboot, shutdown, wappushd).

As long as the above scripts don't call other scripts also in /etc/init.d we could edit/patch the corresponding scripts in /etc/event.d to include the relevant content.

Then not only /etc/rc?.d and /etc/event.replace.d/ could be deleted, but also /etc/init.d.

And then (finally) the startup scripts would all be nicely and self-containedly :) placed under /etc/event.d.

Not that it would change anything, per se, but who doesn't want a clean system?!

vi_ 2012-11-22 13:58

Re: What packages are safe to remove (purge)?
 
Not to hijack this thread, however would effort not be better spent figuring out which stuff can be removed from the flashable firmware image to be flashed to a fresh/broken n900?

I mean removing the zzz scripts from rcs.d? Wtf is the point?

reinob 2012-11-22 14:24

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

Originally Posted by vi_ (Post 1297241)
Not to hijack this thread, however would effort not be better spent figuring out which stuff can be removed from the flashable firmware image to be flashed to a fresh/broken n900?

Sure. The problem here is that some packages may be irrelevant for some, but very important for others.

So the thread as a whole doesn't really have a point. Other than just an experiment of what packages can be removed (whether you need them or not) without bricking the N900 :)

Quote:

I mean removing the zzz scripts from rcs.d? Wtf is the point?
The point is cleaning up obsolete debris from ancient Maemo versions, even though it's completely non-functional. I for one like to have a clean system (as clean as I can).

But discussion about non-packages (init scripts) could maybe fit better in the boot process thread.

pichlo 2012-11-23 22:00

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

Originally Posted by vi_ (Post 1297241)
I mean removing the zzz scripts from rcs.d? Wtf is the point?

Not from rcS.d, from event.d. But point taken, now back to the topic. I have successfully removed osso-notes with all its l10n dependencies. Works fine, just make sure you have an alternative text editor installed. In my case leafpad.

I did not save much space BTW. Osso-notes plus with all its l10n ballast is about the same size as leafpad. But at least it is only one package, taking up one line in FAM etc.

vi_ 2012-11-23 22:15

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

Originally Posted by pichlo (Post 1297691)
Not from rcS.d, from event.d. But point taken, now back to the topic. I have successfully removed osso-notes with all its l10n dependencies. Works fine, just make sure you have an alternative text editor installed. In my case leafpad.

I did not save much space BTW. Osso-notes plus with all its l10n ballast is about the same size as leafpad. But at least it is only one package, taking up one line in FAM etc.

You could probably ditch osso-sketch and osso-rss as well. They both suck too.

Although I actually quite like osso-notes. I like the way it autosaves everything. I is just a shame it does not have a tabbed interface and the ability to paste images into the notes.

sixwheeledbeast 2012-11-23 22:43

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

Originally Posted by vi_ (Post 1297695)
I is just a shame it does not have a tabbed interface and the ability to paste images into the notes.

PITA to read and edit files on another device too, due to it saving everything in HTML.

pichlo 2012-11-24 01:48

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

Originally Posted by vi_ (Post 1297695)
You could probably ditch osso-sketch and osso-rss as well. They both suck too.

Yeah, I've forgotten about those. Yes, ditched them a while ago. Notes was a close call, but leafpad narrowly won.

Quote:

Although I actually quite like osso-notes. I like the way it autosaves everything. I is just a shame it does not have a tabbed interface and the ability to paste images into the notes.
I liked the fact that pulling the stylus across the screen highlighted text, like a mouse does on a desktop PC. Leafpad scrolls the text instead. But I did not like that you could not have two instances open simultaneously. That was its downfall for me.

shawnjefferson 2012-11-24 04:55

Re: What packages are safe to remove (purge)?
 
The biggest file I'd like to get rid of is the locale cache and unused locale data from rootfs. I only use one language so would love to blow away/rebuild this 22.8MB file (safely). I've got about 50MB freee on rootfs, so it's not currently a burning issue, and I haven't seen any process that looks foolproof on the n900 like there was on the n810 (the localepurge script).

kureyon 2012-11-24 06:01

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

Originally Posted by sixwheeledbeast (Post 1297703)
due to it saving everything in HTML.

With Notes, go into options and set it to "Plain Text".

reinob 2012-11-24 10:40

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

Originally Posted by shawnjefferson (Post 1297759)
The biggest file I'd like to get rid of is the locale cache and unused locale data from rootfs. I only use one language so would love to blow away/rebuild this 22.8MB file (safely). I've got about 50MB freee on rootfs, so it's not currently a burning issue, and I haven't seen any process that looks foolproof on the n900 like there was on the n810 (the localepurge script).

(as root)
# apt-get install locales

then create /etc/locale.gen, the contents of the file should look something like:
en_US.UTF-8 UTF-8

then run:
# locale-gen

you /usr/lib/locale/locale-archive should be much smaller than before.

if that's OK, you can stop there. If you want more, you can remove lots of things from /usr/share/locale, *BUT BE CAREFUL* some languages "depend" on others, so leave it for now until this is well documented.

(e.g.
en_US requires iso14651_t1 and en_GB)
de_DE requires i18n, iso14651_t1

also translit_cjk_compat for some reason)

vi_ 2012-11-24 11:33

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

Originally Posted by reinob (Post 1297819)
(as root)
# apt-get install locales

then create /etc/locale.gen, the contents of the file should look something like:
en_US.UTF-8 UTF-8

then run:
# locale-gen

you /usr/lib/locale/locale-archive should be much smaller than before.

if that's OK, you can stop there. If you want more, you can remove lots of things from /usr/share/locale, *BUT BE CAREFUL* some languages "depend" on others, so leave it for now until this is well documented.

(e.g.
en_US requires iso14651_t1 and en_GB)
de_DE requires i18n, iso14651_t1

also translit_cjk_compat for some reason)

Alternatively you could just copy /usr/lib/locale to /opt and symlink it back.


All times are GMT. The time now is 10:25.

vBulletin® Version 3.8.8