why can't I delete a file? tipps help
I already tried chattr -i filename but I still can't delete it.. any ideas, why can't I remove a file from my hdd, even when booting with a livecd?
Re: why can't I delete a file? tipps help
# lsattr somefile --- somefile On Tue, Aug 18, 2009 at 4:01 PM, Soren Orel soren.o...@gmail.com wrote: I already tried chattr -i filename but I still can't delete it.. any ideas, why can't I remove a file from my hdd, even when booting with a livecd?
Re: why can't I delete a file? tipps help
permisson denied (13) yes, I have write permission, and the mounted filesystem is also writable On Tue, Aug 18, 2009 at 9:29 PM, Ansgar Burchardt ans...@43-1.org wrote: Hi, Soren Orel soren.o...@gmail.com writes: I already tried chattr -i filename but I still can't delete it.. any ideas, why can't I remove a file from my hdd, even when booting with a livecd? Do you have write permissions in the directory containing the file? What error do you get if you try to remove the file? Regards, Ansgar -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
vsftpd only allow access for a group
How can I do that? I mean to only allow FTP access for a certain group? Like when doing SFTP with openssh-server with Subsystem sftp internal-sftp and using the AllowGroups GROUPNAME, Match Group GROUPNAME, etc in /etc/ssh/sshd_config? thank you
how to generate random negative numbers
I know I could generate numbers like: 0; 1; 2 with: $[ ( $RANDOM % 3 ) + 0 ] But how could I generate numbers like: 0; 1; 2; -1; -2; etc? So negative+positive numbers too + zero thank you
Re: how to generate random negative numbers
u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -26: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -3: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -23: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -2: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -29: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -19: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -13: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -30: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -21: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -14: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -1: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -7: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -26: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -26: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -25: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -5: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -5: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -29: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -3: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -16: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -29: command not found u...@debian:~$ $[ ($RANDOM % 30 ) -30 ] bash: -18: command not found u...@debian:~$ it still doesn't work, and it gives only negative numbers when using e.g.: 30-30 but thank you:) I'm still searching:P On Wed, Aug 12, 2009 at 1:52 PM, Alan Chandler a...@chandlerfamily.org.ukwrote: Soren Orel wrote: I know I could generate numbers like: 0; 1; 2 with: $[ ( $RANDOM % 3 ) + 0 ] But how could I generate numbers like: 0; 1; 2; -1; -2; etc? So negative+positive numbers too + zero thank you $[ ($RANDOM % 5 ) -2 ] ? (I have no idea if I have the bash syntax right) -- Alan Chandler http://www.chandlerfamily.org.uk -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
hot to set pal from ntsc
Hi I connected my Debian Lenny with a tv by an S-video-Scart cable. Ok...I restart X, ALT+CTRL+Backspace I log in, ok, I get screen, but it's just black and white...where are the colors? :D:S Ok..I google...it says I'm maybe having NTSC configured, and I need PAL (I'm in Europe) Ok...how can I change to PAL??? ..because...I have no Xorg.conf!! :O:O:O?? intel X3100 vga:S
Re: hot to set pal from ntsc
# xrandr --output S-video --set TV_FORMAT PAL X Error of failed request: 186 Major opcode of failed request: 156 (RANDR) Minor opcode of failed request: 15 () Serial number of failed request: 17 Current serial number in output stream: 17 :D On Mon, Jul 27, 2009 at 11:51 AM, Soren Orel soren.o...@gmail.com wrote: Hi I connected my Debian Lenny with a tv by an S-video-Scart cable. Ok...I restart X, ALT+CTRL+Backspace I log in, ok, I get screen, but it's just black and white...where are the colors? :D:S Ok..I google...it says I'm maybe having NTSC configured, and I need PAL (I'm in Europe) Ok...how can I change to PAL??? ..because...I have no Xorg.conf!! :O:O:O?? intel X3100 vga:S
normal firefox for debian lenny 64bit?
I tried Swiftfox, because Iceweasel is still 3.0.6. ..but I just can't install it right, because there are always some error messages..like: swiftfox-bin:20493): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64 (swiftfox-bin:20493): Gtk-WARNING **: Error loading theme icon 'gtk-refresh' for stock: Unable to load image-loading module: /usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so: /usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so: cannot open shared object file: No such file or directory and so on. Are there any up-to-date Firefox clone browsers? :D:|
Re: normal firefox for debian lenny 64bit?
Ok, I downloaded: http://packages.debian.org/experimental/iceweasel iceweasel_3.5.1-1_amd64.deb Then: dpkg -i iceweasel_3.5.1-1_amd64.deb (Reading database ... 130618 files and directories currently installed.) Preparing to replace iceweasel 3.5.1-1 (using iceweasel_3.5.1-1_amd64.deb) ... Unpacking replacement iceweasel ... dpkg: dependency problems prevent configuration of iceweasel: iceweasel depends on xulrunner-1.9.1; however: Package xulrunner-1.9.1 is not installed. dpkg: error processing iceweasel (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... Processing triggers for menu ... Errors were encountered while processing: iceweasel Ok, Ok, I download: http://packages.debian.org/experimental/xulrunner-1.9.1 xulrunner-1.9.1_1.9.1.1-1_amd64.deb And: dpkg -i xulrunner-1.9.1_1.9.1.1-1_amd64.deb Selecting previously deselected package xulrunner-1.9.1. (Reading database ... 130618 files and directories currently installed.) Unpacking xulrunner-1.9.1 (from xulrunner-1.9.1_1.9.1.1-1_amd64.deb) ... dpkg: dependency problems prevent configuration of xulrunner-1.9.1: xulrunner-1.9.1 depends on libasound2 ( 1.0.18); however: Version of libasound2 on system is 1.0.16-2. xulrunner-1.9.1 depends on libhunspell-1.2-0 (= 1.2.8); however: Version of libhunspell-1.2-0 on system is 1.2.6-1. xulrunner-1.9.1 depends on libmozjs2d (= 1.9.1); however: Package libmozjs2d is not installed. xulrunner-1.9.1 depends on libnss3-1d (= 3.12.3); however: Version of libnss3-1d on system is 3.12.0-6. xulrunner-1.9.1 depends on libsqlite3-0 (= 3.6.16); however: Version of libsqlite3-0 on system is 3.5.9-6. xulrunner-1.9.1 depends on libstartup-notification0 (= 0.10); however: Version of libstartup-notification0 on system is 0.9-1. dpkg: error processing xulrunner-1.9.1 (--install): dependency problems - leaving unconfigured Errors were encountered while processing: xulrunner-1.9.1 So I must install a trillion dependencies from unstable, to get a normal up-to-date browser under Lenny? just asking...thanks On Tue, Jul 21, 2009 at 2:46 PM, Jonas Meurer jo...@freesources.org wrote: hey, On 21/07/2009 Soren Orel wrote: I tried Swiftfox, because Iceweasel is still 3.0.6. [...] Are there any up-to-date Firefox clone browsers? :D:| yes, iceweasel 3.5.1 is available in experimental: http://packages.debian.org/experimental/iceweasel greetings, jonas -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: normal firefox for debian lenny 64bit?
Lastly, for the real question: why are you on Lenny? Institution mandate? Narrow pipe? Fear of Testing breakage? What do you suggest? Is sid good for a Desktop environment? :O I just want to upgrade e.g.: Iceweasel, because it has a bug, related to adblock plus element hiding helperit's just a little thing, but theres already Firefox _3.5_. (I hope they the bug in that version) On Tue, Jul 21, 2009 at 3:06 PM, Ron Johnson ron.l.john...@cox.net wrote: On 2009-07-21 07:54, Soren Orel wrote: Ok, I downloaded: http://packages.debian.org/experimental/iceweasel iceweasel_3.5.1-1_amd64.deb Then: dpkg -i iceweasel_3.5.1-1_amd64.deb [snip] So I must install a trillion dependencies from unstable, to get a normal up-to-date browser under Lenny? Yes. Running a mixed Lenny/experimental system is a recipe for disaster. I'd deinstall iceweasel and xulrunner, then install the FF binary directly from mozilla.org. Same with OOo3 (though I'd look first try www.go-oo.org), if you want the latest version. Lastly, for the real question: why are you on Lenny? Institution mandate? Narrow pipe? Fear of Testing breakage? -- Scooty Puff, Sr The Doom-Bringer -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: normal firefox for debian lenny 64bit?
thing, but there*'*s already Firefox _3.5_. (I hope they *fixed* the bug in that version) On Tue, Jul 21, 2009 at 3:13 PM, Soren Orel soren.o...@gmail.com wrote: Lastly, for the real question: why are you on Lenny? Institution mandate? Narrow pipe? Fear of Testing breakage? What do you suggest? Is sid good for a Desktop environment? :O I just want to upgrade e.g.: Iceweasel, because it has a bug, related to adblock plus element hiding helperit's just a little thing, but theres already Firefox _3.5_. (I hope they the bug in that version) On Tue, Jul 21, 2009 at 3:06 PM, Ron Johnson ron.l.john...@cox.netwrote: On 2009-07-21 07:54, Soren Orel wrote: Ok, I downloaded: http://packages.debian.org/experimental/iceweasel iceweasel_3.5.1-1_amd64.deb Then: dpkg -i iceweasel_3.5.1-1_amd64.deb [snip] So I must install a trillion dependencies from unstable, to get a normal up-to-date browser under Lenny? Yes. Running a mixed Lenny/experimental system is a recipe for disaster. I'd deinstall iceweasel and xulrunner, then install the FF binary directly from mozilla.org. Same with OOo3 (though I'd look first try www.go-oo.org), if you want the latest version. Lastly, for the real question: why are you on Lenny? Institution mandate? Narrow pipe? Fear of Testing breakage? -- Scooty Puff, Sr The Doom-Bringer -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: normal firefox for debian lenny 64bit?
But where can I download SID?? I just can't find an e.g.: download amd64cd for sid...:( On Tue, Jul 21, 2009 at 3:44 PM, Avi Greenbury avismailinglistacco...@googlemail.com wrote: On Tue, 21 Jul 2009 15:13:55 +0200 Soren Orel soren.o...@gmail.com wrote: Lastly, for the real question: why are you on Lenny? Institution mandate? Narrow pipe? Fear of Testing breakage? What do you suggest? Is sid good for a Desktop environment? :O In general, the Testing (squeeze) or Unstable (sid) branch are suggested for desktop usage, unless you need the stability (in the sense of non-changing) of stable. Personally, I use Sid on my desktop workstations. -- Avi Greenbury http://aviswebsite.co.uk ;) http://aviswebsite.co.uk/asking-questions -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: normal firefox for debian lenny 64bit?
http://www.debian.org/releases/unstable/ But: Please note that security updates for unstable distribution are not managed by the security team. Hence, unstable does not get security updates in a timely manner. For more information please see the Security Team's FAQ. so neither testing has up-to-date security, neither does sid? sorry if i misunderstood On Tue, Jul 21, 2009 at 3:46 PM, Soren Orel soren.o...@gmail.com wrote: But where can I download SID?? I just can't find an e.g.: download amd64cd for sid...:( On Tue, Jul 21, 2009 at 3:44 PM, Avi Greenbury avismailinglistacco...@googlemail.com wrote: On Tue, 21 Jul 2009 15:13:55 +0200 Soren Orel soren.o...@gmail.com wrote: Lastly, for the real question: why are you on Lenny? Institution mandate? Narrow pipe? Fear of Testing breakage? What do you suggest? Is sid good for a Desktop environment? :O In general, the Testing (squeeze) or Unstable (sid) branch are suggested for desktop usage, unless you need the stability (in the sense of non-changing) of stable. Personally, I use Sid on my desktop workstations. -- Avi Greenbury http://aviswebsite.co.uk ;) http://aviswebsite.co.uk/asking-questions -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
boot lvm squeeze
I've downloaded a weekly snapshot about squeeze: http://cdimage.debian.org/cdimage/weekly-builds/amd64/bt-cd/ but I just want to ask, I've heard that I could simply install squeeze, and boot from LVM, does GRUB2 does this? Is it in squeeze by default? (I mean I just can install testing and not have to create a /boot on another partition than the LVM partition?)
Security support for Squeeze delayed
http://wiki.debian.org/DebianSqueeze Is it still actual? thank you
Re: boot lvm squeeze
So I can't have the boot partition in an LVM under squeeze by default, thanks On Mon, Jul 20, 2009 at 4:01 PM, Soren Orel soren.o...@gmail.com wrote: I've downloaded a weekly snapshot about squeeze: http://cdimage.debian.org/cdimage/weekly-builds/amd64/bt-cd/ but I just want to ask, I've heard that I could simply install squeeze, and boot from LVM, does GRUB2 does this? Is it in squeeze by default? (I mean I just can install testing and not have to create a /boot on another partition than the LVM partition?)
Re: Security support for Squeeze delayed
So is Debian Squeeze not up-to-date by security fixes? wow. :S:S On Mon, Jul 20, 2009 at 4:11 PM, Soren Orel soren.o...@gmail.com wrote: http://wiki.debian.org/DebianSqueeze Is it still actual? thank you
Re: kernel compile - Unable to mount root fs
It only brings up this error message on a VirtualBox machine.. :D I tried to compile the vanillia kernel on two other machines, and it worked, booted without error.. :) The VirtualBox machine was only to try, how it works, thank you! On Sun, Jul 19, 2009 at 1:06 PM, Siggy Brentrup deb...@psycho.i21k.dewrote: On Sun, Jul 19, 2009 at 01:13 -0700, Don Quixote de la Mancha wrote: On Sat, Jul 18, 2009 at 5:39 AM, Soren Orelsoren.o...@gmail.com wrote: hmmm.. it works, but I have to hit Ctrl+D at every boot... :D On some of your vmlinux lines in your menu.lst you have the word single. That boots you into single-user mode, that you exit from by hitting Ctrl-D. Remove just the word single and you should be good to go. Don Quixote Lucky Don Quixote :), obviously you never have been hitten by fsck not being able to cope with a broken FS. In such a situation the machine automagically boots into single user mode. Maybe it should be made clearer that you're at your own risk when hitting C-d. I'd never do that on a production box or when the FS contains valuable data. Siggy -- Please don't cc: me when replying on the list. bsb-at-psycho-dot-informationsanarchistik-dot-de or:bsb-at-psycho-dot-i21k-dot-de -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkpi/ksACgkQ94B/SGO8KQfxfgCfY+eQXjZOb9cpLslPyUNxzzbJ vdQAn1HSWhJ7Rx5jAHlNk2IFXxJVa9Jw =Finx -END PGP SIGNATURE-
Re: kernel compile - Unable to mount root fs
it works! I just forget: cp arch/x86/boot/bzImage /boot/vmlinuz-2.6.30-1 and: mkinitramfs -o /boot/initrd.img-2.6.30-1 2.6.30.1 and to edit grub: title kernel 2.6.30.1-barminev root (hd0,1) kernel /vmlinuz-2.6.30-1 root=/dev/hda2 ro initrd /initrd.img-2.6.30-1 thank you!!! alias köszi! :D On Sat, Jul 18, 2009 at 10:01 AM, Aioanei Rares debian.dev.l...@gmail.comwrote: mkinitrd is a standard command on all linux systems, so you can check its manual page. Maybe man update-initramfs can help too. Best of luck. On 7/17/09, Don Quixote de la Mancha quix...@dulcineatech.com wrote: In your Grub menu.lst file, there are some lines that look like this one: initrd /initrd.img-2.6.26-2-686 You need a line like that just below the item for the kernel you're trying to boot, except that you want the initrd version to match the new kernel version. initrd stands for Initial RAM Disk. It's a compressed archive that contains the contents of a small initial root filesystem, with just enough in it to to load the modules you're going to need to mount your root filesystem. In particular it needs to have the modules for your lvm and any RAID controllers. I've never made an initrd on Debian, but on Fedora the command is mkinitrd. Don Quixote -- Don Quixote de la Mancha quix...@dulcineatech.com http://www.dulcineatech.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
does find has feature to find several names
so that I don't have to write this: find . -type f -name *.sh -o -name *.html is there a find . -type f -name *.sh|*.html method? :D:D thank you
Re: does find has feature to find several names
thank you, but i don't need regex, I'm just searching, that is there a shorter way in the find command to search for e.g.: two filenames find . -type f -name *.sh -o -name *.html so that I don't have to write -o -name at every time :D:P On Sat, Jul 18, 2009 at 12:08 PM, Siggy Brentrup deb...@psycho.i21k.dewrote: On Sat, Jul 18, 2009 at 12:00 +0200, Soren Orel wrote: so that I don't have to write this: find . -type f -name *.sh -o -name *.html is there a find . -type f -name *.sh|*.html man 1 find look for -regex hth Siggy -- Please don't cc: me when replying on the list. bsb-at-psycho-dot-informationsanarchistik-dot-de or:bsb-at-psycho-dot-i21k-dot-de -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkphnxQACgkQ94B/SGO8KQdMSACg05TkYwrTAOMJ6VSqauTlLN3U 3I8An0jlpDdodMlgNpjjKrN5djauoixH =pfUz -END PGP SIGNATURE-
Re: kernel compile - Unable to mount root fs
hmmm.. it works, but I have to hit Ctrl+D at every boot... :D http://img149.imageshack.us/img149/5726/screenshotual.png On Sat, Jul 18, 2009 at 12:00 PM, Siggy Brentrup deb...@psycho.i21k.dewrote: Sorry that I didn't see this thread earlier. On Sat, Jul 18, 2009 at 11:17 +0200, Soren Orel wrote: it works! I just forget: cp arch/x86/boot/bzImage /boot/vmlinuz-2.6.30-1 and: mkinitramfs -o /boot/initrd.img-2.6.30-1 2.6.30.1 % apt-get install kernel-package % man make-kpkg might have been useful. IIRC this has been written in order not to forget crucial steps after once bitten. Regs Siggy -- Please don't cc: me when replying on the list. bsb-at-psycho-dot-informationsanarchistik-dot-de or:bsb-at-psycho-dot-i21k-dot-de -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkphnUoACgkQ94B/SGO8KQe2NQCgw4DTfS2iNHrzkbVjRhZftSOj QrYAn13qZ/fsIDhdYJyxWeBPlhz1y8FN =ACkV -END PGP SIGNATURE-
kernel compile - Unable to mount root fs
debian lenny I download 2.6.30-1 source tar -xjf linux-2.6.30.1.tar.bz2 cd linux-2.6.30.1 cp /boot/config-2.6.26-2-686 ./.config apt-get install make gcc libncurses5-dev make menuconfig (replace M to *): Device Drivers - Multiple device support (RAID and LVM) - Device mapper support File systems - Ext3 journalling file system support time make -j2 make modules_install install update-grub then...reboot... VFS: Unable to mount root fs on What am I missing? I still have to make more modules to built-ins? thank you... :\
Re: kernel compile - Unable to mount root fs
trying in single mode: http://img514.imageshack.us/img514/7868/screenshotsrf.png trying in normal mode: http://img219.imageshack.us/img219/6290/screenshot1u.png I forget to tell, that this pc uses lvm :S On Fri, Jul 17, 2009 at 8:59 PM, Aioanei Rares debian.dev.l...@gmail.comwrote: Soren Orel wrote: debian lenny I download 2.6.30-1 source tar -xjf linux-2.6.30.1.tar.bz2 cd linux-2.6.30.1 cp /boot/config-2.6.26-2-686 ./.config apt-get install make gcc libncurses5-dev make menuconfig (replace M to *): Device Drivers - Multiple device support (RAID and LVM) - Device mapper support File systems - Ext3 journalling file system support time make -j2 make modules_install install update-grub then...reboot... VFS: Unable to mount root fs on What am I missing? I still have to make more modules to built-ins? thank you... :\ Did grub made an entry in its menu allowing you to boot in single mode? Try that please and report back. I've had the same problem a while ago on testing/unstable.
Re: kernel compile - Unable to mount root fs
thank you for the quick replies :O I just only did, what I mentioned in the starting mail:S ls -la /boot: http://pastebin.com/f7dc58737 cat /boot/grub/menu.lst http://pastebin.com/f566152fc On Fri, Jul 17, 2009 at 9:11 PM, Don Quixote de la Mancha quix...@dulcineatech.com wrote: Did you build and install your initrd? You might need to load a module to mount your root filesystem, and if so it should be in the initrd. The initrd also needs to be named in your grub entry. It's not enough just to build and install the module, because those are accessible only after your root fs is mounted! -- Don Quixote de la Mancha quix...@dulcineatech.com http://www.dulcineatech.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
how to sed every char
I can sed all the a-b-c-d-e, etc chars like this: sed s//[a-z]/g but how can I sed all the chars? (numbers, letters, special char) thank you regards, soren
iceweasel 3.5?
When will Iceweasel 3.5 come to Debian Lenny? :P I hope this bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525938 is fixed in Iceweasel 3.5, because with 3.0.6, (up-to-date Lenny) the https://addons.mozilla.org/hu/firefox/addon/4364 is still not working properly :(
Re: iceweasel 3.5?
http://glandium.org/blog/?p=361 On Wed, Jul 1, 2009 at 2:49 PM, Soren Orel soren.o...@gmail.com wrote: When will Iceweasel 3.5 come to Debian Lenny? :P I hope this bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525938 is fixed in Iceweasel 3.5, because with 3.0.6, (up-to-date Lenny) the https://addons.mozilla.org/hu/firefox/addon/4364 is still not working properly :(
Re: iceweasel 3.5?
I download it from http://packages.debian.org/sid/iceweasel but the bug still exists :D :) On Wed, Jul 1, 2009 at 2:49 PM, Soren Orel soren.o...@gmail.com wrote: When will Iceweasel 3.5 come to Debian Lenny? :P I hope this bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525938 is fixed in Iceweasel 3.5, because with 3.0.6, (up-to-date Lenny) the https://addons.mozilla.org/hu/firefox/addon/4364 is still not working properly :(
how to grep error messages
I can /dev/null the error messages like: cd $1 2 /dev/null e.g.: I get error If $1 has spaces in it Ok, but how can I grep the error message? I tried: if cd $1 2 grep -i No such file or directory; then echo badbadbad; exit; fi But it doesn't work :S thank you!
Re: how to grep error messages
$ sh script.sh /home/user/Desktop/some existing dir with spaces script.sh: line 2: cd: /home/gbor/Desktop/some: No such file or directory script.sh: line 2: [: -ne: unary operator expected $ cat script.sh #!/bin/bash if [ $(cd $1) -ne 0 ] then echo badbadbad ; exit 1 fi I just want to make my script: http://groups.google.com/group/ubuntu-users-archive/browse_thread/thread/117d54b69cd92a71/e8e03d8824b9323e?show_docid=e8e03d8824b9323epli=1# more user secure :D:S thats why I'm searching for a method to warn the user, if it had started my script with a bad path, e.g.: doesn't wrote escape char before space, or put quote around the path, like: /home/user/Desktop/some existing dir with spaces thanks :P:) On Sun, Jun 28, 2009 at 11:39 AM, Soren Orel soren.o...@gmail.com wrote: I can /dev/null the error messages like: cd $1 2 /dev/null e.g.: I get error If $1 has spaces in it Ok, but how can I grep the error message? I tried: if cd $1 2 grep -i No such file or directory; then echo badbadbad; exit; fi But it doesn't work :S thank you!
Re: how to grep error messages
final solution: if ! cd $1; then echo error; exit 1; fi thank you!
slow when copying
..soo I use Debian Lenny with GNOME. Sometimes I backup my data on my laptop to a USB HDD. But when I copy the data to the USB HDD, GNOME slows down, very slow, I mean it sometimes just freezes for seconds :S Can I give a priority for the copy, so that I could use my PC when I'm backing up my files? Right now, I'm copying in midnight commander. thank you! p.s.: I wrote this in vim (after logging in at ALT+CTRL+F2), because GNOME became so slow, it's faster this way :D (still copying..)
wget directories
I want to download files, that are in a list. e.g.: cat list.txt http://mysite.com/xyz.txt http://mysite.com/somedir/something http://mysite.com/anotherdir/something2 Ok, I can do wget -i like the man wget says. But it only downloads the files, and doesn't creates the directories. So I can download the files by list, but I want to get them in their correct directories. I read the man wget, and find: -I but: wget -Ii list.txt it downloads an html file. wget -I wget: missing URL I'm still searching :S I would thank you, if someone has tips, how can I parameter wget to download the files and putting them in their correct dirs.
Re: wget directories
Thank you!! It really works! thanks
what happened to ftp.de.debian.org
Doesn anybody know? I mean it was down for a few hours. Just asking!! :P Hardware upgrade? :) Thank you!