pkg_delete oddity

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

pkg_delete oddity

Henrik Hellerstedt
I find this a bit odd:

# pkg_add recode
recode-3.6p3:gettext-0.14.6: complete
recode-3.6p3: complete
# pkg_delete gettext
Can't remove gettext without also removing:
recode-3.6p3
# pkg_delete gettext gettext
recode-3.6p3: complete
gettext-0.14.6: complete
Clean shared items: complete                                                    
#

happens on -current yesterday


OpenBSD 4.1-beta (GENERIC) #0: Wed Feb 21 13:55:11 CET 2007
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(TM) CPU 3.20GHz ("GenuineIntel" 686-class) 3.21 GHz
cpu0: FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR
real mem  = 9005174177177600 (3499192320K)
avail mem = 8188477361192960 (3499192320K)
using 4278 buffers containing 107474944 bytes (104956K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf0000, SMBIOS rev. 2.3 @ 0xec000 (77 entries)
bios0: HP ProLiant DL380 G4
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x2000
pcibios0: PCI BIOS has 7 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801EB/ER LPC" rev 0x00)
pcibios0: PCI bus #10 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x4000! 0xcc000/0x1600 0xee000/0x2000!
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel E7520 MCH" rev 0x0c
ppb0 at pci0 dev 2 function 0 "Intel MCH PCIE" rev 0x0c
pci1 at ppb0 bus 2
ppb1 at pci1 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09
pci2 at ppb1 bus 3
bge0 at pci2 dev 1 function 0 "Broadcom BCM5704C" rev 0x10, BCM5704 B0 (0x2100): irq 5, address 00:16:45:05:d4:d1
brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
bge1 at pci2 dev 1 function 1 "Broadcom BCM5704C" rev 0x10, BCM5704 B0 (0x2100): irq 5, address 00:16:45:05:d4:d0
brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
ppb2 at pci1 dev 0 function 2 "Intel PCIE-PCIE" rev 0x09
pci3 at ppb2 bus 4
ciss0 at pci3 dev 3 function 0 "Compaq Smart Array 64xx" rev 0x01: irq 5
ciss0: 1 LD, HW rev 1, FW 2.58/2.58
scsibus0 at ciss0: 1 targets
sd0 at scsibus0 targ 0 lun 0: <HP, LOGICAL VOLUME, 2.58> SCSI0 0/direct fixed
sd0: 280015MB, 280015 cyl, 64 head, 32 sec, 512 bytes/sec, 573472305 sec total
ppb3 at pci0 dev 6 function 0 "Intel MCH PCIE" rev 0x0c
pci4 at ppb3 bus 5
ppb4 at pci4 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09
pci5 at ppb4 bus 6
ppb5 at pci4 dev 0 function 2 "Intel PCIE-PCIE" rev 0x09
pci6 at ppb5 bus 10
uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801EB/ER USB" rev 0x02: irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 "Intel 82801EB/ER USB" rev 0x02: irq 5
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB2" rev 0x02: irq 5
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb6 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xc2
pci7 at ppb6 bus 1
vga1 at pci7 dev 3 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Compaq iLO" rev 0x01 at pci7 dev 4 function 0 not configured
"Compaq iLO" rev 0x01 at pci7 dev 4 function 2 not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801EB/ER IDE" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <HL-DT-ST, CD-ROM GCR-8240N, 2.03> SCSI0 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 disabled (no drives)
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask efe5 netmask efe5 ttymask ffe7
pctr: user-level cycle counter enabled
dkcsum: sd0 matches BIOS drive 0x80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02



--
Henrik Hellerstedt

Reply | Threaded
Open this post in threaded view
|

Re: pkg_delete oddity

Hannah Schroeter
Hi!

On Thu, Feb 22, 2007 at 09:06:32PM +0100, Henrik Hellerstedt wrote:
>I find this a bit odd:

># pkg_add recode
>recode-3.6p3:gettext-0.14.6: complete
>recode-3.6p3: complete
># pkg_delete gettext
>Can't remove gettext without also removing:
>recode-3.6p3
># pkg_delete gettext gettext
>recode-3.6p3: complete
>gettext-0.14.6: complete
>Clean shared items: complete                                                    

Why should that be odd?

pkg_add adds gettext as dependency of recode. So as long as recode keeps
being installed, you can't remove gettext. So in order to remove
gettext, you've got to remove recode, too.

Kind regards,

Hannah.

Reply | Threaded
Open this post in threaded view
|

Re: pkg_delete oddity

Daniel Bosk
I agree, but I find the

> ># pkg_delete gettext gettext
> >recode-3.6p3: complete
> >gettext-0.14.6: complete
> >Clean shared items: complete

quite odd too (note the two gettext after pkg_delete).

 -- Daniel


> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]]
> On Behalf Of Hannah Schroeter
> Sent: Thursday, February 22, 2007 9:15 PM
> To: Henrik Hellerstedt
> Cc: [hidden email]; [hidden email]
> Subject: Re: pkg_delete oddity
>
> Hi!
>
> On Thu, Feb 22, 2007 at 09:06:32PM +0100, Henrik Hellerstedt wrote:
> >I find this a bit odd:
>
> ># pkg_add recode
> >recode-3.6p3:gettext-0.14.6: complete
> >recode-3.6p3: complete
> ># pkg_delete gettext
> >Can't remove gettext without also removing:
> >recode-3.6p3
> ># pkg_delete gettext gettext
> >recode-3.6p3: complete
> >gettext-0.14.6: complete
> >Clean shared items: complete                                
>                    
>
> Why should that be odd?
>
> pkg_add adds gettext as dependency of recode. So as long as
> recode keeps
> being installed, you can't remove gettext. So in order to remove
> gettext, you've got to remove recode, too.
>
> Kind regards,
>
> Hannah.

Reply | Threaded
Open this post in threaded view
|

Re: pkg_delete oddity

Hannah Schroeter
Hi!

On Thu, Feb 22, 2007 at 09:41:12PM +0100, Daniel Bosk wrote:
>I agree, but I find the

>> ># pkg_delete gettext gettext
>> >recode-3.6p3: complete
>> >gettext-0.14.6: complete
>> >Clean shared items: complete

>quite odd too (note the two gettext after pkg_delete).

Oh I see. I wasn't attentive enough.

Kind regards,

Hannah.

Reply | Threaded
Open this post in threaded view
|

Re: pkg_delete oddity

Bernd Ahlers
In reply to this post by Henrik Hellerstedt
Henrik Hellerstedt [Thu, Feb 22, 2007 at 09:06:32PM +0100] wrote:

>I find this a bit odd:
>
># pkg_add recode
>recode-3.6p3:gettext-0.14.6: complete
>recode-3.6p3: complete
># pkg_delete gettext
>Can't remove gettext without also removing:
>recode-3.6p3
># pkg_delete gettext gettext
>recode-3.6p3: complete
>gettext-0.14.6: complete
>Clean shared items: complete                                                    
>#
>
Fixed in -current. Thanks for the report!

Regards,
        Bernd