Re: [ILUG-Cochin.org] PAUSE/RESUME apt-get dist-upgrade

2009-12-08 Thread Mahesh Aravind
Jos,

--- On Mon, 12/7/09, Jos Collin, ILUG  wrote:

> On Mon, 7 Dec 2009 17:28:49 +0530
> hari krishnan 
> wrote:
> 
> > Usually it resume from where you leave it.
> > 
> > you may check this folder
> /var/cache/apt/archives/partial
> 
> apt-get dist-upgrade has two parts. First is the package
> downloading
> and second is installation. For me, it resumes if I
> complete the

True that APT has 2 parts, 1st part downloads the requested and dependencies, 
and 2nd part installs it.

>From what I understood from manuals, you selected to install X and Y, and X 
>depends on Z. APT downloads, X, Z, and Y. Net gets disconnected when you 
>download Y.

When you resume APT, having found X in cache, and its dependency one Z, 
proceeds to install X and Z. And THEN, goes ahead to pull back Y where it cut 
off.


> downloading. If I abort in between downloading and start
> again then it
> will start the downloading from zero percentage.

Maybe this action is different in dist-upgrade. Then why isn't there so many 
queries posted online?

http://brainstorm.ubuntu.com/idea/14931/

Another reason would be.. you have already DL'd X to your system, APT pulls in 
Z too. In between, you get disconnected. APT searches the repo to see Z 
depending on X with updated timestamp. APT proceeds to pull in BOTH X and Z. 
Download starts from 0%.

Would this be the problem?
 
APT docs say, when resumed, it INSTALLS whatever is downloaded (satisfying the 
dependencies), and THEN proceed to download further 'marked install' packages.

So you would see downloads start from 0%.

What all does google return?

-
God grant us the serenity to accept the things we cannot change, courage to 
change the things we can, and wisdom to know the difference.

Registered Linux user #371671 -- http://maravind.blogspot.com/



  

___
Indian Libre User Group Cochin Mailing List
http://www.ilug-cochin.org/mailing-list/
http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
#ilugko...@irc.freenode.net


Re: [ILUG-Cochin.org] PAUSE/RESUME apt-get dist-upgrade

2009-12-08 Thread A. Mani
On Tue, Dec 8, 2009 at 9:29 AM, Jos Collin, ILUG  wrote:
> On Tue, 8 Dec 2009 03:04:56 +0530
> "A. Mani"  wrote:
>
>> /var/cache/apt/archives
>>
>> The trick is to move the contents to some other place and put it back
>> again at the right time... not at the start
>
> What do you mean by "right time"?
>
> I think there is no proper way to do the pause/resume. Also there is no
> way to resume downloading from the middle of a partially downloaded .deb
> file.

I have done this in a version of kubuntu:

1. start dist upgrade (the graphical tool)
2. stop it in the middle of download
3. copy the contents of /var/cache/apt/archives to some other place.
4. shutdown

5. Boot later
6. start dist upgrade after whatever cleanup is necessary (lock files
may need to be deleted by superuser)
7. Initially /var/cache/apt/archives will be emptied by upgrade tool
8. let upgrade tool start the download.
9. pause, move back the archives and resume

Best

A. Mani


-- 
A. Mani
ASL, CLC,  AMS, CMS
http://www.logicamani.co.cc

___
Indian Libre User Group Cochin Mailing List
http://www.ilug-cochin.org/mailing-list/
http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
#ilugko...@irc.freenode.net


Re: [ILUG-Cochin.org] PAUSE/RESUME apt-get dist-upgrade

2009-12-08 Thread A. Mani
On Tue, Dec 8, 2009 at 5:51 PM, A. Mani  wrote:
> On Tue, Dec 8, 2009 at 9:29 AM, Jos Collin, ILUG  wrote:
>> What do you mean by "right time"?
>>
>> I think there is no proper way to do the pause/resume. Also there is no
>> way to resume downloading from the middle of a partially downloaded .deb
>> file.
>
> I have done this in a version of kubuntu:
>
> 1. start dist upgrade (the graphical tool)
> 2. stop it in the middle of download
> 3. copy the contents of /var/cache/apt/archives to some other place.
> 4. shutdown
>
> 5. Boot later
> 6. start dist upgrade after whatever cleanup is necessary (lock files
> may need to be deleted by superuser)
> 7. Initially /var/cache/apt/archives will be emptied by upgrade tool
> 8. let upgrade tool start the download.
> 9. pause, move back the archives and resume
>


Addendum: You will need to be clearer about the directories ( ...
can't remember)


-- 
A. Mani
ASL, CLC,  AMS, CMS
http://www.logicamani.co.cc

___
Indian Libre User Group Cochin Mailing List
http://www.ilug-cochin.org/mailing-list/
http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
#ilugko...@irc.freenode.net


Re: [ILUG-Cochin.org] PAUSE/RESUME apt-get dist-upgrade

2009-12-08 Thread Mahesh Aravind
--- On Tue, 12/8/09, A. Mani  wrote:

> 7. Initially /var/cache/apt/archives will be emptied by
> upgrade tool
> 8. let upgrade tool start the download.
> 9. pause, move back the archives and resume
> 

This is not what APT docs say. Maybe graphical tools flush the cache before 
attempting to download new packages. Maybe I'm wrong. Please correct me on this 
one.

Also, graphical tools like Synaptic does not allow to mark, and then exit the 
tool before going ahead with the operation. In aptitude, you can mark 
install/uninstall/hold, exit the tool, and come back later to proceed with 
operation.


-
God grant us the serenity to accept the things we cannot change, courage to 
change the things we can, and wisdom to know the difference.

Registered Linux user #371671 -- http://maravind.blogspot.com/



  

___
Indian Libre User Group Cochin Mailing List
http://www.ilug-cochin.org/mailing-list/
http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
#ilugko...@irc.freenode.net


Re: [ILUG-Cochin.org] gnokii

2009-12-08 Thread Vishnu Viswanath
i dunno ..the issue got resolved all of a sudden...
thank you guys newaz for the feedback

On Mon, Dec 7, 2009 at 12:36 AM, Binod  wrote:

> Hi
> Is gnokii identifing the fone?? >> gnokii --identify
> What model hav u put in the config file??
>
> Post the error .Let me see if i can help u.
>
> --
> Best Regards
> Binodc
> http://binodc.net
>
> ___
> Indian Libre User Group Cochin Mailing List
> http://www.ilug-cochin.org/mailing-list/
> http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
> #ilugko...@irc.freenode.net
>



-- 
iN mEtaL wE TrUsT
___
Indian Libre User Group Cochin Mailing List
http://www.ilug-cochin.org/mailing-list/
http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
#ilugko...@irc.freenode.net

[ILUG-Cochin.org] Cluster file system

2009-12-08 Thread unni krishnan
Hi,

I am currently working on a high availability setup with heartbeat +
pacemaker + drbd + ocfs2

For ocsf2 I have lot of doubts since I am new to cluster file systems.
Is there anyone who already worked/researched in cluster file systems
like ocfs2 or gfs, so that I can talk directly.

Its not possible to ask it through this list, because there are bunch
of doubts :-)


-- 
Regards,
Unni

___
Indian Libre User Group Cochin Mailing List
http://www.ilug-cochin.org/mailing-list/
http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
#ilugko...@irc.freenode.net


[ILUG-Cochin.org] Fwd: [fsug-tvm] Violation of IT Policy - Kerala, India.

2009-12-08 Thread Jaisen Nedumpala
-- Forwarded message --
From: Jaisen Nedumpala 
Date: 2009/12/8
Subject: Fwd: [fsug-tvm] Violation of IT Policy - Kerala, India.
To: OSGeo Discussions 
Cc: osgeo_disc...@wgrass.media.osaka-cu.ac.jp


Hi,

The Kerala State IT Mission is going for proprietary softwares,
against the IT policy of the hon'ble Government of Kerala. Current IT
Policy of the state, is accessible here:

http://www.kerala.gov.in/annualprofile/it_07.pdf

