Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #243703 > unrolled thread

reduce size of debian-live-11.1.0-amd64-xfce+nonfree.iso installation

Started byDavid Christensen <dpchrist@holgerdanske.com>
First post2022-01-05 03:40 +0100
Last post2022-01-10 06:30 +0100
Articles 4 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  reduce size of debian-live-11.1.0-amd64-xfce+nonfree.iso installation David Christensen <dpchrist@holgerdanske.com> - 2022-01-05 03:40 +0100
    Re: reduce size of debian-live-11.1.0-amd64-xfce+nonfree.iso  installation "Andrew M.A. Cater" <amacater@einval.com> - 2022-01-06 15:50 +0100
      Re: reduce size of debian-live-11.1.0-amd64-xfce+nonfree.iso  installation David Christensen <dpchrist@holgerdanske.com> - 2022-01-07 01:40 +0100
        Re: reduce size of debian-live-11.1.0-amd64-xfce+nonfree.iso  installation David Christensen <dpchrist@holgerdanske.com> - 2022-01-10 06:30 +0100

#243703 — reduce size of debian-live-11.1.0-amd64-xfce+nonfree.iso installation

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2022-01-05 03:40 +0100
Subjectreduce size of debian-live-11.1.0-amd64-xfce+nonfree.iso installation
Message-ID<DC4nv-4Mc-9@gated-at.bofh.it>
debian-user

I installed debian-live-11.1.0-amd64-xfce+nonfree.iso and updated onto a 
amd64 computer for graphical desktop usage (e.g. "daily driver"):

2022-01-04 17:57:07 root@laalaa ~
# cat /etc/debian_version ; uname -a
11.2
Linux laalaa 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 
GNU/Linux


I noted that the install was larger (11+ GB) than previous installs 
using *-xfce-CD-1.iso Debian installers (~6 GB).


I like to keep my root partition small (~13 GB) and have been looking 
ways to free up space -- e.g 'apt clean', 'apt-get autoremove', 'apt-get 
purge ...', etc..


I have previously removed libreoffice language packages:

2021-12-05 17:36:22 root@laalaa ~
# dpkg-query -l 'libreoffice*' | egrep '^ii.+language' | perl -ane 
'print $F[1], "\n"' | xargs apt-get -y remove
...
After this operation, 874 MB disk space will be freed.


Using dpkg-query(1), It appears that an ARM toolchain was installed, 
which I do not expect to use.  If I purge it, will I lose something I need?

2022-01-04 17:58:02 root@laalaa ~
# dpkg-query -W -f '${Installed-Size}\t${Package}\n' '*arm-*' 2>&1 | 
sort -rn
755527	libstdc++-arm-none-eabi-newlib
576828	libnewlib-arm-none-eabi
507111	gcc-arm-none-eabi
17027	binutils-arm-none-eabi
109	arm-trusted-firmware-tools

2022-01-04 18:35:54 root@laalaa ~
# apt-get --dry-run purge libstdc++-arm-none-eabi-newlib 
libnewlib-arm-none-eabi gcc-arm-none-eabi binutils-arm-none-eabi 
arm-trusted-firmware-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
   libnewlib-dev
Use 'apt autoremove' to remove it.
The following packages will be REMOVED:
   arm-trusted-firmware-tools* binutils-arm-none-eabi* 
gcc-arm-none-eabi* libnewlib-arm-none-eabi* libstdc++-arm-none-eabi-newlib*
0 upgraded, 0 newly installed, 5 to remove and 1 not upgraded.
Purg arm-trusted-firmware-tools [2.4+dfsg-2]
Purg gcc-arm-none-eabi [15:8-2019-q3-1+b1]
Purg binutils-arm-none-eabi [2.35.2-2+14+b2]
Purg libstdc++-arm-none-eabi-newlib [15:8-2019-q3-1+13]
Purg libnewlib-arm-none-eabi [3.3.0-1]


Are there other packages that I should consider purging?


David

[toc] | [next] | [standalone]


#243763 — Re: reduce size of debian-live-11.1.0-amd64-xfce+nonfree.iso installation

