Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have difficulties configuring a local repository.
I installed Debian net-inst on a PC that doesn't have internet access.
I then downloaded the full installation DVD's (3 DVD's)
I am trying to set the 1st DVD as a local repository.
I ran the dpkg-scanpackages command on the cd and created
the .gz file which I called packages-dvd1.gz
The exact command I ran is:
dpkg-scanpackages /media/cdrom0 /dev/null | gzip -9c > /usr/local/bin/packages/packages-dvd1.gz
I put the .gz file in: /usr/local/bin/packages .
I also added the line: deb file:/usr/local/bin/packages ./
to the sources.list file and ran the command: apt-get update.
The apt-get update command gives a message that it can't
find the file /usr/local/bin/packages/packages.gz
and it doesn't say anything about packages-dvd1.gz .
But I didn't name my packages file: "packages.gz",
I named it: "packages-dvd1.gz" .
My questions are:
Must the packages.gz file be where the actual packages are
- on the DVD ?
If yes then how do I put it on the DVD, since the DVD is a downloaded
.iso image ?
and in which directory on the DVD ?
Must the packages.gz file be named with this name (packages.gz)
and not any other name ?
Or is it possible to name it: packages-dvd1.gz ? (like I did)
What is the meaning of the " ./ "
at the end of the line that I added to the sources.list:
deb file:/usr/local/bin/packages ./
Downloading net-inst was easier and faster then anything else,
and I was lazy.
I burned it on a cd and installed on a computer without internet connection.
net-inst doesn't have any gui on it and I want to install gnome.
I realised I have no choice but to struggle with Jigdo and download
the full installation dvd.
So now I have a basic net-inst install to which I want to add stuff
from the full dvd that I have, and for this purpose I am trying to configure the dvd as a local repository.
I didn't try apt-cdrom yet.
I'll try it and if I fail I'll post for help.
The whole purpose is to learn how to do it, so I don't want
to erase the net-inst and reinstall from a dvd.
I want to do everything the hard way, so one day
I'll stop calling myself "newbie".
Thx for the help,
This forum is very helpful and I appreciate it alot.