Re: pkg - Shared object libarchive.so.5 not found, required by pkg

2012-11-24 Thread Christer Solskogen
On Sat, Nov 24, 2012 at 12:54 AM, Tim Kientzle t...@kientzle.com wrote:
 /usr/sbin/pkg mostly just runs /usr/local/sbin/pkg

 You need to reinstall the pkg port as well.


After a while I figured that out. I did not have a ports tree on that
machine, so I just deleted /usr/local and and package database and
reinstalled every ports using pkg.


-- 
chs,
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: pkg - Shared object libarchive.so.5 not found, required by pkg

2012-11-24 Thread Victor Balada Diaz
On Fri, Nov 23, 2012 at 11:13:39PM +0100, Christer Solskogen wrote:
 I just upgraded a machine from 9.1-RC3 to 10-CURRENT.
 pkg was installed on 9.1, but after an upgrade to 10-CURRENT pkg no
 longer runs due to missing shared library.
 10-CURRENT was built (and installed) twice. I guess the library was
 installed when I was at 9.1-RC3 but was deleted during make
 delete-old.
 
 Rebuilding pkg from src/usr.sbin/pkg did not do the trick. For some
 reason it was still linking to the old library.
 Any hints?

Hello,

You have pkg-static for that kind of problems. You should rebuild pkg
port to get pkg working again.

Regards.
Victor.
-- 
La prueba más fehaciente de que existe vida inteligente en otros
planetas, es que no han intentado contactar con nosotros. 
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: pkg - Shared object libarchive.so.5 not found, required by pkg

2012-11-24 Thread Christer Solskogen
On Sat, Nov 24, 2012 at 3:45 PM, Victor Balada Diaz vic...@bsdes.net wrote:

 You have pkg-static for that kind of problems. You should rebuild pkg
 port to get pkg working again.

So I still need /usr/ports when I use pkg?

-- 
chs,
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: pkg - Shared object libarchive.so.5 not found, required by pkg

2012-11-24 Thread Julien Laffaye

On 11/24/2012 7:38 PM, Christer Solskogen wrote:

On Sat, Nov 24, 2012 at 3:45 PM, Victor Balada Diaz vic...@bsdes.net wrote:

You have pkg-static for that kind of problems. You should rebuild pkg
port to get pkg working again.

So I still need /usr/ports when I use pkg?


No.

CURRENT is a special case because there is no ABI guarantee throughout 
its lifetime. (A package built for -CURRENT has a very little meaning, 
and we cant build them for every svn revision).

So, yes, on CURRENT you'd better build your packages.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: pkg - Shared object libarchive.so.5 not found, required by pkg

2012-11-24 Thread Chuck Burns

On 11/24/2012 12:38 PM, Christer Solskogen wrote:

On Sat, Nov 24, 2012 at 3:45 PM, Victor Balada Diaz vic...@bsdes.net wrote:


You have pkg-static for that kind of problems. You should rebuild pkg
port to get pkg working again.


So I still need /usr/ports when I use pkg?

No. ports-mgmt/pkg can be self-bootstrapped with no need to compile 
anything. -but- If you want to use -stable or -current, then you really 
should use ports as well...


--
Chuck Burns brea...@gmail.com
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: pkg - Shared object libarchive.so.5 not found, required by pkg

2012-11-23 Thread Tim Kientzle

On Nov 23, 2012, at 2:13 PM, Christer Solskogen wrote:

 10-CURRENT was built (and installed) twice. I guess the library was
 installed when I was at 9.1-RC3 but was deleted during make
 delete-old.

delete-old should not have deleted any libraries.

I think you must have also done delete-old-libs.
That often requires you to reinstall all your ports
as well.

 Rebuilding pkg from src/usr.sbin/pkg did not do the trick. For some
 reason it was still linking to the old library.
 Any hints?

/usr/sbin/pkg mostly just runs /usr/local/sbin/pkg

You need to reinstall the pkg port as well.

Tim

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org