Subject: Re: pkgsrc and update
To: None <robert@kormar.net>
From: Gilles Gravier <Gilles@Gravier.org>
List: netbsd-users
Date: 07/26/2005 16:05:14
This is a multi-part message in MIME format.
--------------050200010605080109070104
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Well, first of all, pkg_delete pkgconfig
Then cd /usr/pkgsrc/devel/pkg-config
Then make install

They renamed pkgconfig to pkg-config and it confuses everything.

Then you should be able to do "sup -s" one or 2 more times until no more 
errors.

Gilels.

Robert Cates wrote:

>Actually I ended up with this (at the end of pkg_chk -r):
>
>pkg_install-20050718: version mismatch - pkg_install-20050318
>/usr/sbin/pkg_delete -K /var/db/pkg -r pkg_install-20050318
>Package `pkg_install-20050318' is marked as not for deletion
>** ' /usr/sbin/pkg_delete -K /var/db/pkg -r pkg_install-20050318' failed
>[ Rechecking packages after deletions ]
>Missing: devel/pkgconfig lang/perl58 mail/courier-auth
>
>What now?
>
>Thanks,
>Robert
>
>-----Original Message-----
>From: netbsd-users-owner@NetBSD.org
>[mailto:netbsd-users-owner@NetBSD.org]On Behalf Of Geert Hendrickx
>Sent: Dienstag, 26. Juli 2005 15:12
>To: Robert Cates
>Cc: lama; netbsd-users@netbsd.org
>Subject: Re: pkgsrc and update
>
>
>On Tue, Jul 26, 2005 at 03:05:45PM +0200, Robert Cates wrote:
>  
>
>>and now I do not know what all packages have been updated or deleted!!
>>Funny thing is, I had just installed all of xorg yesterday!  I'm getting
>>pretty angry at NetBSD and this pkgsrc problem!!
>>    
>>
>
>Start with "pkg_chk -g" to generate a list of the packages you had before.
>Then remove the outdated ones with "pkg_ckh -r" and add them again with
>"pkg_chk -ask" (or -abk if you want to use binary packages).  This way
>packages are build only once, and you know what you're missing if something
>fails.  
>
>GH
>
>
>  
>

-- 
/*Gilles Gravier*/ *=* *Gilles@Gravier.org* <mailto:Gilles@Gravier.org> 
*=* *http://www.gravier.org/*
ICQ : *77488526* 
<http://www.icq.com/whitepages/about_me.php?Uin=77488526> * || *MSN 
Messenger : Gilles@Gravier.org 
<http://members.msn.com/?mpp=4263%7E5AAAZAAAACcw%210A83PFlYeq0R%21ZPO39GW63sr8Zaat9nB6dTdi0id9FQ$$%7E5AAAaAAAAEDTTl7j2*1w8Gd7%21LdWZmJumAmJe3E2lA97s$>*
*Skype : ggravier <callto://ggravier>* || *Y! : ggravier 
<http://profiles.yahoo.com/ggravier> || AOL : gillesgravier 
<aim:goim?screenname=gillesgravier>
PGP Key ID : *0x8DE6D026* 
<http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&op=index>
"Chastity is its own punishment." (/Solomon Short/) [/David Gerrold/]
"De toutes les aberrations sexuelles, la chasteté est la plus 
aberrante." [Anatole France]



--------------050200010605080109070104
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#336666">
Well, first of all, pkg_delete pkgconfig<br>
Then cd /usr/pkgsrc/devel/pkg-config<br>
Then make install<br>
<br>
They renamed pkgconfig to pkg-config and it confuses everything.<br>
<br>
Then you should be able to do "sup -s" one or 2 more times until no
more errors.<br>
<br>
Gilels.<br>
<br>
Robert Cates wrote:
<blockquote cite="midCCEEKBJEKKLABGFGILIKEEIMDIAA.robert@kormar.net"
 type="cite">
  <pre wrap="">Actually I ended up with this (at the end of pkg_chk -r):

pkg_install-20050718: version mismatch - pkg_install-20050318
/usr/sbin/pkg_delete -K /var/db/pkg -r pkg_install-20050318
Package `pkg_install-20050318' is marked as not for deletion
** ' /usr/sbin/pkg_delete -K /var/db/pkg -r pkg_install-20050318' failed
[ Rechecking packages after deletions ]
Missing: devel/pkgconfig lang/perl58 mail/courier-auth

What now?

Thanks,
Robert

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:netbsd-users-owner@NetBSD.org">netbsd-users-owner@NetBSD.org</a>
[<a class="moz-txt-link-freetext" href="mailto:netbsd-users-owner@NetBSD.org">mailto:netbsd-users-owner@NetBSD.org</a>]On Behalf Of Geert Hendrickx
Sent: Dienstag, 26. Juli 2005 15:12
To: Robert Cates
Cc: lama; <a class="moz-txt-link-abbreviated" href="mailto:netbsd-users@netbsd.org">netbsd-users@netbsd.org</a>
Subject: Re: pkgsrc and update


