Re: Merging all 30+ Debian CD's onto hard drive

2008-03-25 Thread Daniel Burrows
On Mon, Mar 24, 2008 at 02:55:48PM +0100, Florian Kulzer <[EMAIL PROTECTED]> 
was heard to say:
> You can try to put
> 
> APT::Authentication::TrustCDROM "true";
> 
> into a file in /etc/apt/apt.conf.d/. This gets rid of the warning
> message for CDrom sources, but I am not sure if it will work for your
> configuration: I assume that you use a "file" declaration in your
> sources.list to refer to your merged archive on the hard disk. If this
> is not covered by the TrustCDROM directive (I never tried) then you may
> have to go through the procedure described in the ARCHIVE CONFIGURATION
> section of "man apt-secure".

  TrustCDROM only affects cdrom:/ URLs.  file:/ URLs will still be
untrusted by default.

  Daniel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Merging all 30+ Debian CD's onto hard drive

2008-03-24 Thread Michael Paulsen
Florian,

You assume correctly I inserted;

  deb file:/mnt/maddog2/debian etch contrib main non-free

into /etc/apt/sources.list.

Thank you for pointing me in the right direction, I'll get your
suggestion a try and see what happens.

Regards,
Michael

On 3/24/08, Florian Kulzer <[EMAIL PROTECTED]> wrote:
> On Sun, Mar 23, 2008 at 17:02:18 -0700, Michael Paulsen wrote:
> > On 3/20/08, Michael Paulsen wrote:
> > > Hi ya,
> > >
> > > Debian Etch now has over 30 CD's. I'm bored with CD swapping every
> > > time I want to install a new package. Is it possible to merge the CD's
> > > to my hard drive and direct APT or DPKG to use the hard drive instead
> > > of all the CD's when installing new packages? What would the be the
> > > easiest way to do this?
> > >
> > > Thank You,
> > > mtp5150
> > >
> >
> > STATUS: Completed, Solved
> >
> > Hi Ya,
> >
> > First off let me thank all of you for providing input, advice, and
> > support.  I have successfully merged all of the CDs on to a hard drive
> > partition and it is working with one minor glitch.  I keep getting the
> > following error, "warning the following packages cannot be
> > authenticated".  APT-GET INSTALL does allow me to continue, so
> > everything is working.  I just don't know how to resolve this error
> > message, yet.
>
> You can try to put
>
> APT::Authentication::TrustCDROM "true";
>
> into a file in /etc/apt/apt.conf.d/. This gets rid of the warning
> message for CDrom sources, but I am not sure if it will work for your
> configuration: I assume that you use a "file" declaration in your
> sources.list to refer to your merged archive on the hard disk. If this
> is not covered by the TrustCDROM directive (I never tried) then you may
> have to go through the procedure described in the ARCHIVE CONFIGURATION
> section of "man apt-secure".
>
> --
> Regards,| http://users.icfo.es/Florian.Kulzer
>   Florian   |
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Merging all 30+ Debian CD's onto hard drive

2008-03-24 Thread Florian Kulzer
On Sun, Mar 23, 2008 at 17:02:18 -0700, Michael Paulsen wrote:
> On 3/20/08, Michael Paulsen wrote:
> > Hi ya,
> >
> > Debian Etch now has over 30 CD's. I'm bored with CD swapping every
> > time I want to install a new package. Is it possible to merge the CD's
> > to my hard drive and direct APT or DPKG to use the hard drive instead
> > of all the CD's when installing new packages? What would the be the
> > easiest way to do this?
> >
> > Thank You,
> > mtp5150
> >
> 
> STATUS: Completed, Solved
> 
> Hi Ya,
> 
> First off let me thank all of you for providing input, advice, and
> support.  I have successfully merged all of the CDs on to a hard drive
> partition and it is working with one minor glitch.  I keep getting the
> following error, "warning the following packages cannot be
> authenticated".  APT-GET INSTALL does allow me to continue, so
> everything is working.  I just don't know how to resolve this error
> message, yet.

You can try to put

APT::Authentication::TrustCDROM "true";

into a file in /etc/apt/apt.conf.d/. This gets rid of the warning
message for CDrom sources, but I am not sure if it will work for your
configuration: I assume that you use a "file" declaration in your
sources.list to refer to your merged archive on the hard disk. If this
is not covered by the TrustCDROM directive (I never tried) then you may
have to go through the procedure described in the ARCHIVE CONFIGURATION
section of "man apt-secure".

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Merging all 30+ Debian CD's onto hard drive

2008-03-23 Thread Michael Paulsen
On 3/20/08, Michael Paulsen <[EMAIL PROTECTED]> wrote:
> Hi ya,
>
> Debian Etch now has over 30 CD's. I'm bored with CD swapping every
> time I want to install a new package. Is it possible to merge the CD's
> to my hard drive and direct APT or DPKG to use the hard drive instead
> of all the CD's when installing new packages? What would the be the
> easiest way to do this?
>
> Thank You,
> mtp5150
>

