On 07/11/15 17:15, Joseph Oficre wrote:
> Hello, misc.
> My dmesg:
> OpenBSD 5.8-beta (GENERIC.MP) #1141: Fri Jul 10 11:31:23 MDT 2015
>     dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> RTC BIOS diagnostic error 80<clock_battery>
> real mem = 8451125248 (8059MB)
> avail mem = 8191127552 (7811MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (67 entries)
> bios0: vendor LENOVO version "8BET62WW (1.42 )" date 07/26/2013
> bios0: LENOVO 428445G
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA
> SSDT SSDT UEFI UEFI UEFI
> acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EXP7(S4) EHC1(S3)
> EHC2(S3) HDEF(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz, 2292.87 MHz
> cpu0:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
> H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
> ,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
> E
> S,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz, 2292.56 MHz
> cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
> H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
> ,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
> E
> S,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 1, core 0, package 0
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz, 2292.56 MHz
> cpu2:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
> H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
> ,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
> E
> S,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu2: smt 0, core 1, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz, 2292.56 MHz
> cpu3:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
> H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
> ,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
> E
> S,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu3: smt 1, core 1, package 0
> cpu4 at mainbus0: apid 4 (application processor)
> cpu4: Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz, 2292.56 MHz
> cpu4:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
> H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
> ,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
> E
> S,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu4: 256KB 64b/line 8-way L2 cache
> cpu4: smt 0, core 2, package 0
> cpu5 at mainbus0: apid 5 (application processor)
> cpu5: Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz, 2292.56 MHz
> cpu5:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
> H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
> ,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
> ES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu5: 256KB 64b/line 8-way L2 cache
> cpu5: smt 1, core 2, package 0
> cpu6 at mainbus0: apid 6 (application processor)
> cpu6: Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz, 2292.56 MHz
> cpu6:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
> H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
> ,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
> ES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu6: 256KB 64b/line 8-way L2 cache
> cpu6: smt 0, core 3, package 0
> cpu7 at mainbus0: apid 7 (application processor)
> cpu7: Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz, 2292.56 MHz
> cpu7:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
> H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
> ,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
> ES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu7: 256KB 64b/line 8-way L2 cache
> cpu7: smt 1, core 3, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> acpiec0 at acpi0
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEG_)
> acpiprt2 at acpi0: bus 2 (EXP1)
> acpiprt3 at acpi0: bus 3 (EXP2)
> acpiprt4 at acpi0: bus 5 (EXP4)
> acpiprt5 at acpi0: bus 13 (EXP5)
> acpiprt6 at acpi0: bus 14 (EXP7)
> acpicpu0 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
> acpicpu1 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
> acpicpu2 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
> acpicpu3 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
> acpicpu4 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
> acpicpu5 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
> acpicpu6 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
> acpicpu7 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
> acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2
> acpitz0 at acpi0: critical temperature is 99 degC
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: SLPB
> acpibat0 at acpi0: BAT0 model "42T4799" serial 21914 type LION oem "SANYO"
> acpibat1 at acpi0: BAT1 not present
> acpiac0 at acpi0: AC unit online
> acpithinkpad0 at acpi0
> cpu0: Enhanced SpeedStep 2292 MHz: speeds: 2301, 2300, 1800, 1600, 1400,
> 1200, 1000, 800 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
> vga1 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09
> intagp at vga1 not configured
> inteldrm0 at vga1
> drm0 at inteldrm0
> inteldrm0: 1920x1080
> wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> "Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
> puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com
> com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
> com4: probed fifo depth: 0 bytes
> em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi, address
> f0:de:f1:ad:54:34
> ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 16
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x04: msi
> azalia0: codecs: Conexant/0x506e, Conexant/0x2c06, using Conexant/0x506e
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb4: msi
> pci1 at ppb0 bus 2
> ppb1 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb4: msi
> pci2 at ppb1 bus 3
> iwn0 at pci2 dev 0 function 0 "Intel Centrino Ultimate-N 6300" rev 0x3e:
> msi, MIMO 3T3R, MoW, address 24:77:03:28:08:40
> ppb2 at pci0 dev 28 function 3 "Intel 6 Series PCIE" rev 0xb4: msi
> pci3 at ppb2 bus 5
> ppb3 at pci0 dev 28 function 4 "Intel 6 Series PCIE" rev 0xb4: msi
> pci4 at ppb3 bus 13
> sdhc0 at pci4 dev 0 function 0 "Ricoh 5U822 SD/MMC" rev 0x08: apic 2 int 16
> sdmmc0 at sdhc0
> "Ricoh 5U832 Firewire" rev 0x04 at pci4 dev 0 function 3 not configured
> ppb4 at pci0 dev 28 function 6 "Intel 6 Series PCIE" rev 0xb4: msi
> pci5 at ppb4 bus 14
> xhci0 at pci5 dev 0 function 0 "NEC xHCI" rev 0x04: msi
> usb1 at xhci0: USB revision 3.0
> uhub1 at usb1 "NEC xHCI root hub" rev 3.00/1.00 addr 1
> ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 23
> usb2 at ehci1: USB revision 2.0
> uhub2 at usb2 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> pcib0 at pci0 dev 31 function 0 "Intel QM67 LPC" rev 0x04
> ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x04: msi, AHCI
> 1.3
> ahci0: port 0: 3.0Gb/s
> ahci0: port 1: 1.5Gb/s
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, ST9500420AS, 0003> SCSI3 0/direct fixed
> naa.5000c50044bc194e
> sd0: 476940MB, 512 bytes/sector, 976773168 sectors
> cd0 at scsibus1 targ 1 lun 0: <HL-DT-ST, DVDRAM GT33N, LT30> ATAPI 5/cdrom
> removable
> ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x04: apic 2
> int 18
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
> spdmem1 at iic0 addr 0x51: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
> spdmem2 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
> spdmem3 at iic0 addr 0x53: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> wsmouse0 at pms0 mux 0
> wsmouse1 at pms0 mux 0
> pms0: Synaptics touchpad, firmware 7.2
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> aps0 at isa0 port 0x1600/31
> uhub3 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> uhidev0 at uhub3 port 2 configuration 1 interface 0 "Genius USB Optical
> Mouse" rev 2.00/1.00 addr 3
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse2 at ums0 mux 0
> ugen0 at uhub3 port 3 "UPEK Biometric Coprocessor" rev 1.01/0.02 addr 4
> ugen1 at uhub3 port 4 "Broadcom Corp Broadcom Bluetooth Device" rev
> 2.00/7.48 addr 5
> uvideo0 at uhub3 port 6 configuration 1 interface 0 "Ricoh Company Ltd.
> Integrated Camera" rev 2.00/80.29 addr 6
> video0 at uvideo0
> uhub4 at uhub2 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on sd0a (380463e4fcd12dda.a) swap on sd0b dump on sd0b
> 
> 
> After updating some packages pkg_add just freezes and after ^C i get this
> messages:
> 
> No change in libidn-1.30
> ^C^CFatal error: Caught SIGINT
>  at /usr/libdata/perl5/OpenBSD/AddDelete.pm line 40.
> Segmentation fault (core dumped)
> 
> gdb /usr/bin/perl perl.core shows:
> Core was generated by `perl'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/lib/libpthread.so.19.0...done.
> Loaded symbols for /usr/lib/libpthread.so.19.0
> Loaded symbols for /usr/bin/perl
> Symbols already loaded for /usr/lib/libpthread.so.19.0
> Reading symbols from /usr/lib/libperl.so.17.1...done.
> Loaded symbols for /usr/lib/libperl.so.17.1
> Reading symbols from /usr/lib/libm.so.9.0...done.
> Loaded symbols for /usr/lib/libm.so.9.0
> Reading symbols from /usr/lib/libutil.so.12.1...done.
> Loaded symbols for /usr/lib/libutil.so.12.1
> Reading symbols from /usr/lib/libc.so.80.0...done.
> Loaded symbols for /usr/lib/libc.so.80.0
> Reading symbols from /usr/libexec/ld.so...done.
> Loaded symbols for /usr/libexec/ld.so
> Reading symbols from
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/Fcntl/Fcntl.so...done.
> Loaded symbols for
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/Fcntl/Fcntl.so
> Reading symbols from
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/Cwd/Cwd.so...done.
> Loaded symbols for /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/Cwd/Cwd.so
> Reading symbols from
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/File/Glob/Glob.so...done.
> Loaded symbols for
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/File/Glob/Glob.so
> Reading symbols from
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/POSIX/POSIX.so...done.
> Loaded symbols for
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/POSIX/POSIX.so
> Reading symbols from
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/List/Util/Util.so...done.
> Loaded symbols for
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/List/Util/Util.so
> Reading symbols from
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/OpenBSD/MkTemp/MkTemp.so...done.
> Loaded symbols for
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/OpenBSD/MkTemp/MkTemp.so
> Reading symbols from
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/Socket/Socket.so...done.
> Loaded symbols for
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/Socket/Socket.so
> Reading symbols from
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/Sys/Syslog/Syslog.so...done.
> Loaded symbols for
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/Sys/Syslog/Syslog.so
> Reading symbols from
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/Digest/SHA/SHA.so...done.
> Loaded symbols for
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/Digest/SHA/SHA.so
> Reading symbols from
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/MIME/Base64/Base64.so...done.
> Loaded symbols for
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/MIME/Base64/Base64.so
> Reading symbols from
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/IO/IO.so...done.
> Loaded symbols for /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/IO/IO.so
> Reading symbols from
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/Compress/Raw/Zlib/Zlib.so...done
> .
> Loaded symbols for
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/Compress/Raw/Zlib/Zlib.so
> Reading symbols from
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/Compress/Raw/Bzip2/Bzip2.so...do
> ne.
> Loaded symbols for
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/Compress/Raw/Bzip2/Bzip2.so
> Reading symbols from
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/PerlIO/scalar/scalar.so...done.
> Loaded symbols for
> /usr/libdata/perl5/amd64-openbsd/5.20.2/auto/PerlIO/scalar/scalar.so
> #0  0x00000009d06be71e in Perl_sv_clear (orig_sv=0x9b6ebe580) at
> /usr/src/gnu/usr.bin/perl/sv.c:6341
> 6341    /usr/src/gnu/usr.bin/perl/sv.c: No such file or directory.
>     in /usr/src/gnu/usr.bin/perl/sv.c
> 
> 
> and backtrace:
> (gdb) backtrace
> #0  0x00000009d06be71e in Perl_sv_clear (orig_sv=0x9b6ebe580) at
> /usr/src/gnu/usr.bin/perl/sv.c:6341
> #1  0x00000009d06bf09a in Perl_sv_free2 (sv=0x9b6ebe580, rc=Variable "rc"
> is not available.
> ) at /usr/src/gnu/usr.bin/perl/sv.c:6805
> #2  0x00000009d06ba630 in S_visit (f=0x9d06bf150 <do_clean_objs>,
> flags=2048, mask=2048) at /usr/src/gnu/usr.bin/perl/sv.c:485
> #3  0x00000009d06bf7cc in Perl_sv_clean_objs () at
> /usr/src/gnu/usr.bin/perl/sv.c:640
> #4  0x00000009d074e78c in perl_destruct (my_perl=Variable "my_perl" is not
> available.
> ) at perl.c:804
> #5  0x0000000764601412 in main () from /usr/bin/perl
> 
> 
> 
> How can i solve this problem and update my packages? changing mirrors does
> nothing
> 
> .
> 

Once pkg_add goes wrong the /var/db/pkg/ is corrupted, that needs to be
fixed first. Retrying changing mirrors will get nowhere depending how
bad the corruption was.

pkg_check can be used to fix some things, before retrying.

If the problem is with specific packages, sometimes uninstalling and
reinstalling those packages works.

/var/log/messages should have recorded pkg_add's, reproducing pkg_add
problems is difficult and depends on what's been installed, and what
your updating to, and which package failed.


If everything fails, then do the same as described in

http://www.openbsd.org/faq/upgrade55.html#upgrade

Create lists of packages, delete all but firmware packages,
add a pkg_check to ensure /var/db/pkg is correct,
then follow the fuzzy update to install packages from the lists at the
very end of the upgrade.


    pkg_info -mq >/root/pkg_list_manual
    pkg_info -q >/root/pkg_list_full


    pkg_delete -X /var/db/pkg/*-firmware-[0-9]*

    pkg_check


    pkg_add -z -l /root/pkg_list_manual
    pkg_add -za -l /root/pkg_list_full

Reply via email to