LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-12-2009, 04:02 PM   #1
papahonk
Member
 
Registered: Oct 2009
Posts: 30

Rep: Reputation: 15
no space for downloads


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'/"

Thanks for any advice

Mike Honaker
 
Old 10-12-2009, 04:10 PM   #2
zogness
LQ Newbie
 
Registered: Apr 2006
Posts: 24

Rep: Reputation: 0
Type,

df -h

and paste it here.
 
Old 10-12-2009, 04:12 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
type
Code:
apt-get clean
to delete all downloaded deb files in /var/apt/cache
 
Old 10-12-2009, 06:00 PM   #4
papahonk
Member
 
Registered: Oct 2009
Posts: 30

Original Poster
Rep: Reputation: 15
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


Thanks
Mike Honaker
 
Old 10-13-2009, 06:12 AM   #5
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by papahonk View Post
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:
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda6              13G  5.4G  6.9G  44% /
/dev/sdb5             200G   91G   99G  48% /data
tmpfs                1006M     0 1006M   0% /dev/shm
bash-3.1$
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 View Post
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.
 
Old 10-13-2009, 07:06 AM   #6
papahonk
Member
 
Registered: Oct 2009
Posts: 30

Original Poster
Rep: Reputation: 15
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

Last edited by papahonk; 10-13-2009 at 07:14 AM.
 
Old 10-13-2009, 07:10 AM   #7
papahonk
Member
 
Registered: Oct 2009
Posts: 30

Original Poster
Rep: Reputation: 15
tried apt-get clean this is what i got

E: Could not open lock file /var/cache/apt/archives/lock - open (13 Permission denied)
E: Unable to lock the download directory

It didnt ask for my password, do i need to go click on something to unlock this file?
 
Old 10-13-2009, 07:11 AM   #8
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
/dev/sda8 2.3G 2.1G 120M 95% /
/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.
 
Old 10-13-2009, 07:14 AM   #9
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
tried apt-get clean this is what i got
That command needs to be run as root. Either try sudo apt-get clean or, better, reinstall for the reason in my post #8
 
Old 10-13-2009, 07:15 AM   #10
papahonk
Member
 
Registered: Oct 2009
Posts: 30

Original Poster
Rep: Reputation: 15
how do you get the drive list to come out nice arg im such a noob
 
Old 10-13-2009, 07:58 AM   #11
papahonk
Member
 
Registered: Oct 2009
Posts: 30

Original Poster
Rep: Reputation: 15
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

Last edited by papahonk; 10-13-2009 at 08:00 AM.
 
Old 10-13-2009, 08:07 AM   #12
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
how do you get the drive list to come out nice
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".
 
Old 10-13-2009, 08:18 AM   #13
papahonk
Member
 
Registered: Oct 2009
Posts: 30

Original Poster
Rep: Reputation: 15
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.
 
Old 10-13-2009, 11:05 PM   #14
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Do we have any chance of calling user space callback function from kernel space? ravishankar.g Linux - Newbie 1 09-22-2009 07:14 PM
how to call socket prog code written in user space from kernel space???HELP kurt2 Programming 2 07-15-2009 09:56 PM
LXer: Worms in space: NASA confirms International Space Station infected LXer Syndicated Linux News 0 08-28-2008 09:40 AM
XP Downloads Fast ... Ubuntu Downloads Slow :( Dinerty Ubuntu 2 07-23-2006 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration