Discussion:
[Ltsp-discuss] Ubuntu 14.04Ltsp-pnp image is bigger and bigger
Takala Tuomas
2014-12-17 10:33:01 UTC
Permalink
Hello

I have problem whit ltsp-pnp image. I have installed basic ubuntu 14.04, and always when i make some just normal upgrades, ltsp image is bigger and bigger every time. Size is now 2024mb. At first size was only 1gb. What should i do?

Thanks Tuomas Takala
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
Ben Green
2014-12-17 11:32:29 UTC
Permalink
Quoting Takala Tuomas <***@seinajoki.fi>:

> Hello
>
> I have problem whit ltsp-pnp image. I have installed basic ubuntu
> 14.04, and always when i make some just normal upgrades, ltsp image
> is bigger and bigger every time. Size is now 2024mb. At first size
> was only 1gb. What should i do?

In the first instance, the normal things you would do to clear out a
system, like clearing out the package cache and checking temporary file.



------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
Takala Tuomas
2014-12-17 11:47:02 UTC
Permalink
I have done :

Apt-get autoremove and apt-get autoclean. Do i need ti do something else?

Thanks Tuomas

LÀhetetty Windows Phonesta
________________________________
LÀhettÀjÀ: Ben Green<mailto:***@bristolwireless.net>
LÀhetetty: ‎17.‎12.‎2014 13:40
Vastaanottaja: ltsp-***@lists.sourceforge.net<mailto:ltsp-***@lists.sourceforge.net>
Aihe: Re: [Ltsp-discuss] Ubuntu 14.04Ltsp-pnp image is bigger and bigger

Quoting Takala Tuomas <***@seinajoki.fi>:

> Hello
>
> I have problem whit ltsp-pnp image. I have installed basic ubuntu
> 14.04, and always when i make some just normal upgrades, ltsp image
> is bigger and bigger every time. Size is now 2024mb. At first size
> was only 1gb. What should i do?

In the first instance, the normal things you would do to clear out a
system, like clearing out the package cache and checking temporary file.



------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
Ben Green
2014-12-17 11:55:19 UTC
Permalink
Quoting Takala Tuomas <***@seinajoki.fi>:

> I have done :
>
> Apt-get autoremove and apt-get autoclean. Do i need ti do something else?

For the first I would recommend:

apt-get --purge autoremove

for the second:

apt-get clean

The use of 'autoclean' in that second one will only remove unavailable
(i.e. old or obsolete) packages. You really want the entire cache
clean, it is not needed. The use of 'clean' provides this removal.

Cheers,
Ben




------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
Vagrant Cascadian
2014-12-17 18:29:19 UTC
Permalink
On 2014-12-17, Ben Green wrote:
> Quoting Takala Tuomas <***@seinajoki.fi>:
>
>> I have done :
>>
>> Apt-get autoremove and apt-get autoclean. Do i need ti do something else?
>
> For the first I would recommend:
>
> apt-get --purge autoremove
>
> for the second:
>
> apt-get clean

None of those are likely to do much, as those files are excluded from
the image in /etc/ltsp/ltsp-update-image.excludes.

Did you modify ltsp-update-image.excludes?

Are your images located in /opt/ltsp? It only excludes images in
/opt/ltsp by default.

Mount the image and see if there are any files that shouldn't be in the
client image:

mount -o loop /opt/ltsp/images/i386.img /mnt
du -smc /mnt/* | sort -n

Look in directories with the largest files and see if anything obviou
turns up...


live well,
vagrant
Takala Tuomas
2014-12-18 08:00:44 UTC
Permalink
Hello

10 /mnt/bin
10 /mnt/etc
12 /mnt/sbin
176 /mnt/opt
233 /mnt/boot
854 /mnt/var
1130 /mnt/lib
3363 /mnt/usr
5782 total

What should i do next?

Thanks for help.

Tuomas Takala

________________________________________
Lähettäjä: Vagrant Cascadian [***@debian.org]
Lähetetty: 17. joulukuuta 2014 20:29
Vastaanottaja: ltsp-***@lists.sourceforge.net
Aihe: Re: [Ltsp-discuss] Ubuntu 14.04 Ltsp-pnp image is bigger and bigger

On 2014-12-17, Ben Green wrote:
> Quoting Takala Tuomas <***@seinajoki.fi>:
>
>> I have done :
>>
>> Apt-get autoremove and apt-get autoclean. Do i need ti do something else?
>
> For the first I would recommend:
>
> apt-get --purge autoremove
>
> for the second:
>
> apt-get clean

None of those are likely to do much, as those files are excluded from
the image in /etc/ltsp/ltsp-update-image.excludes.

Did you modify ltsp-update-image.excludes?

Are your images located in /opt/ltsp? It only excludes images in
/opt/ltsp by default.

Mount the image and see if there are any files that shouldn't be in the
client image:

mount -o loop /opt/ltsp/images/i386.img /mnt
du -smc /mnt/* | sort -n

Look in directories with the largest files and see if anything obviou
turns up...


live well,
vagrant

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
Alkis Georgopoulos
2014-12-18 08:43:52 UTC
Permalink
Check what packages you have installed on your server, it's possible
that you have too many old kernels:

$ echo "Largest 20 packages:"
$ dpkg-query -Wf '${Installed-size}\t${Package}\n'|sort -rg|head -n 20
$ echo "Installed packages total size, in KB:"
$ dpkg-query -Wf '${Installed-size}\t${Package}\n' | awk '{sum+=$1} END
{print sum}'
$ echo "Installed kernels:"
$ ls /boot/vmlinuz*

On 18/12/2014 10:00 πμ, Takala Tuomas wrote:
> Hello
>
> 10 /mnt/bin
> 10 /mnt/etc
> 12 /mnt/sbin
> 176 /mnt/opt
> 233 /mnt/boot
> 854 /mnt/var
> 1130 /mnt/lib
> 3363 /mnt/usr
> 5782 total
>
> What should i do next?
>
> Thanks for help.
>
> Tuomas Takala
>
> ________________________________________
> Lähettäjä: Vagrant Cascadian [***@debian.org]
> Lähetetty: 17. joulukuuta 2014 20:29
> Vastaanottaja: ltsp-***@lists.sourceforge.net
> Aihe: Re: [Ltsp-discuss] Ubuntu 14.04 Ltsp-pnp image is bigger and bigger
>
> On 2014-12-17, Ben Green wrote:
>> Quoting Takala Tuomas <***@seinajoki.fi>:
>>
>>> I have done :
>>>
>>> Apt-get autoremove and apt-get autoclean. Do i need ti do something else?
>>
>> For the first I would recommend:
>>
>> apt-get --purge autoremove
>>
>> for the second:
>>
>> apt-get clean
>
> None of those are likely to do much, as those files are excluded from
> the image in /etc/ltsp/ltsp-update-image.excludes.
>
> Did you modify ltsp-update-image.excludes?
>
> Are your images located in /opt/ltsp? It only excludes images in
> /opt/ltsp by default.
>
> Mount the image and see if there are any files that shouldn't be in the
> client image:
>
> mount -o loop /opt/ltsp/images/i386.img /mnt
> du -smc /mnt/* | sort -n
>
> Look in directories with the largest files and see if anything obviou
> turns up...
>
>
> live well,
> vagrant

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP hel
Loading...