Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #206833 > unrolled thread

Re: BUSTER install - CATCH-22

Started bybw <bwtnguy@yahoo.com>
First post2019-03-31 16:20 +0200
Last post2019-04-02 12:50 +0200
Articles 5 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  Re: BUSTER install - CATCH-22 bw <bwtnguy@yahoo.com> - 2019-03-31 16:20 +0200
    Re: BUSTER install - CATCH-22 Richard Owlett <rowlett@cloud85.net> - 2019-04-01 14:30 +0200
      Re: BUSTER install - CATCH-22 Jason <electron@emypeople.net> - 2019-04-02 01:30 +0200
        Re: BUSTER install - CATCH-22 Richard Owlett <rowlett@cloud85.net> - 2019-04-02 12:40 +0200
          Re: BUSTER install - CATCH-22 <tomas@tuxteam.de> - 2019-04-02 12:50 +0200

#206833 — Re: BUSTER install - CATCH-22

Frombw <bwtnguy@yahoo.com>
Date2019-03-31 16:20 +0200
SubjectRe: BUSTER install - CATCH-22
Message-ID<xHJtv-6av-5@gated-at.bofh.it>
In-Reply-To: <a96e19f6-dce3-215f-cba8-f67c60e5ccb0@cloud85.net>

<snip>
>The installation, having put the DVD1 ISO on a flash drive, encountered 
>no problems
>
>
>*HOWEVER* I need several packages [gparted, tcl, tk] which are in the DVD 
>image.
>
>
>Synaptic is unable to install them:
>  1. sources.list refers to a non-existent physical DVD.
>  2. the default installation has no way of informing Synaptic
>     that it should look for an alternate iso image.
>  3. modifying sources.list was unsuccessful
>
>I added the line
>
>    deb "file:/media/richard/Debian testing amd64 1/debian" buster contrib main
<snip>

The line left by the installer usually looks something like: 
deb cdrom:[Name of CD/DVD - The word Official and the Date]/ buster main

and if you mount either the usb or the .iso to /media/cdrom then apt can 
find it and you can continue installing pkgs from it after first boot.

Haven't people warned you that apt or apt-get is preferred over synaptic?  
Do it the easy way.

[toc] | [next] | [standalone]


#206869

FromRichard Owlett <rowlett@cloud85.net>
Date2019-04-01 14:30 +0200
Message-ID<xI4eB-1Vs-3@gated-at.bofh.it>
In reply to#206833
On 03/31/2019 08:55 AM, bw wrote:
> In-Reply-To: <a96e19f6-dce3-215f-cba8-f67c60e5ccb0@cloud85.net>
> 
> <snip>
>> The installation, having put the DVD1 ISO on a flash drive, encountered
>> no problems
>>
>>
>> *HOWEVER* I need several packages [gparted, tcl, tk] which are in the DVD
>> image.
>>
>>
>> Synaptic is unable to install them:
>>   1. sources.list refers to a non-existent physical DVD.
>>   2. the default installation has no way of informing Synaptic
>>      that it should look for an alternate iso image.
>>   3. modifying sources.list was unsuccessful
>>
>> I added the line
>>
>>     deb "file:/media/richard/Debian testing amd64 1/debian" buster contrib main
> <snip>
> 
> The line left by the installer usually looks something like:
> deb cdrom:[Name of CD/DVD - The word Official and the Date]/ buster main

Yes, but ... <chuckle>
By default automount of flash drives is enabled and
    /media/richard/Debian testing amd64 1/debian
