Author Topic: [SOLVED]Pitanje o software management na NetBSD  (Read 568 times)

uporna_neznalica

  • Sr. Member
  • ****
  • Posts: 447
[SOLVED]Pitanje o software management na NetBSD
« on: September 01, 2016, 02:09:21 pm »
NetBSD 7.0.1 u Qemu (azuriran direktno sa verzije 6.1.5), prijavljuje sledeci izlaz komande lintpkgsrc -i

Code: [Select]
netbsd# lintpkgsrc -l
Scan Makefiles: __________________________________________.........Cannot extract -sqlite-M_a_G_i_C_uNdEfInEd version (/usr/pkgsrc/databases/php-sqlite/Makefile)
............Cannot extract php-..nb1 version (/usr/pkgsrc/lang/php53/Makefile)
Cannot extract php-.. version (/usr/pkgsrc/lang/php54/Makefile)
Cannot extract ruby- version (/usr/pkgsrc/lang/ruby193/Makefile)
Cannot extract ruby-base- version (/usr/pkgsrc/lang/ruby193-base/Makefile)
Cannot extract ruby- version (/usr/pkgsrc/lang/ruby200/Makefile)
Cannot extract ruby-base- version (/usr/pkgsrc/lang/ruby200-base/Makefile)
....Cannot extract -extensions-..M_a_G_i_C_uNdEfInEd version (/usr/pkgsrc/meta-pkgs/php53-extensions/Makefile)
Cannot extract -extensions-..M_a_G_i_C_uNdEfInEd version (/usr/pkgsrc/meta-pkgs/php54-extensions/Makefile)
...............Cannot extract contao- version (/usr/pkgsrc/www/contao32/Makefile)
Cannot extract contao-nb1 version (/usr/pkgsrc/www/contao33/Makefile)
Cannot extract contao- version (/usr/pkgsrc/www/contao34/Makefile)
..14748 packages                            
Version mismatch: 'pkg_comp' 1.37 vs 1.38nb1

lintpkgsrc instaliran iz prekompajliranih paketa, komandom pkg_add, prema uputstvu sa http://netbsd.org/docs/guide/en/chap-boot.html#chap-boot-pkgsrc a pkgsrc povucen kao .tar ahiva prema uputstvu sa http://www.netbsd.org/docs/pkgsrc/getting.html

Skoto nista drugo nije instalirano:
Code: [Select]
Script started on Thu Sep  1 12:04:37 2016
netbsd# pkg_info -a
atf-0.20            Automated testing framework
shtk-1.6            Application toolkit for POSIX-compliant shell scripts
sysupgrade-1.5nb1   Automate upgrades of NetBSD
libidn-1.32         Internationalized Domain Names command line tool
curl-7.50.1         Client that groks URLs
pkg_comp-1.37       Build packages inside a chroot jail
sudo-1.8.15nb1      Allow others to run commands as root
digest-20160304     Message digest wrapper utility
perl-5.24.0         Practical Extraction and Report Language
lintpkgsrc-4.92     Sanity checks on the complete pkgsrc tree
netbsd# ^D
Script done on Thu Sep  1 12:04:43 2016

Objasnjenje, komentar, uputstvo...su dobrodosli.

Edit: Sporna mi je poslednja linija izlaza lintpkgsrc -i, tj. Version mismatch: 'pkg_comp' 1.37 vs 1.38nb1

uporna_neznalica

  • Sr. Member
  • ****
  • Posts: 447
Odg: [SOLVED]Pitanje o software management na NetBSD
« Reply #1 on: September 01, 2016, 09:49:37 pm »
Problem je resen deinstaliranjem pkg_comp paketa, koji je instaliran kao binarni, putem pkg_add.

Moguce da je paket instaliran putem pkg_add stariji od postojeceg koda u pkgsrc, takav sam slucaj imao danas na dragonfly. Posto ovaj paket sluzi da bi se ostali paketi instalirali u chroot/jail (nisam jos pokupio terminologiju), deinstalirao sam ga i sada lintpkgsrc -i ne prijavljuje problem.

soxxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1438
Odg: [SOLVED]Pitanje o software management na NetBSD
« Reply #2 on: September 02, 2016, 06:35:12 pm »
Da, to je cest slucaj da je binarni paket malo stariji, i to ne samo na NetBSD. :) Vazno da si nasao sta je, i to sam.
The best way to learn UNIX is to play with it, and the harder you play, the more you learn.
If you play hard enough, you'll break something for sure, and having to fix a badly broken system is arguably the fastest way of all to learn. -Michael Lucas, AbsoluteBSD