maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Deleting Applications (https://talk.maemo.org/showthread.php?t=15236)

bslack 2008-01-17 14:55

Deleting Applications
 
Hey

I have an N800 with OS2008. I have recently started to use it, but find many of the Apps that come with it atrocious or useless. E-mail for example, I have had nothing, but problems with so I downloaded another e-mail client that gets rid of most of my issues. How can I remove the old email app that came with OS2008? What about removing Rhapsody (I am in Canada and will never use it), Internet Call, Gizmo, Chat etc. When I go to the Application Manager the only one App that came with the system and is in manager is 'Map'. That is the one application I might keep. I equate the rest with Crapware that often ships with a new PC. Not necessarily because there bad, but I will never use them and there clogging up my Applications menu.

Any help would be appreciated.

Thanks
Brandon Slack

yegaoo 2008-01-18 02:49

Re: Deleting Applications
 
Yeah, I'd like to know too..

I just need to get rid of Rhapsody, it does not work for me (Latinamerica)

superstar 2008-01-18 05:32

Re: Deleting Applications
 
For Rhapsody, you have to install it then uninstall it to remove it. I am not sure of the others since I use them.

shenson 2008-01-20 13:55

Re: Deleting Applications
 
It appears you can delete some of them using the dpkg tool directly as root. I managed to get rid of the gizmo installer that way. I haven't tried this with the other default applications since it might be tricky to get them back without a reflash.

GeneralAntilles 2008-01-20 14:03

Re: Deleting Applications
 
Or just remove the .desktop in /usr/share/applications/hildon/

free 2008-01-20 16:31

Re: Deleting Applications
 
Rhapsody:
apt-get remove rhapsody-installer
Email:
apt-get remove libossoemailsmime
dpkg -l | grep mail will get you the list of package names containing "mail"

But take care:
apt-get remove libosso-email-interface
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
camera-test chavo eds-sync libcomapp0 libosso-email-interface microphone-test multimedia-applications
osso-addressbook osso-af osso-bookmark-ui osso-browser osso-calculator osso-calculator-ui osso-chess-ui
osso-contact-plugin osso-filemanager osso-filemanager-ui osso-global-search osso-imageviewer
osso-mission-control osso-notes osso-pdf-viewer osso-sketch tablet-browser-default-plugin tablet-browser-ui

:eek::eek:
Funny if you uninstall email, you have to uninstall the chess game!
:confused::confused:
Like wintendo when you want to remove internet explorer
Code:

dpkg -l | grep mail | grep -v lib | awk '{print $2}' | xargs apt-get -y remove
Removing osso-email-l10n-dadk ...
Removing osso-email-l10n-dede ...
Removing osso-email-l10n-engb ...
Removing osso-email-l10n-enus ...
Removing osso-email-l10n-eses ...
Removing osso-email-l10n-esmx ...
Removing osso-email-l10n-fifi ...
Removing osso-email-l10n-frca ...
Removing osso-email-l10n-itit ...
Removing osso-email-l10n-nlnl ...
Removing osso-email-l10n-nono ...
Removing osso-email-l10n-ptbr ...
Removing osso-email-l10n-ptpt ...
Removing osso-email-l10n-ruru ...
Removing osso-email-l10n-svse ...
Removing osso-email-old-l10n-mr0 ...
Removing osso-email-old-l10n-dadk ...
Removing osso-email-old-l10n-dede ...
Removing osso-email-old-l10n-engb ...
Removing osso-email-old-l10n-enus ...
Removing osso-email-old-l10n-eses ...
Removing osso-email-old-l10n-esmx ...
Removing osso-email-old-l10n-fifi ...
Removing osso-email-old-l10n-frca ...
Removing osso-email-old-l10n-frfr ...
Removing osso-email-old-l10n-itit ...
Removing osso-email-old-l10n-nlnl ...
Removing osso-email-old-l10n-nono ...
Removing osso-email-old-l10n-ptbr ...
Removing osso-email-old-l10n-ptpt ...
Removing osso-email-old-l10n-ruru ...
Removing osso-email-old-l10n-svse ...


YoDude 2008-01-20 17:25

Re: Deleting Applications
 
Goodbye world!

I installed "Hello World" out of curiosity. Checked out how it ran in tray :rolleyes:. Then I used App Manager to uninstall the thing.

It was removed from the Extras menu and is no longer in the tray but it still shows on App manager as installed. If I click to uninstall again App manager reports "Unable to uninstall hello-world-app". A "hello-world-app" now shows in "Updates" but clicking on this reports "Unable to update hello-world-app".

How do I uninstall this app from hell that consumes 245 kb of the device memory?

BTW, it is described as an
Quote:

example package for the application installer...
:eek:

Any Help would be appreciated.

free 2008-01-20 18:03

Re: Deleting Applications
 
https://bugs.maemo.org/show_bug.cgi?id=2313
Quote:

Removal of the package is not possible:
hello-world-app.postrm uses bashishms (arrays) which are not supported by
ash. The script is marked as #!/bin/sh which it shouldn't be. Also, it uses the
array for something silly, which could be replaced by using sed -i directly.

After fixing the postrm manually, the package can now be removed (via
application manager), home, statusbar and control panel icons will be gone, but
the icon in the application menu will stay.

This last bug is due to a file rename on package install and it is never
renamed back (the hello-world.desktop file) and as such, it will remain on the
device even if the package is removed.
I tried it
Installed fine. Yes, nice tray :)
And then uninstall fails
In the logs :
hello-world-app.postrm: line 11: "(" expected

