Re: NVIDIA-driver-173
On 05/01/2011 18:18, Michael Powell wrote: Jerry wrote: On Sat, 30 Apr 2011 18:18:32 -0700 Arthur Barlowarthurbar...@gmail.com articulated: Does anyone know if this will ever be supported for FreeBSD 8.x? I tried both the version in ports as well as the one directly from NVIDIA. No joy. Does anyone know of other possibilities? You might try putting the port's name in question into the body of your post. Anyway, is there a specific reason that you cannot use the latest version in the posts system, nvidia-driver-256.53_1? I believe that nVidia released a newer version last year, 270.41.06, but it is apparently not available in the ports system. You might want to check withda...@freebsd.org regarding that. All of the FreeBSD nVidia drivers are listed on: http://www.nvidia.com/object/unix.html. Also in /usr/ports/x11 are the ports for nvidia-driver, nvidia-driver-71, nvidia-driver-96, and nvidia-driver-173. It is unclear what/which may have been tried. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 270.41.06 was released around a week ago, and runs fine here. The version in ports hasn't been updated for several releases. br - Nikolaj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB Powered Speakers
Programmer In Training wrote: On 04/09/10 10:15, Brodey Dover wrote: Apr 8 22:30:16 heaven kernel: usb_alloc_device:1624: getting device descriptor at addr 3 failed, USB_ERR_IOERROR! exactly! That is what is causing the issues. From what I can see, it is like it was explained before. The OS has chosen to play nice and request that the speakers are disabled. The power requirements will not affect the system until the speakers are producing sound. In other words, the system will only draw UP to the power input rating while in operation. At idle, I'd wager they may only use 1/10 of its power rating for the idle ICs and a power LED. snip Only it's not the speakers that have their operation interrupted, JUST the keyboard (not even the mouse is affected). Hi, I don't know if my issue is related to the one debated in this thread, but I just recently bought myself a pair of externally (regular power supply; no USB power) powered speakers, that plug into the sound card as usual, but when the speakers are powered up or down, my USB mouse disappears for a few seconds! It happens every time, and the mouse has its resoution reset. It's no big deal to me, but I'm a bit puzzled as to how the simple sound card connection could reset a USB connection. I'm not trying to hijack this thread, just thought the issues might be related. br - N :o) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Parallel debugging
Roland Smith wrote: gprof is part of the base system. Valgrind is available in ports, but only for the i386 architecture. Roland Unfortunately, Valgrind is rather hopeless on fbsd for multithreaded programs. I had to resort to using Ubuntu when Valgrinding. N :o) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Assigning static ip address
Steve Bertrand wrote: From what I understand (and correct me if I'm wrong): - you are working on a FreeBSD host system - you have a DHCP server on the network, but it is not on this host - you want to use all of the DHCP assigned parameters on the host, but you want to have a static IP on the host you are working on that is different than the one assigned to you Yep, all your assumptions are correct! I did in fact at some point try creating a lease for the em0 interface in dhclient.conf, but I understand those leases are only used if the dhcp server is unavailable, and it never had any effect. ... But the dhcp server is in my router, so I followed your suggestion and created a static lease (which before I didn't know I could do), so now everything works - thanks a lot!! br Nikolaj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Assigning static ip address
Hi list, I've been experimenting and googling for hours w/ no luck. All I want to do is run dhcp and then replace the ip address of the interface with a new static ip afterwards. I've been looking at the /etc/dhclient.conf man pages, but they don't seem to help. I can do it from rc.conf like: ifconfig_em0=inet 1.2.3.4 but then I loose all the other dhcp parameters like dns and stuff. Is it really that hard??? thanks - Nikolaj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Assigning static ip address
Gonzalo Nemmi wrote: On Thursday 12 February 2009 6:00:04 pm Nikolaj Thygesen wrote: Could you plase configure your /etc/rc.conf file to something like this? ifconfig_ed0=inet 192.168.1.105 netmask 255.255.255.0 defaultrouter=192.168.1.1 Where defaultrouter is the IP of your dhcp server and tell me what happens? Regards When I do, I get: em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:1b:21:1b:fd:bd inet6 fe80::21b:21ff:fe1b:fdbd%em0 prefixlen 64 scopeid 0x1 inet 192.168.1.105 netmask 0xff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseTX full-duplex) status: active I still get no connectivity until i run dhclient em0 which gives me: em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:1b:21:1b:fd:bd inet6 fe80::21b:21ff:fe1b:fdbd%em0 prefixlen 64 scopeid 0x1 inet 192.168.1.105 netmask 0xff00 broadcast 192.168.1.255 inet 10.0.0.2 netmask 0xff00 broadcast 10.0.0.255 media: Ethernet autoselect (1000baseTX full-duplex) status: active adding what I guess is called an alias 10.0.0.2 ip?!?! I'm not that much of an expert in these matters, and I'm a bit puzzled why, at first (before calling dhclient), it can't resolve addresses eventhough /etc/resolv.conf contains all my dns's. br - N ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Setting an environment var at boot
Nicolas Letellier wrote: Hello, I have an env var to set for mysqld (UMASK_DIR). Today, I set it in /usr/local/etc/rc.d/mysql-server, but it's a bad idea. When I want to upgrade my mysql5-server port, the file will be overwritten. I want to set it in a file loaded a machine boot. This var must be exported and accessible for my services runned in /etc/rc.d and /usr/local/etc/rc.d What file do you advice? Thanks. Regards, Wouldn't this go into '/etc/login.conf'? N :o) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB mouse problems.
Yes but only if I connect the mouse after the boot process has finished. If I have it connected during boot it's not found. Moused is started but gives /dev/ums0 not found. So if I want to use the mouse I have to leave it unconnected until I get the login prompt and then connect the mouse. Try a different usb port. On my box, only the two in the front work right. br - N :o) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MPD5 + dhclient: Problem adding dns and search domain
Hi list, I finally managed to establish a PPTP VPN connection to my employer using mpd5. My problem now is that in order for the setup to work properly I need to supersede search domain and dns'es in /etc/resolv.conf either by hand or by editing dhclient.conf. If I use dhclient.conf the VPN stuff is added way too soon, as I don't want to run mpd5 all the time, and consequently do it by hand. A couple of things slow down noticeably when being unable to reach the search domain. I can't imagine I'll have to edit resolv.conf by hand every time - also it's being overwritten once in a while anyway - probably by the dhcp daemon. What's a good man to do here?? thanks - Nikolaj Thygesen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Gnome-system-monitor crashing (All processes + Dependencies)
Hi, How do I avoid g-s-m crashing when viewing all processes with dependencies turned on?? I googled but found no solution. If I select this mode of operation I get a rather lengthy output file on stderr as outlined below with a bunch of similar entries removed for improved readability: LibGTop-Server: kvm_getargv (55): Unknown error: 0 LibGTop-Server: kvm_getargv (54): Unknown error: 0 LibGTop-Server: kvm_getargv (53): Unknown error: 0 LibGTop-Server: kvm_getargv (52): Unknown error: 0 LibGTop-Server: kvm_getargv (51): Unknown error: 0 LibGTop-Server: kvm_getargv (50): Unknown error: 0 . (gnome-system-monitor:34202): Gtk-CRITICAL **: gtk_tree_store_get_path: assertion `iter-stamp == tree_store-stamp' failed (gnome-system-monitor:34202): Gtk-CRITICAL **: gtk_tree_store_insert: assertion `VALID_ITER (parent, tree_store)' failed (gnome-system-monitor:34202): Gtk-CRITICAL **: gtk_tree_view_row_expanded: assertion `path != NULL' failed (gnome-system-monitor:34202): Gtk-CRITICAL **: gtk_tree_view_expand_row: assertion `path != NULL' failed . (gnome-system-monitor:34202): Gtk-CRITICAL **: gtk_tree_store_get_value: assertion `VALID_ITER (iter, tree_store)' failed (gnome-system-monitor:34202): GLib-GObject-WARNING **: gtype.c:3368: type id `0' is invalid (gnome-system-monitor:34202): GLib-GObject-WARNING **: can't peek value table for type `invalid' which is not currently referenced LibGTop-Server: pid 34203 received eof. I understand that we've had similar problems with earlier releases of Gnome, but I'm currently running a fully updated 2.22.1 on fbsd7-release. br - Nikolaj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reading a Video CD from a DVD drive on 7.0
Joshua Isom wrote: After some further testing, a vcd in the dvd drive will have the same problem during booting the kernel(before init). After killing the system and rebooting without the disc, trying to play the disc causes messages like this repeatedly. I tried running cdcontrol -f /dev/acd1 eject and it hung. I tried atacontrol reinit ata3 and atacontrol detach ata3 and those hung as well. It's an sata dvd-rw drive over atapi. Here's the error being reported by the kernel. acd1: TIMEOUT - READ_BIG retrying (1 retry left) acd1: TIMEOUT - READ_BIG retrying (0 retries left) acd1: FAILURE - READ_BIG timed out Mplayer just triggers the problem. I imagine if I ran amd I'd have the same type of problem, or any program that tried to read from acd1. Other than locking up tty's and not being able to shut down, the system's still usable, aside from the disc inserted during boot of course. I get the exact same symptoms when booting with an audio cd in the drive. I haven't done too much about it as I rarely stuff such things in my box, but the cd/dvd part of fbsd7 still appears somewhat flakey. I see the INQUIRY ILLEGAL REQUEST below on several boxes. On this particular machine atapicd is commented out in its i386-based custom kernel config, but it makes no difference as far as this warning/error is concerned. FreeBSD 7.0-RELEASE #4: Sun Mar 9 21:39:39 CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DIAMOND Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (2405.47-MHz 686-class CPU) unknown: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 cd0 at ata4 bus 0 target 1 lun 0 cd0: ATAPI DVD D DH16D2P HP57 Removable CD-ROM SCSI-0 device cd0: 3.300MB/s transfers cd0: cd present [2070890 x 2048 byte records] br - N :o) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB Mouse not working
Wouter Oosterveld wrote: Forgot Driver: Section InputDevice Identifier Mouse1 Driver mouse Option Protocolauto Option Device /dev/sysmouse Option Buttons 5 Option ZAxisMapping 4 5 EndSection 2008/3/26, Wouter Oosterveld [EMAIL PROTECTED]: I've had probably had the same issues with an logitech wheel-mouse (usb): Mar 24 23:56:55 harare kernel: ums0: 3 buttons and Z dir. The following xorg-section without any rc.conf moosed stuff got it to work: Section InputDevice Identifier Mouse1 Option Protocolauto Option Device /dev/sysmouse Option Buttons 5 Option ZAxisMapping 4 5 EndSection Hope this helps. Regards, Wouter 2008/3/26, Fabio Pennati [EMAIL PROTECTED]: I am a new FreeBSD user coming from Gentoo. I am not able to get working an usb optical wired mouse from Labtec that is working well with many Linux distro's and WXP too. I am using a FreeBSD 7.0 standard GENERIC kernel configuration with all usb devices installed, thus: # USB support deviceuhci# UHCI PCI-USB interface deviceohci# OHCI PCI-USB interface deviceehci# EHCI PCI-USB interface (USB 2.0) deviceusb# USB Bus (required) #deviceudbp# USB Double Bulk Pipe devices deviceugen# Generic deviceuhid# Human Interface Devices deviceukbd# Keyboard deviceulpt# Printer deviceumass# Disks/Mass storage - Requires scbus and da deviceums# Mouse Here is an extract from my rc.conf: usbd_enable=YES moused_enable=YES moused_type=auto moused_port=/dev/ums0 moused_flags= usbd_flags= moused_nondefault_enable=YES moused_ums0_flags= I tried also to take out from rc.conf any moused-stuff lines but without no results. And here is the messages from kernel during boot, probing ums device: ums0: vendor 0x1241 product 0x, class 0/0, rev 1.00/1.00, addr 2 on uhub0 ums0: 3 buttons and Z dir. This is the xorg.conf, for the part interesting the mouse: Section InputDevice Identifier Mouse0 Driver mouse OptionProtocol Auto OptionDevice /dev/sysmouse OptionZAxisMapping 4 5 6 7 EndSection Furthermore I installed the same mouse with an hw adapter to the serial port of the PC and obviously it works, of course as pms device, but very slowly and with no precision. There is someone that has any idea ? Thanks, Fabio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] What happens if you unplug and replug the mouse?? N ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pkg_cutleaves - a bit too efficient
Hi list, In order to tighten up my fbsd installation I decided to try out pkg_cutleaves. I wasn't really too worried, as I figured I could always run portupgrade if I removed one package too many - and so I did it appears. Portupgrade doesn't bring anything back though. I've tried running pkgdb with a number of different parameters including -L and -F, but nothing really does me any good. What can I do to make ports/packages realize I'm in need of a few more packages?? The particular symptom isn't too bad though. The background of my Gnome desktop doesn't respond to mouse clicks, and my wallpaper is gone, but still... br - Nikolaj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sound volume in Totem
Hi, Both in 6.x and now in 7 I've had issues with the sound volume in Totem. When I use vlc then nothing's wrong, but in Totem even with all the different available volumes turned to the max, I get much less volume/sound. Previously (6.x on a different machine) I could go into mplayer and turn it up there which would in turn increase volume of Totem, but I don't use mplayer on this new machine and never have. Seems like some global setting is interfering. Even the Gnome Configuration Editor shows nothing (that I can find that is). I've googled but to no avail - anybody?? br - Nikolaj Thygesen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0 RC2 usb keyboard and mouse problems
Paul Schmehl wrote: I just installed 7.0 RC2 on a brand new Dell - dual processor dual core Intel (so four processors), and I'm losing the keyboard and mouse after taking certain actions. For example, I started setting up X (Xorg --configure) and then launched it (X -config /root/xorg.conf-new), and when I get to the GUI the mouse and keyboard are gone. Sometimes I can restore functionality by unplugging the devices and then plugging them back in. This is happening in the console as well, not just in the GUI. I've fetched the latest sources using cvsup. Will rebuilding the kernel solve this problem? Is this a known issue? usbhidctl shows ums0, ums1, ukbd0 and ukbd1 to be busy. [EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ums0 usbhidctl: /dev/ums0: Device busy [EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ums1 usbhidctl: /dev/ums1: Device busy [EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ukbd ukbd0 ukbd1 [EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ukbd0 usbhidctl: /dev/ukbd0: Device busy [EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ukbd1 usbhidctl: /dev/ukbd1: Device busy This is what I see after unplugging both devices and plugging them in to different usb receptacles. usbdevs addr 1: UHCI root hub, Intel addr 2: product 0x2105, vendor 0x413c addr 3: product 0x4d15, vendor 0x0461 addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 3: product 0x2105, vendor 0x413c addr 2: product 0x4d15, vendor 0x0461 addr 1: EHCI root hub, Intel FreeBSD utd65257.utdallas.edu 7.0-RC2-p1 FreeBSD 7.0-RC2-p1 #0: Tue Feb 12 22:23:33 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 grep usb /var/run/dmesg.boot usb0: UHCI (generic) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0 usb1: UHCI (generic) USB controller on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1 usb2: waiting for BIOS to give up control usb2: EHCI version 1.0 usb2: wrong number of companions (3 != 2) usb2: companion controllers, 2 ports each: usb0 usb1 usb2: EHCI (generic) USB 2.0 controller on ehci0 usb2: USB revision 2.0 uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb2 usb3: UHCI (generic) USB controller on uhci2 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb3 usb4: UHCI (generic) USB controller on uhci3 usb4: USB revision 1.0 uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb4 usb5: UHCI (generic) USB controller on uhci4 usb5: USB revision 1.0 uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb5 usb6: waiting for BIOS to give up control usb6: timed out waiting for BIOS usb6: EHCI version 1.0 usb6: companion controllers, 2 ports each: usb3 usb4 usb5 usb6: EHCI (generic) USB 2.0 controller on ehci1 usb6: USB revision 2.0 uhub6: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb6 Any clues or help would be appreciated. Hi Paul I just spent about a week solving that very same issue. The thing is that in order for the usb mouse and keyboard to work during the initial boot sequence, ps/2 style devices are needed, so your bios is probably configured for simulating ps/2 (legacy) devices on usb. Keep it that way! As the kernel boots, usb devices are suddenly supported, but present ps/2 devices (even the simulated legacy ones) will hide the usb devices from the kernel, so in order to get access to these the following lines must be added to /boot/device.hints: hint.atkbd.0.disable=1 hint.atkbdc.0.disable=1 I understand that only one of them is needed, but I have no idea which one. It supposedly differs from machine to machine. The last crucial point (and the one I really fought with) is the fact that not all usb ports are created equal! If the above doesn't work, try switching usb ports. It seems some usb ports/hubs are preferred over others. On my machine the two front ports work, but the six ports on the rear of the machine don't :o( At least it works now, and I no longer need to have two keyboards attached. br - N :o) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB mice in fbsd7
Hi list, About a week ago I installed fbsd7 on a new machine, and no matter what I do the USB mouse doesn't kick in when booting. If I pull out the usb plug and reinsert it, the mouse starts working fine. The very same mouse has worked w/out a hitch for years on fbsd6.x. When I look in /dev there's no ums0 entry, but after reconnecting the mouse, the ums0 entry appears. Does anyone have a clue about this?? best regards - Nikolaj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD Wacom driver
Hi, Having just aquired a usb wacom tablet and discovering the linuxwacom project, I was wondering why only serial tablets are supported on FBSD?? br - Nikolaj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Nedit after xorg 7.3
Hi list, After upgrading xorg to 7.3, nedit has started scrolling funnily on my system. It used to work just fine, but after the upgrade scrolling down (that is moving the text cursor up) one line at a time using the arrow keys replicates the same line on each text line in view. Scrolling down still works fine?!? Page-up and -down works fine as always. Has anyone else experienced this and perhaps even solved the issue?? br Nikolaj Thygesen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Deleted /var/db/pkg
Hi list, Thanks for all the feedback I got concerning the recreation of my package database - it's been most helpful. I'm pretty much home free now, and I learnt a lot during the process; I just have a question regarding using the -o option of portupgrade. I understand that this option, colloquially speaking, lets one port take another ports place. It just seems that this replacement is respected only when using make install and portupgrade. When using portinstall or pkg_add, these programs insist on installing for example either cdrtools or cjk-cdrtools depending on which one is not installed - ie. it wants to install the one variant not currently being installed. Is this expected behaviour or am I doing something wrong?? My pkgtools.conf has had the appropriate line added. br - Nikolaj Thygesen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Deleted /var/db/pkg
On Tue, 18 Sep 2007 16:46:03 +0400 Andrew Pantyukhin [EMAIL PROTECTED] wrote: On Tue, Sep 18, 2007 at 02:01:27PM +0200, [EMAIL PROTECTED] wrote: Hi list, Suppose you deleted /var/db/pkg by accident :( What would you do to get it back?? I'd go one of these ways: - rm -rf /usr/local ... - rebuild all the packages I need in a chroot, then pkg_add them I have started portinstalling gnome2 with dependencies and no matter if I manually build cdrtools or cdrtools-cjk the machine always wants to build the other one :( As they can't coexist, what can I do to make the portinstall -R gnome2 work?? I have (ab)used pkgdb in every conceivable way and done portupgrades -o back and forth, but nothing helps. I'm currently out of ideas. There must be a way - right?? br Nikolaj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Deleted /var/db/pkg
[EMAIL PROTECTED] wrote: On Tue, 18 Sep 2007 16:46:03 +0400 Andrew Pantyukhin [EMAIL PROTECTED] wrote: On Tue, Sep 18, 2007 at 02:01:27PM +0200, [EMAIL PROTECTED] wrote: Hi list, Suppose you deleted /var/db/pkg by accident :( What would you do to get it back?? I'd go one of these ways: - rm -rf /usr/local ... - rebuild all the packages I need in a chroot, then pkg_add them I have started portinstalling gnome2 with dependencies and no matter if I manually build cdrtools or cdrtools-cjk the machine always wants to build the other one :( As they can't coexist, what can I do to make the portinstall -R gnome2 work?? I have (ab)used pkgdb in every conceivable way and done portupgrades -o back and forth, but nothing helps. I'm currently out of ideas. There must be a way - right?? Does the ALT_PKGDEP section of /usr/local/etc/pkgtools.conf help ? (from UPDATING) Example of ALT_PKGDEP section: ALT_PKGDEP = { 'www/apache13' = 'www/apache13-modssl', 'print/ghostscript-afpl' = 'print/ghostscript-gnu', } This should let you specify in pkgtools.conf ALT_PKGDEP = { 'sysutils/cdrtools' = 'sysutils/cdrtools-cjk', The above entry is already there. Do I need to do anything in particular to reinforce it?? } so any dependancies on cdrtools will be rewritten to use cdrtools-cjk Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Deleted /var/db/pkg
Hi list, Suppose you deleted /var/db/pkg by accident :( What would you do to get it back?? I started out trying to recreate the xorg port (make install), but being a meta port and only checking for the existance of certain files it doesn't rebuild much. Doing my experiments I have even managed to mess up my existing previously working xorg installation. I did a make install of one port which in combination with a number of pkgdb -F cmd lines has rebuilt ~150 stale dependencies so far, but I'm not sure how to go about stuff like gnome2, also I have the feeling that cvsup'ing right now would be a bad idea - right?? I would kill for an undelete cmd :) br - Nikolaj Thygesen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]