Debian standard installation media packages

2019-06-03 Thread Jacques Toerien
Hello,

I have several machines that require a standard build environment after 
installation in order to build device drivers, such as NIC and WIFI drivers. 
These drivers or modules are not included in the free/non-free images (eg. 
Broadcom), I currently have the source codes for these saved on a USB stick. 
With the standard DVD image, the ‘build-essential’ meta package is not included 
and relies on an internet connection to install the packages required to build 
drivers. 

If one does not have access to a wired network and you cannot build wifi 
drivers with the base install media, then you have no way of downloading the 
build-essential package. 

Would it be possible to include the 'build-essential’ meta package (along with 
dkms) on the standard DVD installation image, or have a spin of the image with 
the build tools included. This is quite common on other distributions, such as 
Centos and Fedora and I cannot understand how this meta package has been 
omitted from the standard install media. 

Regards and with thanks,

Jacques





Debian 'build-essential' on installation media.

2019-06-03 Thread Jacques Toerien
Hello,

I have several machines that require a standard build environment after 
installation in order to build device drivers, such as NIC and WIFI drivers. 
These drivers or modules are not included in the free/non-free images (eg. 
Broadcom) or included as kernel modules, I currently have the source  for these 
saved on a USB stick. 

With the standard DVD image, the ‘build-essential’ meta package is not included 
with the default install and relies on an internet connection to install the 
packages required to build drivers. If one does not have access to a wired 
network and you cannot build wifi drivers with the base install media, then you 
have no way of downloading the build-essential package. In short - If you rely 
on the ‘build-essential’ meta package to build your NIC/WIFI drivers then you 
will never get on the internet with the packages included on the standard 
install images. There is no way to build drivers without an internet connection.

Would it be possible to include the 'build-essential’ meta package (along with 
dkms) on the standard DVD installation image, or have a spin of the image with 
the build tools included. This is quite common on other distributions, such as 
Centos and Fedora and I cannot understand how this meta package has been 
omitted from the standard install media. 

Regards and with thanks,

Jacques


Re: Debian standard installation media packages

2019-06-03 Thread Jacques Toerien
I do apologise in advance, there may be a double post popping up from me. 



Re: Debian standard installation media packages

2019-06-04 Thread Jacques Toerien
Thank you, I will have a look tonight, from what I can see on my 9.9 image is 
that I'm missing a few packages. 

I suspect I have a corrupt usb install image. Several files are missing or 
appear to be part files.

I'll burn a fresh image, I'll download a new iso at work and do the checksums.

Is there a way to select the build-essential package during a base install, or 
do you have to mount, chroot and change apt.sources after the install? 

Jacques

Sent from my iPhone

> On 3 Jun 2019, at 21:49, Thomas Schmitt  wrote:
> 
> Hi,
> 
> Jacques Toerien wrote:
>> With the standard DVD image, the ‘build-essential’ meta package is not
>> included
> 
> According to
>  
> https://cdimage.debian.org/debian-cd/current/amd64/list-dvd/debian-9.9.0-amd64-DVD-1.list.gz
> there should be
>  build-essential_12.3_amd64.deb
> 
> So you would have to be more specific about what DVD image you use
> and what software especially is missing.
> Are you sure that it is listed as dependency at
>  https://packages.debian.org/unstable/build-essential
> ?
> 
> In general, debian-user mailing list is not the right place to request
> additions to the content of Debian installation images or advise how to
> create own images with added packages.
> debian-9.9.0-amd64-DVD-1.iso is a matter of
>  debian...@lists.debian.org
> debian-live-9.9.0-amd64-xfce.iso would belong to
>  debian-l...@lists.debian.org
> 
> (Consider to subscribe before you send mail there and to stay subscribed
> as long as the discussion goes on.)
> 
> 
> Have a nice day :)
> 
> Thomas
> 



Re: Re: Debian standard installation media packages

