UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
just got ubuntu loaded side by side with mint. hooked up to net so it can get updates. when i hit the install updates button i get a warning
"The upgrade needs a total of 482M free space on disk '/'. Please free at least an additional 356M of disk space on '/'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'."
it has 50+ gig of hard drive on its partion how do i get it to use it instead of Disk'/" where is disk'/"
ok, Where do i type df -h ? sorry for the stupid question.
The apt-get clean. would there be something to clean on a fresh install?
i cant do it till later. we have cub scouts and i have to rehook monitor, mouse, and keyboard. man i wish i had a KVM switch. It might be tomorrow before i get it back up
ok, Where do i type df -h ? sorry for the stupid question.
The df -h is a command you type in the terminal. To open a terminal in Ubuntu go to:
applications > accessories > terminal. In the terminal type df -h. You will get an output similar (but not identical) to this:
On my system /dev/sda6 is my Slackware root partition. The root partition is what the "disk /" is referring to in the errors you are getting when trying to update Ubuntu.
How much hard drive space did you allocate for Ubuntu when you installed it? The df-h command will tell us the size of your partitions and how much used and free space there is.
Quote:
Originally Posted by papahonk
The apt-get clean. would there be something to clean on a fresh install?
When Ubuntu downloads updates and installs programs it stores backups of the packages as .deb files in /var/apt/cache. The "apt-get clean" command will delete them and free up some space.
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 2.3G 2.1G 120M 95% /
tmpfs 502M 0 502M 0% /lib/init/rw
varrun 502M 100K 502M 1% /var/run
varlock 502M 0 502M 0% /var/lock
udev 502M 156K 502M 1% /dev
tmpfs 502M 120K 502M 1% /dev/shm
lrm 502M 2.4M 499M 1% /lib/modules/2.6.28-11-generic/volatile
So when i loaded ubuntu and it asked me where to partition the drive for it i split it in half. did i screw up and only give it 2.3 gig of HD? I'll run the apt-get clean and repost
/dev/sda8 is your "/" disk
It is only 2.3G in size (which is, well, small), and it is 95% full. That's why you are having problems.
It might be easiest for you just to do a reinstall, and make the root partition larger.
ah the joy of learning something new, screwing up and having to do it over and over till you get it right. LoL I'm reinstalling to see if i can get it right this time
Not at all sure what you mean by this, but to see a list of your drives and partitions, the command is sudo fdisk -l
Note that that is "sudo fdisk minus-ELL" not "minus-ONE".
went to reinstall and it looks like the failed attempt 2days ago was on there as well. so im reinstalling ubuntu on the whole HD.
I'm not sure how much i like Mint anyway. its very pleasing on the eye ( my favorite color is green) but there is something about how it flows that im not sure about.
Here is a good tutorial on installing Ubuntu: http://www.psychocats.net/ubuntu/installing
If you are installing Ubuntu to the whole hard drive it would be a good idea to create a seperate home partition: http://www.psychocats.net/ubuntu/installseparatehome
This way all of your data is stored on a separate partition, so if you reinstall Ubuntu your data is safe since it is on a different partition.
If you have already installed Ubuntu and did not create a separate home partition, it is possible to create a separate home partition after installing. It is a bit more complicated though: http://www.psychocats.net/ubuntu/separatehome
I would say the minimum size for a root partition in Ubuntu would be about 6GB. Ubuntu Karmic beta is currently occupying 3.5GB on my laptop, so you could get by with a root partition of about 6GB if you are tight on space.
I would recommend a root partition of 10-12GB if you have the space. This will allow plenty of room for extra software and updates, so you never have this problem again.
Write back if you need more help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.