How to remove:
cd /var/lib/dpkg/info
sudo gainroot
rm hello-world-app.postrm
wget http://debfarm.free.fr/nondeb/hello-world-app.postrm

And then go in the app manager and hit uninstall
Quote:

Originally Posted by http://debfarm.free.fr/nondeb/hello-world-app.postrm
#! /bin/sh

#Remove the desktop entries from the configuration files
home_data="hello-world-home.desktop"
sb_data="hello-world-sb.desktop"
tn_data="hello-world-tn.desktop"
path="/etc/hildon-desktop"
sed -i "/$home_data/d" $path/home.conf
sed -i "/$sb_data/d" $path/statusbar.conf
sed -i "/$tn_data/d" $path/tasknavigator.conf

If it's still in the menus:
rm /usr/share/applications/hildon/hello-world.desktop

dubwise 2008-01-20 18:41

Re: Deleting Applications
 
free, I don't know what I'm looking at in your code.
Does dpkg -l | grep mail | grep -v lib | awk '{print $2}' | xargs apt-get -y remove
result in the following lines, removing files related to email?

I would love for this thread to turn into a bunch of safe app-removal tips,
along with some idea as to how much space each one buys you.

@GeneralA, removing the .desktop doesn't get you any space, does it?

I tried someone's suggestion of installing and uninstalling Rhapsody.
Before I started, DiskUsage reported 86232 KB available in /.
I believe that to be the root of the drive where apps live, yes?

I installed Rhapsody and uninstalled it without running it.
DiskUsage reported 83916 KB available.
I rebooted.
DiskUsage reported 86100 KB available.
I installed Gizmo and uninstalled it without running it.
DiskUsage reported 84004 KB available.
Reboot.
DiskUsage reported 84108 KB available.
The useless icons are gone, but it looks to me like I actually lost 2 megs out of 256.

Please let me know if I'm looking at the wrong numbers.

free 2008-01-20 18:53

Re: Deleting Applications
 
dpkg -l : get the list of installed packages (name + description)

dpkg -l| grep mail : filter only with input containing mail. As our input is list of (name,description), you get the list of package which names or desc contain mail.

dpkg -l| grep mail | grep -v lib : remove lines containing lib


dpkg -l| grep mail | grep -v lib | awk '{print $2}': take column 2 of each line (which is the package name, description is column 3, column 1 is status)

dpkg -l| grep mail | grep -v lib | awk '{print $2}' | xargs apt-get -y remove
Put the result in the input of apt-get remove and -y to force saying yes.

No that's not really safe, it removes everything that contains "mail" :)))

dpkg -l| grep mail | grep -v lib : this will just display the list

YoDude 2008-01-20 21:14

Re: Deleting Applications
 
Quote:

Originally Posted by free (Post 131007)
https://bugs.maemo.org/show_bug.cgi?id=2313


I tried it
Installed fine. Yes, nice tray :)
And then uninstall fails
In the logs :
hello-world-app.postrm: line 11: "(" expected

How to remove:
cd /var/lib/dpkg/info
sudo gainroot
rm hello-world-app.postrm
wget http://debfarm.free.fr/nondeb/hello-world-app.postrm

And then go in the app manager and hit uninstall