2019-06-05 Thread Jacques Toerien
Hi, thank you for the response. 

> Which image exactly are you using ?
Please tell the download URL and a checksum after download (MD5 or some
SHA*).

This is the image I’m now using. (see note below at end of message re. Buster)
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/buster_di_rc1+nonfree/amd64/iso-dvd/
 


So, firstly, I made a mistake when I downloaded the image, I managed to 
overwrite the full DVD image with the netinst one (but kept the name), hence 
the missing packages - My mistake completely. I’m currently running Buster RC1 
and the installed system works fine. But...

> But first you should try to find out why you don't get the software
of build-essential. Then you can ask the right questions about a remedy.

OK, I have a done a full install using the expert install method, selecting in 
this instance Gnome as a DE. I have also selected the standard utilities. There 
is no way in the installer to selecting anything else, apart from the various 
DE/WM builds, ‘print server’, ‘ssh server’ etc etc. There is no option to 
select ‘build-essential’ or ‘Development Tools’. The installer finished by 
installing ~1366 packages. 
The installed system boots fine, I log in and do a 'dpkg -l’ to list all 
packages and there is no trace of any development tools. On my installed system 
I’m missing ‘g++’, ‘make’, ‘dpkg-dev’, ‘fakeroot’ and everything else 
associated with the ‘build-essential’ meta package. I don’t have any kernel 
headers either. I have ‘gcc-8-base’, but that is all in reference to build 
tools.
The 'build-essential’ package is on the install USB image, I just cannot find a 
way to install it directly to my machine without getting sucked into dependancy 
hell. 

I still don’t understand why the installer won’t allow you to select 
‘Development Tools’ as an option when you select packages? Surely it’s a key 
package to have if you don’t have net access while installing the OS? Is this 
to be taken up with the debian-cd list?


Anyhow, I sorted the install image so I can hopefully move forward now. 


PS - The reason I’m using Buster and not 9.8/9.9 is the older installer on 
9.8/9.9 gives an unreadable display on the HP 6470b laptop I’m installing on. 
On Buster I can pass ‘gfxpayload=keep’ in the grub command line and it allows 
for a readable display. This is a known issue with this older range of HP 
laptops.




Re: Re: Re: Debian standard installation media packages [Solved]

2019-06-06 Thread Jacques Toerien
Thanks to the thread posted by Brian re. mounting ISO images and subsequent 
advice posted, I’ve solved the issue by mounting the USB to a mount point, in 
my case '/mnt/debian/‘.

Following that I edited ‘etc/apt/sources.list’ and commented out all lines and 
added the following :

deb [trusted=yes check-valid-until=no] file:/mnt/debian/ buster contrib main 
non-free 

Then ran ‘apt update’ followed by 'apt install build-essential'.

Thank you for the help, now I know for the future.

As an aside ‘apt-cdrom’ did not work for me as posted on other forums / blogs.

Jacques



Re: install debian cann't detect hard disk

2019-06-07 Thread Jacques Toerien


> On 7 Jun 2019, at 18:31, lina  wrote:
> 
> Hi,
> 
> I have tried different version of debian and even ubuntu on latest macbook 
> pro.
> 
> I did the partition exactly follow very carefully based on the online
> documents but it still failed to detect the hard disk during
> installation.  Besides that I even can't run the live version. any
> suggestions will be highly appreciated.
> 
> Thanks very much, lina
> 

Hi Lina,

There are unfortunately lots of ongoing challenges with the 2018 Macbook Pro 
machines. You can follow a log here to see where the project is at as of 25 
days ago. The main issue seems to be the T2 security chip will not allow access 
to the nvme drive, even if you diable Secure Boot in the Recovery Menu. 
Together with the drive issue, Wifi and sound don’t work either. 

You cold try the very latest Arch Linux ISO as it’s got the very latest driver 
updates going with a new kernel as well.

https://github.com/Dunedan/mbp-2016-linux/issues/71


Jacques