unsuscribe
unsuscribe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RCS (Revision Control System)
Which is the best RCS ? I'm a little lost between CVS, SCCS, Arch, Subversion ... Thanks for your experiences -- Richard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
cvs-buildpackage
Hi all. I don't understand exactly what cvs-buildpackage is supposed to do. After having read Howto and try it, that's remain very obscure to me. It want find a /usr/local/src/Packages/ (why ?) and finally (when I create this dir) do nothing. The man don't help me :( I want to use it on my own debian packages which sources are stored in cvs. If someone have an example for me ... thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Preserving /etc/resolv.conf when dialup connection is active
David Garamond wrote: Everytime I connect to the Internet, the 'nameserver' entries which are originally in /etc/resolv.conf are replaced with the ones from the dialup connection (they are restored after I hang up). How to prevent this? I want to preserve 'nameserver 127.0.0.1' since I serve some intranet zones on my computer. Regards, dave Put this in a file in /etc/ppp/resolv/ where the filename is the same one that in /etc/ppp/peers/ for your connection -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Sound problem.
Andreas Janssen wrote: Hello Thomas Hood (<[EMAIL PROTECTED]>) wrote: On Wed, 22 Dec 2004 01:00:26 +0100, Andreas Janssen wrote: and also make sure that hotplug, alsa-base and discover1 are installed with the latest versions so that the OSS driver are not loaded. discover1 is optional. You can also install discover (instead of discover1). Current (>= 2.0.6-1) versions of discover refrain from loading OSS modules if alsa-base (>= 1.0.7-1) has been installed. As I wrote the same works with discover1. The last time I installed Sarge, discover1 was part of the base system, discover was not. Did this change in the meantime? best regards Andreas Janssen I've the same but more odd problem. I've sound whith totem or other video soft but not with xmms and alsaconf doesn't find any soundcard :/ I searched any suggestion but never found THE solution (however google is my friend) any help ?! I use a 2.6.9 kernel with include sound driver (I also tried with them in modules but no more result ...) My motherboard is an Asus A7N8X-E Deluxe $ lspci :00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev c1) :00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1) :00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1) :00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1) :00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1) :00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1) :00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4) :00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2) :00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) :00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) :00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) :00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1) :00:05.0 Multimedia audio controller: nVidia Corporation nForce MultiMedia audio [Via VT82C686B] (rev a2) :00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1) :00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3) :00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2) :00:0d.0 FireWire (IEEE 1394): nVidia Corporation nForce2 FireWire (IEEE 1394) Controller (rev a3) :00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1) :01:04.0 Ethernet controller: Marvell Technology Group Ltd. Yukon Gigabit Ethernet 10/100/1000Base-T Adapter (rev 13) :01:0b.0 RAID bus controller: Silicon Image, Inc. (formerly CMD Technology Inc) SiI 3112 [SATALink/SATARaid] Serial ATA Controller (rev 01) :03:00.0 VGA compatible controller: nVidia Corporation NV35 [GeForce FX 5900XT] (rev a1) $ cat /var/log/dmesg [...] Advanced Linux Sound Architecture Driver Version 1.0.6 (Sun Aug 15 07:17:53 2004 UTC). ACPI: PCI interrupt :00:06.0[A] -> GSI 20 (level, high) -> IRQ 20 PCI: Setting latency timer of device :00:06.0 to 64 intel8x0_measure_ac97_clock: measured 49388 usecs intel8x0: clocking to 47413 usb 2-2: new full speed USB device using address 2 ALSA device list: #0: NVidia nForce2 at 0xe108, irq 20 [...] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Sound problem.
Andreas Janssen wrote: Hello Richard Kemp (<[EMAIL PROTECTED]>) wrote: I've the same but more odd problem. I've sound whith totem or other video soft but not with xmms and alsaconf doesn't find any soundcard :/ What outplug plugin does xmms use? Maybe you need to switch to the ALSA output plugin, or activate the alsa oss emulation layer (the drivers should be loaded automatically, but maybe you need to install alsa-oss). Also make sure the OSS driver has not been loaded. I installed alsa-oss package but ... I must load something after ? I never configured xmms, It worked before without ... sorry ... now I does and It seems work fine and play music but I hear no sound ... :/ $ lsmod Module Size Used by ohci1394 31556 0 ieee1394 96756 1 ohci1394 snd_intel8x0 29416 3 nls_iso8859_1 3776 1 nls_cp437 5376 1 snd_ac97_codec 69520 2 snd_intel8x0 snd_mpu401_uart 6336 2 snd_intel8x0 snd_rawmidi 20196 1 snd_mpu401_uart nvidia 3463484 12 visor 16400 0 usbserial 22880 1 visor wacom 11392 0 I also ran alsaconf and It detected my soundcard : Following card(s) are found on your system. â â intel8x0 nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1) â legacy Probe legacy ISA (non-PnP) chips I use a 2.6.9 kernel with include sound driver (I also tried with them in modules but no more result ...) Self-compiled, or Debian kernel? Does it work with one if the Debian kernel packages? Which version of Debian do you use? Self-compiled on Sid, I didn't try with an official Debian kernel precompile. My motherboard is an Asus A7N8X-E Deluxe $ lspci :00:05.0 Multimedia audio controller: nVidia Corporation nForce MultiMedia audio [Via VT82C686B] (rev a2) :00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1) [...] $ cat /var/log/dmesg [...] Advanced Linux Sound Architecture Driver Version 1.0.6 (Sun Aug 15 07:17:53 2004 UTC). best regards Andreas Janssen Thanks for your help -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Sound problem.
Richard Kemp wrote: Andreas Janssen wrote: Hello Richard Kemp (<[EMAIL PROTECTED]>) wrote: I've the same but more odd problem. I've sound whith totem or other video soft but not with xmms and alsaconf doesn't find any soundcard :/ What outplug plugin does xmms use? Maybe you need to switch to the ALSA output plugin, or activate the alsa oss emulation layer (the drivers should be loaded automatically, but maybe you need to install alsa-oss). Also make sure the OSS driver has not been loaded. I installed alsa-oss package but ... I must load something after ? I never configured xmms, It worked before without ... sorry ... now I does and It seems work fine and play music but I hear no sound ... :/ I tested all outplug of xmms : OSS ... doesn't work ALSA ... doesn't work eSound work .. why eSound works and alsa doesn't and what it is ? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
make my own debian package
Hi all, I am learning how to make packages debian for my personal use to install my own scripts, files of conf and others. I test all that currently while making a package which allows me to replace the files of conf Shell, I try to make un package which allows me to replace the files of conf /etc/bash.bashrc, /etc/profile and /etc/skel/.bash* by my own files. As these files belong already to other packages (typically bash) I intended to use dpkg-divert to make a deviation and to be able to install mine without conflicts but I don't know if it's the optimal solution. I've two questions for you : * When I install my package, either it carries out well the diversion (preinst) but I do not find my new file installed, or it installs my file but does not carry out the diversion (yes I know, it's odd, that's why I need your help :p). And when I test the command manually, all occurs correctly (diversion then suppression of this one correctly). I think that I had to mislead me but I don't know where, dpkg-divert command in preinst isn't good ? Or my idea is simply stupid ?! * I change the permissions and user and group of the files to be installed with the command "install" in my Makefile but it doesn't seem to use that, the permissions remain those of the "source". How set correctly permissions of these files ? My files : # Makefile of my "source package" files DESTDIR = $(DEBDIR)/etc install: install -d $(DESTDIR)/skel install -o root -g adm -m 664 bash.bashrc $(DESTDIR)/bash.bashrc install -o root -g adm -m 664 profile $(DESTDIR)/profile install -o root -g adm -m 664 bashrc $(DESTDIR)/skel/.bashrc install -o root -g adm -m 664 bash_profile $(DESTDIR)/skel/.bash_profile install -o root -g adm -m 664 bash_logout $(DESTDIR)/skel/.bash_logout # debian/rules export DH_COMPAT=3 configure: configure-stamp configure-stamp: dh_testdir touch configure-stamp build: build-stamp build-stamp: configure-stamp dh_testdir touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp rm -rf $(CURDIR)/debian/omd-base-files rm -rf ../omd-base-files_* # Add here commands to clean up after the build process. -$(MAKE) clean dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/base-files. $(MAKE) DEBDIR=$(CURDIR)/debian/omd-base-files # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples # dh_install # dh_installmenu dh_installdebconf # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime # dh_installinit # dh_installcron # dh_installinfo # dh_installman # dh_link # dh_strip dh_compress dh_fixperms # dh_perl # dh_python # dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure # debian/preinst set -e dpkg-divert --package omd-base-files --add --rename --divert /etc/bash.bashrc.omd-bak /etc/bash.bashrc dpkg-divert --package omd-base-files --add --rename --divert /etc/profile.omd-bak /etc/profile dpkg-divert --package omd-base-files --add --rename --divert /etc/skel/.bashrc.omd-bak /etc/skel/.bashrc dpkg-divert --package omd-base-files --add --rename --divert /etc/skel/.bash_profile.omd-bak /etc/skel/.bash_profile dpkg-divert --package omd-base-files --add --rename --divert /etc/skel/.bash_logout.omd-bak /etc/skel/.bash_logout # debian/postrm set -e dpkg-divert --package omd-base-files --remove /etc/bash.bashrc dpkg-divert --package omd-base-files --remove /etc/profile dpkg-divert --package omd-base-files --remove /etc/skel/.bashrc dpkg-divert --package omd-base-files --remove /etc/skel/.bash_profile dpkg-divert --package omd-base-files --remove /etc/skel/.bash_logout Thanks for any help -- Richard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
change conffiles
How to install my own conffiles like /etc/bash.bashrc or /etc/screenrc with a debian package without conflicts with the real package ? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: change conffiles
Michael Spang wrote: Richard Kemp wrote: How to install my own conffiles like /etc/bash.bashrc or /etc/screenrc with a debian package without conflicts with the real package ? This is strongly not recommended (by some Debian doc..somewhere..), though it might be possible to divert the originals. Packages aren't supposed to mess with others' conffiles, even if they are custom built with that purpose in mind. Michael Spang I know that it's not recommended. But that would be very practical to be able to maintain its own conffiles easily. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: change conffiles
Michael Spang wrote: Maybe so. I just read the dpkg-divert manpage and it won't divert conffiles, either. So I don't think this is possible. Yes, I tried with dpkg-divert but the result is very odd, I asked to the list 2 days ago but I hadn't any answer .. :( Here what I did, it carries out well the diversion (preinst) but I don't find my new file installed, or it installs my file but doesn't carry out the diversion: # Makefile of my "source package" files DESTDIR = $(DEBDIR)/etc install: install -d $(DESTDIR)/skel install -o root -g adm -m 664 bash.bashrc $(DESTDIR)/bash.bashrc install -o root -g adm -m 664 profile $(DESTDIR)/profile install -o root -g adm -m 664 bashrc $(DESTDIR)/skel/.bashrc install -o root -g adm -m 664 bash_profile $(DESTDIR)/skel/.bash_profile install -o root -g adm -m 664 bash_logout $(DESTDIR)/skel/.bash_logout # debian/rules export DH_COMPAT=3 configure: configure-stamp configure-stamp: dh_testdir touch configure-stamp build: build-stamp build-stamp: configure-stamp dh_testdir touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp rm -rf $(CURDIR)/debian/omd-base-files rm -rf ../omd-base-files_* # Add here commands to clean up after the build process. -$(MAKE) clean dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/base-files. $(MAKE) DEBDIR=$(CURDIR)/debian/omd-base-files # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples # dh_install # dh_installmenu dh_installdebconf # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime # dh_installinit # dh_installcron # dh_installinfo # dh_installman # dh_link # dh_strip dh_compress # dh_fixperms # dh_perl # dh_python # dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure # debian/preinst set -e dpkg-divert --package omd-base-files --add --rename --divert /etc/bash.bashrc.omd-bak /etc/bash.bashrc dpkg-divert --package omd-base-files --add --rename --divert /etc/profile.omd-bak /etc/profile dpkg-divert --package omd-base-files --add --rename --divert /etc/skel/.bashrc.omd-bak /etc/skel/.bashrc dpkg-divert --package omd-base-files --add --rename --divert /etc/skel/.bash_profile.omd-bak /etc/skel/.bash_profile dpkg-divert --package omd-base-files --add --rename --divert /etc/skel/.bash_logout.omd-bak /etc/skel/.bash_logout # debian/postrm set -e dpkg-divert --package omd-base-files --remove /etc/bash.bashrc dpkg-divert --package omd-base-files --remove /etc/profile dpkg-divert --package omd-base-files --remove /etc/skel/.bashrc dpkg-divert --package omd-base-files --remove /etc/skel/.bash_profile dpkg-divert --package omd-base-files --remove /etc/skel/.bash_logout -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: change conffiles
Michael Sims wrote: Have you thought about maybe taking a different approach to this altogether? I'm assuming the point of this is to make it easier to manage the configuration of a group of similar servers...or to restore the configuration of a particular server in the case of hardware failure or a system reload, right? You're right :) Personally I keep all the configuration files for my servers in a CVS module, and I use Makefiles to copy them to the right locations, set the proper permissions, and in some cases restart daemons, etc. This means all I need to do is checkout my cvs module, then run make to have the configuration files pushed out. I also have a perl helper script that does stuff like diff my files against the installed versions, etc. You may want to consider something similar...it works for me quite well. I can provide more info if you're interested. In fact I hoped that there's a method to manage that with the debian package properly. Now I'll re-examine my way of making. Thank you for your help :) -- Richard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: change conffiles
Alexis Huxley wrote: They are *conf* files, so the package installer framework will not overwrite your modified versions of these files with the versions found in newer versions of the packages without asking you first. Right, but I want to maintain my files in a package and I can't do this because these files belong to another package. That's why I ask if a method exists to be able to maintain files coming from 2 different packages (mainly fo conffiles). -- Richard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]