[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Missing dirmngr after fresh install



Hi,

On 2017-03-21 19:44, Jukka Nousiainen wrote:
Hi,

Many thanks for the new builds that have appeared recently.

I burnt the latest netinst image for installing into a v240. Here's some notes:

0) First, boot from cd into rescue mode shell
1) Label + partition disks for RAID1, leaving a bit of empty space at
the start of disk just in case something would accidentally write v1.2
metadata:

Device Start End Sectors Size Id Type Flags
/dev/sdb1      16065 125845184 125829120   60G fd Linux raid autodetect
/dev/sdb2  125853210 143364059  17510850  8.4G fd Linux raid autodetect
/dev/sdb3          0 143364059 143364060 68.4G  5 Whole disk

Device Start End Sectors Size Id Type Flags
/dev/sda1      16065 125845184 125829120   60G fd Linux raid autodetect
/dev/sda2  125853210 143364059  17510850  8.4G fd Linux raid autodetect
/dev/sda3          0 143364059 143364060 68.4G  5 Whole disk

2) Create arrays with v1.0 metadata:

mdadm --create /dev/md0 -n2 -x0 -l1 -e 1.0 /dev/sda1 /dev/sdb1
mdadm --create /dev/md1 -n2 -x0 -l1 -e 1.0 /dev/sda2 /dev/sdb2

3) Reboot from rescue mode into standard debian-installer
4) Use md0 as ext3 root, md1 as swap (seems to work without dedicated
/boot ...?)
5) After SILO has been installed, set boot devices:

ok setenv boot-device disk0:c disk1:c
ok boot

6) First problem: gpg --recv-keys operation fails due to missing dirmngr:

gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory

7) As workaround. Download, sha256sum verify & install dirmngr and
it's dependencies:

- dirmngr_2.1.18-6_sparc64.deb
- libldap-2.4-2_2.4.44+dfsg-3_sparc64.deb
- libldap-common_2.4.44+dfsg-3_all.deb
- libsasl2-2_2.1.27~101-g0780600+dfsg-2_sparc64.deb
- libsasl2-modules-db_2.1.27~101-g0780600+dfsg-2_sparc64.deb
- libksba8_1.3.5-2_sparc64.deb

After this, key retrieval should work.

8) Install firmware-qlogic etc. LUNs in a test array were visible out
of the box and multipathd seemed happy enough.

Any suggestions/workarounds for the missing dirmngr issue?

Simple idea to avoid the issue is by just using

`apt-get install debian-ports-archive-keyring`

Or download it from https://ftp.de.debian.org/debian-ports/pool/main/d/debian-ports-archive-keyring/debian-ports-archive-keyring_2016.11.28_all.deb , pop it on a usb stick and `dpkg -i ` the package if internet connectivity is an issue to start with.

(accept the unverified deb package this one time, after the package is install you have no issues using debian-ports archives)

Then you don't need any dirmngr or any of those dependencies.

Hope this helps.


Also, what repos should be used for ZFS packages?


Kind regards,
Jukka


Regards,

Adrian


Reply to: