Re: apt-cacher-ng: Cache storage error while opening data file

2010-07-13 Thread T o n g
On Wed, 14 Jul 2010 00:04:05 +, T o n g wrote: > I got the following error when doing "aptitude update": > > Err http://cdn.debian.net testing/main Packages > 503 Cache storage error while opening data file > Err http://security.geo.debian.org testing/updates/

Re: Control/change the apt caching server on the fly

2010-07-13 Thread T o n g
On Tue, 13 Jul 2010 23:59:20 +, Liam O'Toole wrote: > Why not point it to something else when required? Good point. works fine. Thanks. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-us

Re: UTC or localtime

2010-07-14 Thread T o n g
Thanks a lot for your replies, H.S. and Dave. On Wed, 14 Jul 2010 12:44:30 -0400, H.S. wrote: > "To change the computer to use UTC after installation, edit the file > /etc/default/rcS, change the variable UTC to no. . . "Setting UTC to no to use UTC"? This is so confusing that I have to look f

Conclusion: FAT mount, UTC and localtime

2010-07-14 Thread T o n g
On Thu, 15 Jul 2010 00:44:49 +, T o n g wrote: > $ date; hwclock --show > Wed Jul 14 20:33:58 EDT 2010 > Wed 14 Jul 2010 08:33:58 PM EDT -0.953730 seconds > > Seems to me my hardware clock is set to local time here instead. Nope, it get correctly interpreted by the syst

Please help me test aufs

2010-07-16 Thread T o n g
nt -t aufs -o br=/tmp/rw:${HOME} none /tmp/aufs mount -o remount,append:${HOME} /tmp/aufs The command is taken from "4. Usage" section from http://aufs.sourceforge.net/ Here is my error log: % mount -t aufs -o br=/tmp/rw:${HOME} none /tmp/aufs /sbin/mount.aufs:plink.c:223: AUFS_

Alternative to snapshot.debian.net

2010-07-17 Thread T o n g
Hi, Since the snapshot.debian.net has stopped updating, is there any other debian snapshot servers that I can use? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.

Confirming submission of bug report

2010-07-17 Thread T o n g
Hi, >From time to time, my bug report that sent to sub...@bugs.debian.org get lost to nowhere. I.e., I don't hear anything back from the Debian Bug Tracking System (I haven't received anything for my bug report sent this morning yet). Since the failure might happens two ways, is there anyway f

Xorg vt07 is abnormal

2010-07-18 Thread T o n g
Hi, Due to some unknown error to me, having quit my malfunctioning X, my startx can't get into vt07 any more, but only into vt08. I.e., CTRL-ALT-F7 gives me a black text screen, while CTRL-ALT-F8 is my started X. startx -- :1 starts xorg in vt08 as well. If the vt08 is occupied, then I got

startx can't get into VT7 any more

2010-07-19 Thread T o n g
On Mon, 19 Jul 2010 03:26:57 +, T o n g wrote: > Due to some unknown error to me, having quit my malfunctioning X, my > startx can't get into vt07 any more, but only into vt08. Correction and further reports. 1st correction, this happens even after I quit X normally -- . I us

Re: startx can't get into VT7 any more

2010-07-19 Thread T o n g
On Mon, 19 Jul 2010 15:49:32 +, T o n g wrote: > - If VT8 is occupied, or using 'startx -- :0', startx start X in VT7 > just fine. Correction: 1. Merely 'startx -- :0' can't start X in VT7, but in VT8. 2. Even startx starts X in VT7 fine if VT8 is occupied,

ftp client that understands utf8

2010-07-19 Thread T o n g
Hi, Is there a ftp client in Debian that understands utf8, i.e, handling utf8 file or directory names correct? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debi

Re: ftp client that understands utf8

2010-07-19 Thread T o n g
On Mon, 19 Jul 2010 20:10:08 +0300, Andrei Popescu wrote: >> Is there a ftp client in Debian that understands utf8, i.e, handling >> utf8 file or directory names correct? > > I didn't test, but I expect most of them (if not all) to work correctly. > Which one did you try already? ftp (the vanill

[Conclusion] ftp client that understands utf8

2010-07-21 Thread T o n g
On Mon, 19 Jul 2010 17:03:02 +, T o n g wrote: > Is there a ftp client in Debian that understands utf8, i.e, handling > utf8 file or directory names correct? Thanks every one who replied. Yes, both lftp and ncftp worked fine. Thanks again. -- Tong (remove underscore(s) to reply)

cups printing stops half the way mostly

2010-08-01 Thread T o n g
Hi, My printings print fine only if there is minimum to print on the page. If there are more content in the page, the printing will stop less than half of the page, only about 1/3 to be more correct. I believe it is a bug of current cups (and its driver), because the printer was working fine w

Re: cups printing stops half the way mostly

2010-08-01 Thread T o n g
On Sun, 01 Aug 2010 19:39:57 -0400, Paul Cartwright wrote: >> My printings print fine only if there is minimum to print on the page. >> If there are more content in the page, the printing will stop less than >> half of the page, only about 1/3 to be more correct. > > I used to have that problem p

Kvm, how to switch to console

2010-08-01 Thread T o n g
Hi, Is it possible to switch to console (tty1~6) when the kvm guest is in X? thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscr

why rsync wants to delete destination files

2010-08-06 Thread T o n g
Hi, I believed that rsync wouldn't delete existing destination files unless instructed so (by --delete-excluded). However, while debugging a (mysterious) bug, http://thread.gmane.org/gmane.linux.file-systems.aufs.user/2821/focus=2827 I now suspect that the rsync command used in the script was t

Re: No Consoles???

2010-08-06 Thread T o n g
On Fri, 06 Aug 2010 14:07:43 -0500, John W Foster wrote: > Still have an issue > with NO CONSOLES using F1 F2 etc. How did you access consoles? F1 F2 directly? -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIB

Re: why rsync wants to delete destination files

