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

[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

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

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: 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

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: [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

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: 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

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

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

unknown skype traffic

2010-09-09 Thread T o n g
Hi, Disclaim: I installed skype just recently because I have to use skype for work instead of pleasure. I notice a strange 15K inbound and 15K outbound traffic just now (they should both be zero normally). iftop shows connections from sites that I never know before. netstat reveals that all

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"

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: 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

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
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

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

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

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

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

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: 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

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,

[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: 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

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: 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

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: 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

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: 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

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: 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

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: 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

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-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

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

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-22 Thread T o n g
On Sun, 22 Aug 2010 14:34:29 -0500, Boyd Stephen Smith Jr. wrote: >>- The host that I'm trying to connect to is my test machine, 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. > > I highly doubt it. Found the solution:

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

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-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

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-

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: 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

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: 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

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

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/ --

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

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

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

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

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

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

[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)

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

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: 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,

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

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

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

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.

Please help me test aufs

2010-07-16 Thread T o n g
Hi, The aufs is supposed to be able to unify several directories and provide a merged single directory. but I found it doesn't work for me any more. If you have aufs enabled in your system, please help me test the following command and post back your result: mkdir /tmp/rw /tmp/aufs mount -t

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

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

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: 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/

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

2010-07-13 Thread T o n g
Hi, 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/main Packages 404 OK What's wrong? How should I fix it? Here is d

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

2010-07-13 Thread T o n g
On Tue, 13 Jul 2010 20:20:15 +, Liam O'Toole wrote: >> I want to find a way to setup my laptop so that it use my local caching >> server at home, yet easily to switch to direct connection when >> elsewhere. >> >> > apt-get and aptitude respect the environment variables http_proxy and > ftp_pro

Photo time are wrong

2010-07-13 Thread T o n g
Hi, I use to get correct file time for my photos from my digital camera. But recently they are all wrong now, shifting by about 3 hours. The camera is the same. Something get changed on Debian side? How can I fix it? (photos are from mounted SD card via SD card reader). Thanks -- Tong (remo

Re: remark from dd

2010-06-30 Thread T o n g
On Wed, 30 Jun 2010 10:07:22 -0700, peasthope wrote: > Given > r...@dalton:/home/peter# dd if=disk2 of=/dev/fd0 bs=36k > dd: writing `/dev/fd0': No space left on device > 41+0 records in > 40+0 records out > 1474560 bytes (1.5 MB) copied, 40.9183 s, 36.0 kB/s > r...@dalton:

Re: The empty primary partition, where should it be

2010-06-29 Thread T o n g
On Tue, 29 Jun 2010 22:41:22 +, T o n g wrote: > On Wed, 30 Jun 2010 00:38:09 +0200, Klistvud wrote: > >> By Empty, do you mean: >> a) unpartitioned space >> b) zero-length partition >> c) partition with no filesystem (unformatted) or d) none of the above? &

Re: FW: python 2.6 migrated to testing

2010-06-29 Thread T o n g
On Tue, 29 Jun 2010 23:28:20 +0300, Andrei Popescu wrote: > JFYI Thanks a lot. As a normal user who doesn't following any of the development mlist, I really appreciate such FYI forwardings. Just hoping that all such changes that will affect/influence end users will get forwarded here as wel

Re: gpart can retire now

2010-06-29 Thread T o n g
On Mon, 28 Jun 2010 22:39:14 -0700, Mark wrote: >> It sounds like a good time to stop using "Windows apps". >> >> > Especially naughty runaway Windows apps that wipe partition tables. Honestly, all I did was just to close the lid of my laptop and went to sleep. Next morning, I found my laptop wi

The empty primary partition, where should it be

2010-06-29 Thread T o n g
Hi, Do you have empty primary partitions? Have you noticed where they are? When leaving an empty primary partition, I'm thinking: /dev/hda1 Primary /dev/hda2 Primary /dev/hda3 Empty /dev/hda4 Extended /dev/hda5 Logical but what I found most existing partitions look like this: /dev/hda1 Primary

Re: gpart can retire now

2010-06-28 Thread T o n g
On Mon, 28 Jun 2010 07:36:16 -0500, Ron Johnson wrote: > You must file a bug against it stating your assertion and your > reasoning. Ok, will do -- wasn't sure if I should report to WNPP or something else... -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http:

Re: gpart can retire now

2010-06-27 Thread T o n g
On Sun, 27 Jun 2010 15:37:31 -0800, Greg Madden wrote: >> quick scan > > An old fashioned, but still reliable method , cli: not gui > ... > I have recovered deleted partitions this way ,never had to do a whole > hard drive. > > I found this that has more detail: > http://www.faqs.org/docs/Linux-

grub2 and USB

2010-06-27 Thread T o n g
Hi, Anybody knows if grub2 allows me to boot partitions from USB? If so, that'd be useful to boot from boxes that don't have booting off USB disks ability. Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUB

gpart can retire now

2010-06-27 Thread T o n g
Hi, [sorry about the cross-posting first] The gpart package that find lost partitions, has anyone try to test if it still works? "Luckily" my whole partition table is wiped clean by a running away Windows app, and I get the chance to test it. The result? -- After 1 hour and 25+ minutes of scan

Re: 32bits and 3G memory limit

2010-06-21 Thread T o n g
Thanks everyone who replied, On Sun, 20 Jun 2010 17:26:08 +, Camaleón wrote: >> I mean, does 32bits Linux (the i386 architecture) has such 3G limit as >> well? > > No, 32 bits architecture can make use of PAE and add/use/address as much > as 64 GiB of RAM. > > http://en.wikipedia.org/wiki/P

32bits and 3G memory limit

