FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 01-03-2010, 08:40 PM
Manoj Srivastava
 
Default Should ucf be of priority required?

On Sun, Jan 03 2010, Magnus Holmgren wrote:

> On måndagen den 7 december 2009, Wouter Verhelst wrote:
>> On Sun, Dec 06, 2009 at 01:17:30PM +0100, Patrick Schoenfeld wrote:
>> > But how do you fix a package to do what its supposed to do,
>> > when it isn't installed anymore?
>>
>> You don't need to. When the package is purged, and ucf doesn't exist
>> anymore, what you do is rm -f the relevant files.
>>
>> Unregistering those files in ucf is necessary so that ucf throws away
>> the correct checksums from its database, too. However, if ucf itself is
>> no longer on the system, then the same is true for that database, and
>> unregistering stuff from that database is no longer necessary.
>
> Unless ucf is removed but not purged, right?

Not really. If ucf is removed, then it's database can no longer
be trusted to be accurate anyway. So the fact that the removal of the
package is not registered in ucf's database makes no difference really
(an untrusted DB expected to be out of date is now known to meet
expectations).

manoj
--
He who hesitates is sometimes saved.
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-03-2010, 08:41 PM
Manoj Srivastava
 
Default Should ucf be of priority required?

On Sun, Jan 03 2010, Magnus Holmgren wrote:

> On måndagen den 7 december 2009, Wouter Verhelst wrote:
>> On Sun, Dec 06, 2009 at 01:17:30PM +0100, Patrick Schoenfeld wrote:
>> > But how do you fix a package to do what its supposed to do,
>> > when it isn't installed anymore?
>>
>> You don't need to. When the package is purged, and ucf doesn't exist
>> anymore, what you do is rm -f the relevant files.
>>
>> Unregistering those files in ucf is necessary so that ucf throws away
>> the correct checksums from its database, too. However, if ucf itself is
>> no longer on the system, then the same is true for that database, and
>> unregistering stuff from that database is no longer necessary.
>
> Unless ucf is removed but not purged, right?


Not really. If ucf is removed, then it's database can no longer
be trusted to be accurate anyway. So the fact that the removal of the
package is not registered in ucf's database makes no difference really
(an untrusted DB expected to be out of date is now known to meet
expectations).

manoj
--
"Even more amazing was the realization that God has Internet access. I
wonder if He has a full newsfeed?" (By Matt Welsh)
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-20-2010, 03:13 PM
Goswin von Brederlow
 
Default Should ucf be of priority required?

Magnus Holmgren <holmgren@debian.org> writes:

> On måndagen den 7 december 2009, Wouter Verhelst wrote:
>> On Sun, Dec 06, 2009 at 01:17:30PM +0100, Patrick Schoenfeld wrote:
>> > But how do you fix a package to do what its supposed to do,
>> > when it isn't installed anymore?
>>
>> You don't need to. When the package is purged, and ucf doesn't exist
>> anymore, what you do is rm -f the relevant files.
>>
>> Unregistering those files in ucf is necessary so that ucf throws away
>> the correct checksums from its database, too. However, if ucf itself is
>> no longer on the system, then the same is true for that database, and
>> unregistering stuff from that database is no longer necessary.
>
> Unless ucf is removed but not purged, right?

Shouldn't the question rather be:

When will ucf be merged into dpkg?

I find is stupid that ucf handled configuration files will not be
tracked by dpkg and that dpkg and ucf both implement a
"keep/replace/merge/diff/whatever" interface for updates.

MfG
Goswin


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-20-2010, 03:34 PM
Patrick Schoenfeld
 
Default Should ucf be of priority required?

On Wed, Jan 20, 2010 at 05:13:21PM +0100, Goswin von Brederlow wrote:
> > Unless ucf is removed but not purged, right?
>
> Shouldn't the question rather be:
>
> When will ucf be merged into dpkg?
>
> I find is stupid that ucf handled configuration files will not be
> tracked by dpkg and that dpkg and ucf both implement a
> "keep/replace/merge/diff/whatever" interface for updates.

See http://wiki.debian.org/Teams/Dpkg/RoadMap .
Its already on the roadmap.

Best Regards,
Patrick


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 10:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org