DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th September 2017
gustaf gustaf is offline
Fdisk Soldier
 
Join Date: Dec 2016
Posts: 68
Default "Remember to update /var/db/xmlcatalog" message?

For some time, I've been looking for the meaning of the "Remember to update /var/db/xmlcatalog" message that comes up after every upgrade. There doesn't seem to be any information anywhere about this message.

I just found the same question on the OpenBSD newbie mailing list and looked at the link in the post. This catalog has something to do with Gnome, but the page doesn't say anything about updating it.

Here is the entire contents of mine:

Code:
less /var/db/xmlcatalog

<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"/>
Does anybody here know what this message means? Is it important? How does one go about updating this catalog?
Reply With Quote
  #2   (View Single Post)  
Old 11th September 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

This is a file packaged with libxml. Specifically noted as an "@extra" file in the port's packing list (/usr/ports/textproc/libxml/pkg/PLIST-main).

The pkg_create(1) man page defines an @extra file as:
Code:
     @extra filename
             Declare extra file filename to be deleted at deinstall time, if
             user sets the -c option.  Those files are extra configuration
             files that are normally not deleted.  filename can be an absolute
             path.  If filename ends with a slash, it is a directory.
An upgrade won't delete or revise any configuration or data files.
  • If you have made any manual configuration changes to this file, you will need to review the application for any changes and manually update as needed.
  • If you have not made any changes to this file, you may ignore the message.

Last edited by jggimi; 11th September 2017 at 10:34 AM. Reason: added the two bullets at the bottom of the post, and clarified
Reply With Quote
  #3   (View Single Post)  
Old 11th September 2017
gustaf gustaf is offline
Fdisk Soldier
 
Join Date: Dec 2016
Posts: 68
Default

From the pkg_delete(1) man page:

Code:
 -c      Delete extra configuration file, mentioned as
                   @extra file
         in the packing-list.
I thought all these configuration files were in /etc. Thanks for the clarification.
Reply With Quote
  #4   (View Single Post)  
Old 12th November 2021
gustaf gustaf is offline
Fdisk Soldier
 
Join Date: Dec 2016
Posts: 68
Default

To find all the extra configuration files and their associated packages, run:
Code:
cd /var/db/pkg ; grep '@extra[[:>:]]' */+CONTENTS
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling message: "write failed, file system is full"? Nureo OpenBSD Packages and Ports 13 19th July 2016 01:36 AM
Difference between"arp info overwritten" and " duplicate IP address " varag OpenBSD Security 1 6th April 2015 02:57 PM
How to replace "ectags" with "ctags"? fender0107401 OpenBSD Packages and Ports 5 16th April 2013 10:01 AM
Fixed "xinit" after _7 _8, "how" here in case anyones' "X" breaks... using "nvidia" jb_daefo Guides 0 5th October 2009 09:31 PM
"Thanks" and "Edit Tags". diw Feedback and Suggestions 2 29th March 2009 12:06 AM


All times are GMT. The time now is 11:05 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick