Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-20-2005, 12:56 PM   #1
LQ Newbie
Registered: Jun 2005
Distribution: SUSE and Debian
Posts: 9

Rep: Reputation: 0
Question How to backup the update files

Hi all! I've just begun installing linux following step by step a book which provided Suse Linux 9.1 on DVD. When I reached the point "update your system" I had not yet been able to set up the ADSL connection (actually, until now I haven't been able at all), so it took me a whole day to download the files.
Now what if I need to reinstall the system (in fact I think I need it)?
During the download I noticed an option to remove the source files, and I have NOT selected it, so I wonder... where are these files stored and what can I do to backup them and use them after a new installation?
Please help me, I don't want to download for another whole day files that I already have on my harddisk!
Thank you very much for your help!
Old 06-21-2005, 07:44 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,894

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
To find them, open a terminal window (the CRT icon with the scallop shell in the tray), and enter the command 'su' (without quotes). Then supply the root password you set up when you install SuSE.

Then run 'updatedb' (without quotes) to update the database used the the 'locate' command.

When that finishes running, give the command 'locate .rpm' (note that's dot rpm). You will probably find them in /var/lib, and most will probably .patch.rpm (patches to installed rpms, not the entire rpm).

Make an iso image the the directory(s) and burn them to cd. If you need to reinstall later, you should be able to use YaST (start the Control Center, click on YaST2 modules, Software, Change Source to show the path to the cd drive) and update from there.
Old 06-22-2005, 03:13 PM   #3
LQ Newbie
Registered: Jun 2005
Distribution: SUSE and Debian
Posts: 9

Original Poster
Rep: Reputation: 0
Command not found

I've tried both the "Konsole" (with the "su" command +root password) and the "Terminal program Super User Mode", but when I run "updatedb" I get the message "Bash: updatedb: command not found".
What does it mean? During the installation I installed all of the default parts, so if this is a standard command it should be available, right?
Old 06-26-2005, 09:32 PM   #4
LQ Newbie
Registered: Jun 2005
Distribution: SUSE and Debian
Posts: 9

Original Poster
Rep: Reputation: 0
I'm stuck with this problem.
I've found out that the command "locate" is not installed on Suse Linux 9.1 by default. I've tried to install it (in "sux -" mode), but once again I need to update the locate database and, although I switched to root user and tried from several locations (from "sux -", "sux", "su"and "su -", after a system boot etc, etc) I always get the error message:
"-bash: updatedb: command not found"

Why can't I find this command on my system?

Thanks to you all!


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
How to backup files? yuchen99 Red Hat 6 04-23-2005 09:36 PM
backup files davidleroux1 Mandriva 0 12-01-2004 06:32 PM
help with backup files vince_2x Linux - General 1 09-21-2004 09:11 PM
Your way: Backup - what files, how often, on CD-(RW)? JZL240I-U Linux - General 8 07-24-2003 02:49 PM
backup and update the backup file doris Linux - General 4 08-24-2002 07:26 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:10 PM.

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