In order to set up a child organization named KSDI ( Kerala State
Spatial Data Infrastructure ), the Kerala State IT Mission need closed
source proprietary software, clearly violating or ignoring the
sections 2.10,  6.7,  7.6,  8.2, and 13.1.3.b, in the IT policy of the
government, in which the IT Mission is only a fraction of.

The request for proposals released by the Kerala State IT Mission can
be accessed in the link:

http://www.itmission.kerala.gov.in/index.php?option=com_docman&task=doc_download&gid=247&Itemid=63

Again, the attempt by KSITM is against the essence of the "Policy on
Open Standards for e-Governance" (still in draft stage), by the Govt.
of India, which is accessible here:

http://cots.nic.in/cots.tar.gz

We the free software community of Kerala are going to bring out the
matter in to the attention of the Hon'ble chief minister of Kerala.

We request solidarity from the OSGeo community on our efforts on the issue.

CC-ed to OSGeo India mailing list also.

Freedom matters.


-- Forwarded message --
From: Ashik S 
Date: 2009/12/8
Subject: Re: [fsug-tvm] Violation of IT Policy
To: ilug-...@googlegroups.com


Hi all

The tender expires tomorrow so inorder that the CM might take some action, I
sent the letter via registered post as well as email today morning itself. The
following were the contents.  I thank everyone for pitching in with ideas, a
translation and edits to the original letter.

"We, the Free Software Community in Thiruvananthapuram, understand that the
Kerala State IT Mission is setting up a new organization called KSDI ( Kerala
State Spatial Data Infrastructure ). They have put up a Request for Proposals
(RFP), on the IT Mission's website, for selection of total solution providers
for setting up a Geoportal and Clearinghouse for the Kerala State Spatial Data
Infrastructure (KSDI). The tender document available for download in the above
link describes an infrastructure that could be completely supported by Free
and Open Source Software, but it calls for using proprietary solutions. The
state's IT Policy mandates the use of Free Software for government agencies
and the tender document is a blatant violation of this policy.

Specific points that we wish to point out:

   1. A clear violation in the stated IT policy : The tender document
specifically calls for the purchase of proprietary software (pages 109-110)
like

       Microsoft Windows XP Professional
       ERDAS imagine
       ERDAS Vector, autoSync, VirtualGis,
       ERDAS Map2PDF, MosaicPro
       LPS Core, LPS Stereo, LPS Automatic terrain
       Editor, Terrain Extraction
       ArcInfo
       ArcGIS 3D Analyst, Network analyst
       ArcView
       Oracle 10i, SQL Server, .net

   2. In several sections in the RFP, support for some proprietary
technologies like Active Directory Services are being demanded. These are
neither requisites nor irreplaceable as per the requirements in the RFP. No
free software solution will be able to provide support for these proprietary
technologies fully but there are many that might effectively replace them.

   3. The RFP does not necessitate that the software developed for the
government is to be under free software license. Nor is it asking for handing
over the copyright to the government so that the government can release it and
maintain it under free software licenses. This is serious since this makes the
government dependant on the service provider forever and effectively bars any
future move by the government to change the service provider and switch over
to a better or self supporting scheme.

   4. The RFP demands that proprietary geo data formats have to be supported.
This leaves a loop hole for usage of proprietary software to be used. This
also prevents usage of free software to access and manipulate data in such
format, limiting the current as well as future scope for free software usage.


We do not know how this document with such blatant violation of the state's IT
policy has come through from a government which is actively promoting Free
Software. But we are sure that if the government goes ahead with the purchase
of such expensive proprietary software it is only the third party proprietary
software providers who are going to benefit for as long as the project stays
alive. We believe that it is our responsibility to bring this to your
attention and to bring to your notice that the requirements could be satisfied
using Free Software without risking vendor lock in and without wasting public
funds.

We, the Free Sof

Re: [ILUG-Cochin.org] Cluster file system

2009-12-08 Thread Gejo Paul
I worked on GFS  and Red Hat  cluster , but could you give more details like
which application you want to put on Cluster.

Regards
Gejo Paul

