Re: [PLUG] apt-get /var/lib/dpkg/status issue

2005-05-27 Thread Himanshu K
On Thursday 26 May 2005 14:55, Sumeet Madhukar Moghe wrote:
  > Hi,
  > I run Debian on my notebook. I am facing a peculiar problem. I cant
  > apt-get anymore. Anytime I try something with apt-get, it tells me
  >
  > Reading package lists...Error!
  > E: Dynamic MMap ran out of room
  > E: Dynamic MMap ran out of room
  > E: Error occured while processing kexi-mysql-driver (NewVersion1)
  > E: Problem with MergeList /var/lib/dpkg/status
  > E: The package lists or status file could not be parsed or opened.

First things first: 
Check if you've fried /var/lib/dpkg/status.
I think you should also cp -Rpv /var/lib/dpkg  ~/var-lib-dpkg-backup
It's around 50M for me. BTW, think twice before restoring, esp. if you've 
added/removed packages!

If I remember correctly, apt first pulls the WHOLE package database to memory. 
Just push up the limits; with enough RAM available, it should work.

[And Sumeet, on a personal note, please try not to do this with KDE maxed out 
on eyecandy ;-) Try to do this without a GUI. Or maybe in Fluxbox.]

  > Could someone tell me how to work around this error? I'm at a loss to get
  > this to work.

Create /etc/apt/apt.conf if doesn't exist.
Put in the following:

APT::Cache-Limit ;

 is the upper limit in bytes that apt will try to allocate and use.
Tailor  to suit your requirements. 

hk:)
-- 
The facts expressed here belong to everybody, the opinions to me. The 
distinction is yours to draw...
--
__
Pune GNU/Linux Users Group Mailing List:  (plug-mail@plug.org.in)
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.


[PLUG] Re: kernel compilation

2005-05-27 Thread Ashwin Rao
On 5/26/05, shirish agarwal <[EMAIL PROTECTED]> wrote:
> Hi guys,
>Let me rephrase the question little bit more. When I meant
> any improvements on the CLI side I had assumed couple of things. As
> far as my understanding goes the system treats u'r system as a 386
> box. 

No Do uname -a and the processor and its family will be seen to you

>Now if I've a p4 then all the added registers & any mathematical
> extensions & graphic extensions which 've been hard-coded into the
> processor are of no use when the CLI is running. When I recompile the
> kernel it should take all these into account hence when I'm doing some
> source compiling there should be some kind of benefit. 

You have to select the type or processor/processor family during compilation
Processor specific code is present in the arch subtree of the kernel.

>The other thing
> is also for SATA 150 or PATA 133 there should be some kind of disk
> access improvements. 

Sure if you have chosen the proper parameters

Regards,
Ashwin

--
__
Pune GNU/Linux Users Group Mailing List:  (plug-mail@plug.org.in)
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.


[PLUG] Modifying the output of 'ls'

2005-05-27 Thread Shrinand Javadekar
What I am trying to do is something like this:

For a file, say named 'config', I want to have 2 names for it ,say
'config' and 'donfig'. So when I do an 'ls' on that directory, I
should be able to see 2 files 'config' and 'donfig'

$ ls
config donfig
$

I DO NOT have the liberty of using symlinks. Other changes in the open
syscall to handle 'donfig' as a name will be done later. Rite now I
just want the above mentioned directory listing.

To achieve, I have hooked the getdents64 syscall. The algorithm for my
getdents64 routine is as follows:

1) Call the original getdents64
2) Make a copy the dirent entry of 'config' and in that replace the
name 'config' with 'donfig'; keeping other things the same.

But as you might have guessed correctly, this does not work :((

If I do not change the name to 'donfig', I do see 2 entries for
'config'. But if change any character of the name, the entry is not
seen in the output.
Is there any checksum or anything similar involved?

I am on Fedora Core 1, Kernel 2.4.22

-Shri

--
__
Pune GNU/Linux Users Group Mailing List:  (plug-mail@plug.org.in)
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.


[PLUG] Seminar on Embedded Linux by BLUG

2005-05-27 Thread Amit Karpe
Hello all.
We are glad to announce Seminar on Embedded Linux by BLUG .
Seminar topic will be "Potential for Embedded Linux Applications in our 
Raashtra" by Ashok Saraf .
Date :- 29th May 2005  Sunday .
Time:- 3.00 pm to 5.00 pm 

Note : Due to public demand we are utilizing Sunday which was reserve day.
So that many professionals could attend this seminar.
-- 
Amit.
__
param vaibhavam netum etat swaraashtram
  samrthaa bhavatwaashishaa tebhrusham

   || Bharat Maata Ki Jay ||
--
__
Pune GNU/Linux Users Group Mailing List:  (plug-mail@plug.org.in)
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.


[PLUG] Seminar on Embedded Linux by BLUG

2005-05-27 Thread Amit Karpe
Hello all.
We are glad to announce Seminar on Embedded Linux by BLUG .
Seminar topic will be "Potential for Embedded Linux Applications in our
Raashtra" by Ashok Saraf (IIT-Bombay 1973 Electrical Engineering
).
Date :- 29th May 2005  Sunday .
Time:- 3.00 pm to 5.00 pm

Note : Due to public demand we are utilizing Sunday which was reserve day.
So that many professionals could attend this seminar.
--
Amit.
__
param vaibhavam netum etat swaraashtram
  samrthaa bhavatwaashishaa tebhrusham

   || Bharat Maata Ki Jay ||
--
__
Pune GNU/Linux Users Group Mailing List:  (plug-mail@plug.org.in)
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.


Re: [PLUG] Seminar on Embedded Linux by BLUG

2005-05-27 Thread Aditya Godbole
On 5/28/05, Amit Karpe <[EMAIL PROTECTED]> wrote:
> Hello all.
> We are glad to announce Seminar on Embedded Linux by BLUG .
> Seminar topic will be "Potential for Embedded Linux Applications in our
> Raashtra" by Ashok Saraf .

Ummm ... Ashok Saraf? U sure? ;)

-aditya

--
__
Pune GNU/Linux Users Group Mailing List:  (plug-mail@plug.org.in)
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.


[PLUG] Re: Modifying the output of 'ls'

2005-05-27 Thread Shantanoo
+++ Shrinand Javadekar [PLUG] [27-05-05 13:56 +0530]:
| What I am trying to do is something like this:
| 
| For a file, say named 'config', I want to have 2 names for it ,say
| 'config' and 'donfig'. So when I do an 'ls' on that directory, I
| should be able to see 2 files 'config' and 'donfig'
| 
| $ ls
| config donfig
| $
| 
| I DO NOT have the liberty of using symlinks. Other changes in the open
| syscall to handle 'donfig' as a name will be done later. Rite now I
| just want the above mentioned directory listing.

How about hard link?

Regards,
Shantanoo
--
__
Pune GNU/Linux Users Group Mailing List:  (plug-mail@plug.org.in)
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.


[PLUG] Re: Mail Trasfer Agent Concepts

2005-05-27 Thread Shantanoo
+++ shirish agarwal [PLUG] [25-05-05 21:57 +0530]:
| Hi guys,
|couple of things. Somebody knows a pdf which explains Mail
| Transfer Agent concepts. Another one is which is a simple cli based
| MTA. Home-user learning purposes.

STFW for "smtp rfc". simple cli based MTA? do you want to say MUA?

Regards,
Shantanoo
--
__
Pune GNU/Linux Users Group Mailing List:  (plug-mail@plug.org.in)
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.