On Tue, Jul 26, 2005 at 03:05:45PM +0200, Robert Cates wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">and now I do not know what all packages have been updated or deleted!!
Funny thing is, I had just installed all of xorg yesterday!  I'm getting
pretty angry at NetBSD and this pkgsrc problem!!
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Start with "pkg_chk -g" to generate a list of the packages you had before.
Then remove the outdated ones with "pkg_ckh -r" and add them again with
"pkg_chk -ask" (or -abk if you want to use binary packages).  This way
packages are build only once, and you know what you're missing if something
fails.  

GH


  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<title>Signature Perso Chastity</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<div style="text-align: left;">
<table
 style="text-align: left; background-color: rgb(102, 102, 102); width: 500px; height: 73px;"
 border="1" cellpadding="3" cellspacing="3">
  <tbody>
    <tr>
      <td
 style="text-align: center; vertical-align: middle; background-color: rgb(204, 204, 204); white-space: nowrap;">
      <div
 style="text-align: center; background-color: rgb(204, 204, 204);"><tt><font
 color="#7d6eaf"><i><b>Gilles Gravier</b></i> <b>=</b> </font><a
 href="mailto:Gilles@Gravier.org"><font color="#000000"><b>Gilles@Gravier.org</b></font></a><font
 color="#7d6eaf"> <b>=</b> </font><a href="http://www.gravier.org/"><font
 color="#000000"><b>http://www.gravier.org/</b></font></a></tt><br>
      </div>
      <div
 style="text-align: center; background-color: rgb(204, 204, 204);"><tt><font
 color="#009900"><span
 style="font-family: monospace; color: rgb(0, 0, 0); font-weight: bold;"></span></font><font
 color="#000099">ICQ :</font> <a
 href="http://www.icq.com/whitepages/about_me.php?Uin=77488526"><font
 color="#009900"><b>77488526</b></font></a></tt>&nbsp;<tt><font
 color="#009900"><b><span
 style="font-family: monospace; color: rgb(0, 0, 0);"> || </span></b></font></tt><tt><font
 color="#000099">MSN Messenger : <a
 href="http://members.msn.com/?mpp=4263%7E5AAAZAAAACcw%210A83PFlYeq0R%21ZPO39GW63sr8Zaat9nB6dTdi0id9FQ$$%7E5AAAaAAAAEDTTl7j2*1w8Gd7%21LdWZmJumAmJe3E2lA97s$"><span
 style="color: rgb(0, 153, 0); font-weight: bold;">Gilles@Gravier.org</span></a></font></tt><tt><font
 color="#009900"><b><span
 style="font-family: monospace; color: rgb(0, 0, 0);"><br>
      </span></b></font></tt><span
 style="font-family: monospace; color: rgb(0, 0, 153);">Skype</span><tt><font
 color="#000099"><span style="color: rgb(0, 0, 153);"> :&nbsp;</span><a
 href="callto://ggravier"><span
 style="font-weight: bold; color: rgb(0, 153, 0);">ggravier</span></a></font></tt><tt><font
 color="#009900"><b><span
 style="font-family: monospace; color: rgb(0, 0, 0);"> || </span></b></font></tt><tt><font
 color="#000099"><span style="color: rgb(0, 153, 0);"></span><span
 style="font-weight: bold;"></span>Y! : <a
 href="http://profiles.yahoo.com/ggravier"><span
 style="color: rgb(0, 153, 0); font-weight: bold;">ggravier</span></a></font></tt><tt
 style="font-weight: bold;"><font color="#009900"><span
 style="font-family: monospace; color: rgb(0, 0, 0);"> || </span></font></tt><tt><font
 color="#000099">AOL : <a href="aim:goim?screenname=gillesgravier"><span
 style="color: rgb(0, 153, 0); font-weight: bold;">gillesgravier</span></a><br>
      </font></tt><tt><font color="#000099">PGP Key ID :</font> <a
 href="http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&amp;op=index"><font
 color="#009900"><b>0x8DE6D026</b></font></a></tt><br>
      </div>
      <div
 style="text-align: center; background-color: rgb(204, 204, 204);"><tt>"Chastity
is its own punishment." (<font color="#999999"><i>Solomon Short</i></font>)
[<font color="#666666"><i>David Gerrold</i></font>]<br>
      </tt><span style="font-family: monospace;">"De toutes les
aberrations sexuelles, la chastet&eacute; est la plus aberrante." [<span
 style="font-style: italic;"><font color="#666666">Anatole France</font></span>]</span><br>
      </div>
      </td>
    </tr>
  </tbody>
</table>
<pre wrap="">
</pre>
</div>
<br>
</div>
</body>
</html>

--------------050200010605080109070104--