LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-11-2009, 03:07 AM   #1
ericbrown56
LQ Newbie
 
Registered: Jan 2009
Location: Reno, Nevada
Distribution: ubuntu 7.10
Posts: 10

Rep: Reputation: 0
Error Message When attempting upgrade to 8.04 lts


Hello everyone, I am new to linux and am slowly learning to love it. I have the following error appear when attempting upgrade from ubuntu 7.10 to8.04lts:

"The upgrade aborts now. The upgrade needs a total of 1311M free space on disk '/'. Please free at least an additional 377M of disk space on '/'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.

I have tried to clean the temp file and empty trash without success. How can I resolve this error message or resize the tmp folder so it will hold larger files.

Thanks Eric
 
Old 01-11-2009, 05:02 AM   #2
louieb
Member
 
Registered: Jun 2006
Location: Texas
Distribution: Ubuntu 8.04
Posts: 94

Rep: Reputation: 17
Are you dual booting? Is this a regular or wubi (inside windows) install? How much space did you give Ubuntu?

Want to see how much space you gave Ubuntu and how much is being used.
Please open application>accessories>terminal and post the output of
Code:
df -h
 
Old 01-12-2009, 01:40 AM   #3
ericbrown56
LQ Newbie
 
Registered: Jan 2009
Location: Reno, Nevada
Distribution: ubuntu 7.10
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the reply. The commands yielded the following:

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 4.3G 2.8G 1.4G 68% /
varrun 506M 92K 506M 1% /var/run
varlock 506M 0 506M 0% /var/lock
udev 506M 88K 506M 1% /dev
devshm 506M 0 506M 0% /dev/shm
lrm 506M 34M 472M 7% /lib/modules/2.6.22-16-generic/volatile
/dev/hda 505M 505M 0 100% /media/cdrom0

This was the default configuration given to me when installing and partioning. It is not a dual boot configuration. Physical disk space is 160 gig SATA drive.

Eric
 
Old 01-12-2009, 09:14 PM   #4
louieb
Member
 
Registered: Jun 2006
Location: Texas
Distribution: Ubuntu 8.04
Posts: 94

Rep: Reputation: 17
Wow. That doesn't look like how the installer normally would set up a 160GB drive. Your root partition is only 4.3GB the installer default should have been to use all the disk minus a small swap partition.

Please post your partition table just wondering if you have unallocated space on the drive and how much.
Code:
sudo fdisk -l
(lowercase L at the end)


might try getting a GParted -- LiveCD and see if you can expanded your Ubuntu partition.

IF you want a graphical look at your partitions Gparted is the repositories. But you will have to use a live CD in order to resize your partitions.
 
Old 01-13-2009, 01:49 AM   #5
ericbrown56
LQ Newbie
 
Registered: Jan 2009
Location: Reno, Nevada
Distribution: ubuntu 7.10
Posts: 10

Original Poster
Rep: Reputation: 0
fdisk setup for Ubuntu

Thanks again for a prompt reply. The following is the fdisk response:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa0440f05

Device Boot Start End Blocks Id System
/dev/sda1 * 1 569 4570461 83 Linux
/dev/sda2 570 19457 151717860 5 Extended
/dev/sda5 19081 19457 3028221 82 Linux swap / Solaris
/dev/sda6 570 18704 145669324+ 83 Linux
/dev/sda7 18705 19080 3020188+ 82 Linux swap / Solaris

Partition table entries are not in disk order

What do you recommend for space allocation for each of the partitions. I plan to have alot of video and music on the hard drive.

Eric
 
Old 01-13-2009, 06:52 AM   #6
louieb
Member
 
Registered: Jun 2006
Location: Texas
Distribution: Ubuntu 8.04
Posts: 94

Rep: Reputation: 17
Looks like you have 2 Linux installs on the hard drive. Unfortunately the one your not using is hogging most of the disk space.

Are you willing wipe the drive and install from scratch? If so i would partition the drive something like this:
http://louboldt.com/part_os_data.png

  1. / (root) 10 GB
  2. /home 10 GB
  3. swap 1.1 x ram
  4. /data remainder of drive.
I like to keep my data on a different partition from the OS that way if something goes wrong you can reinstall the OS and your data is out of the way.

Because Ubuntu comes out with a new version every 6 months, I like to keep a separate /home partition. That makes it easy to use partimage to make a backup of the / (root) and /home partitions before doing the upgrade.

If you can't start from scratch, it looks like you can use Gparted to shrink or delete the other Linux install partition then expand the Ubuntu install partition.

Gparted is pretty easy to use: If you have questions I'll check back later.
GParted Documentation - general
Linux.com Gparted videos

Last edited by louieb; 01-13-2009 at 06:53 AM.
 
  


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
Weird error message while attempting to run Eclipse v3gard Slackware 8 05-24-2013 10:40 PM
Error message when attempting to install GUI for Ubuntu Server 7.04 calebf Linux - Server 5 04-25-2009 11:23 PM
Error message while attempting Wine install odyssey84 Linux - Software 4 07-25-2006 03:43 AM
error message when attempting winex icanspellnew Linux - Software 1 07-18-2004 05:20 AM
PLEASE HELP: Receiving weird error message when attempting Red Hat v8.0 install!! Soulstice Linux - General 8 01-12-2003 02:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:24 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