From"Andrew M.A. Cater" <amacater@einval.com>
Date2022-01-06 15:50 +0100
SubjectRe: reduce size of debian-live-11.1.0-amd64-xfce+nonfree.iso installation
Message-ID<DCCfw-R6-17@gated-at.bofh.it>
In reply to#243703
On Tue, Jan 04, 2022 at 06:37:53PM -0800, David Christensen wrote:
> debian-user
> 
> I installed debian-live-11.1.0-amd64-xfce+nonfree.iso and updated onto a
> amd64 computer for graphical desktop usage (e.g. "daily driver"):
> 
> 2022-01-04 17:57:07 root@laalaa ~
> # cat /etc/debian_version ; uname -a
> 11.2
> Linux laalaa 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64
> GNU/Linux
> 
> 
> I noted that the install was larger (11+ GB) than previous installs using
> *-xfce-CD-1.iso Debian installers (~6 GB).
> 
> 
> I like to keep my root partition small (~13 GB) and have been looking ways
> to free up space -- e.g 'apt clean', 'apt-get autoremove', 'apt-get purge
> ...', etc..
> 
> 
> I have previously removed libreoffice language packages:
> 
> 2021-12-05 17:36:22 root@laalaa ~
> # dpkg-query -l 'libreoffice*' | egrep '^ii.+language' | perl -ane 'print
> $F[1], "\n"' | xargs apt-get -y remove
> ...
> After this operation, 874 MB disk space will be freed.
> 
> 
> Using dpkg-query(1), It appears that an ARM toolchain was installed, which I
> do not expect to use.  If I purge it, will I lose something I need?
> 
> 2022-01-04 17:58:02 root@laalaa ~
> # dpkg-query -W -f '${Installed-Size}\t${Package}\n' '*arm-*' 2>&1 | sort
> -rn
> 755527	libstdc++-arm-none-eabi-newlib
> 576828	libnewlib-arm-none-eabi
> 507111	gcc-arm-none-eabi
> 17027	binutils-arm-none-eabi
> 109	arm-trusted-firmware-tools
> 
> 2022-01-04 18:35:54 root@laalaa ~
> # apt-get --dry-run purge libstdc++-arm-none-eabi-newlib
> libnewlib-arm-none-eabi gcc-arm-none-eabi binutils-arm-none-eabi
> arm-trusted-firmware-tools
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> The following package was automatically installed and is no longer required:
>   libnewlib-dev
> Use 'apt autoremove' to remove it.
> The following packages will be REMOVED:
>   arm-trusted-firmware-tools* binutils-arm-none-eabi* gcc-arm-none-eabi*
> libnewlib-arm-none-eabi* libstdc++-arm-none-eabi-newlib*
> 0 upgraded, 0 newly installed, 5 to remove and 1 not upgraded.
> Purg arm-trusted-firmware-tools [2.4+dfsg-2]
> Purg gcc-arm-none-eabi [15:8-2019-q3-1+b1]
> Purg binutils-arm-none-eabi [2.35.2-2+14+b2]
> Purg libstdc++-arm-none-eabi-newlib [15:8-2019-q3-1+13]
> Purg libnewlib-arm-none-eabi [3.3.0-1]
> 
> 
> Are there other packages that I should consider purging?
> 

You've hit a problem: the live DVDs include a whole bunch of "stuff": much of itshould be de-installed on clean up but there are a few changes that stick, I
think - desktop background may be subtly different. The installer is also
prepared by different folk from those in the normal CD/DVD images team.
I don't know exactly what's in there: maybe contact the team responsible
for debian-live?

> 
> David
>

If you've not got much data copied across yet, I'd suggest a reinstall with
the non-free firmware netinst / DVD as you can control this much better. 
If you only want XFCE, then an expert install will enable you to deselect/uncheck Debian graphical environment as you work through. There is no longer an
XFCE install medium on CD - as of Bullseye it became too big to fit.

All the very best, as ever,

Andy Cater

[toc] | [prev] | [next] | [standalone]


#243773 — Re: reduce size of debian-live-11.1.0-amd64-xfce+nonfree.iso installation

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2022-01-07 01:40 +0100
SubjectRe: reduce size of debian-live-11.1.0-amd64-xfce+nonfree.iso installation
Message-ID<DCLsu-6XK-7@gated-at.bofh.it>
In reply to#243763
On 1/6/22 6:41 AM, Andrew M.A. Cater wrote:
> On Tue, Jan 04, 2022 at 06:37:53PM -0800, David Christensen wrote:
>> debian-user
>>
>> I installed debian-live-11.1.0-amd64-xfce+nonfree.iso and updated onto a
>> amd64 computer for graphical desktop usage (e.g. "daily driver"):

>> I noted that the install was larger (11+ GB) than previous installs using
>> *-xfce-CD-1.iso Debian installers (~6 GB).

> You've hit a problem: the live DVDs include a whole bunch of "stuff": much of itshould be de-installed on clean up but there are a few changes that stick, I
> think - desktop background may be subtly different. The installer is also
> prepared by different folk from those in the normal CD/DVD images team.
> I don't know exactly what's in there: maybe contact the team responsible
> for debian-live?

> If you've not got much data copied across yet, I'd suggest a reinstall with
> the non-free firmware netinst / DVD as you can control this much better.
> If you only want XFCE, then an expert install will enable you to deselect/uncheck Debian graphical environment as you work through. There is no longer an
> XFCE install medium on CD - as of Bullseye it became too big to fit.
> 
> All the very best, as ever,
> 
> Andy Cater


Thank you for the reply and the information.


I will try a fresh install via debian-11.2.0-amd64-netinst.iso.


David

[toc] | [prev] | [next] | [standalone]


#243849 — Re: reduce size of debian-live-11.1.0-amd64-xfce+nonfree.iso installation

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2022-01-10 06:30 +0100
SubjectRe: reduce size of debian-live-11.1.0-amd64-xfce+nonfree.iso installation
Message-ID<DDVpL-1zR-1@gated-at.bofh.it>
In reply to#243773
On 1/6/22 4:27 PM, David Christensen wrote:
> On 1/6/22 6:41 AM, Andrew M.A. Cater wrote:
>> On Tue, Jan 04, 2022 at 06:37:53PM -0800, David Christensen wrote:
>>> debian-user
>>>
>>> I installed debian-live-11.1.0-amd64-xfce+nonfree.iso and updated onto a
>>> amd64 computer for graphical desktop usage (e.g. "daily driver"):
> 
>>> I noted that the install was larger (11+ GB) than previous installs 
>>> using
>>> *-xfce-CD-1.iso Debian installers (~6 GB).
> 
>> You've hit a problem: the live DVDs include a whole bunch of "stuff":

> I will try a fresh install via debian-11.2.0-amd64-netinst.iso.


After installation with Xfce and SSH:

root@laalaa:~# cat /etc/debian_version ; uname -a
11.2
Linux laalaa 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 
GNU/Linux

root@laalaa:~# df /
Filesystem             1K-blocks    Used Available Use% Mounted on
/dev/mapper/sdb3_crypt  12373508 3287184   8435984  29% /


David

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web