Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Aug 2004 16:33:44 +0200
From:      Alex de Kruijff <freebsd@akruijff.dds.nl>
To:        Bart Silverstrim <bsilver@chrononomicon.com>
Cc:        freebsd-questions Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: portupgrade/ports question
Message-ID:  <20040814143344.GB884@alex.lan>
In-Reply-To: <AC6E1D40-EC7A-11D8-B526-000A956D2452@chrononomicon.com>
References:  <AC6E1D40-EC7A-11D8-B526-000A956D2452@chrononomicon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 12, 2004 at 12:14:23PM -0400, Bart Silverstrim wrote:
> Situation:
> I set up a portal server as per the instructions at their site; it 
> involved installing some PERL modules from CPAN, which I have since 
> learned on FreeBSD appears to be a no no...
> 
> Now I have some updates to do, but I don't want it to interfere with 
> the web portal software.  In theory, the updates should just replace 
> the CPAN stuff where they overlap, no?  When I do some updates on 
> software (like ClamAV) that apparently *uses* some of these modules, I 
> get the error:
> pkg_delete: package bsdpan-MIME-tools-5.411 has no origin recorded
> pkg_delete: package bsdpan-MailTools-1.62 has no origin recorded
> pkg_delete: package bsdpan-MIME-tools-5.411 has no origin recorded
> pkg_delete: package bsdpan-MailTools-1.62 has no origin recorded
> 
> but these errors aren't enough to keep it from completing the update on 
> the software in question. Portversion is yielding:
> 
> # portversion | grep -v "="
> apache                      <
> bsdpan-Archive-Zip          <
> bsdpan-DBD-mysql            <
> bsdpan-DBI                  <
> bsdpan-IO-stringy           >
> bsdpan-Lingua-EN-NameParse  >
> bsdpan-MIME-tools           #
> bsdpan-Mail-POP3Client      >
> bsdpan-MailTools            #
> bsdpan-Spreadsheet-WriteExcel  >
> bsdpan-Test-Manifest        <
> bsdpan-URI                  <
> bsdpan-Unicode-String       <
> bsdpan-XML-RSS              <
> bsdpan-perl-ldap            <
> expat                       <
> ezm3                        <
> libiconv                    <
> m4                          <
> openssl                     <
> p5-libwww                   <
> perl                        <
> rc_subr                     <
> rsync                       <
> ruby                        <
> 
> 
> Meaning some PAN modules are of *higher* versions than available 
> through ports?  How?
> 
> Can I safely try upgrading those modules?  Has anyone run into 
> something like this before?

I have got these may times over. You have nothing to wurry about. If you
check with pkg_version then you will see that non of them are reported
with a higher version (i.e. >). 

You can rebuilt varius package related stuf to be on the safe side. One
command is portsdb -uU.  There can be one or two other relevant command
but i don't know these by memory. You can find them, do, in the
portupgrade manual.


-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/FreeBSD/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040814143344.GB884>