If it's still in the menus:
rm /usr/share/applications/hildon/hello-world.desktop


You're still the best dude! http://www.clicksmilies.com/s1106/er...smiley-004.gif

dubwise 2008-01-20 22:22

Re: Deleting Applications
 
So, off free's message, I tried some things.
DiskUsage says 56820 KB available.
becomeroot is installed.

I open Xterm and do :
sudo gainroot
apt-get remove rhapsody-installer

56856 KB available

apt-get remove libossoemailsmime

57564 KB available

apt-get remove skype-installer

57580 KB available

apt-get remove gizmo-installer

57592 KB available

The numbers aren't large, but at least they're going in the right direction.
I reboot, and DiskUsage says 59972 KB available.
So I seem to be up 3 megs, and down some useless icons.
No idea if I've trashed anything in the process.

Certainly GeneralAntilles's suggestion of just deleting the .desktops is safer,
and the diskspace savings is hardly staggering.

Speaking of .desktop, the Rhapsody icon is still in My Selections.
OpenSSH is installed, so using WinSCP I SSH in to /usr/share/applications/hildon/
and delete Rhapsody.desktop.

While I was in there, I poked around at some other things.
If you have Xournal installed, there's 8 megs of docs in usr/share/ghostscript/8.61/doc,
including the fascinating Details8.htm, which is a 2.5 meg HTML file,
Detailed History Of Ghostscript Verions.
It's just possible that the system could run without that.

This Linux stuff is fun.

dubwise 2008-01-21 02:02

Re: Deleting Applications
 
You may have a 3 meg osso_software_copyright.pdf in /home/user/MyDocs/.documents.

Every little bit helps.

daron_j 2008-01-22 16:43

Re: Deleting Applications
 
Quote:

Originally Posted by dubwise (Post 131147)
While I was in there, I poked around at some other things.
If you have Xournal installed, there's 8 megs of docs in usr/share/ghostscript/8.61/doc,
including the fascinating Details8.htm, which is a 2.5 meg HTML file,
Detailed History Of Ghostscript Verions.
It's just possible that the system could run without that.

This Linux stuff is fun.

Wow. How in the hell can I get rid of that? (the extra xournal stuff)

dubwise 2008-01-22 18:25

Re: Deleting Applications
 
Welcome to Linux.

Find it and delete it.
You can use xterm, emelFM2, SSH in from another computer, so many choices...

Time to go search and learn some stuff.

shenson 2008-01-23 00:17

Re: Deleting Applications
 
If you enter red-pill mode a lot of additional packages appear in the application manager including the installed application list. Unfortunately the title part is too narrow and no obvious way to expand it.

pauljohn32 2008-01-23 01:03

Re: Deleting Applications
 
I removed one package manually

# apt-get remove osso-email-ui

that saved
578kB

I saw it would be slow one by one.

# dpkg -l| grep osso-email | grep -v lib | awk '{print $2}' | xargs apt-get -y remove

