Re: how to run a second copy of firefox in a separate address space with no connection to the first?

2017-07-30 Thread rpr //
On 30 July 2017 at 22:05, Curt <cu...@free.fr> wrote:
>
> I'm not quite following here. -no-remote allows you to run multiple
> Firefox instances simultaneously (profile1 and profile2 at the same
> time, let's say). However you cannot open external links in the
> -no-remote instance (link in an email, for example--perhaps that's what
> you mean by "do not want the links automatically opened to open in this
> instance").

Curt, have a look at the following page that explains -no-remote and
other command line options in more detail:
https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options

-- rpr.



Re: Thunderbird 52.2.1 and Enigmail

2017-07-26 Thread rpr //
On 26 July 2017 at 01:47, Daniel Bareiro <daniel-lis...@gmx.net> wrote:

>
> According I see, the Debian Jessie package has the version 1.8.2 for
> Enigmail:
>
> root@orion:~# aptitude show enigmail | grep Versión
> Versión: 2:1.8.2-4~deb8u1
>
> But this version does not seem to be compatible with Thunderbird 52 [1].
> Enigmail 1.8.2 is compatible with Thunderbird 29.0 to 46.0. That's why
> it was running on the previous packaged version of Thunderbird 45.x.
>
>
Daniel, if I were you I would try to uninstall the enigmail package and
then add the newest version of Enigmail addon (v. 1.9.7) directly in
Thunderbird (Tools > Add-ons > Browse all add-ons > find Enigmail > Add to
Thunderbird).

-- rpr.


Debian 8 on HP ProLiant freezes: task * blocked for more than 120 seconds

2017-07-21 Thread rpr //
Hi!

Recently I have installed Debian 8 (jessie) on a HP ProLiant DL360 G4
server (2 x Xeon 3 GHz; RAM 3 GiB ECC DDR 333 MHz; HP Smart Array 6i;
RAID1 72 GB with 2 x 72 GB SCSI Ultra 320 HDD). For some reasons
upgrade to Debian 9 is not an option at the moment.

$ uname -a
Linux myserver 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26)
x86_64 GNU/Linux

After a day or two of uptime the system freezes (network services not
working, users cannot login). On the console I can see kernel messages
as the following:

INFO: task jbd2/cciss!c0d0:297 blocked for more than 120 seconds
  Not tainted 3.16.0-4-amd64 #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
INFO: task jbd2/cciss!c0d0:301 blocked for more than 120 seconds
  Not tainted 3.16.0-4-amd64 #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

The messages repeat a couple of times every 120 sec. Sometimes the
messages also mention other tasks, e.g. kworker, apache2.

As suggested on
https://www.blackmoreops.com/2014/09/22/linux-kernel-panic-issue-fix-hung_task_timeout_secs-blocked-120-seconds-problem/
I tried to add the following in /etc/sysctl.conf

vm.dirty_background_ratio = 5
vm.dirty_ratio = 10

but to no avail.

Memory test did not find any problem with RAM. Testing partitions with
"fsck.ext2 -f -cc" did not show any problems either.

I tried to install newer kernel from jessie-backports:

$ sudo apt install -t jessie-backports linux-image-amd64
...
The following extra packages will be installed:
  linux-base linux-image-4.9.0-0.bpo.3-amd64
...

but then booting stops at "Loading initial ramdisk".

Could someone give any advice on this issue, please?

-- rpr.


Re: Vim config problem in jessie

2014-02-15 Thread rpr nospam
On Sat, 15 Feb 2014 04:05:48 + (UTC), Frank Mile wrote:

 I should have added one more interesting detail.  If I comment out the
 (python) plugin call in /etc/vim/vimrc:
  if has(autocmd)
   filetype plugin indent on
  endif

 then the tabstops work without the manual override.  Having, of course,
 lost all the nice stuff associated with the plugin.  Just to make sure
 I hadn't messed up the plugin I commented-out the 'set ts=4' that I
 had appended to the plugin - no change in its behavior :(

Frank, try this:
$ locate python.vim
/usr/share/vim/vim74/ftplugin/python.vim
/usr/share/vim/vim74/indent/python.vim
/usr/share/vim/vim74/syntax/python.vim

I'd say your issue is caused by the fact that all that three scripts
are loaded when you edit python files.

According to vim help (see :help filetypes) the filetype plugin indent on
command that you have enabled in /etc/vim/vimrc actually means the
following:

- vim tries to detect the type of the file that is edited (e.g. let's
  suppose the file type is my_file_type)
- vim loads the appropriate plugin script:
  /usr/share/vim/vim74/ftplugin/my_file_type.vim
- vim loads the appropriate indent script:
  /usr/share/vim/vim74/indent/my_file_type.vim

Moreover, if the syntax highlighting is enabled in vim (:syntax on)
then the appropriate syntax script is also loaded:
/usr/share/vim/vim74/syntax/my_file_type.vim

In /usr/share/vim/vim74/ftplugin/python.vim I see the following line:
setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8

So, it seems that /usr/share/vim/vim74/ftplugin/python.vim is loaded
last and overrides tabstop value set by other scripts.

--rpr.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAN-5nynMnTDrDrxjv=gUmnRP9984O6L5XUzetaEKruEBo=b...@mail.gmail.com



Re: apt-get remove/purge with regex gives unexpected result

2014-02-13 Thread rpr nospam
On Wed, 12 Feb 2014 18:04:49 +0100 Sven Joachim wrote:

 My interpretation of that paragraph is that apt-get first tries to
 interpret the pattern as a wildcard (see glob(7)) and only tries a
 regular expression match if the glob produces no matches.

Sven, it seems you are right. I tried the following commands:

$ sudo apt-get remove 'libre?f?ice.*'
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libreoffice.org-calc' for regex 'libre?f?ice.*'
Note, selecting 'libreoffice.org-writer' for regex 'libre?f?ice.*'
Package 'libreoffice.org-calc' is not installed, so not removed
Package 'libreoffice.org-writer' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.

$ sudo apt-get remove '^libre?f?ice.*'
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ^libre?f?ice.*
E: Couldn't find any package by regex '^libre?f?ice.*'
E: Couldn't find any package by regex '^libre?f?ice.*'

The first command shows that libre?f?ice.* is treated as a glob
expression as it matched libreoffice.org-calc and
libreoffice.org-writer packages. It that expression ? means
any single character.

The second command shows that ^libre?f?ice.* is treated as a regular
expression which didn't match the said packages because in regular
expressions an atom followed by '?' matches a sequence of 0 or 1
matches of the atom.

I see a bug in the execution of the first command: it reports
  Note, selecting 'libreoffice.org-calc' for regex 'libre?f?ice.*'
but actually it should report
  Note, selecting 'libreoffice.org-calc' for glob expression 'libre?f?ice.*'

Definitely, apt-get manpage should be improved to clarify the usage of
glob expressions by default.

If I were the developer of apt-get I would provide an option for
changing the default treatment of pkg arguments as glob expressions to
regular expressions. It would prevent issues with regular expressions
that can be also valid glob expressions (as shown in my initial post).

-- rpr.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAN-5ny=zHJExhVx3bdsUhkkMD0AXmuBpTs+=l13+hxpbtvf...@mail.gmail.com



apt-get remove/purge with regex gives unexpected result

2014-02-12 Thread rpr nospam
On an installation of Debian GNU/Linux 7.0 with subsequent updates
from testing (Linux 3.12.9-1 amd64) I noticed a strange output while
running apt-get remove or apt-get purge in order to remove/purge
libreoffice packages.

Here are the libreoffice packages:

$ dpkg-query -l 'libreoffice*' | tail -n +6 | gawk '{print $1,$2,$3}'
ii libreoffice 1:4.1.4-2+b1
ii libreoffice-base 1:4.1.4-2+b1
ii libreoffice-base-core 1:4.1.4-2+b1
un libreoffice-bundled none
ii libreoffice-calc 1:4.1.4-2+b1
ii libreoffice-common 1:4.1.4-2
ii libreoffice-core 1:4.1.4-2+b1
un libreoffice-dev none
ii libreoffice-draw 1:4.1.4-2+b1
ii libreoffice-emailmerge 1:4.1.4-2
un libreoffice-evolution none
un libreoffice-filter-binfilter none
un libreoffice-filter-mobiledev none
un libreoffice-gcj none
un libreoffice-gnome none
un libreoffice-grammarcheck none
un libreoffice-gtk none
un libreoffice-help-4.1 none
ii libreoffice-impress 1:4.1.4-2+b1
ii libreoffice-java-common 1:4.1.4-2
un libreoffice-kab none
un libreoffice-kde none
un libreoffice-l10n-3.5 none
un libreoffice-l10n-3.6 none
un libreoffice-l10n-4.1 none
un libreoffice-l10n-en-us none
ii libreoffice-math 1:4.1.4-2+b1
un libreoffice-mysql-connector none
un libreoffice-officebean none
un libreoffice-pdfimport none
un libreoffice-presentation-minimizer none
un libreoffice-presenter-console none
un libreoffice-report-builder none
ii libreoffice-report-builder-bin 1:4.1.4-2+b1
un libreoffice-script-provider-bsh none
un libreoffice-script-provider-js none
un libreoffice-script-provider-python none
un libreoffice-sdbc-postgresql none
un libreoffice-style none
un libreoffice-style-andromeda none
un libreoffice-style-crystal none
un libreoffice-style-default none
ii libreoffice-style-galaxy 1:4.1.4-2
un libreoffice-style-hicontrast none
un libreoffice-style-oxygen none
ii libreoffice-style-tango 1:4.1.4-2
un libreoffice-unbundled none
un libreoffice-wiki-publisher none
ii libreoffice-writer 1:4.1.4-2+b1
un libreoffice-writer2latex none
un libreoffice-writer2xhtml none

In order to uninstall all libreoffice packages I ran the following
apt-get command with a simple regular expression:

$ sudo apt-get remove 'libreoffice.*'
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libreoffice.org-calc' for regex 'libreoffice.*'
Note, selecting 'libreoffice.org-writer' for regex 'libreoffice.*'
Package 'libreoffice.org-calc' is not installed, so not removed
Package 'libreoffice.org-writer' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I'd say this output is unexpected because apt-get does not select
installed libreoffice packages listed by dpkg-query.

But if the regular expression starts with ^ I get the expected result:

$ sudo apt-get remove '^libreoffice.*'
Reading package lists... Done
Building dependency tree
Reading state information... Done
[ many lines deleted ]
The following packages were automatically installed and are no longer required:
  fonts-lyx fonts-opensymbol libboost-date-time1.54.0 libboost-system1.54.0
  libcdr-0.0-0 libclucene-contribs1 libcmis-0.3-3 libexttextcat-2.0-0
  libexttextcat-data libhsqldb1.8.0-java libhyphen0 liblangtag-common
  liblangtag1 libmspub-0.0-0 libmwaw-0.1-1 libmythes-1.2-0 libodfgen-0.0-0
  liborcus-0.6-0 libvisio-0.0-0 libwps-0.2-2 lp-solve uno-libs3 ure
  xfonts-mathml
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  libreoffice libreoffice-base libreoffice-base-core libreoffice-calc
  libreoffice-common libreoffice-core libreoffice-draw libreoffice-emailmerge
  libreoffice-impress libreoffice-java-common libreoffice-math
  libreoffice-report-builder-bin libreoffice-style-galaxy
  libreoffice-style-tango libreoffice-writer python3-uno
0 upgraded, 0 newly installed, 16 to remove and 0 not upgraded.
After this operation, 287 MB disk space will be freed.
Do you want to continue? [Y/n]

After reading apt-get(8) and regex(7) manpages I'd say that using
apt-get with 'libreoffice.*' or '^libreoffice.*' should give the same
result.

$ apt-get --version
apt 0.9.15 for amd64 compiled on Jan 25 2014 22:25:33
Supported modules:
*Ver: Standard .deb
*Pkg:  Debian dpkg interface (Priority 30)
 Pkg:  Debian APT solver interface (Priority -1000)
 S.L: 'deb' Standard Debian binary tree
 S.L: 'deb-src' Standard Debian source tree
 Idx: Debian Source Index
 Idx: Debian Package Index
 Idx: Debian Translation Index
 Idx: Debian dpkg status file
 Idx: EDSP scenario file

$ sudo apt-get check
Reading package lists... Done
Building dependency tree
Reading state information... Done

Any comments?

-- rpr.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAN-5ny=q9xj9gme88uq116bpyh-uehx8woydzf_fecvbjrm...@mail.gmail.com



Re: kernel patch howto

2002-10-23 Thread np rpr


--- Mike Egglestone [EMAIL PROTECTED]
wrote:
 Hi,
 I interested in setting up ipsec/l2tp on my woody
 box.
 I'm unsure how to patch my kernel. Here's what I've
 done so far:
 
 Installed woody with kernel 2.2
 apt-get install kernel-image-2.4.18
 Rebooted back into my new stock 2.4 kernel
 apt-get install kernel-patch-freeswan
 apt-get install kernel-source-2.4.18
 apt-get install kernel-package
 
 This is where I'm not sure what to do next:
 I understand that I have to use make-kpkg somehow
 to create my new custom_kernel.deb in which then I
 can
 install by runnning
 # dpkg -i custom_kernel.deb
 
 However, how do I create my new custom kernel with
 my old .config
 from my stock 2.4.18 kernel? I don't want to lose
 any kernel config settings 
 from the kernel-image-2.4.18.deb that I installed
 originally.
 

do 'cp /boot/config-2- to /linux/.config '
and make oldconfig and amke xconfig and do the setting
required for your patch.

 Secondly, how do I build this new kernel with the
 patches for Freeswan?
 I'm hunting thru the docs as I send the email.
 
 Thanks!
 
 Mike
 
 
 
 
 
 
 -
 This mail sent through IMP: http://horde.org/imp/
 
 
 -- 
 To UNSUBSCRIBE, email to
 [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 


__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: kernel upgrading

2002-10-21 Thread np rpr
Prasad,
Thanks for your reply,
I don't seen any initrd file in /boot yeas
vmlinuz-2.4.19-k6 is there which is obvious. Why
initrd was not installed?

One more thing won't a message craete a new thread.. I
am not sure please correct me.
Thanks,
Nitin

--- Shyamal Prasad [EMAIL PROTECTED]
wrote:
 Shyamal == Shyamal Prasad
 [EMAIL PROTECTED] writes:
 
 np == np rpr [EMAIL PROTECTED] writes:
 np Hi All, I am a new debian user. and am
 trying to upgrade my
 np machine to 2.4.19, I downloaded the image
 and tried deb -i
 np kernel-image.. it told me to add
 initrd=/initrd under vmlinuz,
 np I did that but when I tried lilo.. I got the
 error that initrd
 np doesn't exist. According to the message I am
 supposed to edit
 np /etc/kernel-img.conf.  But I couldn't find
 this file?
 
 Shyamal Some unasked for advice to a new user:
 please start a new
 Shyamal thread when asking for help or changing
 topics. Don't
 Shyamal just reply to an existing message. Some
 of us actually do
 Shyamal use threaded mail/news readers ;-)
 
 Shyamal When you installed your kernel, it was
 probably called
 Shyamal something like kernel-image-2.4.18-k7
 (for example, this
 Shyamal specific name is the one I am using).
 The architecture
 Shyamal specific extension -k7 may or may not
 be there, but the
 Shyamal initrd image has the same naming
 convention as the kernel
 Shyamal deb file name. The initrd file for the
 image above is
 Shyamal /boot/initrd.img-2.4.18-k7.
 
 Shyamal Look in the /boot directory, and use
 the correct name in
 Shyamal /etc/lilo.conf.
 
 Doh! I'm giving bad advice. *Slap*. These Debian
 boxen are *so* stable
 it's been months since I  installed a kernel ;-)
 
 While what I said earlier is correct, the standard
 Debian install will
 link /initrd.img (not the .img at the end) to the
 correct initrd image
 in /boot. So you should check that /initrd.img is a
 link to a file in
 /boot/ that is probably named something like
 /boot/initrd.img-2.4.19-586tsc or whatever.
 
 Unless you messed with lilo.conf or your
 kernel-image .deb is broken,
 this should have actually worked the first time.
 Perhaps you just
 missed the .img at the end?
 
 Cheers!
 Shyamal
 
 
 -- 
 To UNSUBSCRIBE, email to
 [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 


__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]