Web lists-archives.com

Re: making more room in root partition for distribution upgrade

Le 21/05/2018 à 18:14, Mark Copper a écrit :
On Sun, May 20, 2018 at 3:19 AM, Pascal Hambourg <pascal@xxxxxxxxxxxxxxx> wrote:
Le 18/05/2018 à 02:05, Mark Copper a écrit :

You will have to move/delete and re-create the swap too.
Gparted allows to resize and move an unused partition. Better have a backup

yes, if I understand, the file system is lost on any partition,
primary or logical, whose first cylinder is changed.

Not with Gparted. Gparted moves the data to the new location of the partition. But things can go wrong during the operation (power failure, system crash...) so better keep a backup.

Note : cylinders are deprecated. LBA is used instead.

6.5G    /usr

What about the rest ? How much free space is available ?
Yes, should have included that:

:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       9.1G  7.8G  870M  91% /

the other filesystems are of no interest. I meant the rest of the / filesystem.

No, I had not considered playing with any part of /var. With /var
taking less than 1 gb and /var/cache/apt/archives less than 1mb

/var/cache/apt/archives will temporarily grow a lot during the upgrade, as it will contain all the dowloaded *.deb files. When apt-get says "Need to get X MB of archives", it means that these X MB will go into /var/cache/apt/archives.