etch: netInst-ISO as apt-source?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > etch: netInst-ISO as apt-source?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    etch: netInst-ISO as apt-source?  
mikey


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-11-07 12:13 AM

Hi,

I have recently installed etch using the netInst-CD, and most of it is
running smoothly. Now I want to use the CD as apt-source.  I assumed
it might be possible to use the ISO image directly as an entry in the
sources.list file, but I cannot find out the correct syntax for it.

Is it possible at all to use an ISO or do I have to loop-mount the ISO
file? If so, does the mount point really have to be named according to
the rather longish name of the netinst CD

[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 NETINST Binary-1
20070407-11:29]

Thx in advance
Michael






[ Post a follow-up to this message ]



    Re: etch: netInst-ISO as apt-source?  
Iva Biggun


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-11-07 12:13 PM

On Fri, 10 Aug 2007 13:07:37 -0700, mikey wrote:

> Hi,
>
> I have recently installed etch using the netInst-CD, and most of it is
> running smoothly. Now I want to use the CD as apt-source.  I assumed it
> might be possible to use the ISO image directly as an entry in the
> sources.list file, but I cannot find out the correct syntax for it.
>
> Is it possible at all to use an ISO or do I have to loop-mount the ISO
> file? If so, does the mount point really have to be named according to
> the rather longish name of the netinst CD
>
> [Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 NETINST Binary-1
> 20070407-11:29]
>
> Thx in advance
> Michael

Isn't the entry already present in your sources.list? I thought it should/
would be.

This is what it says in mine, I am using Debian unstable(sid), upgraded
from a net install of Debian testing(Lenny), this is the entry that was
there by default

# deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot i386
NETINST Binary-1 20070731-21:41]/ lenny contrib main

I have it commented out 'cause I have no need to use it as a source.



--
Iva Biggun





[ Post a follow-up to this message ]



    Re: etch: netInst-ISO as apt-source?  
mf


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-11-07 12:13 PM

Iva Biggun schrieb:
> This is what it says in mine, I am using Debian unstable(sid), upgraded
> from a net install of Debian testing(Lenny), this is the entry that was
> there by default
>
> # deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot i386
> NETINST Binary-1 20070731-21:41]/ lenny contrib main
>
> I have it commented out 'cause I have no need to use it as a source.
>
>
>

The machine in question is a remote, and it is a rather small
installation. Thus, sometimes I have to remotely install additional
packages, and during this process every now and then the machine asks
for the netinst cdrom. Consequently, I have to leave the cdrom in the
machine, which is something of a nuisance

The entry you mentioned is indeed there, and it is exactly this entry
which I want to replace by an entry pointing to the ISO image, so I can
remove the cdrom. But I don't know how to address the ISO image in the
sources.list file.

Michael





[ Post a follow-up to this message ]



    Re: etch: netInst-ISO as apt-source?  
Anton Ertl


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-11-07 12:13 PM

mf <nospam@privacy.net> writes:
>The entry you mentioned is indeed there, and it is exactly this entry
>which I want to replace by an entry pointing to the ISO image, so I can
>remove the cdrom.

No need to, just comment the entry out.

- anton
--
M. Anton Ertl                    Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html





[ Post a follow-up to this message ]



    Re: etch: netInst-ISO as apt-source?  
Mumia W.


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-11-07 06:13 PM

On 08/11/2007 06:20 AM, mf wrote:
> [...]
> The entry you mentioned is indeed there, and it is exactly this entry
> which I want to replace by an entry pointing to the ISO image, so I can
> remove the cdrom. But I don't know how to address the ISO image in the
> sources.list file.
>
> Michael

I had a problem like this too. I ended up deleting the line added by
apt-cdrom, and I replaced it with a file: entry.

I copied the ISO file to a location on the hard disk, and I mounted it
at /mnt/diskimg, then I put this in my sources.list:

deb file:///mnt/diskimg etch main contrib non-free

I hope this helps.






[ Post a follow-up to this message ]



    Re: etch: netInst-ISO as apt-source?  
mf


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-11-07 06:13 PM

Mumia W. schrieb:
> I copied the ISO file to a location on the hard disk, and I mounted it
> at /mnt/diskimg, then I put this in my sources.list:
>
> deb file:///mnt/diskimg etch main contrib non-free

Thanks a lot for your support, it's working now. I had tried this
before, and it didn't work. I guess I had only said "file://" with two
slashes instead of three.

Michael





[ Post a follow-up to this message ]



    Re: etch: netInst-ISO as apt-source?  
Mumia W.


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-12-07 12:13 AM

On 08/11/2007 12:37 PM, mf wrote:
> Mumia W. schrieb: 
>
> Thanks a lot for your support, it's working now. I had tried this
> before, and it didn't work. I guess I had only said "file://" with two
> slashes instead of three.
>
> Michael

You're very welcome. I'm glad it helped.






[ Post a follow-up to this message ]



    Re: etch: netInst-ISO as apt-source?  
AJackson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-23-07 06:14 AM

On Aug 11, 1:20 pm, mf <nos...@privacy.net> wrote:
> Iva Biggun schrieb:
> 
> 
> 
>
> The machine in question is a remote, and it is a rather small
> installation. Thus, sometimes I have to remotely install additional
> packages, and during this process every now and then the machine asks
> for the netinst cdrom. Consequently, I have to leave the cdrom in the
> machine, which is something of a nuisance
>
> The entry you mentioned is indeed there, and it is exactly this entry
> which I want to replace by an entry pointing to the ISO image, so I can
> remove the cdrom. But I don't know how to address the ISO image in the
> sources.list file.

You don't need to.  Try man apt-cdrom and then try this:
sudo apt-cdrom

That should do it propperly.






[ Post a follow-up to this message ]



    Re: etch: netInst-ISO as apt-source?  
AJackson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-03-07 06:16 PM

On Aug 23, 5:05 am, AJackson <anders.jack...@gmail.com> wrote:
> On Aug 11, 1:20 pm, mf <nos...@privacy.net> wrote:
>
>
> 
> 
> 
> 
> 
> 
>
> You don't need to.  Try man apt-cdrom and then try this:
> sudo apt-cdrom
>
> That should do it propperly.
(apt-cdrom adds a CDROM to repository, not removing it)

And if you ONLY want to upgrade from net (which you should do if you
have any decent net), just comment the cdrom line out with a '#'-mark
first on line.
Then you only need to do this;
sudo aptitude update

Now, your installation woint ask for any CDROM anymore.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:41 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register