STATUS: Completed, Solved

Hi Ya,

First off let me thank all of you for providing input, advice, and
support.  I have successfully merged all of the CDs on to a hard drive
partition and it is working with one minor glitch.  I keep getting the
following error, "warning the following packages cannot be
authenticated".  APT-GET INSTALL does allow me to continue, so
everything is working.  I just don't know how to resolve this error
message, yet.

For anyone wanting to do the same, here is what I did;

!!--!!
!!  WARING: I'm am an amateur at Debian/Linux use the following at
your own RISK   !!
!!--!!

1)  Listed all the .iso files to the text file "filelist.txt" with ls
*.iso > filelist.txt
2)  Edited the text file "filelist.txt" and arranged them in the order I wanted
 (This is not a necessity but I wanted to process them in disk order)
3)  Wrote this script to do the following;
 3a)  Mount each iso file.
 3b)  Copy each iso file to /mnt/maddog2/debian.
 3c)  Unmount each iso file.
 3d)  Repeat until all iso files are done.

---SNIP---
#!/bin/bash
#
#  FILENAME: cpfiles
#
#  Short Bash script to:
#  Mount each iso file.
#  Copy each iso file to /mnt/maddog2/debian.
#  Unmount each iso file.
#  Repeat until all iso files are done.
#
#  If someone else is using the script be sure to change all the
directories to match your
#  system.

