Reply
Thread Tools
yerga's Avatar
Posts: 696 | Thanked: 1,012 times | Joined on Mar 2006 @ Asturies, Spain
#111
Just was playing a bit with lma's script (thanks!), and got some results. This isn't the complete list (just some packages I tested), sure there are hundreds of packages more with the same problem.

Also, I reported bugs where I did can.

Sorry for the bad format, it's Sunday morning and I need to go to get some beer.

In Nokia repository:

Qik 1168 kB (Hey Nokia, play the rules!) (I don't know where report this)

In Extras:
omweather (the app itself is optified in -testing, the extras version isn't optified).
omweather-stations-db 2852 kB
omweather-gismeteo-ru-stations-db 2016 kB
omweather-icons-contour 708 kB
omweather-icons-beginning 992 kB
omweather-icons-epona 640 kB
omweather-icons-grzankas 664 kB
omweather-icons-shiny 736 kB
omweather-icons-tango 732 kB

(Bug: https://bugs.maemo.org/show_bug.cgi?id=5773)

Ogg Support: (Bug: https://bugs.maemo.org/show_bug.cgi?id=5775)
ogg-support 52 kB
gstreamer0.10-flac 68 kB
gstreamer0.10-ogg 88 kB
gstreamer0.10-theora 64 kB
gstreamer0.10-vorbis 60 kB
libflac8 300 kB
libogg0 16 kB
libtheora0 592 kB
libvorbis0a 160 kB
libvorbisenc2 968 kB
libvorbisfile3 28 kB
tracker-distutils 16 kB
tracker-extractor-vorbis 12 kB

Total: 2424 kB


OpenSSH:

openssh-server 364 kB
openssh-common 164 kB
openssh-client 984 kB

At least client+common or server+common must be installed (more than 500 kB).

(Didn't can to find a bugzilla entry for this, even if the lack of bugzilla is a blocker in the QA checklist).


Not in Extras yet (so let's give them some time):

Mauku:
mauku 300, it's less than 500 kB but:
libmicrofeed-common-0 172 kB
libmicrofeed-provider-0 224 kB
microfeed-providers-unstable 56 kB
libmicrofeed-subscriber-0 60 kB
microfeed-utils 60 kB

Total: 872 kB (Bugs: https://bugs.maemo.org/show_bug.cgi?id=5776 and https://bugs.maemo.org/show_bug.cgi?id=5777)


Tomotko 1468 kB
and depends on:
libqt4-gui 13188 kB (from a Nokia repository)


All Python applications depend on stuff without be optified:
python2.5-minimal 4024 kB
python2.5 9296 kB
python-gtk2 2452 kB

Well, you have an idea what size can be using these python packages

(Bug: https://bugs.maemo.org/show_bug.cgi?id=5364)

Xournal 556 kB (Bug: https://bugs.maemo.org/show_bug.cgi?id=5774)
depends on:

libart-2.0-2 80 kB
libgnomecanvas2-0 164 kB
libgnomecanvas2-common 640 kB
libgnomeprint2.2-0 440 kB
libgnomeprint2.2-data 728 kB
libpoppler2 1456 kB
poppler-utils 164 kB


Other bugs related to save space in the filesystem, but not in 3rd party applications:

Store system logs in /opt: https://bugs.maemo.org/show_bug.cgi?id=5749
symlink /var/cache/apt/archives to /home/apt-archives: https://bugs.maemo.org/show_bug.cgi?id=5746
__________________
Daniel Martín Yerga
maemo.org profile
Twitter
 

The Following 15 Users Say Thank You to yerga For This Useful Post:
volt's Avatar
Posts: 1,309 | Thanked: 1,187 times | Joined on Nov 2008
#112
I srsly doubt everyone will hate Maemo 5

Device slowdown isn't really a big issue for me as long as it's not phone-centric functionality that slows down. On my WinMo 6 phone, I can make the phone functionality stop working by starting certain software. That would be a problem. However, slowdowns because you install software on a secondary, slower partition is, well, just too obvious. When we choose to buy a phone with limited capacity, we should expect it to behave like a phone with limited capacity. It's still a killer phone, and it must be considered a fair tradeoff, excellent even, if it slows down because we installed more software than there's room for in the 256MB. The alternative would be having a phone where you could not install more software at all.

Which is kinda what I'm experiencing with my N810 right now, it refuses to update my packages cause of no room, and I haven't had the time/energy to figure out ways to move moar stuff out.

The N900 will be better out of the box, and hopefully I'll not have to limit myself quite as much as I do on the N810.

I am looking forward to getting mine. But it's not going to be perfect. I am going to be very interested to one day see what Step 5 of 5 is.

Last edited by volt; 2009-10-25 at 12:36.
 
The_Solutor's Avatar
Posts: 142 | Thanked: 49 times | Joined on Oct 2009 @ Italy
#113
Originally Posted by att View Post
My method to check the package: Download DEB package. Open it with the GNOME's Archive Manager. Open data.tar.gz by clicking it. Go down by hierachy until you find out how much combined other directories than /opt are using (sum the size columns).

To check whats a package contain, and to eventually install it in a different directory from the predefined one, the best method is:

Open the package (deb, rpm, whatever) with mc (midnight commander) and then copy the files in the desired path.

It's simply, quick and "visual".

I use this method not only to install a package on a foregin distro (say a redhat rpm on a suse distro) but even to overcome a broken dependency, or to install an older version of a package that I won't automatically upgrade.
 

The Following User Says Thank You to The_Solutor For This Useful Post:
yerga's Avatar
Posts: 696 | Thanked: 1,012 times | Joined on Mar 2006 @ Asturies, Spain
#114
In line with the bug #5476: "symlink /var/cache/apt/archives to /home/apt-archives", I think it would be also useful symlink (or move) /var/lib/dpkg/info to some place in /home/

In my N900:
Code:
du -h /var/lib/dpkg/info/
22.2M	/var/lib/dpkg/info
Does someone can check what space it uses in his/her N900?

It would help to save some space in the root partition too, if it's technically possible move or symlink that directory.
__________________
Daniel Martín Yerga
maemo.org profile
Twitter
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#115
If you want to get every deb from a particular repository, something heinous like this should work:

WARNING: this will download files

Code:
wget -r --no-parent --no-directories --accept deb http://repository.maemo.org/extras/pool/fremantle/free/
WARNING: NEVER forget the URL's trailing slash

If you just want to get a list of the deb URLs, try the following:

Code:
wget -r --spider --no-parent --no-directories --accept deb http://repository.maemo.org/extras/pool/fremantle/free/ 2>&1 | sed -n 's/.*\(http:\/\/.*\.deb\)$/\1/p' > deblist.txt
__________________
N9: Go white or go home
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#116
Originally Posted by yerga View Post
Just was playing a bit with lma's script (thanks!), and got some results. This isn't the complete list (just some packages I tested), sure there are hundreds of packages more with the same problem.

Also, I reported bugs where I did can.

Sorry for the bad format, it's Sunday morning and I need to go to get some beer.

...

Other bugs related to save space in the filesystem, but not in 3rd party applications:

Store system logs in /opt: https://bugs.maemo.org/show_bug.cgi?id=5749
symlink /var/cache/apt/archives to /home/apt-archives: https://bugs.maemo.org/show_bug.cgi?id=5746
I think you're forgetting MPlayer (mplayer/mencoder), which uses 18MB in /usr/bin/
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following User Says Thank You to Bundyo For This Useful Post:
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#117
Originally Posted by yerga View Post
In my N900:
Code:
du -h /var/lib/dpkg/info/
22.2M	/var/lib/dpkg/info
Does someone can check what space it uses in his/her N900?
Exactly the same, with extras{,-testing,-devel}, tools and mozilla repositories enabled on top of the built-in ones.
 

The Following User Says Thank You to lma For This Useful Post:
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#118
Originally Posted by ewan

Code:
#!/bin/bash

deb=$1

OIFS=$IFS
IFS=$'\n'

opt_total=0
home_total=0
other_total=0


for line in $(ar p ${deb} data.tar.gz | tar -tzvf -) ; do {
        IFS=$OIFS
        array=(${line})

        case $(echo ${array[5]} | cut -b 1-5) in
        ./usr ) usr_total=$(( ${usr_total} + ${array[2]})) ;;
        ./opt ) opt_total=$(( ${opt_total} + ${array[2]})) ;;
        * ) other_total=$(( ${other_total} + ${array[2]})) ;;
        esac

        } ;
done

echo -e "Usr\tOpt\tOther"
echo -e "${usr_total}\t${opt_total}\t${other_total}"

IFS=$OIFS


If the maintainer of the actual repository servers themselves don't have time to run the scripts evan presented (it would just have to change it to add a for loop); --


Originally Posted by daperl View Post
If you want to get every deb from a particular repository, something heinous like this should work:

Code:
wget -r --no-parent --no-directories --accept deb http://repository.maemo.org/extras/pool/fremantle/free/

I am willing to run the above wget on my server (I have over a terabyte of disk space free and a pretty fast network connection). I don't think it would be wise for multiple of us to try and do this, that would probably just kill the repository servers.

I'm willing to do the grunt work and generate a spreadsheet with existing packages in extras, extras-devel and extras-testing.

Nathan.
 

The Following 5 Users Say Thank You to Nathan For This Useful Post:
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#119
Ok, here is the first part of the results:
(This now has the _all files included)

---

In Extras; bad news almost EVERYTHING is not optified.
If you installed all 57 programs/libraries in "Extras" you would be using 31.313,619 bytes in /usr
and 10,136,698 bytes in /opt (7 packages)

The biggest offenders are:
Python = 20,149,809
omweather = 5,047,291
gstreamer = 1,440,853
libvorbis = 1,196,245
opensshclient = 1,020,136
libthedora = 607,363

----
In Extras-Testing
Installing all 282 applications/libraries would take:
/USR = 115,282,679
/OPT = 127,355,017 (51 Packages)

The biggest offenders:
Python = 27,242,712
libpurple = 21,004,743
libqt4 = 13,641,166
tuxpaint = 6,089,310
gstreamer = 3,275,546
omweather (Data) = 2,911,812
libgtkmm - 2,170,263
maelstrom = 1,617,488
libpoppler = 1,597,363
tomotko = 1,510,179
wget = 1,500,396
belltower = 1,400,072
openssh = 1,374,512

A couple notes:
- The omweather app is optified, but the data is not.
- The vast majority of all the libraries are NOT optified.
- Their are a some packages like supertux that is partially optified; it has the vast majority in /opt, but like 400k is still in /usr.

----

Nathan
P.S. Attached is the raw data; w/ duplicated programs removed (i.e. I removed all the older versions of the same name)
Attached Files
File Type: txt extras-20091026.txt (2.8 KB, 192 views)
File Type: txt extras-testing-20091026.txt (14.2 KB, 251 views)

Last edited by Nathan; 2009-10-27 at 23:12. Reason: Missed the _all files, fixing the stats to have the _all files
 

The Following 15 Users Say Thank You to Nathan For This Useful Post:
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#120
Ok, here is the extras-devel (also fixed to have the _all pkgs)

If you install everything (1323 packages):
/USR: 1,973,570,385
/OPT: 632,613,045 (102 packates)

Worst:
mysql-server - 62,673,785
libqt4 - 52,775,891
python - 43,008,915
pyside - 28,389,391
frozen bubble (data) 21,935,718
libpurple - 21,414,705
mplayer - 19,046,660
libmysql-client - 19,040,995
pidgin (data) - 18,355,070
mysql-client - 16,142,045
libgtkmm - 13,533,852
abuse-(data) - 12,747,361
gstreamer - 6,442,598
libapertium - 6,206,172
libboost - 5,607,308
libillumination - 5,415,848
mc - 5,406,985
vala - 5,400,716

------
Fremantle Repository (I assume this is what is actually on the device -- I eliminated any dbg/dev packages from the count, but their are other packages I don't know if they exist or not on the device)
Packages: 501
/Usr = 473,689,061
/Opt = 0

Worst:
QT4
microb
python
perl

Nathan
Attached Files
File Type: zip fremantle-20091026.zip (11.4 KB, 342 views)
File Type: zip extras-devel-20091026.zip (17.0 KB, 355 views)

Last edited by Nathan; 2009-10-28 at 16:55. Reason: Missed the _all files, fixing the stats to have the _all files.
 

The Following 2 Users Say Thank You to Nathan For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:47.