On Wed, Jul 15, 2015 at 07:34:55PM -0300, Mariano Baragiola wrote:
> Hello, I'm having the following problem when trying to install cups on
> OpenBSD 5.7 amd64:
> 
> # pkg_add -i cups
> quirks-2.54 signed on 2015-03-08T12:33:05Z
> Can't install cups-libs-2.0.2 because of conflicts (cups-libs-2.0.3)
> Can't install cups-2.0.2: can't resolve cups-libs-2.0.2
> --- cups-libs-2.0.2 -------------------
> Can't install cups-libs-2.0.2: conflicts
> # pkg_delete cups-libs-2.0.3
> can't delete cups-libs-2.0.3 without deleting chromium-40.0.2214.115p0
> cups-filters-1.0.66p1 cups-pk-helper-0.2.5 ghostscript-9.07
> gnome-control-center-3.14.2p0 gnome-settings-daemon-3.14.2 gtk+2-2.24.26
> gtk+3-cups-3.14.8 hpcups-3.15.2 libreoffice-4.3.5.2v0 libspectre-0.2.7p5
> samba-3.6.15p14
> Delete them as well ? [y/N/a] N
> #
> 
> I'm not sure if this is a bug or not, and if there's a simpler way to use an
> HP printer on OpenBSD, please let me know since my experience comes most
> from Debian/Ubuntu systems (like Apache2 vs httpd and Postfix vs OpenSMTPd).
> 
> Sorry if I'm doing something wrong and thanks in advance. Here's my dmesg if
> it helps:

The problem is that the repo you installed cups-libs-2.0.3 from is not the 
first one in your PKG_PATH.