2010-08-06 Thread T o n g
Thanks for your replay Sam. On Fri, 06 Aug 2010 22:47:57 -0500, Sam Leon wrote: > --delete-before will delete everything in the destination directory that > is not in the source directory. As you sure about this? >From man page: --delete-beforereceiver deletes before transfer (defa

setting password via script

2010-08-09 Thread T o n g
Hi, What's the easiest way to set password for user account via script? The most common tool would be fine, even if it means that the password has to be clear text. Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ --

old unix crypt

2010-08-09 Thread T o n g
Hi, What's the current replacement for the old unix "crypt"? mcrypt was intended to be the replacement, but "Please note that this package is buggy and unmaintained by the upstream authors". I hope openssl can do that, but I can't figure that out from openssl man page. thanks -- Tong (remov

Re: wicd refuses to start

2010-08-15 Thread T o n g
On Sun, 15 Aug 2010 07:52:29 +0100, Liviu Andronic wrote: > Dear all > After some recent updates, I assume, wicd strangely refuses to start. > li...@debian-liv:~$ wicd-gtk > [. . .] Yes, I'm getting that as well. My WM is fluxbox. > I'm using wicd 1.7.0 on an outdated Debian squeeze. Debian sq

get kernel version of chroot

2010-08-15 Thread T o n g
Hi, Is it possible to get the kernel version of a chroot system? I tried chroot chroot_fs uname -r but it only reports the kernel version of my current system, not the chroot system. Any other way? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ h

Re: Auto enabling swap at boot up

2010-08-15 Thread T o n g
On Sun, 15 Aug 2010 20:13:23 -0400, Celejar wrote: >> I am not sure, but is Debain able to pick the swap partition(s) and use >> it on boot up without using specifying it in fstab file? > > You can always have a script call swapon (see 'man swapon'), but what, > exactly, are you trying to accompl

Starting KVM with public bridge as normal user

2010-08-18 Thread T o n g
Hi, I setup my KVM public bridge according to https://help.ubuntu.com/community/KVM/Networking But it doesn't say how I would start KVM with public bridge as normal user. This is what I get: $ kvm -net nic -net tap . . . could not configure /dev/net/tun: Operation not permitted Starting th

Re: Starting KVM with public bridge as normal user

2010-08-19 Thread T o n g
On Thu, 19 Aug 2010 14:28:54 +0200, Javier Barroso wrote: >>  $ kvm -net nic -net tap . . . >>  could not configure /dev/net/tun: Operation not permitted > Maybe your user need to added to kvm group ? (I'm guessing now) Yes, I've already add myself to the kvm group. $ ls -Al /dev/net/tun crw-rw-

Re: Starting KVM with public bridge as normal user

2010-08-19 Thread T o n g
On Thu, 19 Aug 2010 14:36:14 +, T o n g wrote: >> I cannot acess now to /usr/share/doc/ kvm related directories, but sure >> it is documented there > > . . . Thanks for the point. I'm reading them now. No, that's way too simple and doesn't cover the KVM publ

Remote host identification has changed!

2010-08-22 Thread T o n g
Hi, I believe that we all have met with such warnings: @@@ @WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@ . . . Someone could be eavesdropping on you right now (man-i

Re: Starting KVM with public bridge as normal user

2010-08-22 Thread T o n g
On Fri, 20 Aug 2010 00:37:54 +0200, Javier Barroso wrote: > . . . I hope this help . . . Yes, thanks a lot! -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org w

Re: Remote host identification has changed!

2010-08-22 Thread T o n g
doubt it. Found the solution: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null . . . Ref: How to disable SSH host key checking http://linuxcommando.blogspot.com/2008/10/how-to-disable-ssh-host-key- checking.html Thanks for the reply. cheers -- Tong (remove u

cron: different job different mail

2010-08-25 Thread T o n g
Hi, I know I can set MAIL in cron jobs so as to define where the cron execution log will send to. but, I'm wondering if it is possible to set different email destinations for different cron jobs. Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://x

Re: Remote host identification has changed!

2010-08-25 Thread T o n g
Thanks for the reply. On Mon, 23 Aug 2010 02:58:18 -0600, Bob Proulx wrote: > is it >> possible that I keep both the old RSA host key and add the new one? >> because for the time being, I need them both. > > If the key has changed then the old key is no more. You might as well > remove it, sin

Re: Mixing apt-get and aptitude

2010-08-25 Thread T o n g
On Wed, 25 Aug 2010 15:16:44 -0400, Anticept . wrote: >> I used to use either apt-get or aptitude to install packages. Is it OK >> to do so? >> >> I read [1] that it is not a good idea. Please comment. >> . . . >> > There is no reason that these two can't be mixed. Aptitude, however, > keeps track

Do apt-get and aptitude know each other's records

2010-08-26 Thread T o n g
On Thu, 26 Aug 2010 22:21:02 +0900, Osamu Aoki wrote: > Old information may not be valiad for new apt-get :-) > > You may see change in release note: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411280 On reading above, I think it is time for me to do away with aptitude and use back to m

Re: Mixing apt-get and aptitude

2010-08-26 Thread T o n g
On Thu, 26 Aug 2010 22:30:30 +0900, Osamu Aoki wrote: >> To hold a Debian package not to be updated by apt-get >> >> echo $package hold | dpkg --set-selections >> >> Please note that such holding will not work for aptitude. . . > > I just tested. It worked for me. Please elaborate a bit more

Re: Tell Ubuntu and Debian apart in a shell script ...

2010-08-26 Thread T o n g
On Thu, 26 Aug 2010 02:03:55 +0200, Oliver Schneider wrote: > (which lsb_release > /dev/null && `which lsb_release` --id)|awk '{print > $3}' > > ... does not work on older systems which don't have lsb_release, though. Is lsb_release mandatory? I'm using latest testing and I don't have it. So if

Re: What is Recommend CLI Package Manager Tool for Newb?

2010-08-27 Thread T o n g
On Fri, 27 Aug 2010 16:33:19 +0400, Roman Khomasuridze wrote: >> I will be administering it remotely and would like to use the best tool >> for the job. >> >> Now I read conflicting opinions from experienced people about apt-*, >> aptitude, and wajit. >> >> Is there a consensus? consensus? I wish

My bad (was: The NAME environment variable)

2010-08-27 Thread T o n g
On Sat, 28 Aug 2010 03:06:01 +0200, godo wrote: >> This is the first time that I found the NAME variable missing from the >> environment. How common is this? My bad, it was my invention that I've long forgot. > my Squeeze and Sid box also doesnt have NAME in env. Maybe this script > can help yo

Re: Heads up: restart aptitude after this upgrade

2010-08-28 Thread T o n g
On Sat, 28 Aug 2010 13:31:36 +0300, Andrei Popescu wrote: > While I do expect people running sid to be able to deal with stuff like > this, I thought it wouldn't hurt to mention it here. Thanks a lot for the heads up!! -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdoc

Aptitude cannot upgrade libperl5.10

2010-08-29 Thread T o n g
Thanks for your reply, Florian. On Sun, 29 Aug 2010 11:55:49 +0200, Florian Kulzer wrote: >> The following packages have unmet dependencies: >> libperl5.10: Depends: perl-base (= 5.10.1-12) but 5.10.1-14 is to >> be >> installed. > > So the problem is that aptitude thinks it cannot upg

Re: Aptitude cannot upgrade libperl5.10

2010-08-29 Thread T o n g
On Sun, 29 Aug 2010 22:11:21 +0200, Florian Kulzer wrote: >> % aptitude show libperl5.10 | awk '/^Package/,/^Version/' Package: >> libperl5.10 >> State: not installed >> Automatically installed: no >> Version: 5.10.1-14 >> >> . . . >> >> $ apt-cache policy libperl5.10 >> libperl5.10: >> Insta

VPN Linux client

2010-08-29 Thread T o n g
Hi, How can I use Linux as the client to connect to the remote host through VPN? My next potential job line up requires me to use VPN. But due to their failed demo, I can't give you much more details than that their current client is windows based, they login to VPN first through web. On the

Re: Skype on amd64

2010-08-30 Thread T o n g
On Mon, 30 Aug 2010 09:12:01 +0200, tv.debian wrote: >> Any good reading on how to get skype working on Debian amd64? >> > Hi, I have Skype working on two amd64 Squeeze systems, just installed > ia32-libs and then Skype from Ubuntu "Partner" repository : > > http://archive.canonical.com/ubuntu/po

Re: Stable, light-weighted, lighting-fast and actively-developed WM

2010-08-30 Thread T o n g
Thanks everyone who replied. On Mon, 30 Aug 2010 15:26:46 -0600, Javier Vasquez wrote: >> The reason being, on my laptop, the >> >> - Fn-F4 key suspend >> - lid close >> >> doesn't work under fluxbox but gnome, and I don't have the time and >> energy to tweak udev to enable them for fluxbox ... >

Re: Stable, light-weighted, lighting-fast and actively-developed WM

2010-08-30 Thread T o n g
On Mon, 30 Aug 2010 16:46:33 -0500, Arthur Machlas wrote: > with fluxbox you don't need any "keys" program beyond what flux already > provides and xev. . . Thanks a lot for the detailed instruction. Yes, it's nice and interesting to know what's happening behind pressing f4 to sleep. > so I'l

[Solved] Stable, light-weighted, lighting-fast and actively-developed WM

2010-08-30 Thread T o n g
On Mon, 30 Aug 2010 21:46:33 +, T o n g wrote: >>> The reason being, on my laptop, the >>> >>> - Fn-F4 key suspend >>> - lid close >>> >>> doesn't work under fluxbox but gnome, . . . > : : : > Currently, under my fluxbox, most &

Re: Can't acquire dchp lease while Windows can

2010-08-31 Thread T o n g
On Tue, 31 Aug 2010 12:10:19 +0200, Alain Baeckeroot wrote: First of all, > If it is at work, it is very likely that your are NOT allowed to do what > you want . . . No, this is school environment. Open dchp to all. As I said, wired network not work, but wireless network works. Same machine,

Re: Skype on amd64

2010-09-01 Thread T o n g
On Mon, 30 Aug 2010 09:12:01 +0200, tv.debian wrote: >> Any good reading on how to get skype working on Debian amd64? >> > Hi, I have Skype working on two amd64 Squeeze systems, just installed > ia32-libs and then Skype from Ubuntu "Partner" repository : > > http://archive.canonical.com/ubuntu/po

A better Emacs sql mode?

2010-09-02 Thread T o n g
Hi, Anyone here code sql seriously using Emacs and need strict Sql Coding Style [1]? I found that the default Emacs' sql mode is geared more towards interactive debugging, instead of sql coding. E.g., I simply wasn't able to indent my sql code the same way as any other programming language.

Re: how to locate files on my computer

2010-09-02 Thread T o n g
On Thu, 02 Sep 2010 19:39:04 -0500, tom wrote: > I thought using the command: $ locate would work, but > nothing happens, even if I su to root. Any help appreciated. Is it a brand new installation that less than 24 hours old? Any way, run updatedb as root. PS. I recommend using mlocate p

Re: Can I sudo rsync to remote

2010-09-02 Thread T o n g
On Wed, 01 Sep 2010 14:41:11 +0100, Alan Chandler wrote: > > Under such setting what's the easiest approach to rsync files that I > > can't read locally and write remotely as me. > > : : : > I tend to use . . . so > in your case you would do rsync files that_remote_place:/path THANKS A THOUS

gnome mounts all fstab entries

2010-09-04 Thread T o n g
Hi, I don't know its old behaviour but I just noticed that if gnome is started, then all my mount points defined in fstab are mounted, despite that the mount points are defined as noauto. Anyway that I can disable it? thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.n

Can start X once but no more

2010-09-04 Thread T o n g
Hi, Following up with http://article.gmane.org/gmane.linux.debian.user/389399 I have exactly the same symptom: I can start X once. After killing or quitting it once, it won't start again. I've posted my /var/log/Xorg.0.log to http://paste.debian.net/87848/ (got rejected several time due it is

Re: gnome mounts all fstab entries

2010-09-05 Thread T o n g
On Sun, 05 Sep 2010 14:31:39 +, Camaleón wrote: >> I don't know its old behaviour but I just noticed that if gnome is >> started, then all my mount points defined in fstab are mounted, despite >> that the mount points are defined as noauto. >> >> Anyway that I can disable it? > > Can you pos

Re: Can start X once but no more

2010-09-05 Thread T o n g
On Sun, 05 Sep 2010 17:41:34 -0400, Stephen Powell wrote: > I also use the nv driver, and I can start the X server multiple times, > but usually not without manual intervention. What usually happens is > that the old session only partially dies. The new session tries to grab > vt 7, but finds it

Re: gnome mounts all fstab entries

2010-09-05 Thread T o n g
Ops, this one was left out. On Sun, 05 Sep 2010 16:27:21 +, Camaleón wrote: > Did you migrate from old sysvinit to any new booting system? I recently > was asked to do it after a system update. I've been using file-rc for several years. Package: file-rc Replaces: sysv-rc, sysvinit (<< 2.8

where can I find the English LC_MESSAGES/gcc-4.4.mo file

2010-09-08 Thread T o n g
Hi, The English LC_MESSAGES/gcc-4.4.mo file should normally be at /usr/share/locale/en_US/LC_MESSAGES/gcc-4.4.mo or /usr/share/locale/en/LC_MESSAGES/gcc-4.4.mo but I can't find it in Debian. where can I find it? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/tec

Re: Can start X once but no more

2010-09-09 Thread T o n g
On Mon, 06 Sep 2010 10:42:04 -0400, Stephen Powell wrote: > I run GNOME, so this technique may not work for you or may need to be > adapted. [ . . . ] I use startx, so it is much simpler for me. > [ . . . ] I can then deallocate vt 7 with > >deallocvt 7 > > I find that the "deallocvt 7"

unknown skype traffic

2010-09-09 Thread T o n g
such traffic are from skype: Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp0 0 192.168.0.106:9181 68.147.136.160:56613 ESTABLISHED 23153/skype tcp0 0

Burn DVD with CJK file names

2010-09-09 Thread T o n g
Hi, Anyone know how to burn DVDs with Chinese/Japanese/Korean file names on them from none-utf8 CJK file names on HD? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@li

Re: My lenny picks the wrong resolution whereas squeeze is right

2010-09-15 Thread T o n g
On Wed, 15 Sep 2010 15:00:50 +, Camaleón wrote: > you can try with "cvt" tool to get the correct "Modeline" and then add > it to your "xorg.conf". Restart and check if it got the right > resolution. Yep, that works. Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net

Re: My lenny picks the wrong resolution whereas squeeze is right

2010-09-16 Thread T o n g
On Thu, 16 Sep 2010 09:15:22 -0400, Stephen Powell wrote: > Specifying "Modes" in the Display subsection of the Screen section, or > specifying the virtual desktop size, has always been sufficient for me. No, that don't work for me. Specifying a bigger mode than the display driver can handle ca

Simplest and cheapest RAID

2010-09-16 Thread T o n g
Hi, How practical is to create a simplest and cheapest RAID, using 2 partitions on the same disk, combining them as a RAID drive? By "practical" I meant, - I would assume less than 0.01% people would do that so I can't find any documents. - Having 2 partitions might not give me much adva

Re: [News] Flash player plugin (64 bits) comes back!

2010-09-16 Thread T o n g
On Thu, 16 Sep 2010 18:25:44 +, Camaleón wrote: > JFYI, Adobe released a "preview" of the Flash player plugin for 64 bits > systems: Thanks for the heads up, was waiting for it to happen for a while. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xp

Re: My lenny picks the wrong resolution whereas squeeze is right

2010-09-16 Thread T o n g
On Thu, 16 Sep 2010 12:55:38 -0400, Stephen Powell wrote: > if you'd > like to avoid using a custom mode line, please post the entire > /var/log/Xorg.0.log file, along with its corresponding > /etc/X11/xorg.conf file, and I'll see if I can figure out what needs to > be changed to get it to work wi

Re: Updating files in /etc Remotely (and automated)

2010-09-16 Thread T o n g
On Sun, 12 Sep 2010 14:31:12 -0400, Hal Vaughan wrote: > . . . someone sent it to me > privately a little while ago. While I like what Rob Owens suggested, > I'm leaning toward this. I think it's possible that I could send up the > minimum information in a file and have the cron job be a Perl s

umount without sync

2010-09-17 Thread T o n g
Hi, I saw that it is a common practice to issue sync several times before umount. I know it's a good practice, but is it really necessary? If I copy a big chuck of file to my USB, then issue umount immediately, will I lost any data? I think Linux will make sure all data are flushed to USB bef

Re: umount without sync

2010-09-17 Thread T o n g
On Fri, 17 Sep 2010 15:32:35 +0300, Timo Juhani Lindfors wrote: > There have been some bugs afaik and a sync has been a workaround. > >> . . . > > You should not lose any data if you wait for umount to succeed afaik. So the "workaround" doesn't hold any more? -- Tong (remove underscore(s) t

[Resolved] badblocks: No such file or directory while trying to determine device size

2010-09-18 Thread T o n g
On Fri, 17 Sep 2010 14:09:22 +, T o n g wrote: >> $ badblocks -p 99 -c 9 -wv /dev/$tdev badblocks: No such file or >> directory while trying to determine device size The keyword here is "newly created" partition. > that was lenny, rebooted into squeeze and all a

I got you. was: My lenny picks the wrong resolution whereas squeeze is right

2010-09-19 Thread T o n g
Hi Stephen, This is to confirm that I've read your message thoroughly and take it seriously. However, I can only get back to you in a day or two. Thanks On Fri, 17 Sep 2010 12:49:32 -0400, Stephen Powell wrote: > OK, I have looked at your files. -- Tong (remove underscore(s) to reply) ht

Re: Viewing Office 2007 files

2010-09-19 Thread T o n g
On Sun, 19 Sep 2010 11:17:19 -0800, Greg Madden wrote: >> > It's so annoying that Ms changes its file format again and people >> > started >> > to jumping ships. I can't view any of the Office 2007 files that >> > people >> > sent me. What's your solution to it (word and excel)? >> > >> > > The be

[Solved] My lenny picks the wrong resolution whereas squeeze is right

2010-09-20 Thread T o n g
Doing a full quote in case somebody doesn't know how to find its parents On Fri, 17 Sep 2010 12:49:32 -0400, Stephen Powell wrote: >> /etc/X11/xorg.conf >> http://paste.debian.net/90057/ >> >> Worked xog log: >> http://paste.debian.net/90058/ >> >> Not working one: >> http://paste.debian.n

Re: Google Inc. Could Be Compliant to the Chinese Government in Beijing, People's Republic of China (PRC)

2010-09-20 Thread T o n g
On Tue, 21 Sep 2010 08:33:43 +0800, Mr. Teo En Ming (Zhang Enming) 张恩鸣 of Singapore wrote: > I don't think it is that easy to hack if you are using SSL connections > and very strong passwords. . . Please keep your discussion focused on the technical issues. Please do not disguise a political dis

directly install RH packages using rpm instead of alien

2010-09-21 Thread T o n g
Hi, We all know that, ,- | On Debian and derived systems it is recommended to use "alien" to | convert RPM packages into .deb format instead of bypassing the Debian | package management system by installing them directly with rpm. `- However, I'm wondering if it OK to install RH packag

Re: Squeeze. What is current hibernation mechanism?

2010-09-22 Thread T o n g
On Thu, 23 Sep 2010 00:00:40 +0400, Mark Goldshtein wrote: > If somebody please to explain current hibernation mechanism in Squeeze? > If there are links to web docs about all this stuff? +1, I want to know that too. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs

Re: Squeeze. What is current hibernation mechanism?

2010-09-22 Thread T o n g
On Wed, 22 Sep 2010 16:23:25 -0400, Wayne Topa wrote: >> 2. Do I need to install an additional util and any way to configure it? >> 3. Something else? >> >> > The answer to your question and more, if you are running Squeeze > already, is already on you system. > > read /usr/share/doc/hibernate/RE

Re: directly install RH packages using rpm instead of alien

2010-09-23 Thread T o n g
On Wed, 22 Sep 2010 04:16:55 +, T o n g wrote: > - There is a complicated installation script (think of being more > complicated than VMWare), and rpm installation is just one of its single > line. > - The only dependencies of the sw is actually JRE, so I'm hope I would >

[Conclusion] tar and --sparse

2010-09-23 Thread T o n g
Hi, Thanks you all for the comments, which make it obligatory for me to explain more. First, why I asked: $ man tar | grep -i sparse -S, --sparse handle sparse files efficiently --sparse-version=MAJOR[.MINOR] set version of the sparse format to use (implies --sp

Squeeze. What is current hibernation mechanism ==> pm-utils

2010-09-23 Thread T o n g
On Thu, 23 Sep 2010 16:11:26 +, Camaleón wrote: > I would recommend reading [ . . . ] So, the Debian-recommended way is (still) "pm-utils". I saw that pm-utils depends on HAL, and thinking that the HAL will soon be the thing in the past, so I went for the other route: hibernate with kernel

To enable the hibernation mechanism

2010-09-24 Thread T o n g
On Fri, 24 Sep 2010 07:45:25 +, Camaleón wrote: > you shouldn't care about the backend used by "gnome-power-manager" . . . > Nowadays "gnome-power-manager" seems to use DBus instad of HAL, though. I build my system from scratch (debootstrap). Ok, let me specify gnome-power-manager and the ac

Re: To enable the power management mechanism

2010-09-24 Thread T o n g
On Fri, 24 Sep 2010 11:37:55 -0600, Javier Vasquez wrote: > I don't have the context of you previous e-mail, so my answer is just > biased by what I use, which is NO desktop environment at all Thanks. I use fluxbox and don't use desktop environment myself as well (my wife does). Thank you for

laptop-mode-tools

2010-09-24 Thread T o n g
On Fri, 24 Sep 2010 16:47:06 -0500, Arthur Machlas wrote: >>> Lots of useful info in there Javier. Also worth mentioning, though it >>> doesn't seem you use it, is laptop-mode-tools. >> >> . . . > > The last time I setup laptopmode-tools under squeeze it is disabled by > default and does nothing

Kvm usermode networking

2010-09-24 Thread T o n g
Hi, How do I use the '-net user' kvm command-line option? According to https://help.ubuntu.com/community/KVM/Networking ,- | By default, if you enable the usermode networking using the '-net | user' command-line option, the guest OS will get an IP address in | the 10.0.2.0/24 address space a

Slow sendmail start up

2010-09-24 Thread T o n g
Hi, There is an extremely long delay when sendmail first start up, right when: Starting Mail Transport Agent (MTA): sendmail The googled answer that I get is to put in startic IP, or use full host name, but this is a live system. Is there any other way to solve it? Moreover, I just can't unde

Re: Slow sendmail start up

2010-09-26 Thread T o n g
On Sat, 25 Sep 2010 14:17:11 +, Camaleón wrote: >> There is an extremely long delay when sendmail first start up, right >> when: >> >> Starting Mail Transport Agent (MTA): sendmail >> >> The googled answer that I get is to put in startic IP, or use full host >> name, but this is a live syst

Re: root can't sudo

2010-09-27 Thread T o n g
On Mon, 27 Sep 2010 20:16:05 -0400, Tom H wrote: >> What could be wrong? > > grep root /etc/sudoers % grep ^root /etc/sudoers root ALL=(ALL) ALL It has always been there. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- T

Re: root can't sudo

2010-09-27 Thread T o n g
On Mon, 27 Sep 2010 22:16:34 -0400, Tom H wrote: > Do you have the "!root_sudo" option set? Nope: $ sudo cat /etc/sudoers | grep root_sudo || echo no no Thank you all the same. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/

[conclusion] root can't sudo

2010-09-27 Thread T o n g
My bad. The failed environment is a linux-live environment that I built myself. When mirroring it to HD, everything works fine. So it's actually the live environment's problem, not sudo's. Thanks again for your comprehensive tips, which I'll garter bellow in case someone else need to troubles

Re: OT Re: root can't sudo

2010-09-28 Thread T o n g
On Tue, 28 Sep 2010 16:14:24 +0200, Alois Mahdal wrote: >>> I dont use sudo, but can you explain me,so I will go to bed with more >>> knowledge, why root would need sudo? >> >> invoking my scripts embedded with sudo as root >> > I'm, not sure what you mean by "embedded" here, so my guess is that y

Re: root can't sudo

2010-09-28 Thread T o n g
On Tue, 28 Sep 2010 09:42:40 -0400, Stephen Powell wrote: > I don't speak for the OP, but my guess is that the OP has a script that > he wants to be able to run either as his non-superuser self or as root. Exactly. Thanks Stephen. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge

emacs: send mail with sendmail

2010-09-28 Thread T o n g
Hi, Having updated emacs to v23.2+1-4, I lost the "send mail (with sendmail)" menu, but get a "send mail (with gnus message)" menu instead. As you might have guessed, it doesn't work for me. $ tail -1 /var/log/mail.log Sep 28 23:00:07 coral sm-msp-queue[5145]: o8SATjAs007592: to=root, ctladd

Re: Provide the default GNOME theme in gnome-core please

2010-09-29 Thread T o n g
On Wed, 29 Sep 2010 13:34:19 +0200, Klistvud wrote: > [OT] Just wondering -- how does Gnome look like with "no theme"? No > desktop, menus, icons, bars at all or what? Honesty, I don't know. I don't actually use Gnome, but fluxbox. I need the theme just get my Gtk apps straight. Wondering how my

Re: Provide the default GNOME theme in gnome-core please

2010-09-29 Thread T o n g
On Wed, 29 Sep 2010 10:20:16 +, Camaleón wrote: > +5 > > I love Clearlooks (and GNOME icon set) and had to download from upstream > GNOME project in order to have it available in Squeeze :-/ FYI, the request has been rejected with - I don’t think it is worth splitting. - need a better rati

Emacs Error: The encoding "nil" is not known

2010-09-29 Thread T o n g
Hi, In order to override whatever my shell environment encoding is, I deliberately set (setq ispell-dictionary "en_CA-wo_accents") so that my emacs spell checking works no matter what. However, the trick ceased to work having updated emacs to v23.2+1-4. Now I get: Starting new Ispell pro

sendmail rejected local connection

2010-09-29 Thread T o n g
Thanks for all the explanations. On Wed, 29 Sep 2010 18:02:05 +0200, Sven Joachim wrote: > In case you want that back, (setq mail-user-agent 'sendmail-user-agent) > does the trick. Can you send mail if you do that? No... OK, so the problem is acutally sendmail. My bad. It seems to me that se

Re: sendmail rejected local connection

2010-09-30 Thread T o n g
On Wed, 29 Sep 2010 18:19:03 +, T o n g wrote: > It seems to me that sendmail is not accepting local smtp connections: because of the sendmail service is not started (this is a new install). update-rc.d sendmail defaults invoke-rc.d sendmail start problem solved. -- Tong (rem

A simple GUI volume control tool for fluxbox

2010-10-01 Thread T o n g
Hi, I do almost everything on command line. Maybe the only GUI tool I need is the sound volume control tool, but I don't have it any more -- I used to use tkmixer. Now that it's obsoleted, I'm yet to find a GUI sound mixer plain and simple enough for me. Just like Gnome/Windows volume control

Re: 'sudo gedit' stopped working [SOLVED]

2010-10-03 Thread T o n g
On Thu, 30 Sep 2010 16:43:20 -0400, Patrick Wiseman wrote: >> I have a menu item, 'sudo gedit', which has worked for years but just >> stopped working (on a current testing system).  . . . > > Sorry to answer my own question - 'gksudo gedit' works (although why > sudo no longer works, I don't kn

Re: question/answer website for user support: shapado.debian.net

2010-10-04 Thread T o n g
On Sun, 03 Oct 2010 21:35:34 +0200, Klistvud wrote: > the application would > transparently integrate the two, sending any new forum post to the > relevant mailing list OMG, I hope that is NEVER possible. Why? Take a look at, or participate in ubuntu forum and you will know why. You'll get endle

Re: A simple GUI volume control tool for fluxbox

2010-10-04 Thread T o n g
On Fri, 01 Oct 2010 21:45:22 +0530, Sridhar M.A. wrote: >> I do almost everything on command line. Maybe the only GUI tool I >> need is the sound volume control tool, but I don't have it any more >> -- I used to use tkmixer. Now that it's obsoleted, I'm yet to find >> a GUI sound m

<    5   6   7   8   9   10   11   >