Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 11-20-2003, 02:39 PM   #1
Registered: Aug 2003
Location: Kentucky
Distribution: Ubuntu 9.10
Posts: 153

Rep: Reputation: 30
Generic Update Question

As I am waiting for my Mdk9.0 disks to come through the mail, a thought crossed my mind about distribution updates and new installs.

My question deals with what happens to the /usr partition during the update/install. I, of course, have all my "personal stuff" in a /home/ directory, but have some "stuff" in the /usr/local/ directory.

Does an update/install change things in the /usr/ directory, but leave the /usr/local/ directory alone?

I presently have a /home/Downloads/ directory with both source and RPM files. Recently I heard about using a /usr/local/src/ directory to "store" the source files. Will "storing" the sources in this /usr/local/src/ directory be safe with an update/install?

I'm sorry for the rambling, but these are some questions that have been running around in my head.

BTW: I found that I disliked RH 9.1, especially after using Mdk 9.0 and 9.1. Mandrake Linux 9.2, here I come!
Old 11-20-2003, 03:20 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,147

Rep: Reputation: 229Reputation: 229Reputation: 229
Most of the time an update will update packages but won't remove anything that you've installed. Though in some cases if your doing an update, its always nice to make or create a backup of any important data you want to save, just in case.
Old 11-20-2003, 03:26 PM   #3
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,670

Rep: Reputation: 229Reputation: 229Reputation: 229
"these are some questions that have been running around in my head."

The three major distributions, Mandrake, Red Hat, and SuSE, have options in their installers to preserve user data. These options are unreliable and sometimes sometimes people post complaints on the forum that a distribution destroyed data that should have been saved. Another problem is that the new system may not work immediately and you have to run on a crippled OS for a while.

The way that I handle the problem is I back up everything to CD-RW just before doing the install. Then I install the new system on a fresh partition. I dual boot two Linux versions until the new system is stable and then I copy my data from the old system to the new. If I screw something up I restore it from backup.

Be prepared. Create a LifeBoat CD.

Steve Stites

Last edited by jailbait; 11-20-2003 at 11:03 PM.
Old 11-20-2003, 07:59 PM   #4
Registered: Oct 2003
Distribution: Gentoo, Mint, Ubuntu, Vector
Posts: 149

Rep: Reputation: 15
During an Install... /usr /usr/local /usr/src/ etc would be formatted..

So put your source files in your home dir... AND make sure you have it on a separate parttion ie not / (root) and /usr.

During an up update it should be fine.. but like tricky kid said back stuff up anyways.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Update question beerjen Red Hat 2 11-08-2005 02:06 PM
Question about Generic Platform Web 0 Login productive Red Hat 0 05-11-2005 11:53 PM
generic multihomed network card question Danathar Linux - Networking 0 12-06-2004 09:25 AM
A question about generic-kernel in /testing mardanian Slackware 7 07-10-2004 05:13 AM
update question today53 Linux - Newbie 2 10-11-2003 04:31 PM

All times are GMT -5. The time now is 09:15 AM.

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