Re: Please help with not booting from USB so to install Debian
You might want to read the manual with the computer. My Lenovo would boot automatically to Windows. In the manual, it had a hold on the side, trusty paperwork clip press the hole, boots into bios. Install Linux On Thu, Jun 8, 2023, 2:51 PM Bret Busby wrote: > On 9/6/23 05:18, Bret Busby wrote: > > On 9/6/23 05:02, Bret Busby wrote: > >> On 9/6/23 04:52, Rodolfo Medina wrote: > >>> Bret Busby writes: > >>> > My understanding is that Windows 11 computers have malware that is > designed > to prevent booting into anything other than the malicious Windows 11. > > A procedure to get around the Windows 11 malware, and to be able to > boot into > Linux, has, I believe, been described on the Ubuntu Users mailing > list. > >>> > >>> > >>> Can you perhaps point out a link to read that procedure? Thanks! > >>> > >>> Rodolfo > >>> > >> I have posted a query to the Ubuntu list, asking the person who I > >> believe, provided the procedure on that list, and, who has published > >> equivalent information for Windows 10. > >> > >> I seek his response. > >> > >> .. > >> Bret Busby > >> Armadale > >> West Australia > >> (UTC+0800) > >> .. > > Have you disabled "secure boot" on your Windows 11 PC? > > > > .. > > Bret Busby > > Armadale > > West Australia > > (UTC+0800) > > .. > > If you go to > > https://lists.ubuntu.com/archives/ubuntu-users/2022-July/thread.html > > and scroll down to the thread starting with the subject "Questions about > Linux Mint and this list", read that message, and, work your way through > the responses, especially, the ones from Liam Proven, you should be able > to get the answer that you seek. > > .. > Bret Busby > Armadale > West Australia > (UTC+0800) > .. > >
Re: Fixing errors on a BTRFS partition?
Try this article https://en.opensuse.org/SDB:BTRFS On Thu, Jan 12, 2023, 5:43 AM Nate Bargmann wrote: > I have a Freedom Box Pioneer (hardware is an Olimex A20-OLinuXino-LIME2 > unit with a Samsung 128 GB micro-SD card. The micro-SD is partitioned > into 2GB boot ext2 and the remainder as the root partition as BTRFS. > > The thing has been crashing for months and now it started giving GPG > signature errors when trying to run 'apt update'. I copied the entire > micro-SD card to an image file with dd so I have a backup. Running > 'btrfs check' resulted in a lot of errors so I ran the check and > directed the output to a file which is over 2MB in size! The following > is a small snippet of what it in the file: > > [1/7] checking root items > [2/7] checking extents > checksum verify failed on 2337062912 found 0098 wanted 0025 > checksum verify failed on 2337062912 found 0098 wanted 0025 > Csum didn't match > owner ref check failed [2337062912 16384] > ERROR: errors found in extent allocation tree or chunk allocation > [3/7] checking free space cache > [4/7] checking fs roots > checksum verify failed on 2337062912 found 0098 wanted 0025 > checksum verify failed on 2337062912 found 0098 wanted 0025 > Csum didn't match > root 11670 inode 1109704 errors 200, dir isize wrong > root 11670 inode 1109705 errors 2001, no inode item, link count wrong > unresolved ref dir 1109704 index 2 namelen 4 name json filetype 1 > errors 4, no inode ref > root 11670 inode 1109706 errors 2001, no inode item, link count wrong > unresolved ref dir 1095383 index 2 namelen 11 name 20-json.ini > filetype 7 errors 4, no inode ref > root 11670 inode 1109707 errors 2001, no inode item, link count wrong > unresolved ref dir 978863 index 4 namelen 7 name apache2 filetype > 2 errors 4, no inode ref > root 11670 inode 1109710 errors 2001, no inode item, link count wrong > unresolved ref dir 1095409 index 2 namelen 11 name 20-json.ini > filetype 7 errors 4, no inode ref > root 11670 inode 1109711 errors 2001, no inode item, link count wrong > unresolved ref dir 978863 index 5 namelen 3 name fpm filetype 2 > errors 4, no inode ref > root 11670 inode 1109714 errors 2001, no inode item, link count wrong > unresolved ref dir 978864 index 30 namelen 4 name json filetype 1 > errors 4, no inode ref > root 11670 inode 1109734 errors 2001, no inode item, link count wrong > unresolved ref dir 45938 index 176 namelen 17 name > gschemas.compiled filetype 1 errors 4, no inode ref > root 11670 inode 1109735 errors 2001, no inode item, link count wrong > unresolved ref dir 6679 index 36 namelen 15 name giomodule.cache > filetype 1 errors 4, no inode ref > root 11670 inode 1109771 errors 2001, no inode item, link count wrong > unresolved ref dir 295871 index 242 namelen 24 name > rsyslog.service.dsh-also filetype 1 errors 4, no inode ref > root 11670 inode 1109784 errors 2001, no inode item, link count wrong > unresolved ref dir 978742 index 31 namelen 12 name readline.ini > filetype 1 errors 4, no inode ref > . > . > . > ERROR: errors found in fs roots > Opening filesystem to check... > Checking filesystem on /dev/mmcblk0p2 > UUID: ea375ed2-d6e7-49d4-9b19-a624ba09b96c > The following tree block(s) is corrupted in tree 11670: > tree block bytenr: 6562955264, level: 1, node key: (1109704, 96, 3) > found 19331854402 bytes used, error(s) found > total csum bytes: 14201108 > total tree bytes: 1242775552 > total fs tree bytes: 1160757248 > total extent tree bytes: 61292544 > btree space waste bytes: 327420862 > file data blocks allocated: 182356692992 > referenced 113920880640 > > > Everything online hints that attempting repair is particularly > dangerous, but what else am I to do? At the moment the system is pretty > much useless. > > All insights appreciated. > > - Nate > > -- > "The optimist proclaims that we live in the best of all > possible worlds. The pessimist fears this is true." > Web: https://www.n0nb.us > Projects: https://github.com/N0NB > GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819 > >
Re: btfs disk compatibility between i386 and amd64
> Careful, unlink in the *nix world typically means delete (a file), while you probably meant unmount / mount. Yes, precisely. > In general there shouldn't be a problem for newer kernels to read older versions of a particular file system[1], but the other way around can be a problem. That's interesting in itself. Makes some sense. Thanks much. On 1/28/22, Andrei POPESCU wrote: > On Mi, 26 ian 22, 17:33:04, Joseph Brenner wrote: >> I was wondering if the on-disk data format for btrfs is >> compatible between the i386 and amd64 code bases-- >> e.g. would you expect to be able to swap data drives >> between machines running either? > > In general yes. > >> I've got an old i386 installation with /home in it's >> own partition, and I'm wondering if I can expect to just >> unlink /home and install a new amd64 version, and then link >> in the home parition again. > > Careful, unlink in the *nix world typically means delete (a file), while > you probably meant unmount / mount. > > > In general there shouldn't be a problem for newer kernels to read older > versions of a particular file system[1], but the other way around can be > a problem. > > More than that, as far as I recall some newer kernels would > automatically enable some new features thus rendering the particular > file system unreadable for older kernels[2]. > > In any case, this should be very well documented for every file system, > so you should check the btrfs documentation for that. > > > [1] In this context I consider the various ext file systems to be > different file systems, not different versions of the same file system, > although they do have much more in common between them then with xfs or > so. > > [2] I believe this was with ext4, but it could have been ext3 > > Kind regards, > Andrei > -- > http://wiki.debian.org/FAQsFromDebianUser > > -- > To unsubscribe from this group and stop receiving emails from it, send an > email to doom+unsubscr...@kzsu.stanford.edu. >
btfs disk compatibility between i386 and amd64
I was wondering if the on-disk data format for btrfs is compatible between the i386 and amd64 code bases-- e.g. would you expect to be able to swap data drives between machines running either? I've got an old i386 installation with /home in it's own partition, and I'm wondering if I can expect to just unlink /home and install a new amd64 version, and then link in the home parition again.
Lenovo Miix 720
Good day, I have a Lenovo Miix 720 and I would like to I need a physical keyboard to install ubuntu on it and what kind touchscreen support there is?
Re: ssh session times out annoyingly fast, why?
have you tried "ssh -Y" option On 9/21/20 4:38 PM, Britton Kerin wrote: I'm using ssh from a debian box to a rasberry pi (sorta debian also :). For some reason ssh sessions seem to time out pretty quickly. I've tried setting ClientAliveInterval and ClientAliveCountMax and also ServerAliveInterval and ServerAliveCountMax, but it doesn't seem to make any difference. Is there some other setting somewhere that affects this? Thanks, Britton -- Joseph Loo j...@acm.org
upgrade hits an acpid problem: "Got no socket."
I've been going around on some fun issues related to doing a full upgrade for the first time in a long time on a Lenovo E550 laptop running Debian testing. The system now won't boot cleanly, but I can get in via a recovery mode (after which, I start network-manager manually), so I've continued experiment with different apt/dpkg invocations to see if I can get the system un-wedged. Where I'm up to in this story-- which I'm cutting short-- is I had just resolved a conflict between two packages like so: dpkg -i --force-overwrite /var/cache/apt/archives/gnuplot-data_5.2.6+dfsg1-1_all.deb Then tried this: apt-get install -f But that crashes like this: Setting up acpid (1:2.0.31-1) ... Job for acpid.service failed because of unavailable resources or another system error. See "systemctl status acpid.service" and "journalctl -xe" for details. invoke-rc.d: initscript acpid, action "restart" failed. Looking into this further: systemctl status acpid.service One learns: acpid.service - ACPI event daemon Loaded: loaded (/lib/systemd/system/acpid.service; disabled; vendor preset: enabled) Active: failed (Result: resources) Tasks: 0 (limit: 4915) CGroup: /system.slice/acpid.service Apr 18 11:33:38 tango systemd[1]: acpid.service: Got no socket. Apr 18 11:33:38 tango systemd[1]: acpid.service: Failed to run 'start' task: Invalid argument Apr 18 11:33:38 tango systemd[1]: acpid.service: Failed with result 'resources'. Apr 18 11:33:38 tango systemd[1]: Failed to start ACPI event daemon. Okay: "Got no socket"? netstat -np showed there were 60-something sockets in use, none obviously related to ACPI netstat -np | wc -l 71 I tried rebooting, to try to reduce the number of sockets in use... that cut this count to 36, but I was still seeing that "Got no socket" error: dpkg --configure -a (Interestingly, the netstat output goes up to 53 lines after after starting network-manager. No change in the problems behavior, though.) Any ideas? There's a bunch of "force" options, but I know of nothing that gets you past a "configure" problem like this.
Re: How to mount or link as extention of fs?
On 03/17/2018 03:32 PM, Dennis Wicks wrote: > Greetings! > > I have separated my /home file system from root so I can > install new systems without clobbering it. To make it most > useful is there any way I can mount, link, whatever, it so > that it appears to be an extension of, or included in, > /home? That is not just another mount on the root fs. > > TIA Dennis > Have you ever thought of doing an autofs mount on the /home directory? That way you do not need to have it a separate partition. I just mount the individual home directories to the /home mount point. If you have an autofs setup, you could have the individual directories on different machines and share the same directory. If you are clever enough, you could even have multiple directories for the same user come from different nfs servers, e.g. ~user/Picture can be in one location and ~user/Documents from another location. But the user logging into the machine would only see it as a single location without any links. -- Joseph Loo j...@acm.org
Re: How to mount or link as extention of fs?
On 03/17/2018 03:32 PM, Dennis Wicks wrote: > Greetings! > > I have separated my /home file system from root so I can > install new systems without clobbering it. To make it most > useful is there any way I can mount, link, whatever, it so > that it appears to be an extension of, or included in, > /home? That is not just another mount on the root fs. > > TIA Dennis > Have you ever thought of doing an autofs mount on the /home directory? That way you do not need to have it a separate partition. I just mount the individual home directories to the /home mount point. If you have an autofs setup, you could have the individual directories on different machines and share the same directory. If you are clever enough, you could even have multiple directories for the same user come from different nfs servers, e.g. ~user/Picture can be in one location and ~user/Documents from another location. But the user logging into the machine would only see it as a single location without any links. -- Joseph Loo j...@acm.org
Re: Sony Memory Stick problem on Debian 9 stable
On 12/21/2017 02:53 AM, Farhad Mohammadi Majd wrote: >> First off, check that your card reader HARDWARE supports the MS. Have > you read the Wikipedia page on Memory Sticks? There are almost as many > variants as Secure Digital has. > > Yes, I have read that article and my memory card reader claims that it > supports Memory Stick and has a slot for it and I think when it is > detected by system, this means my memory card reader can read this type > of memory card. > >> Secondly, have you checked for physical switches on the Memory Stick? > There might be a read-only switch; there might even be a bank-select > switch. > > Yes, it has a *Lock* switch, it is set to open. > I believe there is something wrong with your hardware. I do not believe there are any sdc much less memory stick that contains 2 tB. The largest I heard is 256 gB and memory stick is old technology. In addition be careful of the switch. In sdc cards, the switch does not truly make the card read only, instead it is a bit to indicate the switch is on or off. It is up to the software to ensure that you do not write to it. Of course this may have changed -- Joseph Loo j...@acm.org
Re: Gparted will not label an existing FAT32 partition
On 11/11/2016 04:39 PM, David Wright wrote: > On Fri 11 Nov 2016 at 18:36:15 (-0500), rhkra...@gmail.com wrote: >> On Friday, November 11, 2016 04:58:41 PM Pascal Hambourg wrote: >>> Le 11/11/2016 à 22:17, Thomas Schmitt a écrit : >>>> The older format is MBR with 4 primary partitions and 4 logical >>>> ones in one of the primary partitions. >>> >>> Huh ? The number of logical partitions is unlimited. >> >> Ok, just to be part of this ongoing saga, I think the number of logical >> partitions is limited to something like 12 or 16 (or maybe the total number >> of >> partitions, primary plus logical is limited to 16. (And maybe that's a >> limit >> of one or more OSs rather than a universal limit.) > > That doesn't seem to square with > http://forums.justlinux.com/showthread.php?147959-How-to-install-and-boot-145-operating-systems-in-a-PC > (Scroll down to "Partition Tables".) > > Cheers, > David. > Your URL is talking about gpt scheme. The limitation is in the MSDOS partition scheme -- Joseph Loo j...@acm.org
Re: Installing Gutenprint
On 10/20/2016 01:31 PM, Radford & Sue Thomas wrote: > Hello Folks, > > I am an 86 year old Photoshop Guru and having trouble printing from PS > in OS 10.12. > > So I found Gutenprint and downloaded the latest version for my Epson > 4880. But what do I do now? > > No one I know of in Roanoke, VA has the brights to help me. Would you > please send me the info I need? > > Regards, > > Radford Thomas, PhD > Professor of Art > Virginia Western Community College Did you install the driver or just download it? Did you add the printer on your system? If you did all the above, you can just print the ps file to the printer. -- Joseph Loo j...@acm.org
Re: [computers] bad sectors on disk
On 02/10/2016 07:35 PM, TWS Admin wrote: > Please remove julius.robe...@wildernes.org.au > <mailto:julius.robe...@wildernes.org.au> from this list, he's no longer > working with us. > > thanks, > > the Wilderness society > > On 9 February 2016 at 19:57, Ritesh Raj Sarraf <mailto:r...@researchut.com>> wrote: > > Hello, > > On my RPi2, I saw the following reported by my kernel. > > [156278.815976] sd 1:0:0:0: [sdb] UNKNOWN(0x2003) Result: > hostbyte=0x00 driverbyte=0x00 > [156278.823864] sd 1:0:0:0: [sdb] CDB: opcode=0x28 28 00 9a 40 04 47 > 00 00 08 00 > [156278.831152] blk_update_request: I/O error, dev sdb, sector > 2587886663 > > > This got me worried so I ran an fsck on my drive. Following is the > report. > > 130 pi@pi:~$ sudo fsck -cvkv /dev/sdb1 > [sudo] password for pi: > fsck from util-linux 2.25.2 > e2fsck 1.42.12 (29-Aug-2014) > Checking for bad blocks (read-only test): done > > SEAGATE: Updating bad block inode. > Pass 1: Checking inodes, blocks, and sizes > Pass 2: Checking directory structure > Pass 3: Checking directory connectivity > Pass 4: Checking reference counts > Pass 5: Checking group summary information > > SEAGATE: * FILE SYSTEM WAS MODIFIED * > >20013 inodes used (0.02%, out of 122101760) > 8944 non-contiguous files (44.7%) > 53 non-contiguous directories (0.3%) > # of inodes with ind/dind/tind blocks: 0/0/0 > Extent depth histogram: 16695/3216/62 >416471936 blocks used (85.28%, out of 488378008) >0 bad blocks > 63 large files > >17086 regular files > 2885 directories >0 character device files >0 block device files >0 fifos >0 links > 33 symbolic links (32 fast symbolic links) >0 sockets > >20004 files > 1 pi@pi:~$ > > > From the report, it says that there are 0 bad blocks. So is this a > bug in e2fsprogs ? > > > -- > Ritesh Raj Sarraf > RESEARCHUT -- http://www.researchut.com > "Necessity is the mother of invention" > > fsck checks primarily a directory structure not the hard drives. you might want to try badblocks -svn /dev/sdb Like always, backup your drive before you do this. -- Joseph Loo j...@acm.org
Re: grub rescue> (getting error: unknown filesystem) for all filesystems!
On 11/24/2015 06:16 PM, aman nangia wrote: > Since this boot disk is 146gb (2.5" sas drive) and has some important data > that needs to be retrieved, one option i thought was to take it out from > broken system and insert it into another system running debian that has a > empty filler disk panel. I did that thinking it will auto-recognize the disk > but it did not. > > What is the debian cli to run a scan/probe like in solaris (devfsadm -C) to > auto-recognize the newly added disk? That way i can mount it on /mnt and > retrieve my files over. > > Thx for any pointers! > > > On Tue, 11/24/15, aman nangia wrote: > > Subject: grub rescue> (getting error: unknown filesystem) for all > filesystems! > To: debian-user@lists.debian.org > Date: Tuesday, November 24, 2015, 6:00 PM > > debian 6.0 on intel chipset > architecture (not amd chipset). It's HP Gen7 system with no > dvd drive (only usb). > > Will the file 'debian-live-6.0.4-amd64-rescue.img' that we > have handy help here to recover from above failed server? > Note the filename has amd in it and so am not sure if it > will work for intel chipsets based system or not. The size > of this img file is 600196kb file. There is no debian or > livecd media. > > From another good running debian 6.0 system i tried running > dd if=/var/tmp/above-filename of=/dev/sdbe1 bs=4M; sync > (where my sdbe1 was the usb flash drive). After the command > i inserted this usb on the broken system and tried to boot > from it, it won't recognize it still. > > Also, i tried putting a redhat 6.3 x86 and also rhel 5.3 x86 > dvd in the usb dvd drive and tried to boot from it, it says > cannot find it. > > am stuck now and need help! > > > > One way is to have a fully running system. put the drive into a spare slot or in a USB system. Depending on your system, it may automount (USB enclosure) or you will have to mount it on the system. First thing I would do is to just load it on the system and use gparted to look at it only (this can destroy your disk). Alternate method, is get something like parted magic (live rescue disk) and boot from it. There you can try mounting the drive. In some cases you may need to do a fsck to check the system (make backup before doing it). -- Joseph Loo j...@acm.org
Re: print .tex or .dvi or .ps from Windows
On 10/13/2015 10:34 AM, rlhar...@oplink.net wrote: > On Tue, October 13, 2015 7:26 am, Joseph Loo wrote: >> have you tried installing >> ghostscript on your windows machine? It will convert ps and possibly pdf to >> pcl or some other printers they have drivers for. > > Ghostscript is one of the first solutions which occurred to me. I found a > HOWTO, but it was too complex to give to my associate to follow. > > And I found an article written about ten years ago which discussed the > problem of getting high-quality output when converting Postscript; much > depends upon the fonts used (scalable versus bit-mapped). The discussion > was a bit deep, and, all things considered, it appeared to me that PDF > might be a better solution for my associate. Also, most people know how > to read a PDF document, but may have difficulty sending a Postscript > document to the virtual Ghostscript printer; I myself am not sure how it > is done in Windows. > > Russ > What you need is to down load ghostview at the same time. Use this gui application to open the ps file. Have the program print the file. It can use the default window drivers to print. I use to do this a lot but to tell you the truth, it has been many years since getting it. The ghostscrpt program will download 23 basic fonts for the different printers. If you are using word, make sure the fonts embedded in the ps files. You can print many different files with the full accuracy of the ps file. -- Joseph Loo j...@acm.org
Re: print .tex or .dvi or .ps from Windows
On 10/13/2015 05:12 AM, Lisi Reisz wrote: > On Tuesday 13 October 2015 04:57:07 rlhar...@oplink.net wrote: >> On Mon, October 12, 2015 9:16 pm, Don Armstrong wrote: >>> Use PDF instead of PS. That's the fool-proof method, and you get the >>> advantages of the PDF specification. >>> >>> [It's also probably time to move away from pdflatex to xelatex or >>> some other LaTeX engine with real utf8 support.] >> >> Thanks for bringing up the utf8 issue; I keep forgetting about it. >> >> But is the PDF file I produce with whatever is in Jessie likely to be >> readable by Windows XP or Vista? I ask this because I have an older HP >> laserjet which cannot decipher Postscript Level 3. > > Surely the whole point of .pdf is that it is an open standard which > is "universal"? And it has traditionally been easier to make use of from > Windows than from Linux. > > https://en.wikipedia.org/wiki/Portable_Document_Format > > Lisi > I am a little late in the discussion, but have you tried installing ghostscript on your windows machine? It will convert ps and possibly pdf to pcl or some other printers they have drivers for. It has been a long time since I used it on windows. -- Joseph Loo j...@acm.org
Re: Ethernet NIC renegotiation problem.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/18/2015 08:06 PM, Richard Hector wrote: > On 19/02/15 15:32, Dan Purgert wrote: >> Point of contention -- if the BUCH is only using cat5 in his >> install, the fact he's getting gbit for any time at all is a >> miracle. Min requirement for gig over copper is 5e (with cat6 >> being preferred). > > My understanding is that Cat5 is and has always been the minimum > requirement for 1000base-T. At a quick glance, Wikipedia appears > to agree, though it suggests 5e or 6 is preferred. > > On slightly deeper reading, it seems that while all of these specs > have the same target characteristics, the tolerances reduce as the > spec goes higher, so more reliable performance is likely. I now > see more point in the higher specs than I did half an hour ago :-) > > I agree with the requirement to do the cabling, and especially > terminations, properly. > > Richard > > > I believe the wikipedia article actually stated at 100base cat 5 and cat5e is okay but the gigabit is to use cat 5e. Quote from article: To support Gigabit Ethernet, a higher performance version of cat 5, enhanced cat 5 or cat 5e has been added to the standards. Cat 5e adds new performance requirements to permit higher speed network operation In real life depending on the length your throughput for 5 will be far less than 5e. - -- Joseph Loo j...@acm.org -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQIcBAEBAgAGBQJU5WROAAoJEEMx95CapKFE8m0P/0LJYyO4QRBtofwJj8iqzSQL gNV6ET3dLe77Ig5bmNVXrMxw+8O1ipcM1SePFFsYg+C9oFb3/a9YmYXsvaWs0bmT juaIUFfyAMImxN+GyTJhGxGoj9EEdjTvXHo1TBCIP1BRh5m2KkqwZjuxsDpJz3yu JMRxDe8iqN8BdHJn3BAAUxS84CGuHJ1fi9jZoOSjjRp76665Zqd8hijW13hqpdCC +uJzyzvYYgd5tV7avedVFNxGe3kEQJmP7UiMHQ1entY+ERAv4Km+v7t7Yt+ZhUyc TPBLzW7gvO/+WlT25y89SbFXAJxRSSnUdw0zXaslySHg7LzPZUV4UYyP+IvNuJjo I/qWEoMVfGsLWCB8QsVOckE2wm7VBqnWoRxlnuDb5QXFam1L2NHZn5CK6QpC6pw9 NWOk55u5CDjxpM5X9ia04iNkDyaecIM0ELvX2XS1xLug4DucnHMN7tIAHixcDqUv mhkeuYrvnaT/vPTrFAkTty9WzK+GYOomi1nNPlDYBT8lou5OdJmtYxulq1zUf4vv 1wUFvLflIfnRpPY78h2yjh99Atenxu4Kc+a+WeiBhg4gaINzeks7r1f1ynGhokdH yPQ24uFBM4tkDgduisdVYktjL4iXYI0Ako6lhY0119Ovl1QPbg0hZQvcgyCZEX6N PxbZp2Mf4jfHxBqoxcOT =jr63 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54e56468.9060...@aqcm.org
Re: How to recover a damaged partition
On 01/21/2015 06:53 PM, Kevin O'Gorman wrote: I'm working with new 4TB drives, and one of them just had a bad spot in a fairly awkward place. The very first block of an ext4 partition was unreadable, and caused problems in booting, as well as anything else that wanted to scan partitions. I overwrote the first 4K with zeroes, deleted the partition (with gdisk) and created a new unformatted partition to cover the area. Now that partition passes a read test, and I'm checking the other partitions. The damaged partition has been inactive for a while, so I'm quite sure I have adequate backups. But now seems to be a time for me to learn -- lots of things have been going wrong, and I've been learning how to cope. So I wonder if there's a way to get that partition back, at least in part, without using my backups. Any hints, pointers, tutorials, or opinions welcome. -- Kevin O'Gorman #define QUESTION ((bb) || (!bb)) /* Shakespeare */ Please consider the environment before printing this email. Have you tried doing a badblocks on the partition. This will try reading and writing data to the partition to check the disk drive. I generally do this on my drive before deploying. It tends to remove the bad blocks. You can also try grc's Spinrite (cost money) at grc.com -- Joseph Loo j...@acm.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54c06e22.4080...@aqcm.org
Re: Epson XP-820 Small-in-one
On 12/05/2014 08:43 PM, Gary Dale wrote: I bought the XP-820 because it was on sale and could print to CD/DVD - a feature that I liked about my earlier Espon R-320 printer. Unfortunately the XP-820 needs the Epson escpr driver while the R-320 used the Cups-Gutenprint driver. The former doesn't seem to include the print-to-CD/DVD feature that the latter has. There is a work-around, of writing to an SDHC card then inserting the card into a lot in the printer and using the printer's control panel to print a design to CD/DVD. This is quite cumbersome so I'm hoping someone has a method of getting the XP-820 to print to CD/DVD from Linux. I used Turboprint from turboprint.info. It is a paid program and it allows me to print to CD/DVD. Unfortunately they have not come out a driver for the epson xp820. I have a Epson XP810 -- Joseph Loo j...@acm.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/548291b5.6050...@aqcm.org
Re: Can't install Debian - USB keyboard doesn't turn on until Windows loads
On 07/09/2014 06:50 PM, Kitty Cat wrote: I have two questions: 1. Would anyone be willing to give me a link to a simple USB keyboard that you think would work with this machine at boot time? Perhaps on Amazon.com or Newegg.com, etc.? 2. Do you know of a Debian CD of some type that will load a kernel without the need of a key press before the kernel loads? Debian install CD's and Live CD's require a key press at boot in order to load a kernel. I'm not sure about Knoppix but thought I would ask before wasting a DVD disc to find out that it won't boot. Here is what's going on with this machine: The USB keyboard that I have is not supported by the motherboard for some reason. However, the keyboard does work however after a kernel loads. My keyboard is a an AZZA brand, model number KME381U. It has buttons on it that will (in Windows) launch a web browser, change the speaker volume, etc. The motherboard has no PS/2 connector. I do have a PS/2 keyboard that I could use, but there is no place on the motherboard to plug it in. The motherboard does not have a clear CMOS jumper that I could find. There is a CMOS jumper on the motherboard, however, when this jumper is switched, when the computer boots, it puts me directly into CMOS and the keyboard did not work while in CMOS. I did take out the battery, waited a while, left the battery out, turned on the computer with the CMOS jumper moved and wound up back in CMOS but the keyboard was still not working. I was able to install Debian by changing the windows bootloader to boot the Debian installer as I described earlier. Now Debian is the only OS on the machine. I was planning to only use this computer via SSH connection. So, I only need a keyboard if I want to change CMOS settings or select an option from the Grub boot menu. So, it appears that my only solution is to get a different USB keyboard for this machine. On Sat, Jun 28, 2014 at 12:16 PM, B <mailto:lazyvi...@gmx.com>> wrote: On Sat, 28 Jun 2014 10:57:23 -0700 "Thomas D. Dean" mailto:tomd...@wavecable.com>> wrote: > Maybe you need to clear the BIOS settings? I have never had to do > that. From what he said, he's done that (although removing the battery don't work, except if you wait for "some time" because of the capacitor(s) power backup). IF this was done correctly (jumper or short circuit of 2 points), we could assume a non-ps/2 machine resetting its BIOS would, by default, enable legacy USB; but we can't be sure 100%... About the key typing time windows, I've seen BIOSes that only left ~1s, which is quite short (addon cards, such as SCSI controllers, can also reduce the window). -- I'm such a no-life that when I get out home, people think I'm a new neighbor --' Before you do that, Have you tried all the USB slots. some of the motherboards are sensitive to the USB connection at the bios start period. One clue, is power on the keyboard at the start, i.e. flash of the keyboard lights (sometimes). -- Joseph Loo j...@acm.org
Re: Different behaviour handling NFS mounts after login
On 07/02/2014 11:56 PM, Joerg Desch wrote: I've recently replaced Linux MINT on 3 machines with Debian Wheezy and GNOME3.4. All of my "shares" are mounted with NFS. For this purpose I use the following options (on all installations): rw,_netdev,hard,intr,user,nosuid,exec,async,auto Two of the machines opens Nautilus after each login. Neither the other installation of Debian nor a remaining MINT installations shows this behaviour. What's the problem here? Should I change something in the mount options? Or is this a setting within GNOME? You might want to try soft instead of hard. -- Joseph Loo j...@acm.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/53b5024f.8090...@acm.org
Re: Progress on my new Debian box
On 06/23/2014 12:27 PM, B wrote: On Tue, 24 Jun 2014 04:34:00 +1000 Andrew McGlashan wrote: I believe that would be true of quite /old/ SSD drives, but definitely not for newer ones. I wouldn't be so positive… until a real independent lab, conducting real tests (especially with a high number of small files, test curiously (much too) often absent from "testers" sites). The new drives are subject to write issues, Yeah, like older ones. but to hit that problem will take just as long as a traditional spinning drive -- they too have limits, spinning drives are mechanical. May be, but most of my disks have a ≥ 10 years life (24/7) with a very few errors (only 2 of 45 have 1 & 3 unrecoverable sectors), so, if you can prove me SSD is as good as these, why not… There have been very heavy torture tests on thew newer range of SSDs and they are performing exceptionally well with mega data being written [1], up to fairly heavy data usage levels. All are biased ("strangely", to lower the write errors due to multiple write repetitions on the same sectors); this is why until a _real_ lab, with plausible tests protocols and methodology doesn't make a test, I won't trust it more than my first underwear :) There is apparently a way to restore SSD drives to original condition by super heating the layer that breaks down (due to writes), targeting the exact spot with the right temperature returns the SSD drive to brand new state. Not sure when this newest generation will hit the market though. [2] Yeah, go figure heating _some_ cells among all in a today's chip density; not to mention that I don't see other sites/labs/researchers saying the same thing. On this ground too, us firms can't be trusted as they hire and pay indelicate specialists to _get_ the result they _want_; just as monsanto or the govts does. I think you are missing the problem associated with SSd. The wear problem is associated with the amount of free space. If the drive is 99.99% full, you could probably wear the drive out in no time at all. The wear problem is prevented by using free space that has not been written to it. thus if 00 % full drive will wear out faster than a drive that is 1% full. If you do not speak in context of the percentage full the benchmarks are not too useful. Most consumer grade ssd are limited to about 10K writes per cell. If you exceed the limit, dead cell. Remember that another factor involve is the number of spare cells. all of these things play in the role when an ssd fails. -- Joseph Loo j...@acm.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/53a8e0b5.5040...@acm.org
GTK Apps not themed after KDE installation (Debian 7.1.0)
Hello all, I have installed KDE on my 7.1.0 box. However when I log in under KDE, all GTK apps such as synaptic or firefox are unthemed (then have the old windows 9x style). How can I fix that? Josh
Organic SEO for
Team, 1. Your website is not ranking top in Google organic searches for many competitive keyword phrases. size="3">2. Your company is not doing well in most of the Social Media Websites. 3. Your site is not user friendly on mobile devices. Your website requires a lot of additional Upgradations. If you want to be informed of the details about them and are inquisitive to know how our involvement with you will be beneficial to you then we would be glad to specify those details in a WEBSITE AUDIT REPORT for FREE. Since our client's sites remain at the top of the Google search rankings, their customers find them easily. For your company’s website traffic and online notability, you will be at the top left of Google. I got to your site by the help of Google search and after analyzing it, I suggest that you must implement HTML5 designing and responsive designing for mobile and desktop accessibility. If interested, without any hesitation, Email us or provide me with your Phone number and inform about the best time to call you size="3">----- size="3">Best Regards,Joseph SmithAsst. Vice President PS: I am not spamming, I have studied your site and am sure we can help you with your business advancement. If you do not want us to contact you, you can ignore this email or ask to remove and I will not contact again.
Re: "termcap-compat" is still referenced in the Debian FAQ [SOLVED]
On 06/28/2013 03:01 PM, Sven Joachim wrote: On 2013-06-28 21:24 +0200, Joseph Lenox wrote: On 06/28/2013 11:04 AM, Sven Joachim wrote: On 2013-06-28 17:39 +0200, Joseph Lenox wrote: Noticed that "termcap-compat" is referenced in one of the FAQ questions on the website (http://www.debian.org/doc/manuals/debian-faq/debian-faq.en.txt, 4.7). The package does not exist on Wheezy, nor apparently (according to the package history) since 2005. I'm unsure whether to file this as a bug against the FAQ or the fact that the package is missing. The former, I dare say. Bugreport has been filed against debian-faq. If I have a program to which I do not have the source (commercial EDA tool) and it requires libtermcap.so.2, Ugh. How old is that program? 2011. It's VCS-MX from Synopsys. Their newest version of the software still uses it. I'll file a bug report against that software. My "first" problem is that it assumes either RHEL or SUSE. Their shell scripts link to /bin/sh, but assume that /bin/sh -> /bin/bash (this is replicated across pretty much everything (specifically, using /bin/sh -h everywhere), prompting a dpkg-reconfigure to use bash instead of dash), use the host compiler (and pass it arguments like -melf_i386). I've filed bug reports, but I doubt anything will be done about it. You can also use the switchsh command from the package of the same name to temporarily bind-mount /bin/bash as /bin/sh. Their IC Compiler uses a local install of gcc-4.2.2 to compile SystemC and is coded to only accept that version. I had to recompile gcc from source with a patch to make it pay attention to the Debian method of doing x64 libs. how do I satisfy this program the Debian Way? You can get termcap-compat from archive.debian.net[1], but note that the termcap library in it is linked against libc5 rather than libc6. If that is not what you need, various RPM-based distributions still ship libtermcap[2], and you can convert an rpm package into a Debian package with alien(1). A solution that Works For Me (tm) is to symlink /lib/$ARCH/libtermcap.so.2 -> /lib/$ARCH/libncurses.so.5 This works because ncurses uses termcap's ABI. Really? And in that case you would better use libtinfo.so.5 instead of libncurses.so.5. Thanks for the heads-up, I'll do that instead (as it too "Works For Me (tm)"). The RPM->Alien approach did not work (at least using the newest one I could find from OpenSUSE) because theirs was compiled against GLIBC_2.14. Guess it's time to report another wishlist bug. I'd rather not open a can of worms to try and support software which uses a library that was deprecated some 15 years ago. I filed a support request to Synopsys, who knows if anyone will ever see it. -- --Joseph Lenox, BS, MS I'm an engineer. I solve problems. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51cdf340.8090...@gmail.com
Re: "termcap-compat" is still referenced in the Debian FAQ
On 06/28/2013 11:04 AM, Sven Joachim wrote: On 2013-06-28 17:39 +0200, Joseph Lenox wrote: Noticed that "termcap-compat" is referenced in one of the FAQ questions on the website (http://www.debian.org/doc/manuals/debian-faq/debian-faq.en.txt, 4.7). The package does not exist on Wheezy, nor apparently (according to the package history) since 2005. I'm unsure whether to file this as a bug against the FAQ or the fact that the package is missing. The former, I dare say. Bugreport has been filed against debian-faq. If I have a program to which I do not have the source (commercial EDA tool) and it requires libtermcap.so.2, Ugh. How old is that program? 2011. It's VCS-MX from Synopsys. Their newest version of the software still uses it. I'll file a bug report against that software. My "first" problem is that it assumes either RHEL or SUSE. Their shell scripts link to /bin/sh, but assume that /bin/sh -> /bin/bash (this is replicated across pretty much everything (specifically, using /bin/sh -h everywhere), prompting a dpkg-reconfigure to use bash instead of dash), use the host compiler (and pass it arguments like -melf_i386). I've filed bug reports, but I doubt anything will be done about it. Their IC Compiler uses a local install of gcc-4.2.2 to compile SystemC and is coded to only accept that version. I had to recompile gcc from source with a patch to make it pay attention to the Debian method of doing x64 libs. how do I satisfy this program the Debian Way? You can get termcap-compat from archive.debian.net[1], but note that the termcap library in it is linked against libc5 rather than libc6. If that is not what you need, various RPM-based distributions still ship libtermcap[2], and you can convert an rpm package into a Debian package with alien(1). A solution that Works For Me (tm) is to symlink /lib/$ARCH/libtermcap.so.2 -> /lib/$ARCH/libncurses.so.5 This works because ncurses uses termcap's ABI. There's probably a reason that the libncurses5 package doesn't do this, but it would be convenient for these cases. Does anyone know why, or does this sound like something that should be filed as a report (wishlist or otherwise low-priority) against libncurses5? A cursory look through the bug system shows a wishlist bug for this very thing 13 years ago, closed because termcap-compat still existed. Guess it's time to report another wishlist bug. -- --Joseph Lenox, BS, MS I'm an engineer. I solve problems. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51cde30a.3090...@gmail.com
"termcap-compat" is still referenced in the Debian FAQ
Noticed that "termcap-compat" is referenced in one of the FAQ questions on the website (http://www.debian.org/doc/manuals/debian-faq/debian-faq.en.txt, 4.7). The package does not exist on Wheezy, nor apparently (according to the package history) since 2005. I'm unsure whether to file this as a bug against the FAQ or the fact that the package is missing. If I have a program to which I do not have the source (commercial EDA tool) and it requires libtermcap.so.2, how do I satisfy this program the Debian Way? -- --Joseph Lenox, BS, MS I'm an engineer. I solve problems. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51cdae49.4000...@gmail.com
Re: VNC not connecting over SSH tunnel
On 07/10/2012 01:41 AM, Chris Davies wrote: Gary Dale wrote: I can connect to every workstation in a remote office using: ssh -L 5902::5900 xtightvncviewer -encodings "tight" localhost:5902 However, there is one workstation [...] The ssh session also shows this message: channel 3: open failed: connect failed: No route to host Indeed, I can't even ping it from the remote ssh server. However, when I went to the office and tried to connect using my laptop, connected into the local network, I was able to connect normally. The ssh server is on the local subnet (a 192.168.x.x non-routable network) as are the workstation I'm trying to connect to and the laptop (when I plugged it into their network). The local forwarding would be handled on the subnet so that if it worked for one station, shouldn't it work for all? We have four devices to consider: homepc Your own system, outside the office workpc Your own system, inside the office remote_router The end-point for the primary ssh transport remote_workstation The target machine for the VNC session Homepc and workpc might be the same, but as they have different IP addresses I'll name them differently. At the risk of stating the obvious, I'm going to do it anyway: * There has to be a route between homepc and remote_workstation for the ssh transport to succeed. This works. * There has to be a route between workpc and remote_workstation for the native VNC session to succeed. This works. * There has to be a route between remote_router and remote_workstation for the VNC session to succeed. This doesn't work. The error "No route to host" is often triggered when the source has a route to the target but the target is not responding to the arp request. I initially suggested that there is a routing issue between remote_router and remote_workstation, and this was further evidenced by you not being able to ping remote_workstation from remote_router. You've then explained that the network topology is flat and that the remote_router and remote_workstation are on the same subnet. I can only suggest at this stage that you go back and re-check the IP address assigned to the "non-working" remote_workstation. Chris While you are at it, why don't you list the ip addresses and the net mask for each item. ifconfig will tell you what each machine has. -- Joseph Loo j...@acm.org
Re: /etc/aliases.db: Invalid argument
-- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1334138712.2603.14.camel@HP
Re: XFWM4 window manager failure? Sid/Wheezy
On 01/19/2012 04:34 PM, Kjetil brinchmann Halvorsen wrote: This is debian wheezy withn all recent updates, XFCE4. Any updates on this problem? Now for me, the xfwm4 do not seem to (re)start, at least the task manager do not show up any xfwm4 process! Kjetil There's a bug report out on this on xfwm4. The dev and I were trying to pin it down, but I still don't have a 100% reproducible sequence of steps, nor do I know how to get a backtrace for this specific issue, given that it only seems to happen on shutdown. https://bugzilla.xfce.org/show_bug.cgi?id=8070 In the meantime, I've added xfwm4 to the list of programs to start and been too busy getting other work done to look at it. --Joseph Lenox -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f1d8b2d.5050...@gmail.com
Re: URW Bookman Font
On 12/30/2011 01:47 AM, Florian Kulzer wrote: On Thu, Dec 29, 2011 at 19:55:23 -0800, Joseph Loo wrote: I have just installed Debian Squeeze. I have replaced the open office package with Libre Office 3.4.3. I am trying to use the URW Bookman L font. I have the bold, italic, and the bold italic. The non-bold& non-italic are both missing. I have TeXLive: Recommended fonts installed As far as I know, the file that X applications need for the normal URW Bookman L font is /usr/share/fonts/X11/Type1/b018012l.pfb, which is part of the gsfonts-x11 package. Do you have this package installed? (This font file is actually just a symlink to the corresponding font file from the gsfonts package; installing gsfonts-x11 should create all necessary symlinks and configure your system such that all X applications can use the ghostscript fonts.) If you have gsfonts-x11 installed and you still cannot use the font then you should check if it is listed in the fonts cache, like this: $ fc-list | grep -i bookman URW Bookman L:style=Demi Bold URW Bookman L:style=Light URW Bookman L:style=Light Italic URW Bookman L:style=Demi Bold Italic If you get the same output then there might be a problem with your LibreOffice installation. Can you use the Bookman fonts in other applications? (I use LibreOffice 3.4.4 on Sid and these fonts work fine for me.) I am away from my computer for a week. Will try to check on it as suggested. I found the issue with the font in LibreOffice 3.4.4 on Squeeze when I tried to set the font in writer. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f001fa9.2050...@gmail.com
URW Bookman Font
I have just installed Debian Squeeze. I have replaced the open office package with Libre Office 3.4.3. I am trying to use the URW Bookman L font. I have the bold, italic, and the bold italic. The non-bold & non-italic are both missing. I have TeXLive: Recommended fonts installed -- Joseph Loo j...@acm.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1325217324.9564.6.camel@orion.milkyway
Re: XFWM4 window manager failure? Sid/Wheezy
On 11/08/2011 09:10 AM, Joseph Lenox wrote: I'm not quite sure how, but I managed to get XFWM4 (current sid version 4.8) to not start with my session (or not to be saved). I don't recall doing anything particular to the window manager settings or desktop session settings. All I know is that I booted the system up and while it had saved my session, the window manager was not loaded. I started xfwm4 by hand, saved the session, and did a logout/login cycle and it seemed to have stuck. Anyone else seen this issue? Any ideas where a log file may reside to shed some light on what's going on? System is apparently not restarting XFWM (Xfce's window manager) on power cycle. I can't figure out anything else about this. --Joseph Lenox -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4ebb4468.2010...@gmail.com
XFWM4 window manager failure? Sid/Wheezy
I'm not quite sure how, but I managed to get XFWM4 (current sid version 4.8) to not start with my session (or not to be saved). I don't recall doing anything particular to the window manager settings or desktop session settings. All I know is that I booted the system up and while it had saved my session, the window manager was not loaded. I started xfwm4 by hand, saved the session, and did a logout/login cycle and it seemed to have stuck. Anyone else seen this issue? Any ideas where a log file may reside to shed some light on what's going on? --Joseph Lenox -- "Nothing unreal exists." - Kiri-kin-tha's First Law of Metaphysics.
Re: How to install broadcom BCM4312 on debian
On 11/03/2011 09:50 AM, Dan Ritter wrote: I checked the debian wiki page and I understand that I need to run the b43 driver. The thing is, I don't know where to get it from, so I can put it on a dvd and install it locally since I can't access the internet from the debian machine(don't have drivers for my network adapter so can't connect to the internet). Also I am not clear with the firmware part. It says that I need an active internet connection. You may want to install from Kenshi Muto's install images: http://kmuto.jp/debian/d-i/ Alternatively, you can search the package lists from packages.debian.org, download them yourself, and use "dpkg -i" to install (or grab the source files if you can use those). b43-fwcutter (debian stable): http://packages.debian.org/search?keywords=fwcutter&searchon=names&suite=stable§ion=all --Joseph Lenox -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4eb3e461.2090...@gmail.com
Re: CUPS & network printing
On 09/22/2011 04:37 PM, Joe wrote: No, the printer only has an IP address if it's a standalone network printer. Such things do exist, but yours isn't one, or at least is not connected as one. Cups will be listening (by default) on port 631, on the computer's IP address. I can't remember if it listens to anything other than localhost by default, you may need to change the cupsd configuration file to allow connections from other machines. Check with netstat. If you have Windows machines in your network, then Samba is probably the best way to share the printer. Since I do that, I can't comment on the direct use of Cups over the network. My workstation has cupsd listening on all interfaces UDP, but only localhost TCP. I would assume that is the default, since there's never been a printer attached to this machine. With Windows Vista/7, it's pretty straightforward to add the CUPS URL for the printer directly as a networked printer. It should also work under XP, but it's been a while since I've had to deal with XP and networked printers. Samba would basically make the printer show up on browse. It's as simple as setting up a network printer under Vista/7 and entering "http://machine>:631/printers/print_queue_name" as the printer destination. --Joseph Lenox -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e7bb25c.3050...@gmail.com
Re: Debian sid root path issue
On 09/19/2011 09:24 PM, Bob Proulx wrote: Just recently a new sudo entered Wheezy Testing and it changed the behavior of secure_path. See Bug#639841 for details. It no longer overrides your path with a standard system PATH by default. So now unless you set it in your /etc/suders file it will use the PATH it started with and if you don't already add the /usr/sbin and other paths then it won't either. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639841 Quick fix: Add this line to your /etc/sudoers file. Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"Bob Thanks for the info; problem solved. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e7a4f24.5030...@gmail.com
Re: Debian sid root path issue
On Tue, Sep 20, 2011 at 1:16 AM, Jochen Spieker wrote: > Joseph Lenox: > > > After updating Sid last week, I tried to install something with > > apt-get using sudo and got the following error from dpkg: > > dpkg: warning: 'ldconfig' not found in PATH or not executable. > > dpkg: warning: 'start-stop-daemon' not found in PATH or not executable. > > dpkg: error: 2 expected programs not found in PATH or not executable. > > Run visudo (as root) and see whether your PATH is set to a sane value. I > have: > > Defaultsenv_reset > Defaults > secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" > > J. > > Just the default env_reset was in my sudoers file; secure_path hadn't been set. I added secure_path and all appears to be well. I don't remember env_reset being in my sudoers file initially, but I can't be sure. -- "Nothing unreal exists." - Kiri-kin-tha's First Law of Metaphysics.
Re: Debian sid root path issue
After updating Sid last week, I tried to install something with apt-get using sudo and got the following error from dpkg: dpkg: warning: 'ldconfig' not found in PATH or not executable. dpkg: warning: 'start-stop-daemon' not found in PATH or not executable. dpkg: error: 2 expected programs not found in PATH or not executable. Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin. E: Sub-process /usr/bin/dpkg returned an error code (2) Any apt-get subcommand that calls dpkg as a subprocess (install, autoremove) fails with that error.. if I use sudo. Synaptic package manager works fine, as does changing to root with "su -". Any offhand ideas as to where to look first to figure out what's going on? --Joseph Lenox -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e77ef02.4070...@gmail.com
Re: Debian sid root path issue
On 09/19/2011 08:40 PM, Joseph Lenox wrote: Any offhand ideas as to where to look first to figure out what's going on? --Joseph Lenox My apologies if I've double or triple posted; I managed to screw up the destination once and then sent from an unsubscribed email address. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e77efc6.70...@gmail.com
Debian sid root path issue
After updating Sid last week, I tried to install something with apt-get using sudo and got the following error from dpkg: dpkg: warning: 'ldconfig' not found in PATH or not executable. dpkg: warning: 'start-stop-daemon' not found in PATH or not executable. dpkg: error: 2 expected programs not found in PATH or not executable. Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin. E: Sub-process /usr/bin/dpkg returned an error code (2) Any apt-get subcommand that calls dpkg as a subprocess (install, autoremove) fails with that error.. if I use sudo. Synaptic package manager works fine, as does changing to root with "su -". Any offhand ideas as to where to look first to figure out what's going on? --Joseph Lenox -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e77ef20.2020...@gmail.com
Re: Manually creating a Debian boot sector Or a bootable Debian disk in Solaris for x86
On 03/14/2011 04:00 PM, A E [Gmail] wrote: Hello All, So, the question is, Does anyone know how to partition the 2nd HDD while in Solaris, install the Debian boot files and bare-bone kernel from boot.img.gz archive, initrd and vmlinuz on it so that when selected to boot from it, it boot into debian and then install whatever I want to install on it. Thanks AE I've done some work with Solaris 10, trying to get rid of it for most of my workstations. I was unaware there was even a solaris 8 x86 install (I'd change the Solaris install to 10 as a matter of principle -- ZFS is that good). Use the "format" command in Solaris to change the partition layout. You should be able to resize without much issue. There is a manpage for it. You'll also need to set the partition you create as bootable. As for the rest of it, you should probably install GRUB onto the second HDD, and chainload into Solaris (if you can do that in BIOS), as GRUB wasn't used in Solaris 8 x86 (started getting used in 10 1/06). I'd probably tarball a working Debian system's files and extract it into the secondary partition (created above... make sure support for whatever FS you format it to is compiled-in), then configure a custom-compiled GRUB to boot it. You'll have to do that by hand (see linuxfromscratch.org for some help). But seriously, if you can go to Solaris 10, do so. S10 x86 is a heck of a lot easier to deal with, as it includes GRUB as its boot method. If you can grok Solaris 8 x86's bootloader config and get it to boot Linux, good luck. --Joseph Lenox
Re: How do I clone Computer A from Computer B?
I think people are assuming identical hardware, and if that's not the case, you need to be careful about just doing an "rsync" between the boxes. Even getting a list of debs from one machine and trying to bulk install them on the other can bet tricky... as I remember it there are some packages that are specific for 64bit architectures, and some for 32. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/AANLkTik7yPj9ODe6YUY2jX4e45zvGMeESvQMAV+cam=w...@mail.gmail.com
Re: NIS/NFS/Squeeze - All files have "4294967294" for GID and UID on NFS-mounted files/directories
On 01/08/2011 08:25 PM, Tom H wrote: On Sat, Jan 8, 2011 at 7:10 PM, Joseph Lenox wrote: I'm running a series of Debian 6.0 "Squeeze" clients on my network (in the process of upgrading from lenny) that mount NFS from a Solaris 10 (x86) box through autofs (5.0.4-3.2 amd64). They all do their authentication through NIS (which is also being served by the same box). Another Solaris 10 (sparc) machine is the DNS server for our domain. Unfortunately, the NIS domain and the DNS domain are not the same. Every file is being listed as belonging to UID/GID 4294967294, which I see from Google appears to be a variant of "nobody". I had had this issue with the few Solaris 10 clients we had, but rearranging the "hosts" entry in those machines' nsswitch.conf to "files dns nis" solved the issue. This solution does not work for the Debian 6.0 systems. I can log in to the 6.0 machines with NIS. I also have Debian 5.0.4 (Lenny) systems on the network, which have autofs5 (5.0.3-3 amd64) installed, which do not show the problem. Mounting the nfs share by hand shows the same symptoms. Both machines have identical entries in /etc/resolv.conf (just changed the identifying marks), and have the NIS/NFS server in their /etc/hosts. I've gone over these settings for hours now, and can't determine what's going on exactly. According to what I've read, "nobody" is being set because some nfs daemon can't match user ids between the two systems. All of the systems are authenticating on the SAME NIS system. Squeeze must be defaulting to nfsv4. Make sure that "NFSMAPID_DOMAIN" in "/etc/default/nfs" on the Solaris box matches "Domain" in "/etc/idmapd.conf" on the Squeeze boxes. If "NFSMAPID_DOMAIN" isn't set, you should be able to get it from "cat /var/run/nfs4_domain". Anywhere this info could be added for the other people who will undoubtedly run into this when Squeeze goes stable? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d293395.3060...@gmail.com
Re: NIS/NFS/Squeeze - All files have "4294967294" for GID and UID on NFS-mounted files/directories
On 01/08/2011 08:25 PM, Tom H wrote: On Sat, Jan 8, 2011 at 7:10 PM, Joseph Lenox wrote: I'm running a series of Debian 6.0 "Squeeze" clients on my network (in the process of upgrading from lenny) that mount NFS from a Solaris 10 (x86) box through autofs (5.0.4-3.2 amd64). They all do their authentication through NIS (which is also being served by the same box). Another Solaris 10 (sparc) machine is the DNS server for our domain. Unfortunately, the NIS domain and the DNS domain are not the same. Squeeze must be defaulting to nfsv4. Make sure that "NFSMAPID_DOMAIN" in "/etc/default/nfs" on the Solaris box matches "Domain" in "/etc/idmapd.conf" on the Squeeze boxes. If "NFSMAPID_DOMAIN" isn't set, you should be able to get it from "cat /var/run/nfs4_domain". Thanks. It's solved now. Of course now that I had the name idmap.conf, google gives me https://help.ubuntu.com/community/NFSv4Howto#NFSv4%20Client -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d2925b3.4090...@gmail.com
NIS/NFS/Squeeze - All files have "4294967294" for GID and UID on NFS-mounted files/directories
Hello, I'm running a series of Debian 6.0 "Squeeze" clients on my network (in the process of upgrading from lenny) that mount NFS from a Solaris 10 (x86) box through autofs (5.0.4-3.2 amd64). They all do their authentication through NIS (which is also being served by the same box). Another Solaris 10 (sparc) machine is the DNS server for our domain. Unfortunately, the NIS domain and the DNS domain are not the same. Every file is being listed as belonging to UID/GID 4294967294, which I see from Google appears to be a variant of "nobody". I had had this issue with the few Solaris 10 clients we had, but rearranging the "hosts" entry in those machines' nsswitch.conf to "files dns nis" solved the issue. This solution does not work for the Debian 6.0 systems. I can log in to the 6.0 machines with NIS. I also have Debian 5.0.4 (Lenny) systems on the network, which have autofs5 (5.0.3-3 amd64) installed, which do not show the problem. Mounting the nfs share by hand shows the same symptoms. Both machines have identical entries in /etc/resolv.conf (just changed the identifying marks), and have the NIS/NFS server in their /etc/hosts. I've gone over these settings for hours now, and can't determine what's going on exactly. According to what I've read, "nobody" is being set because some nfs daemon can't match user ids between the two systems. All of the systems are authenticating on the SAME NIS system. --Joseph Lenox /etc/resolv.conf for all systems domain blah.site.edu nameserver xxx.xxx.xxx.xxx /etc/nsswitch.conf of 6.0 machine that does not work: # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc-reference' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file. passwd: compat group: compat shadow: compat automount: nis files hosts: files mdns4_minimal dns [NOTFOUND=return] dns mdns4 networks: files protocols: db files services: db files ethers: db files rpc:db files netgroup: nis /etc/nsswitch.conf of 5.0.4 lenny machine that works: # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc-reference' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file. passwd: compat group: compat shadow: compat automount:nis files hosts: dns files mdns4 networks: files protocols: db files services: db files ethers: db files rpc:db files netgroup: nis -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d28fce6.6020...@gmail.com
Re: xdm shutting down
Yes, it is quite possible, use the same format and replace the desired key. for instance, i had a machine that rebooted on ctrl+alt+del (shutdown -r now) and shutdown on ctrl+alt+h (shutdown -h now) iirc, on that machine i had to switch to a tty first but might be a setting error on my part -- Sent from AT&T's Wireless network using Mobile Email --Original Message-- From: Sthu Deus To: Date: Saturday, December 18, 2010 3:36:22 PM GMT+0700 Subject: xdm shutting down Good day. I use xdm on one of my machines and therefore have no shutdown button in it. Can I specify some other combination of keys in inittab instead of the 3 standard ones for the purpose - so that w/ those I still be able to restart the OS, and w/ others I might shutdown it? Thank You for Your time. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d0c728c.d18acc0a.6bb0.d...@mx.google.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/719710.10841...@smtp102-mob.biz.mail.ne1.yahoo.com
Script for using neroAacEnc and neroAacTag with rubyripper
I knocked out a shell script for ripping audio CDs with rubyripper, spent entirely too much time on it (forgot that eval takes care of f%^$ shell quotes) and finally ended up using foobar2k in a windows VM (because foobar's tagger is less hassle for me to work with than rubyripper (especially for stuff like disc #, etc), but I'd hate to waste this. It assumes that neroAacEnc and neroAacTag are in the path (because I keep my copies in /usr/local/bin). --Joseph Lenox #!/bin/bash # Shell script to interface with neroAacEnc and neroAacTag for tagging of AAC files. # Basically put all neroAacTag options and neroAacEnc options on the command line, script # sorts out the two based on the presence of the -meta prefix for the tab. # Written by Joseph Lenox, lordofhyph...@gmail.com # PUBLIC DOMAIN - I provide no warranty, use as you will. TAG=() ENC="" input="" output="" curr_arg="" echo $@ > /tmp/output for i in "$@"; do echo "$i" | grep -q -e "^-." if [ `echo $?` -eq 0 ]; then if [ `echo $curr_arg | grep -c -e "^-meta"` -gt 0 ]; then #append this to the tag list #curr_arg="`echo $curr_arg | sed -e 's|artist=|artist=|g' -e 's| |_|g'`" echo $curr_arg TAG=( ${t...@]} `echo "$curr_arg" | sed -e 's|=|="|' -e 's|$|"|'` ) curr_arg="`echo $i | sed -e 's|=|=|' `" else if [ `echo $curr_arg | grep -c -e "^-of"` -gt 0 ]; then output=`echo $curr_arg | sed 's|-of\ ||'` curr_arg="" fi if [ `echo $curr_arg | grep -c -e "^-if"` -gt 0 ]; then input=`echo $curr_arg | sed 's|-if\ ||'` curr_arg="" fi if [ `echo $curr_arg | grep -c -e "^-w"` -gt 0 ]; then curr_arg="" fi ENC="$ENC `echo $curr_arg`" curr_arg="$i" fi else curr_arg="$curr_arg `echo $i`" fi done #echo ${t...@]} #echo $ENC #echo "$output" neroAacEnc $ENC -if "$input" -of "$output" #echo neroAacTag "$output" ${t...@]} eval neroAacTag \"$output\" ${t...@]} -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d01f85c.5000...@gmail.com
Re: Note about 6.0 installer, Nouveau, and Quadro NVS240
Thanks for the info, I ended up blacklisting nouveau for my single system. Anyone have an idea where on a debian-related wiki this useful and important info should go? I noticed debian-wiki itself is set for lenny and I'd rather not pollute it with squeeze info. I'm also more interested in a method of automating this change (at least for me, I'm preparing a system install guide for lab machines that are going to move to squeeze. I'd set up something like FAI, but I cannot for the life of me grok the documentation). On 10/28/2010 04:09 AM, Sven Joachim wrote: On 2010-10-28 00:05 +0200, Camaleón wrote On Wed, 27 Oct 2010 14:47:44 -0500, Joseph Lenox wrote: The version of Nouveau (FOSS nvidia driver) that ships with 6.0 (Squeeze) on last week's (2010-10-17) testing disc does not play nice with the Quadro NVS240 graphics card. No output on screen at all even for a console (monitor goes to power saving mode). I had to get into the box with the disc recovery option, and remove the driver from its modprobe list in /etc just to get to a text console. Mmmm, there must be an easy way to disable KMS and load "nv" driver without the needing of uninstalling "nuvó" packages. I dunno, just asking because I'm also interested in how could this be done. Boot with nouveau.modeset=0 parameter or create a file in /etc/modprobe.d that blacklists the nouveau module (see modprobe.conf(5) for details). Create an /etc/X11/xorg.conf or modify the existing one to use the nv driver: --8<---cut here---start->8--- Section "Device" Identifier "n" Driver "nv" EndSection --8<---cut here---end--->8--- Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4ccb3236.9050...@gmail.com
Note about 6.0 installer, Nouveau, and Quadro NVS240
The version of Nouveau (FOSS nvidia driver) that ships with 6.0 (Squeeze) on last week's (2010-10-17) testing disc does not play nice with the Quadro NVS240 graphics card. No output on screen at all even for a console (monitor goes to power saving mode). I had to get into the box with the disc recovery option, and remove the driver from its modprobe list in /etc just to get to a text console. --Joseph Lenox -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4cc881e0.60...@gmail.com
Note about 6.0 installer, Nouveau, and Quadro NVS240
The version of Nouveau (FOSS nvidia driver) that ships with 6.0 (Squeeze) on last week's (2010-10-17) testing disc does not play nice with the Quadro NVS240 graphics card. No output on screen at all even for a console (monitor goes to power saving mode). I had to get into the box with the disc recovery option, and remove the driver from its modprobe list in /etc just to get to a text console. --Joseph Lenox -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4cc8823c.8010...@gmail.com
Re: how to configure gcc
It's called a makefile. http://www.cs.utah.edu/dept/old/texinfo/make/make_toc.html On 9/29/2010 12:46 PM, abdelkader belahcene wrote: hi, by default I have to add option -lm to the command gcc -lm file.c when I use math functions. Where can I configure gcc to add it to the default gcc, after what I don't need the option -lm , just gcc file.c thanks for help -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4ca3992a.8000...@gmail.com
Initramfs help
Computer suddenly dropped into initramfm after power loss, help getting back into file system would be helpful, and appreciated, stuck doing email from my phone thanks in advance, hopefully the basic steps will b all i need -- Sent from AT&T's Wireless network using Mobile Email -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/966008.67846...@smtp109-mob.biz.mail.gq1.yahoo.com
Re: Running GNOME with 128 MB RAM - Painfully slow?
On 4/4/2010 11:17 PM, Stan Hoeppner wrote: You can try adding swap but I doubt it will help much as the disk is so old and slow. Adding another 128MB or 256MB of memory would probably help the most with that system, but given that it has a sub 200MHz 486 class processor, you really need a more modern system if you want decent GUI performance with modern GUI apps like FireFox, ThunderBird, Opera, etc. I haven't tried running a full Linux GUI desktop on really old x86 hardware, but my gut instinct tells me you'd really need at _minimum_ a 200-300Mhz P6 class machine (anything Pentium Pro or later but no cacheless Celerons) with at least 256MB RAM, preferably 384MB or more. A 200MHz Pentium Pro has about 4 times the integer throughput and 6 times the floating point throughput of a 133MHz 486 clone such as the AMD, Cyrix, or TI chips. And a 200MHz PPro isn't going to be super responsive with a modern Linux GUI desktop either, though it wouldn't be as frustrating as your 486 class system. If you can, get a newer system. If that's not a possibility, try to get more memory for this one. Oh, and with only 128MB and no swap, I'd definitely add some swap, at least 256MB, just to stave off the OOM killer. You can find P3 boxes really, really cheap (basically what it costs to ship) these days; and the RAM for those isn't an arm+leg yet. Depending on the board, you may still find ISA slots (if that's something you must have). --Joseph Lenox -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4bb980fa.8040...@gmail.com
Re: NIS user member of plugdev, gnome-mount of flash drive raises error [SOLVED]
On 3/25/2010 6:18 PM, Michael Biebl wrote: Am 25.03.2010 23:38, schrieb Joseph Lenox: I tried the pam_group approach, and id says the user is in the plugdev group, but I'm still getting a permissions error from DBus. Adding the exact user to the plugdev group on the local machine worked as far as the mounter. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501807 You might try using at_console and consolekit. I tried installing policykit and using that, got identical errors as without (Dbus access error). After a lot of fiddling, I finally modified the hal configuration in dbus to allow those interfaces to all users (copy/paste'd the relevant lines from the plugdev entry). My immediate problem is handled (users stop bugging me about it) while I try to figure out a more permanent solution for these machines. --Joseph Lenox -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4badb10e.3070...@gmail.com
NIS user member of plugdev, gnome-mount of flash drive raises error
I'm running lenny (5.0.4); and trying to get USB flash drive mounting in a way that doesn't involve hand-adding every user to the plugdev group (we're running NIS). I tried the pam_group approach, and id says the user is in the plugdev group, but I'm still getting a permissions error from DBus. Adding the exact user to the plugdev group on the local machine worked as far as the mounter. -- "Nothing unreal exists." - Kiri-kin-tha's First Law of Metaphysics.
Limited X setup
Hello, been a while since I posted, working on setting up a partition which will run mainly console programs, however, I was interested in setting up X to run a few programs (or maybe the framebuffer) a quick search of the web yielded no help. Any suggestions on where to look. Running lenny from netinstall with some console added already but no graphics yet. Also I have no interest in a GUI for this project. jwlockhart Registered Linux User #458799 this user is penguin powered -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/209603.14074...@web57514.mail.re1.yahoo.com
Re: Back up routines
On Tuesday 28 July 2009 05:35:20 Jon Dowland wrote: > On Sun, Jul 26, 2009 at 08:51:31PM +0200, Johan Grönqvist > > wrote: > > The homepage <http://rdiff-backup.nongnu.org/> also > > mentions some graphical front ends that may be useful, but > > I have not tried any of them. > > I am in the process of packaging "archfs", a FUSE-powered > user filesystem tool that provides a view onto an > rdiff-backup. I had no idea such a program existed. I've been wanting to add such functionality to my dosbox frontend, but haven't had the time to fiddle with it myself. It's cool to learn something new every day! :) Do you have an estimate of when it will appear in sid? -- Thanks: Joseph Rawson signature.asc Description: This is a digitally signed message part.
Re: Maintaining personal backports
On Wednesday 22 July 2009 09:18:11 Kumar Appaiah wrote: > On Wed, Jul 22, 2009 at 08:56:25AM -0500, Joseph Rawson wrote: > > Using reprepro makes it easy to upload the new packages to an > > "experimental" dist for testing, then call "reprepro -b /path/to/repos > > copysrc experimental lenny-backports $srcname". I had to learn this the > > hard way, because occasionally some backported packages don't work > > properly. > > Thanks for the tip. I'll note it down for reference. > > > If you have a spare machine, or enough spare ram to run virtualbox, you > > may want to take a look at cowpoke (in the devscripts package). Cowpoke > > will run cowbuilder on a remote machine (or VM if you use virtualbox). > > Here you get the benefit of having a build log saved for you, having > > lintian run on the result (you may not care about this) and also having > > the .changes file signed (you may not care about this either). > > True. But it's a personal machine, and only for a few packages. > > > On a related note, I've been spending the last week on rebuilding lenny > > packages using alternative CFLAGS and -march options. I have a friend > > who's running gentoo, and he keeps telling me that they have a better > > system for building packages with the options the you select. I decided > > to try and make my own quick, sloppy build system using multiple buildd's > > with cowpoke as an example. I've had mixed results with some packages > > honoring those options and other packages ignoring them. It's been a > > very interesting experiment. > > This interests me a lot. I have been thinking for a long time about > the "Gentoo" way, and I've been thinking why it should be any > different for Debian. Let me detail you on what my idea is, since > you've pretty much been doing something similar. > > Suppose there is a Debian package, which uses configure and supports > several options using the many --enable- flags, or, > alternately, disables some in a similar manner. If you want a custom > package, you would have to do apt-get source , and manually edit > the rules file to enable or disable the options, or change the CFLAGS > or compiler options. Not too difficult, but it the method differs from > package to package. Why not alter the rules file to provide default > values, and alter itself according to the environment, or according to > some settings in a file like Gentoo's /etc/mk.conf? > > To firm up my description, consider the case of mutt, or elinks. Say > you don't need mutt's IMAP support or SMTP support, or elinks' 256 > colour support. It's not too tough to get the source package, modify > one or two lines, and build it. But what I am hoping for is something > like > > USE="-smtp -imap" debuild > > or the like, and other options such as compiler flags can also be > specified. This is much less kludgey, and is much automated, like > Gentoo. > > Granted, this would require the modification of debian/rules files to > be sensitive to the environment variables, but I was still hopeful > that if we can formulate a standard to adhere to, we could propose > this to some package maintainers for packages where it could make a > difference (smaller executable sizes, faster/more optimized > performance for number crunching etc.). > > Do you think this is a good idea? > > Thanks. > > Kumar BTW, I almost forgot. You may want to take a look at this: http://www.emdebian.org/ There is a lot of interesting ideas here about rebuilding packages for an embedded environment, and many of these ideas are useful for helping to make a customized distribution, regardless of whether the target is embedded or not. -- Thanks: Joseph Rawson signature.asc Description: This is a digitally signed message part.
Re: Maintaining personal backports
On Wednesday 22 July 2009 09:18:11 Kumar Appaiah wrote: > On Wed, Jul 22, 2009 at 08:56:25AM -0500, Joseph Rawson wrote: > > Using reprepro makes it easy to upload the new packages to an > > "experimental" dist for testing, then call "reprepro -b /path/to/repos > > copysrc experimental lenny-backports $srcname". I had to learn this the > > hard way, because occasionally some backported packages don't work > > properly. > > Thanks for the tip. I'll note it down for reference. > > > If you have a spare machine, or enough spare ram to run virtualbox, you > > may want to take a look at cowpoke (in the devscripts package). Cowpoke > > will run cowbuilder on a remote machine (or VM if you use virtualbox). > > Here you get the benefit of having a build log saved for you, having > > lintian run on the result (you may not care about this) and also having > > the .changes file signed (you may not care about this either). > > True. But it's a personal machine, and only for a few packages. > > > On a related note, I've been spending the last week on rebuilding lenny > > packages using alternative CFLAGS and -march options. I have a friend > > who's running gentoo, and he keeps telling me that they have a better > > system for building packages with the options the you select. I decided > > to try and make my own quick, sloppy build system using multiple buildd's > > with cowpoke as an example. I've had mixed results with some packages > > honoring those options and other packages ignoring them. It's been a > > very interesting experiment. > > This interests me a lot. I have been thinking for a long time about > the "Gentoo" way, and I've been thinking why it should be any > different for Debian. Let me detail you on what my idea is, since > you've pretty much been doing something similar. > > Suppose there is a Debian package, which uses configure and supports > several options using the many --enable- flags, or, > alternately, disables some in a similar manner. If you want a custom > package, you would have to do apt-get source , and manually edit > the rules file to enable or disable the options, or change the CFLAGS > or compiler options. Not too difficult, but it the method differs from > package to package. Why not alter the rules file to provide default > values, and alter itself according to the environment, or according to > some settings in a file like Gentoo's /etc/mk.conf? > > To firm up my description, consider the case of mutt, or elinks. Say > you don't need mutt's IMAP support or SMTP support, or elinks' 256 > colour support. It's not too tough to get the source package, modify > one or two lines, and build it. But what I am hoping for is something > like > > USE="-smtp -imap" debuild > > or the like, and other options such as compiler flags can also be > specified. This is much less kludgey, and is much automated, like > Gentoo. > > Granted, this would require the modification of debian/rules files to > be sensitive to the environment variables, but I was still hopeful > that if we can formulate a standard to adhere to, we could propose > this to some package maintainers for packages where it could make a > difference (smaller executable sizes, faster/more optimized > performance for number crunching etc.). > > Do you think this is a good idea? > While I think it's a good idea, making a proposal that would be acceptable won't be easy. One reason is that each USE flag would have to be well specified or defined so that its meaning is clear. The actual use of those USE flags would only be for those people who would be building their own distribution based from the debian sources. It would be unreasonable for debian to try and distribute binaries for different combinations of those flags (or even a small subset of commonly expected combinations). However, debian already does ship binaries with a common "USE combination", which is close to USE="this that +kitchen-sink" (at least mostly, some sources are split into multiple binaries that effectively use different USE flags). Things would have to be done in a way that discourages people who would build packages using USE flags that diverge from the official builds from reporting bugs against those packages, as it would be way too difficult to determine where the bug is, what caused it, etc. In many situations, not only would it be necessary to modify the rules file, but also the control file. On certain packages, it may even be required to modify some of the postint, preinst. On packages with *.install files in the debian/ directory, it ma
Re: Maintaining personal backports
On Wednesday 22 July 2009 08:02:09 Kumar Appaiah wrote: > On Wed, Jul 22, 2009 at 09:33:36PM +0900, Osamu Aoki wrote: > > > > > And Andrei suggested that I use apt-get source. But I still need to > > > > > determine some file names using the version of the package, for > > > > > which I need to parse the sources file. I have to think of an > > > > > elegant way to > > > > > > > > Maybe it's easier to parse the output of 'apt-cache showsrc'. > > > > > > That would help. Thanks again, Andrei. > > > > How about adding deb-src line in chroot pointing to unstable archive? > > > > Then apt-get source "any-binary" will run in chroot to get pertinent > > I am not sure how this would help, as I run apt-get source outside of > the chroot, right? > > > I think adding some version using "dch" should help reduce version name > > confusion of build package. dch is in devscript. > > I was also thinking about an automated dch to increase the version to > something like ${VER}~mybpo1, or some such thing. I leave it to you to > suggest some sane method my which this can be achieved. > using ~ decreases the version. Try this: dpkg-source -x dscfile pushd $src-$ver dch -l mybpo dpkg-buildpackage -S (It's rare, but sometimes you may need a builddep installed for this, such as po4a). popd dupload $src-$newver_source.changes cowbuilder $src-$newver.dsc (use -B for DEBBUILDOPTS in pbuilderrc) > Thanks for all the help, and I hope people find this useful. > > Kumar -- Thanks: Joseph Rawson signature.asc Description: This is a digitally signed message part.
Re: Maintaining personal backports
On Monday 20 July 2009 19:55:30 Kumar Appaiah wrote: > On Mon, Jul 20, 2009 at 10:19:29AM -0500, Kumar Appaiah wrote: > > > If you are looking for small private archive: > > > > > > http://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_small_ > > >public_package_archive > > > > > > Also debi command in devscript may reduce dpkg -i. > > > > Thanks for that. It'd be nice to automate the build process as well > > though, and combine it with these tools. > > So, I used Osamu's reference to create a small repository for myself, > and then put together this piece of 5 minute shell jugglery for one > command building of packages to load in there. It's really not neat, > but hey, works well for a 5 minute effort. > I've had a pretty easy time using reprepro for making a personal repository. You can use it as a partial mirror of what you already have and also be able to add an extra dist section (like lenny-backports) for the backported packages. You can still use dupload or dput to upload the packages by configuring an incoming directory for reprepro to watch. Or you can just add the .changes to reprepro explicitly by calling "reprepro -b /path/to/repos include $source_$arch.changes". Using reprepro makes it easy to upload the new packages to an "experimental" dist for testing, then call "reprepro -b /path/to/repos copysrc experimental lenny-backports $srcname". I had to learn this the hard way, because occasionally some backported packages don't work properly. > Just run it with the sid source package as argument, and (assuming > your directories are set up like mine), it should result in a > backported package for you. > > I am looking to Wikify this, with full procedure on how to set up the > mirror, the pbuilder/cowbuilder build environment and finally building > packages. But before that, I'd appreciate it if others can suggest > workarounds for the following kludges: > > 1. I download the Sources file from the mirror. It might become stale, >so I'd have to remove it periodically. > 2. I am parsing the output of grep-dctrl with certain >assumptions. They might fail for some cases, and are not robust. > 3. Judging the name of the changes file from the .dsc. > 4. Checking for errors and bailing out. > > Thanks! > > Kumar > > #!/bin/sh > > if [ ! -n "$1" ]; > then > echo "Usage: `basename $0` " > exit 1; > fi > > if [ ! -s Sources ]; > then > wget > ftp://ftp.utexas.edu/pub/debian/dists/unstable/main/source/Sources.bz2 -O - > |bzcat > Sources fi > > FILE=$(grep-dctrl -X -S "$1" -s Directory,Files < Sources |awk > '/^Directory/ { url = $NF} /\.dsc$/ { url = url "/" $NF} > END { print url}') > echo $FILE > dget -d "ftp://ftp.utexas.edu/pub/debian/$FILE"; > sudo cowbuilder --configfile ~/.pbuilderrc-lenny --build $(basename > "$FILE") dupload -t aceslinc /var/cache/pbuilder/result/$(basename > "${FILE%.dsc}")_amd64.changes If you have a spare machine, or enough spare ram to run virtualbox, you may want to take a look at cowpoke (in the devscripts package). Cowpoke will run cowbuilder on a remote machine (or VM if you use virtualbox). Here you get the benefit of having a build log saved for you, having lintian run on the result (you may not care about this) and also having the .changes file signed (you may not care about this either). On a related note, I've been spending the last week on rebuilding lenny packages using alternative CFLAGS and -march options. I have a friend who's running gentoo, and he keeps telling me that they have a better system for building packages with the options the you select. I decided to try and make my own quick, sloppy build system using multiple buildd's with cowpoke as an example. I've had mixed results with some packages honoring those options and other packages ignoring them. It's been a very interesting experiment. -- Thanks: Joseph Rawson signature.asc Description: This is a digitally signed message part.
Re: etckeeper - keeping /etc under version control
On Wednesday 08 July 2009 01:42:56 Scott Gifford wrote: > Peter Jordan writes: > > Suno Ano, Wed Jun 17 2009 19:07:31 GMT+0200 (CEST): > >> Peter> Metadata = data stored in .svn/ ? > >> yes, problem is, Subversion does not have one directory i.e. one > >> .svn/ > >> at the root of the project where is stores metadata but it scatters them > >> all over the place which is very annoying. Git only has one .git/ at the > >> project root at that is it > >> http://sunoano.name/ws/public_xhtml/scm.html#why_git --> metadata > > > > svk does not store the metadata in the project path at all > > Being able to use something like etckeeper with svn (maybe via svk) > would be very useful to me, has anybody tried this? > > Scott. I wrote a program a few years ago that uses svn to help keep track of /etc. The name of the program, unsurprisingly is etcsvn. I stopped using it around 2007, choosing to use paella to help handle some of this. I found that keeping track of /etc in its entirety was somewhat burdensome (this was at a time when packages were placing things in /etc that shouldn't have been there, such as gconf). I'm not sure how loosely you are using the phrase "like etckeeper", but I can give you a short synopsis of similarities and differences. etckeeper: uses directories that's easy to add scripts to make it very flexible (this could be done with etcsvn, with a little bit of work) hooks into apt to track changes to /etc made by upgrading packages (I never thought about this when I wrote etcsvn, but it would be a nice addition) etcsvn: /etc is an export, not a working copy (I was concerned about keeping the / partition small and a working copy is over twice the size). the working copy is kept in /var/lib/etcsvn (or somewhere under there, I can't remember now) the working copy is only readable by root etcsvn sets a umask of 077 so exports back to /etc can be done securely etcsvn uses svn properties to keep track of ownership, file permissions, and mtime (this could be extended to keep track of other metadata, including extended attributes. I knew nothing about xattr when I wrote this). since subversion can handle empty directories, etcsvn can do so as well since subversion can do a checkout of a subdirectory in a repository, you can keep /etc from multiple machines in the same repository (in these cases the repository was never accessible from those machines, I used to keep it on my laptop and use ssh port-forwarding and agent forwarding to access the repository on those machines) etcsvn doesn't handle authentication to the repository (I normally used ssh to handle this) etcsvn may need some work to use https methods better etcsvn uses an etcsvn.conf file in its working copy, where you specify the directories and/or files to be tracked. This means that you can also track files and/or directories in /var or elsewhere, and keep ownership, permissions, and mtime straight. I haven't touched the code in a long time. It may not work as it used to. After looking at it, the last thing I did was a few weeks ago, when I changed all the os.system calls to use subprocess instead (something I've been trying to do across the board with all my python code). I have been also thinking about using another strategy, instead of keeping all of /etc in subversion. Basically like this: get package list through dpkg --get-selections conffiles = list() tracked_files = list() for package in packages: dpkg --status (get the conffiles and add them to the list) walk through /etc check if file is in conffiles list if file in conffiles: check md5sum if md5sum differs: tracked_files.append(file) else: check file in ignored_list if not in ignored_list: tracked_files.append(file) if file in track_anyway_list: tracked_files.append(file) add tracked files to svn This would keep the amount of files that were being tracked down to a minimum. Anyway, if you are interested in it, look it over, maybe try it out and let me know. It may be outdated, but bringing it back up to date shouldn't be too difficult. -- Thanks: Joseph Rawson signature.asc Description: This is a digitally signed message part.
Re: etckeeper - keeping /etc under version control
On Wednesday 17 June 2009 09:28:36 Oliver Schneider wrote: > > > I do not see how this solves the metadata issue if you use a version > > > control system directly without the smartness etckeeper brings to the > > > table e.g. by using its .gitignore settings. > > > > > > svk is an attempt to inject the notion of being a decentralized scm > > > into a centralized one (which svn happens to be) ... that has nothing > > > to do with putting /etc under version control > > > > metadata = data stored in .svn/ ? > > Yes. In this case all the metadata stored by SVN. > > Certainly there is more metadata which is nowadays simply ignored by many > VCS, partially due to the discrepancies between different platforms and > there implementation of, say, file permissions, partially out of negligence > or lack of a *proper* solution. > I considered that svn used the *proper* solution with it properties system. Using subversion properties allows you to store arbitrary metadata on a per file/directory basis. This allows each svn client to handle that metadata in the most appropriate way, without having the application try to decide this for you (It does make some assumptions for you, such as svn:executable, which doesn't make sense on windows platforms, but is necessary for unixy systems. I solved most of these problems a few years ago by making a program, etcsvn, to handle this stuff for me. After using it for around a year or so, with many machines, I found that it was less hassle to keep from placing the complete /etc directory in subversion, and just track certain files (i.e. those that were changed or new). > Also, as far as I understand SVK it's using only one Subversion library, > not the whole thing. It's not just a distributed SVN in that sense ... also > see: <http://svk.bestpractical.com/view/SVKAntiFUD> > > // Oliver -- Thanks: Joseph Rawson signature.asc Description: This is a digitally signed message part.
Re: debian and ubuntu - answer from user not pretending to be guru
On Saturday 02 May 2009 19:02:42 Christofer C. Bell wrote: > There's nothing special about how Ubuntu does it. In fact, when you > install Etch you can have the Ubuntu behavior at installation time (when it > prompts for a root password, select Cancel, then in the installer menu, > select the option for configuring user accounts and select "No" when it > asks if you want to allow root to have a password). It's all pretty > self-explanatory in the installer. This option was removed in Lenny's > installer. Actually, it's still in the installer. The debconf priority was lowered, but you can still set the option in a preseed file, or by telling the installer to lower the priority of debconf, or by passing priority=low to the installer. > > Anyway, again, not criticizing your desire to have a root password, I'm > simply pointing out that there's nothing special about what Ubuntu is doing > and if you want to have a root password on Ubuntu and use Ubuntu, you can. I had to figure that out on my own, long ago. What they did do, that wasn't always trivial is modify many of the graphical "su" programs to use sudo instead of "su", which helps bypass the need for a root password. Also, the default for Aptitude::Get-Root-Command on debian is "su", while it's "sudo" on ubuntu. Also, the sudo on ubuntu seems to have its authentication timestamps tied to the terminal/shell (I don't know which) that originally authenticated. So, if you are using sudo in one terminal, then quickly start another terminal and use sudo in that terminal, you will have to authenticate again. -- Thanks: Joseph Rawson signature.asc Description: This is a digitally signed message part.
Re: Unable to start postgresql on Debian
On Saturday 25 April 2009 03:26:31 Foss User wrote: > On Sat, Apr 25, 2009 at 1:21 PM, Foss User wrote: > > I installed postgresql using the following commands: > > > > aptitude update > > aptitude install postgresql > > > > I tried to start it: > > > > /etc/init.d/postgresql-8.3 start > > > > But I don't find any process with the 'sql' string in it in the ps > > list. Also, I am unable to connect using psql. There are no logs in > > /var/log/postgresql directory. > > > > Could someone please help in troubleshooting this? > > I did a little bit of troubleshooting myself by putting echo > statements in the /etc/init.d/postgresql-8.3 file and the script it > calls: /usr/share/postgresql-common/init.d-functions > > The script is looking for /etc/postgresql/8.3 directory but it does > not exist on my Debian Squeeze. So, the init script fails. Could > someone please tell me why this happened. This probably means that you don't have a database cluster ready. This is usually done at the end of installing the postgresql package. This happens to me when I install postgresql with a preseed file in the debian installer, but I don't know why you have this problem. To fix this, try this command (as root): pg_createcluster 8.3 main --start > > I checked all the postgre .deb files in my /var/apt/cache/archives > directory. None of the postgre .deb files have this > /etc/postgresql/8.3 directory. has something gone wrong with the deb > packages in testing? -- Thanks: Joseph Rawson signature.asc Description: This is a digitally signed message part.
can I restore a mysql databse with just a backup of /var/lib/mysql?
Hi All My host managed to kill my virtual server while migrating it from one machine to another. They were able to give me the up to date contents of /var /etc and /home and a new server with a fresh etch install on it.Will it work if I just copy over the contents of /var/lib/mySQL? I've been lax on making SQL dumps so I stand to lose a few weeks of data if I can't make this work -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Aptitude hangs machine
--- On Thu, 8/14/08, Ken Heard <[EMAIL PROTECTED]> wrote: > > Because of this lack of success, I am unable to upgrade or > install any > packages in this laptop. Is there a way to get out of this > catch-22 > situation, and consequently upgrade tzdata successfully, > and upgrade and > install other packages? > > Ken Heard > few options, though i have rarely had aptitude misbehave that badly on me, try running aptitude with the -f option, see if problem exists running the updates through apt-get, comment out the debian volitile line and do the rest of your installing (at least you can get the rest of your system set up. jwlockhart Registered Linux User #458799 this user is penguin powered -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Wiki
sadeq zabihi wrote: > I am tring to install a wiki software on Debian (server) on my network. > But I dont know which wiki software is better for my project (it is not a > big project) and how i can install it on debian server. It it is possible > for you please help me about both (wiki software and Debian) I'm using moinmoin for one site because it works with FCKeditor and I have many non-technical users who dislike writing markup of any kind. Once you install moinmoin-common and python-moinmoin, follow the instructions in /usr/share/doc/moinmoin-common/README.Debian. Be aware of this documentation bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=395137 For small project Dokuwiki works well. While it's not in debian, I really like WikkaWikki http://wikkawiki.org/HomePage -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Request for assistance with a bug
also thought check out https://bugzilla.novell.com/show_bug.cgi?id=105871 seems to be in the sync flag on the new kernels (if i am reading it correctly) and also suggests fixes, it may help jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Request for assistance with a bug
--- On Fri, 8/1/08, myblog1980 <[EMAIL PROTECTED]> wrote: > I'm an Ubuntu user who is having an ongoing problem > with USB file > transfers. This issue also seems to be affecting a > significant number > of other Ubuntu users, and I have also been reading reports > of it > appearing in other distros. I have had similar problems with usb transfers in the past, one on an external hdd (seagate - there are other problems there such as disk spindown and how the firmware responds afterwards that make it of little use for this test) also a 1GB mp3player which after a few songs transfered the connection drops to a crawl > This is the issue: USB file transfers start off at full > speed, the > rapidly slow down, to speeds as low as 2mb/s, irrespective > of the USB > device, whether it's flash drive or a HDD. Many of the > users that are > being affected are experiencing it to different degrees, > some get half > the USB transfer speeds they are expecting, others get the > full > slowdown. Additionally, it doesn't always happen. In > my experience, > I've occasionally had a transfer speed at near the > expected rate, but > that's been rare. > Furthermore, this problem affects the GUI's > responsiveness if a slow > file transfer is allowed to continue running for a long > time. What > happens is that performance of the GUI slows to almost the > point of > being unusable, windows are being redrawn in slow motion > and key presses > take seconds to be detected. At the same time, the CPU is > barely > registering any activity. Cancelling the file transfer > restores the > system's performance immediately. on my system (looking at the output of top and atop suggests a high degree of swapping going on during transfers, especially if other actions are being preformed at the same time. if this is a part of the problem I cannot say, just that it seems to be in my case. (cpu usage is almost 0 but swapping is going on like crazy. I would wonder if it closer to a paging error if that is the case jwlockhart Registered Linux User #458799 this user is penguin powered -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
P2P clients for debian etch
just wondering which P2P clients are best, seems to be slim pickings in the base debian repository so I figure that I am missing a repository or will have to go the long way to find a good client (however, I do not want to have to find and install a lot of dependencies that are also not in the repository, which is the case with limewire's linux build) jwlockhart Registered Linux User #458799 this user is penguin powered -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Lenny
Neil Gunton wrote: >> to see what driver version supports your card. The names have changed >> since Etch. For example, the 1.0-8776 driver was the one which supported >> the MX400 graphics card, but it is now the 96.43.xx driver which >> supports it - but is not yet in testing. > > Thanks - but this is just an AMD64 LAMP server (MySQL, Perl). There is > no graphic card stuff going on here. I wouldn't. There's still plenty of time left for subtle changes that could break stuff. Are you aware of backports? I know there's a mysql backport for etch. http://packages.debian.org/etch-backports/ http://www.backports.org/dokuwiki/doku.php I generally wait until a couple point releases are out to upgrade a server. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
login problem (password corruption? pam?)
Hello all. Logins keep going bad on me. Repeatedly. I first noticed the problem yesterday after updating sid. First sudo failed to accept my password. I logged out of KDE and was not able to log back in. Let's call my normal login that I've been using the past couple years login1. After this happened I switched to a console where I was successfully able to log in as root. I tried using usermod to reset the password for user1 but was still unable to login. I can su to user1 from root, however. I created a new user, user2, which I was able to use to successfully log in. After adding user2 to sudoers I was able to use kuser to change the password for user1 and log back in to my normal account. All was fine and dandy until a few hours later the same thing started happening again. This time I was unable to log in as user1 or user2 so I was forced to create a user3 and again use kuser to set a new password for user1. This time I'm not logging out until I figure out what's going on. Any guess as to what's going on? Any idea why kuser lets me successfully reset the password and not usermod? Here's how all this looked to auth.log: Jul 6 07:55:33 dsl017-124-002 kdm: :0[4670]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost= user =joe Jul 6 07:55:51 dsl017-124-002 kdm: :0[4670]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost= user =joseph Jul 6 07:56:22 dsl017-124-002 login[4702]: pam_unix(login:auth): authentication failure; logname=LOGIN uid=0 euid=0 tty=tty4 ruser= rhost = user=joe Jul 6 07:56:24 dsl017-124-002 login[4702]: FAILED LOGIN (1) on 'tty4' FOR `joe', Authentication failure Jul 6 07:56:29 dsl017-124-002 login[4702]: pam_unix(login:session): session opened for user root by LOGIN(uid=0) Jul 6 07:56:29 dsl017-124-002 login[4761]: ROOT LOGIN on 'tty4' Jul 6 07:59:48 dsl017-124-002 usermod[8030]: change user `joe' password Jul 6 07:59:59 dsl017-124-002 login[4700]: pam_unix(login:auth): authentication failure; logname=LOGIN uid=0 euid=0 tty=tty3 ruser= rhost = user=joe Jul 6 08:00:01 dsl017-124-002 login[4700]: FAILED LOGIN (1) on 'tty3' FOR `joe', Authentication failure Jul 6 08:00:40 dsl017-124-002 su[8035]: Successful su for joe by root Jul 6 08:00:40 dsl017-124-002 su[8035]: + tty4 root:joe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: need install 'how to' help
>From: Gordon Huff <[EMAIL PROTECTED]> >Subject: Re: need install 'how to' help >To: [EMAIL PROTECTED], [EMAIL PROTECTED] >Date: Sunday, June 8, 2008, 11:40 AM > >>need 'howto' help, newbie to linux, want to install debian to hd on >>laptop, specs follow > >You need a local user group. Google for "Linux User Group." > >Regards > he could also try http://www.linux-laptop.net/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: bits/news from the users of Debian?
> If you are using Debian on your phone, embedded computer, laptop, > desktop, server, network, telecommunications equipment or other part of > your information infrastructure, I'd love to hear from you. > What are you using Debian for? I'm presently running sid on two desktops and etch on a small VPS based server hosting a wiki and messageboard. > uninteresting to you, but... What cool package(s) are you using? Did you > buy a beverage for a Debian contributor at DebConf? Are you using > packages from a general area of Debian (science, games, development, > servers)? What about Debian do you think needs changing - do you have > any specific gripes? Is there a specific package that needs to be > maintained better? Do you have the popularity-contest package installed > and working? If not, why not? I've settled in as a KDE user over the past few years. I just finished checking out the 4.1 beta live CD and I'm NOT impressed. I really hope that debian decides to ship Lenny with 3.5.x so I can switch to that and keep my desktop as it is for a few more years. The situation with rdiff-backup has been annoying but I'm not sure it could have been avoided. I have popcon running on all boxes. > Are you missing certain packages that are > not available in Debian, were removed from Debian or are not available > in the last stable release (etch)? Why are you using Debian rather than > RHEL/Fedora/CentOS, Gentoo, Ubuntu, MacOS or Windows (or the other way > around)? Are you making a living using or customising or deploying > Debian? What are your plans for using Debian in the future? Did your > Debian wishlist for 2007 come true? What is your Debian wishlist for > 2008? What does Debian mean to you? In what ways do you or do you intend > to contribute to Debian and free software in general? How can we help > you to contribute to Debian or free software in general? I started dual booting slackware on my desktop in the mid 90s and switched over to debian when slackware dropped gnome. I gave Ubuntu a try somewhere around Dapper and was not impressed. I like debain because: 1. It's rock solid and secure 2. The (mostly) uncompromising commitment to software freedom. I am somewhat bothered by the recent SSL debacle. I can't help but wonder if the rushed manner in which Etch was pushed out the door is partially to blame. I really don't care about the speed of releases and would prefer that as much time as needed be given to a release to get it right the first time. I run sid on the desktop and 2-3 years is more often than I'd really like to upgrade a server anyway. I'd really like to see code audits of critical packages. If OpenBSD can do it with a fraction of debian's manpower, debian should be able to as well. I think putting patches on the web for review would be a good idea. Putting them in a directory of the source package does no good for upstreams and other interested parties who are not running debian. How is somebody on a Windows box supposed to get the patches out of a .deb? Something based on this perhaps? http://www.review-board.org/ I've noticed that the traffic on debian mailing lists has dramatically decreased. I'm assuming this is because developer discussions have more or less moved to irc. There are two fairly minor problems here. 1. This is a disservice to users running sid as mailing list discussions often provide a heads up to impending breakage. 2. Since there is no record of the irc discussions, this shift seems to go against the grain of debian's commitment to openness. Doing as ubuntu has done and putting logs of the main debian irc channels on the web would solve both of these problems. http://irclogs.ubuntu.com/ Grepping logs of old discussions is also often easier and faster than hanging out on irc until you can a question answered. I'm a huge fan of the rougelike genere and there are some classic ones which are not in debian. I'll take a crack at packaging a couple sooner or later. I'm unsure if my extremely limited C skills will be enough to get 10-15 year old code to compile with a modern gcc on all the architectures debian supports though. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Firefox irresponsible
"Mumia W.." <[EMAIL PROTECTED]> wrote: On 05/14/2008 08:57 AM, Javier Barroso wrote: > Hi list, > Hi Javier. > Since one week ago I'm noticing firefox is sometimes [unresponsive] during > three or four seconds. > > First I experiment it with swiftfox, then I used Firefox (iceweasel) 2 and > the problem didn't go out. Then I switch to iceweasel 3 from experimental, > and I see this again. > > I don't know how can I debug this problem. iceweasel take high % cpu during > the time it is irresponsible. > > If I exec strace I get: [...] Do what I do: disable flash, disable javascript, don't visit youtube and leave FF loaded only so long as you need it. opera is a good option, personally I use several browsers for different things - opera - general browsing - konqueror - file management, troubleshooting when using online helps (the built in terminal is quite useful here) - firefox - the web apps that I need for work need both java and flash so no option here - lynx/elinks - when I am reading documents (who says we need fancy things like pictures) - dillo - I keep this around because I am intrested in its development, it seems to have great potential in becoming a top of the line, lightweight browser jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered
no sound on compaq armada 7770dmt with ess-1878 sound card
well i have been working on getting an old compaq armada 7770dmt up and running with debian etch 4.0r2. everything works good, only i cannot get alsa to find the sound card at boot, sound card is a ess-1878. added the sound module to /boot/modules but that didn't seem to help, checked alsa manpage and that allowed me to check the right mod but suggested adding the mod to /boot/modules which didn't help. any other suggestions. oh, it has a 2Gb hard drive with a skimpy 48 Mb ram, got it loaded with lightweight apps (Fluxbox and jwm for windowmanagers, mc, abi, etc) any other suggestions on lightweight apps would be appreciated as i am trying to keep the install under 700Mb (though a bit more is alright). if anyone cares, the lightweight apps work well with the 48Mb ram, some of the fancier stuff is just to heavy and bloated to be of much use thanks in advance jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What CDs and DVDs should we produce for lenny?
my mistake forwarding to list --- joseph lockhart <[EMAIL PROTECTED]> wrote: > > --- Anthony Towns <[EMAIL PROTECTED]> wrote: > > > On Mon, Mar 17, 2008 at 01:39:40PM +, Steve > > McIntyre wrote: > > > [ /me sets the Reply-To: to debian-cd again... ] > > > > But not Mail-Followup-To:... > > > > > >At a bare minimum: > > - installer - downloadable (business card) > > - installer+base - downloadable (netinst) > > > > - CD - disk 1 downloadable, disk 2+ jigdo-only > > > > - DVD - disk 1 downloadable, disk 2+ > jigdo-only > > > > - BD - one image jigdo-only > > > >That's 25MB + 650MB + 4GB of images per-arch, > for > > about 61GB in total, > > > >plus a whole bunch of jigdo images (about > 500?). > > > > So more like 25 + 150 + 650 + 4000 = 4825 per > arch, > > for about 63GB in > > total. Either way. > > > > > >Is it possible to create a jigdo image without > > creating the full > > > >ISO? ie, to go from a list of files you want on > > the ISO straight to a > > > >jigdo template without the intervening step of > > actually copying all the > > > >files around? > > > Oh, absolutely. That's one of the biggest > changes > > I made in > > > debian-cd/mkisofs to improve performance. > > However... if we want to > > > continue providing torrent downloads (which are > > very popular, I > > > understand) then we do still need to make the > full > > images too. > > > > So, there's three user scenarios, I guess: > > > > - great network access, download everything > > directly (netinst > > gets the process started quickest, and > > downloading everything > > is fine) > > > > - good network access but don't want to download > > debs multiple > > times, or want to download in bulk in advance > > (run a proxy or > > mirror; or download DVD/CD images, and use > them) > > > > - bad network access (buy/download everything on > > DVD/CD/BD and use > > it to install, or populate a local mirror) > > > > And there's four ways we can get debs to people: > > > > - regular archive (apt, netinst, jigdo) > > - raw images (download via cd mirrors) > > - torrented images (download via cd torrents) > > - vendors burn images and mail them to people > > > > If you're buying/mailing images, it's out of our > > hands, provided vendors > > can get images in the first place, so ignore that. > > Our regular archive > > is already mostly optimised, so the more people > > using it, the better; > > that's just a matter of more jigdo use, afaics. > > > > That leaves us with torrent and http iso > downloaders > > -- possible lots or > > possibly not too many depending on whether we can > > make jigdo any easier. > > But I don't think there's any way to avoid that, > > it's just a question > > of how many, isn't it? > > > > I guess there's an inequality like: > > > > images on mirrors <= images on torrents <= images > > via jigdo > > > > And images on torrents = images you have to > > generate. And the inequalities > > go the other way too: > > > > ease of downloading >= ease of torrenting >= ease > > of jigdoing > > > > and the real question is where you say "if you > > really want the 23rd CD > > for mipsel, you're probably smart/dedicated enough > > to use jigdo". > > > > The other thing we /could/ do is encourage people > > who've done successful > > Debian installs to help contribute by > participating > > in a torrent after > > the fact -- you could do all sorts of things like > > have a FUSE filesystem > > that takes a (partial) mirror and a jigdo file and > > lets you see fake iso > > files, which you then seed via bittorrent, eg. You > > could automate that, > > so it's just a question like the popcon one: "Do > you > > wish to participate > > as a torrent seed for other people installing > > Debian? Yes [No]" > > > > Another option would be a jigdo firefox plugin -- > > even if a pure > > javascript jigdo turns out too hard, a plugin > ought > > to be pretty > > easy. Otherwise there's Java potentially, but at > >
Re: What CDs and DVDs should we produce for lenny?
take it as you will, but I think that it would be useful to group the terminal and lightweight apps together, just seems a waste to download (25 for etch) disks to install onto a low powered computer, when everything together would all fit on one disk (that is base system and all terminal apps that I wanted). It would seem that grouping these together and labeling them would save many people a great deal of hassel. along the same note, grouping programs by function may also help relieve some of the burden, as well as a functiont that allows searching packages to see what is on each disk before downloading it. jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Basic bash question.
Luis Maceira <[EMAIL PROTECTED]> wrote: How can I see all the messages generated by a bash command (configure make make install, for example) to standard output(computer screen), and at the same time make sure that all is written to a text file for later analysis. It is a redirection but I don´t know how to make both things happen at the same time. Is that possible?With all the bash commands? Without GUI(X),all command line environment. I would try some command && some command > some file or with a practical example weather slo && weather slo > weather the && is the "and" command for bash jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
Re: DVD drive AWOL
> Well, the BIOS recognises the drive, udev isn't > giving you nodes. Is > the kernel seeing it? Check dmesg. > no mention of the drive in dmesg > What do you have under /dev? When you say the > device node, do you mean > /dev/sd? or do you mean /dev/dvd or /dev/cdrom? > What about > /dev/disk/by-id? > id for (now dead cdrom) was scd0 and for dvd was scd1 > If dmesg gives you the device name but there is no > node in /dev, just > use mknod and make it manually (as a work-around to > allow the backup). > > As for a permanent fix, good luck. I hate udev. > Hopefully, someone > here will tell you how to fix it. > thanks sorry it took so long to get back on this one, but had some issues to deal with on the home front that took presedence jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DVD drive AWOL
> > that knocked out our power and after recovering > from > > UPS is your friend... > UPS? - big brown trucks? > > that my DVD burner seemed to go AWOL (that is the > > device nodes just vanished) > > > > checked syslog and no errors there, nothing on > udev > > documentation seemed to help, and STFW didn't help > > Shut The Fsck Warren > search the f***ing web > I'd do a "dmesg | less" just after a reboot, to see > whether the > kernel sees the device. > nothing in dmesg about that device jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
DVD drive AWOL
well, about a week ago we had a lovely thunderstorm that knocked out our power and after recovering from that my DVD burner seemed to go AWOL (that is the device nodes just vanished) checked syslog and no errors there, nothing on udev documentation seemed to help, and STFW didn't help either. i'd just reinstall but i need to get a backup off first (which i was, ironically going to burn to disk that evening), and i was planning on repartitioning on the next install. thoughts on recovering the nodes? (BIOS recognizes the DVD drive, the old CD drive is dead but has been that way and BIOS doesn't recognize the DVD drive as a valid boot drive, possible the bootstrap site maybe?) jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Help with bug report
For those of us new at this... How would one fill out the bug report headers for a problem with the whole netinst iso in contrast to a specific package? As follows: Tried the i386 netinst Feb 7 jigdo image on my pentium Intel that runs Knopixx on disc. It failed early in the install, just after noticing the CD and asking for a net site, saying it could not find a kernel image to install. But the SID installer of Lenny Feb 9 whole netinst iso did install, although sound is not functioning. The weeklies to replace the Jan 28 versions seem overdue as of Feb 11. Thanks. Joseph A. Price, Ph.D. Professor of Pathology Dept. Pathology, OSU-COM OSU Center for Health Sciences W. 17th. St. Tulsa, OK 74107-1898 Ph: 918-599-1603 FAX: 918-599-1098 [EMAIL PROTECTED]
Re: Strange behaviour of K3B
> > I am trying to burn a Data DVD+R > > > When I hit the burn button, the dialog box that > pops up normally has a > > drop down box which says the type of media > detected. This remains > > steadfastly saying no media loaded regardless of > whether I have or > > not - meaning I cannot start the burn. > > > > Any suggestions > google the problem, this is a know problem that occurs occasionally with k3b (it kind of forgets where your drives are) there are some kernel moduals that can be set to load on startup that usually takes care of the problem (you'll have to google to find them, i cannot recall which ones off of the top of my head > Did you get an answer to this? > > The only thing I got is. > > Are you sure your drive handles DVD+R? > > Any new drives should handle DVD+ and DVD-, but > older drives may not, > the older the drive the more likely it would do DVD+ > or DVD- not both. that is also a possibility :) jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: print a sample of all fonts?
> is there a way to have gimp or whatever print a > sample of each > font on the system without manually writing them all > out? tia. > try gucharmap jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: /var/archive
only thing that i have ever had in /var/archives are the md5sum's and tarballs for backups created by backup manager (needless to say i have since sent backup manager to /dev/null) jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: etch --> testing
> I thought that at one point (in the past, when I was > paying a little more attention) that a certain > ubuntu release might be better > installed as a clean reinstall (rather than trying > to upgrade from a previous release). Hearing that > (or thinking I heard that), > I simply extrapolated the more conservative answer > that I'd probably always be safer reinstalling. But > maybe that was a one time > thing (or maybe it was only true just prior to a > final release?) or maybe it was never true and I'm > making this up (because I'm > incapable of remembering any more details). > from what i remember it was from dapper (6.06 to 6.10) that had the problem (never got that one to work right) the new upgrades work fine (7.04-7.10-8.04) > But if folks think that I've got a shot at going > from Dapper to a current ubuntu release on his > laptop, I'll definitely give that > a shot -- nice to know that's an option. As for > the rest of it, I gave him the instructions I'd > initially pasted and as far as I > know he's either upgrading his debian stable desktop > to testing or breaking it badly. I'm keeping my > fingers crossed that it's > the former. > if you are going to be his only help, better to go with what you know best jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Re: help installing to this machine?
On Jan 23, 2008 2:48 PM, Bruno Buys <[EMAIL PROTECTED]> wrote: > Thanks, Joseph, > Was that the same hardware? My problem seem to be related to the > motherboard. Other people reported good results with the cpu. > I agree it's very likely to be related to the motherboard. The CPU should work fine, the architecture is very well supported. My motherboard isn't the exactly same (it was a Intel P5KSE) but it has very similar characteristics (lots of sata ports, same IDE channels) except a different chipset. My problem was with a marvell chip that handles the IDE channels that hasn't a ahci mode. I don't know if your problem is similar to mine. Are you installing from a IDE CD drive? I remember installing from USB was easy - I mean it was very similar to a CD install. The images are here: http://www.debian.org/devel/debian-installer/ Cheers, Joseph
Re: help installing to this machine?
I had a similar problem. I solved it installing from a USB stick. Cheers, Joseph
Re: Creating CD's frpm .iso files
--- Joe Hopkins <[EMAIL PROTECTED]> wrote: > I have a very basic Debian question. I downloaded > all of the 25 Debian .iso files and want to > convert/write them to CDs. I am trying to use the > "InfraRecorder" program that I downloaded from the > Ubuntu web site. (I also plan to install Ubuntu's > version of Linux on some unused PCs that I have.) I > also downloaded the Ubuntu files and want to > convert/write them to CDs as well. I am a total > Linux novice, although I have a lot of Window's > knowledge. I could not find another program, > besides "InfraRecorder" that looked as though it > would perform the same functions as that program. I > am not having any success trying to use the > InfraRecorder program. The program starts OK and I > can direct it to process the Debian .iso file, but I > can't find any way to get it to record to a CD. My > questions are as follows: > > 1 - Is there a program, other than InfraRecorder, > which will convert these .iso files into CDs? there is one called isotool that uses native windows dll's and works nicely (it embeds itself so that you use it similar to a send to command also isorecorder - http://isorecorder.alexfeinman.com/isorecorder.htm >If so, where can I contain it? > 2 - If the InfraRecorder program should accomplish > this conversion of .iso files to CDs, >would someone be so kind as to tell me what I > need to do in order to convert these files? using isotool just right click the file name, and click burn disk image (if i remember correctly) otherwise RTM > > I know that I can purchase the Debian CDs from > vendors, but since I have downloaded them, I hate to > spend unneccessary money. why buy what people will give you for free jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: unable to su to root, sudo works
did you check to make sure that the appropriate users are added to "wheel" group? gpasswd -a wheel or usermod -G wheel also check /etc/pam.d/su if PAM is installed jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: OT: How to detect a keypress, and in which language?
As others suggested, check python. It's not to difficult and most of it is cross platform. There are several ways to get chars, both blocking and non-blocking. I was thinking about curses, but there are other ways. >From python docs: > While curses is most widely used in the Unix environment, versions are > available for DOS, OS/2, and possibly other systems as well. This extension > module is designed to match the API of ncurses, an open-source curses > library hosted on Linux and the BSD variants of Unix. > The first thing that comes to my mind is doing something based on threads, assuming that beeping is a blocking function (doesn't return until the beep ends). start a thread that accepts beep requests (and performs the beeping) last_beep_end_time = now() while akey is pressed: speaker_is_idle = now() > last_beep_end_time if akey is quit_key: quit if akey is key1 and the speaker is idle: ask the thread to beep compute last_beep_end_time (at which the beep ends, eg now + 100ms) ... silently ignore keypresses while the speaker is already beeping. Cheers, Joseph
Re: unable to su to root, sudo works
> >> I can log in as root (shown above) both on tty1 > and in the GUI (gdm). > >> Running Sid, up to date > >> This is not a show stopper, but it makes me go, > "hm". Any ideas? > >> > >> and I can do sudo su. > >> > > > > When you are using su, are you using your password > or root's password? > > > > > sudo, miy user passwd, su, roots. > > I have sudo su, then ran passwd for root to varify > typos. Currenty the > passwd is the same for testing reasons. Varified by > logging in to tty1. > does the problem still occur if you change the root password? (conflicting in some way) jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: package list for CLI-only admin/service install
> Interesting stuff all this! > > Joseph: your metapackage is a great starting point. > I'll see if I understand it enough to hack it up for > needs. > > Thanks to all. > no problem, i made it for a personal need, then put it on cli-apps so that it would not just get lost jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: package list for CLI-only admin/service install
> > i'm also open to suggestions > > Hmmm, I'll readup on metapackages. > Never maintained anything, but how hard would it be > to prepare > ONE dummy .deb that pulls all the CLI admin/rescue > tools I want?. > After a standard net-install one would just do a > wget and a dpkg. > > As an alternative, debfoster + a long install list. > > > I could start from the app list of a live cd. > Doesn't look too hard. > Once I give it a try I'll post on whether I > overrated the task. > > there is a terminal metapackage that i worked on a while back, may need some tweeking still (kind of left it orphaned for the time being) http://www.cli-apps.org/content/show.php/terminalphile?content=70610 let me know if it helps jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Who uses Debian? Wikipedia doesn't tell.
> I'll be trying to pitch Debian as the OS for a > project to my employer. > One of the arguments will be to mention a few really > big and important > Debian implementations. I tried to see if there was > such a list on the > Wikipedia Debian article but found none. I couldn't > find info about it > on debian.org either. Can someone suggest a place > (url) that is > trustworthy (to a proprietary minded employer) and > contains such a list? > you mean like on the debian homepage http://www.debian.org/users/index.html jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
tn3270 emulation, connection problems
i am wondering if anyone has experience with the c3270, x3270, s3270 packages? the help and documentation for these seems more sketchy than most. The computers i use for work run attachmate's extra! which is a tn3270 emulator. the computers that they connect to are ibm 3270's (as far as i can tell as extra! was made only for the 3270's) and run TPX to interface with TCS. I am having trouble connecting the c3270 session with the mainframes. anyone familiar with these packages? jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Fwd: Re: DVD image download issue Opera, Konqueror, and Firefox/iceweasel
appolgies, forwarding to the lists Note: forwarded message attached. jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs--- Begin Message --- i'll leave this as a direct reply since that is how it came to me :) > 24% of 4.4Gb is pretty close to 1Gb. Are you sure > there's not something > preventing you creating files over 1GB (e.g. > ulimit). Or could your ISP be > blocking "large" downloads? > fair question but i doubt it as i have previously downloaded fedora core 8, openSUSE 10.3, and Sabayon 4.3 all of which were DVD images with no problem > I'm not sure I understood about the "wget" problem - > would you mind > clarifying it, please? > sure, wget i would get up and wonder off and when i come back my hard drive would be full but if i download them though my browser (regardless of which one) i find myself more likely to burn them off as they are completed (who has ever heard of 20+ cd-iso files dowloading so that they all were complete at the same time?) jwlockhart Registered Linux User #458799 Registered Kubuntu User #19678 this user is penguin powered Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs --- End Message ---