> # dmesg
> OpenBSD 5.7 (GENERIC.MP) #0: Thu Apr 30 21:56:27 CEST 2015
> 
> [email protected]:/binpatchng/work-binpatch57-amd64/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 4277010432 (4078MB)
> avail mem = 4159238144 (3966MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (39 entries)
> bios0: vendor Award Software International, Inc. version "F10" date
> 01/04/2008
> bios0: Gigabyte Technology Co., Ltd. P35C-DS3R
> acpi0 at bios0: rev 0
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP HPET MCFG APIC SSDT SSDT
> acpi0: wakeup devices PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4(S5) PEX5(S5)
> HUB0(S5) UAR1(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3) US31(S3) USB4(S3)
> USB5(S3) USBE(S3) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimcfg0 at acpi0 addr 0xf0000000, bus 0-63
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz, 3000.39 MHz
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF
> cpu0: 6MB 64b/line 16-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 333MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz, 3000.00 MHz
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF
> cpu1: 6MB 64b/line 16-way L2 cache
> cpu1: smt 0, core 1, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> ioapic0: misconfigured as apic 0, remapped to apid 2
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 2 (PEX0)
> acpiprt2 at acpi0: bus -1 (PEX1)
> acpiprt3 at acpi0: bus -1 (PEX2)
> acpiprt4 at acpi0: bus 3 (PEX3)
> acpiprt5 at acpi0: bus 4 (PEX4)
> acpiprt6 at acpi0: bus -1 (PEX5)
> acpiprt7 at acpi0: bus 5 (HUB0)
> acpicpu0 at acpi0: FVS, 3000, 2000 MHz
> acpicpu1 at acpi0: FVS, 3000, 2000 MHz
> acpibtn0 at acpi0: PWRB
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel 82G33 Host" rev 0x02
> ppb0 at pci0 dev 1 function 0 "Intel 82G33 PCIE" rev 0x02: msi
> pci1 at ppb0 bus 1
> radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 5670" rev 0x00
> drm0 at radeondrm0
> radeondrm0: msi
> azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 5600 Audio" rev 0x00: msi
> azalia0: no supported codecs
> uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x02: apic 2 int 16
> uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x02: apic 2 int 21
> uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x02: apic 2 int 18
> ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x02: apic 2 int 18
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> azalia1 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x02: msi
> azalia1: codecs: Realtek ALC885
> audio0 at azalia1
> ppb1 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x02: msi
> pci2 at ppb1 bus 2
> ppb2 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x02: msi
> pci3 at ppb2 bus 3
> jmb0 at pci3 dev 0 function 0 "JMicron JMB363 IDE/SATA" rev 0x02
> ahci0 at jmb0: apic 2 int 19, AHCI 1.0
> scsibus1 at ahci0: 32 targets
> pciide0 at jmb0: DMA, channel 0 wired to native-PCI, channel 1 wired to
> native-PCI
> pciide0: using apic 2 int 19 for native-PCI interrupt
> pciide0: channel 0 disabled (no drives)
> pciide0: channel 1 disabled (no drives)
> ppb3 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x02: msi
> pci4 at ppb3 bus 4
> re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x01: RTL8168 2 (0x3800),
> msi, address 00:1a:4d:4b:be:5d
> rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
> uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x02: apic 2 int 23
> uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x02: apic 2 int 19
> uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x02: apic 2 int 18
> ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x02: apic 2 int 23
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb4 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x92
> pci5 at ppb4 bus 5
> pcib0 at pci0 dev 31 function 0 "Intel 82801IR LPC" rev 0x02
> pciide1 at pci0 dev 31 function 2 "Intel 82801I SATA" rev 0x02: DMA, channel
> 0 configured to native-PCI, channel 1 configured to native-PCI
> pciide1: using apic 2 int 19 for native-PCI interrupt
> wd0 at pciide1 channel 0 drive 0: <SAMSUNG HD322HJ>
> wd0: 16-sector PIO, LBA48, 305244MB, 625140335 sectors
> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
> ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x02: apic 2 int
> 18
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-6400CL5
> spdmem1 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-6400CL5
> pciide2 at pci0 dev 31 function 5 "Intel 82801I SATA" rev 0x02: DMA, channel
> 0 wired to native-PCI, channel 1 wired to native-PCI
> pciide2: using apic 2 int 19 for native-PCI interrupt
> usb2 at uhci0: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci1: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci2: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb5 at uhci3: USB revision 1.0
> uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb6 at uhci4: USB revision 1.0
> uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb7 at uhci5: USB revision 1.0
> uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> it0 at isa0 port 0x2e/2: IT8718F rev 4, EC port 0x290
> umass0 at uhub1 port 4 configuration 1 interface 0 "Generic Mass Storage
> Device" rev 2.00/1.00 addr 2
> umass0: using SCSI over Bulk-Only
> scsibus2 at umass0: 2 targets, initiator 0
> sd0 at scsibus2 targ 1 lun 0: <Generic, Storage Device, 0.00> SCSI2 0/direct
> removable serial.048d1336000000000006
> uhidev0 at uhub2 port 1 configuration 1 interface 0 "Razer DeathAdder" rev
> 2.00/1.00 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 7 buttons, Z dir
> wsmouse0 at ums0 mux 0
> uhidev1 at uhub2 port 2 configuration 1 interface 0 "Elan product 0x0103"
> rev 1.10/1.07 addr 3
> uhidev1: iclass 3/1
> ukbd0 at uhidev1: 8 variable keys, 6 key codes
> wskbd0 at ukbd0: console keyboard
> uhidev2 at uhub2 port 2 configuration 1 interface 1 "Elan product 0x0103"
> rev 1.10/1.07 addr 3
> uhidev2: iclass 3/0, 2 report ids
> uhid0 at uhidev2 reportid 1: input=2, output=0, feature=0
> uhid1 at uhidev2 reportid 2: input=1, output=0, feature=0
> vscsi0 at root
> scsibus3 at vscsi0: 256 targets
> softraid0 at root
> scsibus4 at softraid0: 256 targets
> root on wd0a (dd5ccfff8f706942.a) swap on wd0b dump on wd0b
> radeondrm0: 1920x1080
> wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> ulpt0 at uhub0 port 4 configuration 1 interface 1 "HP Photosmart Plus
> B209a-m" rev 2.00/1.00 addr 2
> ulpt0: using bi-directional mode
> umass1 at uhub0 port 4 configuration 1 interface 3 "HP Photosmart Plus
> B209a-m" rev 2.00/1.00 addr 2
> umass1: using SCSI over Bulk-Only
> scsibus5 at umass1: 2 targets, initiator 0
> sd1 at scsibus5 targ 1 lun 0: <HP, Photosmart Plus, 1.00> SCSI3 0/direct
> removable serial.03f07e110BAGB07Y05CS
> ugen0 at uhub0 port 4 configuration 1 "HP Photosmart Plus B209a-m" rev
> 2.00/1.00 addr 2
> 

-- 
Antoine

Reply via email to