On Tue, Dec 8, 2009 at 11:01 PM, unni krishnan wrote:

> Hi,
>
> I am currently working on a high availability setup with heartbeat +
> pacemaker + drbd + ocfs2
>
> For ocsf2 I have lot of doubts since I am new to cluster file systems.
> Is there anyone who already worked/researched in cluster file systems
> like ocfs2 or gfs, so that I can talk directly.
>
> Its not possible to ask it through this list, because there are bunch
> of doubts :-)
>
>
> --
> Regards,
> Unni
>
> ___
> Indian Libre User Group Cochin Mailing List
> http://www.ilug-cochin.org/mailing-list/
> http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
> #ilugko...@irc.freenode.net
>



-- 
Best Regards
Gejo Paul
___
Indian Libre User Group Cochin Mailing List
http://www.ilug-cochin.org/mailing-list/
http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
#ilugko...@irc.freenode.net

Re: [ILUG-Cochin.org] Cluster file system

2009-12-08 Thread unni krishnan
Hi Gejo,

My setup is like :

http://picasaweb.google.com/unnikrishnan.a/ScreenShots#5412532508333989218

We will be running vpss in the drbd partition. Each VPS can have
normal server services like Apache, Mysql etc

On Wed, Dec 9, 2009 at 10:25 AM, Gejo Paul  wrote:
> I worked on GFS  and Red Hat  cluster , but could you give more details like
> which application you want to put on Cluster.
>
> Regards
> Gejo Paul
>
> On Tue, Dec 8, 2009 at 11:01 PM, unni krishnan 
> wrote:
>>
>> Hi,
>>
>> I am currently working on a high availability setup with heartbeat +
>> pacemaker + drbd + ocfs2
>>
>> For ocsf2 I have lot of doubts since I am new to cluster file systems.
>> Is there anyone who already worked/researched in cluster file systems
>> like ocfs2 or gfs, so that I can talk directly.
>>
>> Its not possible to ask it through this list, because there are bunch
>> of doubts :-)
>>
>>
>> --
>> Regards,
>> Unni
>>
>> ___
>> Indian Libre User Group Cochin Mailing List
>> http://www.ilug-cochin.org/mailing-list/
>> http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
>> #ilugko...@irc.freenode.net
>
>
>
> --
> Best Regards
> Gejo Paul
>
> ___
> Indian Libre User Group Cochin Mailing List
> http://www.ilug-cochin.org/mailing-list/
> http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
> #ilugko...@irc.freenode.net
>



-- 
Regards,
Unni

___
Indian Libre User Group Cochin Mailing List
http://www.ilug-cochin.org/mailing-list/
http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
#ilugko...@irc.freenode.net


Re: [ILUG-Cochin.org] PAUSE/RESUME apt-get dist-upgrade

2009-12-08 Thread A. Mani
On Tue, Dec 8, 2009 at 6:19 PM, Mahesh Aravind  wrote:
> --- On Tue, 12/8/09, A. Mani  wrote:
>
>> 7. Initially /var/cache/apt/archives will be emptied by
>> upgrade tool
>> 8. let upgrade tool start the download.
>> 9. pause, move back the archives and resume
>>
>
> This is not what APT docs say. Maybe graphical tools flush the cache before 
> attempting to download new packages. Maybe I'm wrong. Please correct me on 
> this one.

All this happens because of the upgrade script. It is different. In
8.10 --> 9.04, a new folder is created for  the downloaded packages.
In the OP's case, that is probably recreated.

> Also, graphical tools like Synaptic does not allow to mark, and then exit the 
> tool before > going ahead with the operation. In aptitude, you can mark 
> install/uninstall/hold, exit the > tool, and come back later to proceed with 
> operation.

Synaptic or adept is not involved. They use a special upgrade script,
which takes over from those.

Best

A. Mani

-- 
A. Mani
ASL, CLC,  AMS, CMS
http://www.logicamani.co.cc

___
Indian Libre User Group Cochin Mailing List
http://www.ilug-cochin.org/mailing-list/
http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
#ilugko...@irc.freenode.net