for file in $(cat /home/michael/filelist.txt);do
mount -t iso9660 -o loop /home/michael/linux/$file /mnt/old
cp -R /mnt/old/* /mnt/maddog2/debian/
umount /mnt/old
done
---SNIP---

4)  apt-ftparchive packages ./ | gzip > Packages.gz
 This should probabley be done for;
./etch/main/
./etch/contrib/
./etch/non-free/
with each resulting Package.gz file moved to;
./dists/etch/main/binary-i386/
./dists/etch/contrib/binary-i386/
./dists/etch/non-free/binary-i386/
Although, I'm am not 100% certain, as I have not done it, Yet.
5)  In /etc/sources.list create the following and delete or comment
out everything else.
 5a) deb file:/mnt/maddog2/debian etch contrib main non-free
  NOTE: Be sure to change the directory to match your system.

NOTES: 1) The merged CD's required 17G of hard drive space.
 2) During APT package installation I now receive an error message
 regarding libraries that cannot be authenticated.
APT allows you
 to accept these libraries without verification, and
so far nothing
 has gone wrong.
 3) The CD copy process took several hours as well did the
apt-ftparchive command.
 So be prepared to sit and wait.  Took me most of the
day on my P-III 1gig box.

Thank You,
mtp5150


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Merging all 30+ Debian CD's onto hard drive

2008-03-22 Thread Douglas A. Tutty
On Fri, Mar 21, 2008 at 11:15:53AM -0700, Michael Paulsen wrote:
> On 3/21/08, Tom Goulet <[EMAIL PROTECTED]> wrote:
> > On 3/21/08, Michael Paulsen <[EMAIL PROTECTED]> wrote:
> >
> > > I haven't tried merging a the CD's yet. I'm cleaning of a HD partition
> > > in preparation for my first attempt. Mean while I found a program
> > > APT-MOVE, anyone know about this? I haven't looked up any man pages on
> > > it yet, but I'm wondering if this is something I should use.
> >
> > I think you should use it if you were planning on setting up a local
> > Debian mirror for your other computers there. Otherwise, the brute
> > force cp approach looks easier.
> 
> Yea, I'm thinking your right.  Been looking at/for documentation on
> APT-MOVE and I'm thinking its more complicated then I want to handle.

I did this years ago, and I just copied the contents to separate
directories and used the apt command (forget which) so that it looked
for the cd in a mounted directory.

I, too, am on rural dial-up.  However, after the initial install, the
biggest problem isn't installing software, but the security updates that
thus don't come on the CDs.  When doing the initial install, I do base,
then groups of related packages keeping the download to a reasonable
time (e.g. under 12 hrs).  Luckily, you can interrupt aptitude to use
the phone and it will carry on again.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Merging all 30+ Debian CD's onto hard drive

2008-03-21 Thread Michael Paulsen
On 3/21/08, Tom Goulet <[EMAIL PROTECTED]> wrote:
> On 3/21/08, Michael Paulsen <[EMAIL PROTECTED]> wrote:
>
> > I haven't tried merging a the CD's yet. I'm cleaning of a HD partition
> > in preparation for my first attempt. Mean while I found a program
> > APT-MOVE, anyone know about this? I haven't looked up any man pages on
> > it yet, but I'm wondering if this is something I should use.
>
> I think you should use it if you were planning on setting up a local
> Debian mirror for your other computers there. Otherwise, the brute
> force cp approach looks easier.
>
> Tom

Yea, I'm thinking your right.  Been looking at/for documentation on
APT-MOVE and I'm thinking its more complicated then I want to handle.

mtp5150


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Merging all 30+ Debian CD's onto hard drive

2008-03-21 Thread Tom Goulet
On 3/21/08, Tom Goulet <[EMAIL PROTECTED]> wrote:
> On 3/21/08, Michael Paulsen <[EMAIL PROTECTED]> wrote:
>
> > I haven't tried merging a the CD's yet. I'm cleaning of a HD partition
> > in preparation for my first attempt. Mean while I found a program
> > APT-MOVE, anyone know about this? I haven't looked up any man pages on
> > it yet, but I'm wondering if this is something I should use.
>
> I think you should use it if you were planning on setting up a local
> Debian mirror for your other computers there.

Actually that won't work.  You can't use apt-move to copy .deb files
from your CD-ROM.

Just use cp -R.

It'll be fine.  I think that I've even done it before and used it for a while.

Tom


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Merging all 30+ Debian CD's onto hard drive

2008-03-21 Thread Tom Goulet
On 3/21/08, Michael Paulsen <[EMAIL PROTECTED]> wrote:

> I haven't tried merging a the CD's yet. I'm cleaning of a HD partition
> in preparation for my first attempt. Mean while I found a program
> APT-MOVE, anyone know about this? I haven't looked up any man pages on
> it yet, but I'm wondering if this is something I should use.

I think you should use it if you were planning on setting up a local
Debian mirror for your other computers there.  Otherwise, the brute
force cp approach looks easier.

Tom


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Merging all 30+ Debian CD's onto hard drive

2008-03-21 Thread Michael Paulsen
On 3/20/08, Michael Paulsen <[EMAIL PROTECTED]> wrote:
> Hi ya,
>
> Debian Etch now has over 30 CD's. I'm bored with CD swapping every
> time I want to install a new package. Is it possible to merge the CD's
> to my hard drive and direct APT or DPKG to use the hard drive instead
> of all the CD's when installing new packages? What would the be the
> easiest way to do this?
>
> Thank You,
> mtp5150
>

Hey all,

I haven't tried merging a the CD's yet. I'm cleaning of a HD partition
in preparation for my first attempt.  Mean while I found a program
APT-MOVE, anyone know about this? I haven't looked up any man pages on
it yet, but I'm wondering if this is something I should use.

Thanks,
mtp5150


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Merging all 30+ Debian CD's onto hard drive

2008-03-21 Thread Daniel Burrows
On Thu, Mar 20, 2008 at 04:48:07PM -0500, Tom Goulet <[EMAIL PROTECTED]> was 
heard to say:
> On 3/20/08, Michael Paulsen <[EMAIL PROTECTED]> wrote:
> 
> > Debian Etch now has over 30 CD's. I'm bored with CD swapping every
> > time I want to install a new package. Is it possible to merge the CD's
> > to my hard drive and direct APT or DPKG to use the hard drive instead
> > of all the CD's when installing new packages? What would the be the
> > easiest way to do this?
> 
> mount /cdrom
> cp -R /cdrom .
> umount /cdrom
> 
> Repeat.
> 
> You can use dpkg directly on the archives, of course, but you can also
> tell APT to use a
> file:/ resource in /etc/apt/sources.list.  See man sources.list for
> more information.

  You'll also want to run "apt-ftparchive packages . > Packages" so that
you can see all the .debs at once.

  Daniel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Merging all 30+ Debian CD's onto hard drive

2008-03-21 Thread CaT
On Thu, Mar 20, 2008 at 02:02:10PM -0700, Michael Paulsen wrote:
> On 3/20/08, Jeff D <[EMAIL PROTECTED]> wrote:
> > Michael Paulsen wrote:
> > > Hi ya,
> > >
> > > Debian Etch now has over 30 CD's. I'm bored with CD swapping every
> > > time I want to install a new package. Is it possible to merge the CD's
> > > to my hard drive and direct APT or DPKG to use the hard drive instead
> > > of all the CD's when installing new packages? What would the be the
> > > easiest way to do this?
> >
> > Is there a reason that you are not using net accessible repositories?
> 
> Actually, there is.  I forgot to mention that due to my rural home I'm
> subjected to an extremely slow dial-up internet connection.  We're
> talking less than 33k most of the time, and quite often as low at 24k.
>  I know, I'm back in the 80's time frame with connections like that.
> :)

I've been in a similar situation. If you have multiple computers,
apt-proxy or squid may help. If just one then you might just want to
download overnight, or set it to do so before you go to work or other
fun stuff (and set apt-get to download only).

For really common stuff you might just want to grab the first dvd too.

Sure it's not the instant access the monkey within craves but it works
and I always found it not to be that much of a hassle. Generally you
don't download KDE or GNOME every other day. It's just a once off and
then security updates or the odd other small thing.

cat.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Merging all 30+ Debian CD's onto hard drive

2008-03-20 Thread Michael Paulsen
On 3/20/08, Tom Goulet <[EMAIL PROTECTED]> wrote:
> On 3/20/08, Michael Paulsen <[EMAIL PROTECTED]> wrote:
>
> > Debian Etch now has over 30 CD's. I'm bored with CD swapping every
> > time I want to install a new package. Is it possible to merge the CD's
> > to my hard drive and direct APT or DPKG to use the hard drive instead
> > of all the CD's when installing new packages? What would the be the
> > easiest way to do this?
>
> mount /cdrom
> cp -R /cdrom .
> umount /cdrom
>
> Repeat.
>
> You can use dpkg directly on the archives, of course, but you can also
> tell APT to use a
> file:/ resource in /etc/apt/sources.list. See man sources.list for
> more information.
>
> Sure copying the CDs over and over again will overwrite some files,
> but none of those files
> will be Debian packages. They would be README.html and things like that.
>
> Tom
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>
Tom,

Thanks I was worried about over-writing the files but as you pointed
out they're extra junk anyway so why worry.  The "cp -R" option is
what I was overlooking, when I was trying do this on my own. I'm gonna
try it today and see what happens.

Much Thanks,
mtp5150


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Merging all 30+ Debian CD's onto hard drive

2008-03-20 Thread Tom Goulet
On 3/20/08, Michael Paulsen <[EMAIL PROTECTED]> wrote:

> Debian Etch now has over 30 CD's. I'm bored with CD swapping every
> time I want to install a new package. Is it possible to merge the CD's
> to my hard drive and direct APT or DPKG to use the hard drive instead
> of all the CD's when installing new packages? What would the be the
> easiest way to do this?

mount /cdrom
cp -R /cdrom .
umount /cdrom

Repeat.

You can use dpkg directly on the archives, of course, but you can also
tell APT to use a
file:/ resource in /etc/apt/sources.list.  See man sources.list for
more information.

Sure copying the CDs over and over again will overwrite some files,
but none of those files
will be Debian packages.  They would be README.html and things like that.

Tom


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Merging all 30+ Debian CD's onto hard drive

2008-03-20 Thread Michael Paulsen
On 3/20/08, Jeff D <[EMAIL PROTECTED]> wrote:
> Michael Paulsen wrote:
> > Hi ya,
> >
> > Debian Etch now has over 30 CD's. I'm bored with CD swapping every
> > time I want to install a new package. Is it possible to merge the CD's
> > to my hard drive and direct APT or DPKG to use the hard drive instead
> > of all the CD's when installing new packages? What would the be the
> > easiest way to do this?
> >
> > Thank You,
> > mtp5150
> >
> >
>
> Is there a reason that you are not using net accessible repositories?
>
> --
> 8 out of 10 Owners who Expressed a Preference said Their Cats Preferred
> Techno.
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>

Jeff,

Actually, there is.  I forgot to mention that due to my rural home I'm
subjected to an extremely slow dial-up internet connection.  We're
talking less than 33k most of the time, and quite often as low at 24k.
 I know, I'm back in the 80's time frame with connections like that.
:)

Thanks,
mtp5150


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Merging all 30+ Debian CD's onto hard drive

2008-03-20 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/20/08 15:30, Jeff D wrote:
> Michael Paulsen wrote:
>> Hi ya,
>>
>> Debian Etch now has over 30 CD's. I'm bored with CD swapping every
>> time I want to install a new package. Is it possible to merge the CD's
>> to my hard drive and direct APT or DPKG to use the hard drive instead
>> of all the CD's when installing new packages?  What would the be the
>> easiest way to do this?
>>
>> Thank You,
>> mtp5150
>>
>>
> 
> Is there a reason that you are not using net accessible repositories?

Slow dial-up access is the most obvious reason that pops to mind.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Supporting World Peace Through Nuclear Pacification
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH4s6GS9HxQb37XmcRAnvqAKCnsfJM4vckwKM2WOjppB80ZcGLAACgpDby
q7/H95TUPx9gzBXidzhoFVg=
=y94j
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Merging all 30+ Debian CD's onto hard drive

2008-03-20 Thread Jeff D

Michael Paulsen wrote:

Hi ya,

Debian Etch now has over 30 CD's. I'm bored with CD swapping every
time I want to install a new package. Is it possible to merge the CD's
to my hard drive and direct APT or DPKG to use the hard drive instead
of all the CD's when installing new packages?  What would the be the
easiest way to do this?

Thank You,
mtp5150




Is there a reason that you are not using net accessible repositories?

--
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred 
Techno.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]