2010-06-20 Thread T o n g
Hi, Sorry if it is a FAQ, Is the 3G memory access limit is the natural one, or something superficial imposed by M$? I mean, does 32bits Linux (the i386 architecture) has such 3G limit as well? thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xp

Re: cp: backup version control

2010-06-18 Thread T o n g
On Sat, 19 Jun 2010 10:20:09 +0800, Huang, Tao wrote: > here's a set of examples 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 with a subject

cp: backup version control

2010-06-18 Thread T o n g
Hi, >From 'man cp': ,- | The backup suffix is `~', unless set with --suffix or SIM- | PLE_BACKUP_SUFFIX. The version control method may be | selected via the --backup option or through the | VERSION_CONTROL environment variable. `- However, I found that the VERSION_CONTROL environment v

Re: git: Interactive rebase already started

2010-06-08 Thread T o n g
On Mon, 07 Jun 2010 13:17:37 -0500, Boyd Stephen Smith Jr. wrote: >> I mean, how can I fix the problem? > > (git rebase --abort), Yep, works great! > This isn't really a Git support group. You may have better luck asking > such questions on the Git mailing list. No need to subscribe, since

git: Interactive rebase already started

2010-06-07 Thread T o n g
Hi, What should I do if encountered the "Interactive rebase already started" situation? I did: $ git checkout -b t/unmount Switched to a new branch 't/unmount' # hack grml-debootstrap $ git rebase -i origin/master Waiting for Emacs... Cannot 'squash' without a previous commit But

git working tree is dirty

2010-06-06 Thread T o n g
Hi, I get "Working tree is dirty" error when using git. Details at http://paste.grml.org/7/ How can I fix it? 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

debootstrap failed

2010-06-05 Thread T o n g
Hi, I was able to use debootstrap before, but recent tests always fail -- trial logs at: http://paste.debian.net/76281/ http://paste.debian.net/76285/ In brief, a vanilla debootstrap session rm -rf /mnt/os12/* debootstrap --arch amd64 sid /mnt/os12 http://cdn.debian.net/debian/ will fail fo

Re: ext2 empty

2010-05-31 Thread T o n g
On Mon, 31 May 2010 18:18:47 +, T o n g wrote: > I came across a tool called something like "ext2 empty" but forgot where > it is now. Primarily, it zero out all unused spaces in ext2 fs, so that > the unused spaces won't take up much spaces when compressed. zerofree

ext2 empty

2010-05-31 Thread T o n g
Hi, I came across a tool called something like "ext2 empty" but forgot where it is now. Primarily, it zero out all unused spaces in ext2 fs, so that the unused spaces won't take up much spaces when compressed. Any hint? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge

date bug?

2010-05-31 Thread T o n g
Hi, Please take a look at the following, do you think it is bug of date? $ date Mon May 31 13:26:13 EDT 2010 $ date --date='1 month ago' Sat May 1 13:24:20 EDT 2010 $ date --date='last month' Sat May 1 11:09:21 EDT 2010 $ date --date='-1 month' Sat May 1 13:26:49 EDT 2010 All above should

Conclusion: Creating a DOS floppy disk image

2010-05-30 Thread T o n g
On Sun, 30 May 2010 09:45:12 +0200, Sven Joachim wrote: >> How can I make a DOS floppy disk image under Linux? > > $ dd if=/dev/zero of=floppy-image bs=1440k count=1 > $ /sbin/mkdosfs floppy-image > > You need the dosfstools package for the latter command. Thanks Sven, and every who replied as

Creating a (bootable) DOS floppy disk image

2010-05-29 Thread T o n g
Hi, How can I make a DOS floppy disk image under Linux? [OT] Moreover, my experience with DOS was back in stone age when you use sys A: to make it boot-able. Now with Win NT/XP etc, I hear that merely copying ntldr, ntdetect.com and boot.ini into it will make it boot-able. Anybody know if i

Re: ~/.xsession-errors file grows way too big

2010-05-20 Thread T o n g
On Wed, 19 May 2010 11:33:02 -0500, Boyd Stephen Smith Jr. wrote: >> I took a look, the reason and cure is very simple -- having X to trunk >> it each time when started >> (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=287876) whereas >> currently, my ~/.xsession-errors kept logs back to stone

~/.xsession-errors file grows way too big

2010-05-19 Thread T o n g
Hi, I am astonished to find out that my ~/.xsession-errors grows to a humongous 640M! My wife's is nearly 400M as well. This is way way too big. I took a look, the reason and cure is very simple -- having X to trunk it each time when started (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=

Re: no alternatives for firefox/mozilla

2010-05-07 Thread T o n g
On Fri, 07 May 2010 07:41:44 +0200, Sven Joachim wrote: >> whatever in Debian, but entirely stopping me from starting firefox is >> something I don't feel comfortable. > > This is a feeling that many other users share, and therefore… > >> $ apt-cache policy iceweasel >> iceweasel: >> Installed

Re: no alternatives for firefox/mozilla

2010-05-06 Thread T o n g
On Fri, 07 May 2010 03:20:07 +, T o n g wrote: > Having upgraded iceweasel, I am no longer able to call firefox or > mozilla from command line any more. I don't mind firefox is called > iceweasel or whatever in Debian, but entirely stopping me from starting > firefox is somet

no alternatives for firefox/mozilla

2010-05-06 Thread T o n g
Hi, Having upgraded iceweasel, I am no longer able to call firefox or mozilla from command line any more. I don't mind firefox is called iceweasel or whatever in Debian, but entirely stopping me from starting firefox is something I don't feel comfortable. Please comment. PS: $ apt-cache pol

<    1   2   3   4   5   6   7   >