Re: [Trisquel-users] Unable to remove programs

2016-07-22 Thread sv . tony
I did sudo apt-get clean before. I made a backup of my files and would like  
to resize but wasn't able to do it yet.


Re: [Trisquel-users] Unable to remove programs

2016-07-21 Thread t8mf4nu6lizp
Another thing you can easily and absolutely risk free do is clean the apt  
cache.sudo apt-get clean


Of course, if you first make backups, then resizing the partitions is risk  
free as well.


Re: [Trisquel-users] Unable to remove programs

2016-07-21 Thread sv . tony
I see. I've no idea how I got this very small home partition. I'll have to  
remove the old kernel images next time I'm running out of space, if I can't  
find any other solution. Thanks for your help. 


Re: [Trisquel-users] Unable to remove programs

2016-07-21 Thread onpon4
Expanding it would be risky, so if I were you I would wait until your next  
upgrade. Then what I would do is abandon the approach of having a separate  
/home partition and just make it all one partition (this is what I do now).


That amount of space should be fine as long as you periodically remove old  
kernel images.


Re: [Trisquel-users] Unable to remove programs

2016-07-21 Thread sv . tony
Thank you. That freed more than 5 GiB, according to the program. It should  
last for a while. Still, the partition's total size is only 13.97 GiB, so I'd  
like to find a way to expand it.


Re: [Trisquel-users] Unable to remove programs

2016-07-21 Thread greatgnu

> it gives me the following message: "device is busy.

Pardon my comment but I don't know your level of expertise..
You are not trying to do that within your normal Trisquel session, right? To  
do that you will need to use a live DVD / USB


http://www.howtogeek.com/114503/how-to-resize-your-ubuntu-partitions/


Re: [Trisquel-users] Unable to remove programs

2016-07-21 Thread b . mckay
This command will relieve you of all old kernel versions, giving you more  
space:


sudo echo $(dpkg --list | grep linux-image | awk '{ print $2 }' | sort -V |  
sed -n '/'`uname -r`'/q;p') $(dpkg --list | grep linux-headers | awk '{ print  
$2 }' | sort -V | sed -n '/'"$(uname -r | sed  
"s/\([0-9.-]*\)-\([^0-9]\+\)/\1/")"'/q;p') | xargs sudo apt-get -y purge





Re: [Trisquel-users] Unable to remove programs

2016-07-21 Thread sv . tony

I decided to expand the partition for "/" but I've encountered an issue.

I'm using GParted and it won't let me unmount it or modify it. I tried  
unmounting with the terminal using sudo umount /dev/sda1 but it gives me the  
following message: "device is busy.(In some cases useful info about processes  
that use the device is found by lsof(8) or fuser(1))"


Any ideas on how to solve it?


Re: [Trisquel-users] Unable to remove programs

2016-06-17 Thread sv . tony

Alright. I'll try doing that. Thanks.


Re: [Trisquel-users] Unable to remove programs

2016-06-17 Thread danigaritarojas

> "sda 8:0 0 465.8G 0 disk"
You have more than enough disk-space, but:
> "sda1 8:1 0 14G 0 part /"
Indeed. The installer assigned only 14GB for /. I had this very same problem.

And the solution for me was format and make the partitions manually with the  
intelligence only a human posses.
Making the partition table right is the longterm solution because even if you  
remove programs, you can't install (for example) FlightGear.


Try executing:
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove
To regain some space.


Re: [Trisquel-users] Unable to remove programs

2016-06-17 Thread enduzzer

df -h would be easier to read.


Re: [Trisquel-users] Unable to remove programs

2016-06-17 Thread sv . tony

This is what I get:

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda  8:00 465.8G  0 disk
├─sda1   8:1014G  0 part /
├─sda2   8:20 1K  0 part
├─sda5   8:50  10.4G  0 part [SWAP]
└─sda6   8:60 441.4G  0 part /home
sr0 11:01  1024M  0 rom



Re: [Trisquel-users] Unable to remove programs

2016-06-17 Thread danigaritarojas
Perhaps you allowed the installer do the partition table and you end up with  
low disk space for /?

Please run this command and paste the output: lsblk
This way I can know if you have too little space assigned for /