You are not logged in.
when doing an upgrade with:
# pacman -Syu
and it says it's going to be 142MB. Is that adding additional 142MB or is it just upgrading the exisiting programs and just making the upgrade without taking up more space in the / directory?
Last edited by vinoman2 (2009-06-11 02:30:12)
Offline
It won't take up any more space unless the size of the new packages is greater than that of the old ones.
Offline
It won't take up any more space unless the size of the new packages is greater than that of the old ones.
here's my df:
[davek@myhost ~]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 7566432 3589152 3592928 50% /
none 1037040 0 1037040 0% /dev/shm
/dev/sda4 30597264 856456 28186520 3% /home
/dev/sda1 38888 9195 27685 25% /boot
[davek@myhost ~]$
seems like sda3 has filled up fast. I wanted to add some more programs but it looks like I should resize the / directory. What do you think?
Offline
Are you clearing out your cache? Look at the pacman man page, under the sync option section for more information.
If you have the space for it, I would recommend keeping a copy of each installed package in the cache* so that you can always roll back if an update breaks something ("pacman -Sc" will do this).
[edit]
* and removing all others
[/edit]
Clearing the cache will only free up so much space though. I would agree that you should resize your root partition. In your case I would probably double it but it depends on what you intend to install, what you're doing with /var and /tmp and how much space you want to devote to /home. If you have a way to back up /home on another disk, it might even be a good idea to combine / and /home to avoid the partitioning curse of too much or too little.
Last edited by Xyne (2009-06-10 23:41:05)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
If you don't want to roll anything back (you can use the Arch Rollback Machine for this purpose), `pacman -Scc` will clean the entire cache. Only do this if you are very, very sure.
Offline
Just be careful though... "pacman -Sccc" deletes the entire internet. A little known fact is that that's how Judd burst the dotcom bubble when first testing pacman.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Are you clearing out your cache? Look at the pacman man page, under the sync option section for more information.
If you have the space for it, I would recommend keeping a copy of each installed package in the cache* so that you can always roll back if an update breaks something ("pacman -Sc" will do this).
[edit]
* and removing all others
[/edit]Clearing the cache will only free up so much space though. I would agree that you should resize your root partition. In your case I would probably double it but it depends on what you intend to install, what you're doing with /var and /tmp and how much space you want to devote to /home. If you have a way to back up /home on another disk, it might even be a good idea to combine / and /home to avoid the partitioning curse of too much or too little.
Since I'm new with Arch (2 weeks) I let the install set up some standard partitions. This is on a test box that I use to try different distros, so I don't have anything to backup at this time. And I like Arch so it will stay on this 40GB hdd. ![]()
Is cfdisk the favorite partitioning program? I've used Gparted before. Do I need to run it from a live CD?
Last edited by vinoman2 (2009-06-11 00:03:25)
Offline
I think cfdisk just happens to be what's on the live CD, probably due to its being simple and reliable. Afaik you can't use cfdisk to resize an existing partition without destroying it as you can with gparted. I use lvm though so I've never needed to resize a physical partition. Someone else will be able to clarify this. You might want to do a quick forum search for relevant threads as I've seen several in which resizing partitions was discussed, often with recommendations for gparted. I actually have no idea if it's included on the live CD but you should be able to download it with pacman if it's not.*
[edit]
*meaning, download it while running the live CD and install it in the live CD environment
[/edit]
Last edited by Xyne (2009-06-11 00:18:35)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I think cfdisk just happens to be what's on the live CD, probably due to its being simple and reliable. Afaik you can't use cfdisk to resize an existing partition without destroying it as you can with gparted. I use lvm though so I've never needed to resize a physical partition. Someone else will be able to clarify this. You might want to do a quick forum search for relevant threads as I've seen several in which resizing partitions was discussed, often with recommendations for gparted. I actually have no idea if it's included on the live CD but you should be able to download it with pacman if it's not.*
[edit]
*meaning, download it while running the live CD and install it in the live CD environment
[/edit]
I was thinking of the Parted magic live CD: http://distrowatch.com/?newsid=05469
Offline
I ran Parted magic 4.1 and everything went smoothly...
here's my df now:
[davek@myhost ~]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 14769568 3581096 10438244 26% /
none 1037040 0 1037040 0% /dev/shm
/dev/sda4 23394568 858624 21347540 4% /home
/dev/sda1 38888 9195 27685 25% /boot
[davek@myhost ~]$
now the / partition is twice as big as before.
Problem solved! ![]()
Offline
Just be careful though... "pacman -Sccc" deletes the entire internet. A little known fact is that that's how Judd burst the dotcom bubble when first testing pacman.
Awesome! I'ma go run that now. ![]()
Offline
Just be careful though... "pacman -Sccc" deletes the entire internet. A little known fact is that that's how Judd burst the dotcom bubble when first testing pacman.
Ohhh - now I know. It is four o'clock in the morning over here, but I think this one really saved my day ...
Offline