Problem s portupgrade portupgrade
Petr Janecka
freebsd at server4you.cz
Sun Nov 16 20:15:49 CET 2003
Ahoj,
v soucasne dobe se trapim s portupgrade na serveru s FreeBSD 4.5. Pri pokusu o
portupgrade portupgrade (prip. ruby ci jinych portu), mi instalace vzdy
skonci na bode, kdy se kontroluje, jestli je tento port instalovany.
Jako prvni bych chtel samozrejme upgradovat portupgrade (a s tim souvisejici
ruby porty) a teprve az pak zbyvajici porty, ktere mam. Zkousel jsem ruzne
varianty:
portupgrade portupgrade
portupgrade -Rr porgupgrade
portupgrade ruby (prip. ostatni ruby-balicky)
ale porad mi to nejde. Priklad chyboveho hlaseni pri upgradu portu ruby:
---> Backing up the old version
---> Uninstalling the old version
---> Deinstalling 'ruby-1.6.8.2003.01.19'
---> Preserving /usr/local/lib/libruby.so.16 as
/usr/local/lib/compat/pkg/libruby.so.16
pkg_delete: package 'ruby-1.6.8.2003.01.19' is required by these other
packages
and may not be deinstalled (but I'll delete it anyway):
portupgrade-20030427
ruby-bdb1-0.1.8
ruby-rdoc-0.0.0.b2
ruby-shim-ruby18-1.8.0.p1
pkg_delete: unable to completely remove directory
'/usr/local/lib/ruby/site_ruby/1.6/i386-freebsd4'
pkg_delete: unable to completely remove directory
'/usr/local/lib/ruby/site_ruby/1.6'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 98 packages found
(-1 +0) (...) done]
---> Installing the new version via the port
===> Installing for ruby-1.6.8.2003.04.19
===> Generating temporary packing list
===> Checking if lang/ruby16 already installed
*** Error code 1
Stop in /usr/ports/lang/ruby16.
*** Error code 1
Stop in /usr/ports/lang/ruby16.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade8169.0
make reinstall
egrep: /var/db/pkg/ruby-1.6.8.2003.01.19/+CONTENTS: No such file or directory
---> Restoring the old version
Deinstalling obsoleted packages that are now part of ruby...
** Fix the installation problem and try again.
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 99 packages found
(-0 +1) . done]
** The following packages were not installed or upgraded (*:skipped /
!:failed)
! lang/ruby16 (ruby-1.6.8.2003.01.19) (install error)
Prikladam jeste vypis svych portu:
ruby-1.6.8.2003.01.19 < needs updating (port has
1.6.8.2003.04.19)
ruby-bdb1-0.1.8 < needs updating (port has 0.2.1)
ruby-rdoc-0.0.0.b2 = up-to-date with port
ruby-shim-ruby18-1.8.0.p1 < needs updating (port has
1.8.0.p2.2003.04.19_1)
portupgrade-20030427 < needs updating (port has 20030723)
Cvsup mam aktualni (provadim kazdy den). Databaze portu by mela byt v poradku
(pkgdb -F mi nevykazuje zadne spatne zavislosti).
Diky predem za kazdou radu.
Petr
More information about the Users-l
mailing list