is how the system identifies the mounted flash drive.
[And I've forgotten how to disable automount]


> 
> and if you mount either the usb or the .iso to /media/cdrom then apt can
> find it and you can continue installing pkgs from it after first boot.

Can't do that as it is already mounted. Tried another workaround and 
crashed the system. Doing a re-install now. As I've work to do, I'll 
install manually install the needed packages before closing the installer.

> 
> Haven't people warned you that apt or apt-get is preferred over synaptic?

Opinions differ ;/

> Do it the easy way.

That's why I use Synaptic.
Besides I suspect a typical user will use a GUI when possible.
I have found a problem and believe I should document it. Besides, before 
retirement, I was an inspector. Concern for "minor" details is my nature.

Thank you.



> 
> 
> 

[toc] | [prev] | [next] | [standalone]


#206891

FromJason <electron@emypeople.net>
Date2019-04-02 01:30 +0200
Message-ID<xIexk-8ko-5@gated-at.bofh.it>
In reply to#206869
On Mon, Apr 01, 2019 at 07:23:49AM -0500, Richard Owlett wrote:
> On 03/31/2019 08:55 AM, bw wrote:
> >In-Reply-To: <a96e19f6-dce3-215f-cba8-f67c60e5ccb0@cloud85.net>
> >
> ><snip>
> >>The installation, having put the DVD1 ISO on a flash drive, encountered
> >>no problems
> >>
> >>
> >>*HOWEVER* I need several packages [gparted, tcl, tk] which are in the DVD
> >>image.
> >>
> >>
> >>Synaptic is unable to install them:
> >>  1. sources.list refers to a non-existent physical DVD.
> >>  2. the default installation has no way of informing Synaptic
> >>     that it should look for an alternate iso image.
> >>  3. modifying sources.list was unsuccessful
> >>
> >>I added the line
> >>
> >>    deb "file:/media/richard/Debian testing amd64 1/debian" buster contrib main
Looking at one of my sources.list files, I wonder if it shouldn't be
	deb "file:///media/ .......
(3 slashes instead of 1) ??

> ><snip>
> >
> >The line left by the installer usually looks something like:
> >deb cdrom:[Name of CD/DVD - The word Official and the Date]/ buster main
> 
> Yes, but ... <chuckle>
> By default automount of flash drives is enabled and
>    /media/richard/Debian testing amd64 1/debian
> is how the system identifies the mounted flash drive.
> [And I've forgotten how to disable automount]
> 
My experience with automounters is that if you unmount / eject manually, 
it won't auto remount until you unplug and replug the drive. So from the 
file manager, select the mount point and from the right click menu 
select 'unmount', 'eject', 'safely remove', or whatever your file 
manager calls it, and then you should be able to mount it manually (from 
a terminal) wherever you want it.

$ sudo mount /dev/$DEVICE /media/cdrom

> 
> >
> >and if you mount either the usb or the .iso to /media/cdrom then apt can
> >find it and you can continue installing pkgs from it after first boot.
> 
> Can't do that as it is already mounted. Tried another workaround and crashed
> the system. Doing a re-install now. As I've work to do, I'll install
> manually install the needed packages before closing the installer.
> 
> >
> >Haven't people warned you that apt or apt-get is preferred over synaptic?
> 
> Opinions differ ;/
> 
> >Do it the easy way.
> 
> That's why I use Synaptic.
> Besides I suspect a typical user will use a GUI when possible.
> I have found a problem and believe I should document it. Besides, before
> retirement, I was an inspector. Concern for "minor" details is my nature.
> 
> Thank you.
I believe synaptic lets you configure the sources without manually 
editing sources.list. See Settings > Repositories .

> >
> >
> >

-- 
Jason

[toc] | [prev] | [next] | [standalone]


#206895

FromRichard Owlett <rowlett@cloud85.net>
Date2019-04-02 12:40 +0200
Message-ID<xIoZI-6oo-3@gated-at.bofh.it>
In reply to#206891
On 04/01/2019 06:11 PM, Jason wrote:
> On Mon, Apr 01, 2019 at 07:23:49AM -0500, Richard Owlett wrote:
>> On 03/31/2019 08:55 AM, bw wrote:
>>> In-Reply-To: <a96e19f6-dce3-215f-cba8-f67c60e5ccb0@cloud85.net>
>>>
>>> <snip>
>>>> The installation, having put the DVD1 ISO on a flash drive, encountered
>>>> no problems
>>>>
>>>>
>>>> *HOWEVER* I need several packages [gparted, tcl, tk] which are in the DVD
>>>> image.
>>>>
>>>>
>>>> Synaptic is unable to install them:
>>>>   1. sources.list refers to a non-existent physical DVD.
>>>>   2. the default installation has no way of informing Synaptic
>>>>      that it should look for an alternate iso image.
>>>>   3. modifying sources.list was unsuccessful
>>>>
>>>> I added the line
>>>>
>>>>     deb "file:/media/richard/Debian testing amd64 1/debian" buster contrib main
> Looking at one of my sources.list files, I wonder if it shouldn't be
> 	deb "file:///media/ .......
> (3 slashes instead of 1) ??

I was wondering about that. I've never had a clear understanding of when 
to use 1 slash and when to use 3. I assumed that in this case 1 was 
acceptable because how Synaptic's error message was phrased when 
attempting Edit --> Reload Package Information.

> 
>>> <snip>
>>>
>>> The line left by the installer usually looks something like:
>>> deb cdrom:[Name of CD/DVD - The word Official and the Date]/ buster main
>>
>> Yes, but ... <chuckle>
>> By default automount of flash drives is enabled and
>>     /media/richard/Debian testing amd64 1/debian
>> is how the system identifies the mounted flash drive.
>> [And I've forgotten how to disable automount]
>>
> My experience with automounters is that if you unmount / eject manually,
> it won't auto remount until you unplug and replug the drive. So from the
> file manager, select the mount point and from the right click menu
> select 'unmount', 'eject', 'safely remove', or whatever your file
> manager calls it, and then you should be able to mount it manually (from
> a terminal) wherever you want it.
> 
> $ sudo mount /dev/$DEVICE /media/cdrom

That's not so clear cut. MATE's Caja offers 2 choices ["Eject" and 
"Safely Remove Drive"]. Both remove it from MATE's Places menu. Using a 
subsequent mount command will mount it "read only". Have not checked for 
other ramifications.

> 
>>
>>>
>>> and if you mount either the usb or the .iso to /media/cdrom then apt can
>>> find it and you can continue installing pkgs from it after first boot.
>>
>> Can't do that as it is already mounted. Tried another workaround and crashed
>> the system. Doing a re-install now. As I've work to do, I'll install
>> manually install the needed packages before closing the installer.
>>
>>>
>>> Haven't people warned you that apt or apt-get is preferred over synaptic?
>>
>> Opinions differ ;/
>>
>>> Do it the easy way.
>>
>> That's why I use Synaptic.
>> Besides I suspect a typical user will use a GUI when possible.
>> I have found a problem and believe I should document it. Besides, before
>> retirement, I was an inspector. Concern for "minor" details is my nature.
>>
>> Thank you.
> I believe synaptic lets you configure the sources without manually
> editing sources.list. See Settings > Repositories .

I found that after I posted. Didn't have time to fully investigate. I 
didn't act as I expected. Need to pursue documentation.

[toc] | [prev] | [next] | [standalone]


#206896

From<tomas@tuxteam.de>
Date2019-04-02 12:50 +0200
Message-ID<xIp9o-6rV-5@gated-at.bofh.it>
In reply to#206895

[Multipart message — attachments visible in raw view] — view raw

On Tue, Apr 02, 2019 at 05:33:05AM -0500, Richard Owlett wrote:

[...]

> I was wondering about that. I've never had a clear understanding of
> when to use 1 slash and when to use 3. I assumed that in this case 1
> was acceptable because how Synaptic's error message was phrased when
> attempting Edit --> Reload Package Information.

Wikipedia [1] is your friend. The short version: in the three-slashes
variant, there's a little space between the two last, where you could
put a hostname (you see it now, when you squint?). If that host name
is empty, 'localhost' is assumed.

But in the case of localhost, you can leave out the two leading slashes
altogether. So file:///foo/bar and file:/foo/bar are equivalent and
both mean file://localhost/foo/bar.

Whether your strange desktop software (sorry, I couldn't resist)
implements that correctly or not is quite another story, though.

Cheers

[1] https://en.wikipedia.org/wiki/File_URI_scheme#How_many_slashes?
-- t

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web