Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Upgrade Root Partition in Ubuntu

This is a discussion on Upgrade Root Partition in Ubuntu within the Unix/Linux forums, part of the Operating Systems category; Hi friends, Tips to upgrade when you don't have enough space left on the root partition [ubuntu] Suppose you want to do an upgrade of a few gb (upgrading from ...

Go Back   Geeks Talk > Operating Systems > Unix/Linux
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 12-04-2009
Expert Member
 
Join Date: May 2009
Location: Bangalore
Posts: 1,451
Thanks: 157
Thanked 484 Times in 240 Posts
rijus is a glorious beacon of lightrijus is a glorious beacon of lightrijus is a glorious beacon of lightrijus is a glorious beacon of lightrijus is a glorious beacon of light
Smile Upgrade Root Partition in Ubuntu

Hi friends,

Tips to upgrade when you don't have enough space left on the root partition [ubuntu]

Suppose you want to do an upgrade of a few gb (upgrading from jaunty to karmic for instance) and you only have a 50-100 mb left on your root partition.

To do this....

1. Open a terminal and run the following command in order to delete the cached packages:

sudo apt-get clean

2. In your /home folder, create a new directory owned by root

mkdir -p /home/apt/cache

3. Create a new file at /etc/apt/apt.conf.d/02homecache. Open a terminal and type:

sudo gedit /etc/apt/apt.conf.d/02homecache

and paste this inside the file:

dir::cache::archives "/home/apt/cache";

4. Run this in a terminal, to make sure you don't have any syntax errors:

sudo apt-get update

5. If you followed the steps correctly, now you can begin your upgrade.

Thanks,
Rijus.
__________________
Real Inspirational Journey......Unanimously & Sincerely.
Reply With Quote
Sponsored Links
Reply

  Geeks Talk > Operating Systems > Unix/Linux

Thread Tools
Display Modes

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Ubuntu Tips : Ubuntu / Debian Script To Install Sharp Fonts rijus Unix/Linux 2 09-22-2009 11:27 PM
Linux Tips:Recover u r Root Password...... rijus Unix/Linux 1 07-28-2009 09:13 PM
Root DNS pathimaruthi Oracle 1 11-06-2007 05:30 AM
Program for finding cubic root of a number Geek_Guest C and C++ 2 08-12-2007 04:37 AM
Root servers scott Web Servers 2 04-04-2007 03:41 AM


All times are GMT -4. The time now is 12:13 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved