05.07.2018 12:00, Alexey Krylov пишет:
Здравствуйте.

Прошу вас, поделитесь, как нужно правильно обновлять систему.
Каждое обновление у меня - это квест какой то.

как делаю я:
port fetch update
...
cd /usr/ports/ports-mgmt/portupdate
make install clean

===>  Installing for automake-1.16.1
===>  Checking if automake already installed
===>   An older version of automake is already installed (automake-1.15.1)
       You may wish to ``make deinstall'' and install this port again
       by ``make reinstall'' to upgrade it properly.
       If you really wish to overwrite the old port of automake
       without deleting it first, set the variable "FORCE_PKG_REGISTER"
       in your environment or the "make install" command line.
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/devel/automake
*** Error code 1

===================
automake установлен, но не актуален. Ок

cd /usr/ports/devel/automake
make deinstall
...
make install clean
===>   Registering installation for automake-1.16.1
Installing automake-1.16.1...
pkg-static: automake-1.16.1 conflicts with automake-wrapper-20131203 (installs 
files into the same place).  Problematic file: /usr/local/bin/aclocal
*** Error code 70

Stop.
make: stopped in /usr/ports/devel/automake




Я делаю так:

1) portsnap fetch update (обновление дерева портов)
2) portmaster -i {PKG_NAME} ("-i" что бы спрашивал, что именно обновлять)

Касательно проблем с automake, то я впервые столкнулся с ним после обновления на 11.2. Решил проблему так:

1) pkg_delete automake-wrapper-20131203
2) cd /usr/ports/ports-mgmt/portupdate && make install clean
_______________________________________________
freebsd mailing list
freebsd@uafug.org.ua
http://mailman.uafug.org.ua/mailman/listinfo/freebsd

Ответить