So no comments @Keto or can’t take on any instruction liability?
I have about 90 apps installed, but most are tiny and only release a few Mb when deleted.
Following the helpful posts below there does seem to be some big stuff in /usr/share:
are/man
5736 /usr/share/maliit
6380 /usr/share/geoclue-provider-mlsdb
6548 /usr/share/harbour-stppc
6620 /usr/share/harbour-pure-maps
6620 /usr/share/mime
7092 /usr/share/misc
7392 /usr/share/harbour-osmscout-server
8276 /usr/share/harbour-quickddit
9460 /usr/share/hwdata
10384 /usr/share/themes
10516 /usr/share/doc
10860 /usr/share/okboard
12404 /usr/share/sailfish-tutorial
13620 /usr/share/nmap-suid
16436 /usr/share/harbour-sailhub
16492 /usr/share/i18n
17316 /usr/share/licenses
18016 /usr/share/yottagram
18020 /usr/share/harbour-io.edin.projects
.airsail-transfer
25588 /usr/share/sounds
27052 /usr/share/harbour-multimodal
38192 /usr/share/harbour-meecast
40432 /usr/share/perl5
41880 /usr/share/harbour-fernschreiber
45336 /usr/share/translations
47596 /usr/share/fonts
55608 /usr/share/ambience
63628 /usr/share/icons
79772 /usr/share/locale
101464 /usr/share/stellarium
208172 /usr/share/harbour-sailpipe
I am wondering what the reason is for storing the apps in the root partition which has extremely limited space, rather than say, in the way bigger home partition on a per user basis. I know that would duplicate app storage for mutiple users, but it would also allow different users to have different sets of apps (e.g. Guest or child users only have access to particular apps). I am not a developer, so apologies if this seems like a daft question.
I uninstalled Sailpipe, Microtube, nodejs and Sshazam. These are large packages and together this freed up around 400 MB on the root partition, enough to perform the update.
You can view your 30 largest packages with the following command: rpm -qa --queryformat ‘%{SIZE} %{NAME} \n’ | sort -n -r | head -30
I have never used the OpenGApps or other Google services in AppSupport (or might have many many years ago, but don’t remember), so I can’t comment on that. I was just informed that it can mess up things quite badly in the update.
The only other big one is/var/lib
d
0 /var/lib/MOZEMBED_CACHE_CLEAN
4 /var/lib/games
4 /var/lib/policy
4 /var/lib/rpm-state
4 /var/lib/sailfish-device-encryption
4 /var/lib/tayga
8 /var/lib/YaST2
8 /var/lib/dbus
8 /var/lib/flash-partition
8 /var/lib/location
8 /var/lib/misc
8 /var/lib/ohm
8 /var/lib/sailfish-share
8 /var/lib/usb-moded
12 /var/lib/bluetooth
12 /var/lib/dsme
12 /var/lib/platform-updates
16 /var/lib/lxc
16 /var/lib/mce
28 /var/lib/timed
28 /var/lib/zypp
48 /var/lib/jolla-developer-mode
60 /var/lib/environment
92 /var/lib/nemo-pulseaudio-parameters
152 /var/lib/systemd
436 /var/lib/PackageKit
51160 /var/lib/rpm
Yes, it seems that my three biggest are Sailpipe, Stellarium and Node.js.
However I cannot uninstall Node.js, it fails every time I try.
How big is /var/log?
What’s the error? Anyway, I plan to move it from the root partition to the home partition with the next node.js release, so hopefully that won’t be a problem anymore.
/var/log is 3.98 Mb.
Can’t upgrade because root partition has insufficient space. In storeman, try to remove package, says ‘removing package’ with spinning circle, circle stops spinning, node.js still installed. Then says ‘update available’ but will not update, says ‘Error 2’
Ah, Storeman perhaps doesn’t remove it because other packages depend on it? What if you try to uninstall with pkcon?
The only solution for you is to shrink /home in favour of /root in X10III and flash again X10V. Other solutions are merely half-measures.
Sorry, don’t know how.
I don’t uninstall stuff on my XA2, I mv them away and back after update.
Something like: (as root)
df -h / /home
mkdir /home/usr.share.harbour-all
mv -i /usr/share/harbour-* /home/usr.share.harbour-all/
mkdir /home/usr.bin.harbour-all
mv -i /usr/bin/harbour-* /home/usr.bin.harbour-all/
mv -i /usr/share/sailfish-tutorial/ /usr/share/nmap/ /usr/share/microtube/ /home/usr.share/
# now update,
# then
# restore:
mv -i /home/usr.bin.harbour-all/* /usr/bin/
mv -i /home/usr.share.harbour-all/* /usr/share/
mv -i /home/usr.share/{microtube,nmap} /usr/share/
Not shure if you can copy & paste that…
That kind of moves are a bit dangerous if one does not know what they are doing. So I would not recommend it.
There are several Node.js packages in Openrepos, which exactly do you have installed?
pkcon remove nodejs
It will list all packages that will be uninstalled by that (anything relying on nodejs being present). Note those down and reinstall them after update.
Sorry, no idea which node.js package is installed. How would I know if they’re all called node.js?
Anyway, by deleting Sailpipe and Stellarium, a whopping 500Mb was released and I have now successfully updated the 10 iii. Will look at the 10 v tomorrow, probably will not bother with my XA2 and XA2+ as I don’t use these anymore (no VoLTE).
Thanks to all for such helpful suggestions, but all this mucking around shouldn’t really be necessary for every update. ..
Now to re-install all my deleted apps!
Not a big deal, but I have lost all of my icons for browser pages which had been added to the app grid. The ‘browser apps’ are all still there, but with no icons