This removes just packages that have the word 'osso-email' in them, along with dependencies. Kinda interesting.
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
osso-email-engine osso-email-l10n-dadk
osso-email-l10n-dede osso-email-l10n-engb
osso-email-l10n-enus osso-email-l10n-eses
osso-email-l10n-esmx osso-email-l10n-fifi
osso-email-l10n-frca osso-email-l10n-frfr
osso-email-l10n-itit osso-email-l10n-mr0
osso-email-l10n-nlnl osso-email-l10n-nono
osso-email-l10n-ptbr osso-email-l10n-ptpt
osso-email-l10n-ruru osso-email-l10n-svse
osso-email-old-l10n-dadk osso-email-old-l10n-dede
osso-email-old-l10n-engb osso-email-old-l10n-enus
osso-email-old-l10n-eses osso-email-old-l10n-esmx
osso-email-old-l10n-fifi osso-email-old-l10n-frca
osso-email-old-l10n-frfr osso-email-old-l10n-itit
osso-email-old-l10n-mr0 osso-email-old-l10n-nlnl
osso-email-old-l10n-nono osso-email-old-l10n-ptbr
osso-email-old-l10n-ptpt osso-email-old-l10n-ruru
osso-email-old-l10n-svse osso-email-search-plugin
osso-software-version rtcom-beta-os2008
0 upgraded, 0 newly installed, 38 to remove and 3 not upgraded.
Need to get 0B of archives.
After unpacking 3273kB disk space will be freed.
(Reading database ... 20863 files and directories currently installed.)
Removing osso-email-engine ...
Removing osso-email-l10n-mr0 ...
Removing osso-email-l10n-dadk ...
Removing osso-email-l10n-dede ...
Removing osso-email-l10n-engb ...
Removing osso-email-l10n-enus ...
Removing osso-email-l10n-eses ...
Removing osso-email-l10n-esmx ...
Removing osso-email-l10n-fifi ...
Removing osso-email-l10n-frca ...
Removing osso-email-l10n-frfr ...
Removing osso-email-l10n-itit ...
Removing osso-email-l10n-nlnl ...
Removing osso-email-l10n-nono ...
Removing osso-email-l10n-ptbr ...
Removing osso-email-l10n-ptpt ...
Removing osso-email-l10n-ruru ...
Removing osso-email-l10n-svse ...
Removing osso-email-old-l10n-mr0 ...
Removing osso-email-old-l10n-dadk ...
Removing osso-email-old-l10n-dede ...
Removing osso-email-old-l10n-engb ...
Removing osso-email-old-l10n-enus ...
Removing osso-email-old-l10n-eses ...
Removing osso-email-old-l10n-esmx ...
Removing osso-email-old-l10n-fifi ...
Removing osso-email-old-l10n-frca ...
Removing osso-email-old-l10n-frfr ...
Removing osso-email-old-l10n-itit ...
Removing osso-email-old-l10n-nlnl ...
Removing osso-email-old-l10n-nono ...
Removing osso-email-old-l10n-ptbr ...
Removing osso-email-old-l10n-ptpt ...
Removing osso-email-old-l10n-ruru ...
Removing osso-email-old-l10n-svse ...
Removing rtcom-beta-os2008 ...
Removing osso-software-version ...
Removing osso-email-search-plugin ...

That was fun. Liberating!

Next I want to kill all Instant Messaging.

PJ

pauljohn32 2008-01-24 16:49

Re: Deleting Applications
 
Update: System still works after killing ossomail

After removing all packages with osso-email, I found some otther lib packages for osso email while using red pill mode app manager.

Only one thing left to fix. How to tell other programs to use claws mail? The browser's 'send link' function is not smart, really.. it just hangs..


PJ

free 2008-01-30 19:05

Re: Deleting Applications
 
Sort packages by size:
Code:

dpkg-query -W -f='${Installed-Size} ${Package} ${Status}\n' | grep installed | sort -n
List of files in a package:
Code:

dpkg -L <packagename>
Get the package containing one file:
Code:

dpkg -S <file>

crenquis 2010-01-23 01:40

Re: Deleting Applications
 
When I cleaned apps out of my n8x0 tablets, I just used the app manager in red-pill mode.
Look at the dependencies of the app that you want to remove -- there is often a "dummy" package that groups a bunch of apps together, you need to remove this "parent dummy package" first and then you can remove the individual apps relatively easily...

coosbaytv 2010-01-30 17:19

Re: Deleting Applications
 
Quote:

Originally Posted by dubwise (Post 131241)
You may have a 3 meg osso_software_copyright.pdf in /home/user/MyDocs/.documents.

Every little bit helps.

How do I get to these text and pdf files, including the bloated extra stuff in Xournal?

Addison 2010-01-30 20:59

Re: Deleting Applications
 
If you're using Emelfm2, click on the green H icon so that there's a red slash going through it.

fragos 2010-02-01 23:55

Re: Deleting Applications
 
There are a lot of language files in the various "locale" folders. would it be safe or worthwhile to delete everything except for US English?

gerbick 2010-02-02 19:45

Re: Deleting Applications
 
Quote:

Originally Posted by fragos (Post 506005)
There are a lot of language files in the various "locale" folders. would it be safe or worthwhile to delete everything except for US English?

That's what I do, in this post here I list out what I delete and that's one thing I get rid of without incident.

Saturn 2010-02-02 23:43

Re: Deleting Applications
 
Quote:

Originally Posted by fragos (Post 506005)
There are a lot of language files in the various "locale" folders. would it be safe or worthwhile to delete everything except for US English?

You might find interesting the localepurge and this thread:
http://talk.maemo.org/showthread.php...ghlight=locale


EDIT: O: somehow I've missed gerbick's earlier post.


All times are GMT. The time now is 12:48.

vBulletin® Version 3.8.8