Страница 1 из 1

как обновить софт кроме одного пакета?

Добавлено: 2010-10-06 22:36:08
vintovkin
привет комрады!
фбсд 8.1
надо всё проапгрэйдить кроме профтпд!как? :smile:

Код: Выделить всё

zabbix# pkg_version -v | grep "needs"
apr-devrandom-gdbm-db42-mysql50-sqlite3-1.4.2.1.3.9_2  <   needs updating (port has 1.4.2.1.3.10)
bash-4.1.7_1                        <   needs updating (port has 4.1.7_2)
bison-2.4.1_1,1                     <   needs updating (port has 2.4.3,1)
boost-libs-1.43.0                   <   needs updating (port has 1.43.0_1)
dbus-1.2.24_1                       <   needs updating (port has 1.2.24_2)
dbus-glib-0.86_1                    <   needs updating (port has 0.88)
diablo-jdk-1.6.0.07.02_8            <   needs updating (port has 1.6.0.07.02_10)
ebook-tools-0.1.1_2                 <   needs updating (port has 0.2.1)
eigen-2.0.12,1                      <   needs updating (port has 2.0.15,1)
enchant-1.4.2                       <   needs updating (port has 1.6.0)
exiv2-0.18_2,1                      <   needs updating (port has 0.20,1)
faad2-2.7_2,1                       <   needs updating (port has 2.7_3,1)
ffmpeg-0.6_2,1                      <   needs updating (port has 0.6_3,1)
gmm++-4.0.0                         <   needs updating (port has 4.1)
gstreamer-plugins-good-0.10.24,3    <   needs updating (port has 0.10.25,3)
hal-0.5.14_8                        <   needs updating (port has 0.5.14_9)
iso-codes-3.17                      <   needs updating (port has 3.21)
iw-hspell-1.0                       <   needs updating (port has 1.1)
jdk-1.6.0.3p4_14                    <   needs updating (port has 1.6.0.3p4_18)
libdvdread-4.1.3_2                  <   needs updating (port has 4.1.4.r1217)
libgphoto2-2.4.9.1                  <   needs updating (port has 2.4.10.1)
libidn-1.15_1                       <   needs updating (port has 1.16)
libotr-3.2.0_2                      <   needs updating (port has 3.2.0_3)
libpciaccess-0.11.0                 <   needs updating (port has 0.12.0)
libthai-0.1.5_3                     <   needs updating (port has 0.1.5_4)
libtunepimp-0.5.3_6,1               <   needs updating (port has 0.5.3_9,1)
libwnck-2.30.2                      <   needs updating (port has 2.30.3)
lua-5.1.4                           <   needs updating (port has 5.1.4_5)
mDNSResponder-214                   <   needs updating (port has 214.3.2_1)
mc-4.7.2_2                          <   needs updating (port has 4.7.4_2)
mpeg4ip-libmp4v2-1.6.1              <   needs updating (port has 1.9.1)
mysql-server-5.0.90                 <   needs updating (port has 5.0.90_1)
ncdu-1.6                            <   needs updating (port has 1.7)
neon29-0.29.3_1                     <   needs updating (port has 0.29.3_2)
nmap-5.21_1                         <   needs updating (port has 5.35.d1)
opera-10.10.20091120_2              <   needs updating (port has 10.61.6430)
orc-0.4.6                           <   needs updating (port has 0.4.9)
p5-Authen-SASL-2.14.01              <   needs updating (port has 2.15)
p5-Module-Build-0.3607              <   needs updating (port has 0.3607_1)
p5-Test-Harness-3.21                <   needs updating (port has 3.22)
p5-URI-1.54                         <   needs updating (port has 1.55)
p5-YAML-0.71                        <   needs updating (port has 0.72)
pciids-20091229                     <   needs updating (port has 20100827)
popt-1.14_1                         <   needs updating (port has 1.16)
proftpd-1.3.2                       <   needs updating (port has 1.3.3a_1)
qimageblitz-0.0.4_4                 <   needs updating (port has 0.0.6)
qt4-corelib-4.6.3                   <   needs updating (port has 4.6.3_1)
rdesktop-1.6.0                      <   needs updating (port has 1.6.0_1)
redland-1.0.7_1                     <   needs updating (port has 1.0.10)
ruby-1.8.7.248_2,1                  <   needs updating (port has 1.8.7.248_4,1)
samba-3.0.37_1,1                    <   needs updating (port has 3.0.37_2,1)
samba34-libsmbclient-3.4.8          <   needs updating (port has 3.4.9)
sdl-1.2.14_1,2                      <   needs updating (port has 1.2.14_2,2)
sessreg-1.0.5                       <   needs updating (port has 1.0.5_1)
strigi-0.7.2                        <   needs updating (port has 0.7.2_1)
sudo-1.7.3                          <   needs updating (port has 1.7.4.4_1)
talloc-2.0.1                        <   needs updating (port has 2.0.1_1)
tk-8.5.8_1                          <   needs updating (port has 8.5.9)
vim-7.2.411                         <   needs updating (port has 7.3.19)
wget-1.12_1                         <   needs updating (port has 1.12_2)
xinit-1.2.0                         <   needs updating (port has 1.2.0_1)
xpdf-3.02_12                        <   needs updating (port has 3.02_13)
yasm-1.0.1_1                        <   needs updating (port has 1.1.0)
zabbix#

Re: как обновить софт кроме одного пакета?

Добавлено: 2010-10-06 22:41:51
rmn

Код: Выделить всё

foreach i (`pkg_version -v | grep "needs" | grep -v proftpd | awk '{print $1}'`)
? portupgrade $i
? end
?

Re: как обновить софт кроме одного пакета?

Добавлено: 2010-10-07 5:04:18
x6e6564
использовать /usr/ports/ports-mgmt/portmaster

Код: Выделить всё

portmaster -a -x proftpd
pkg_version -v | grep "needs"
не совсем корректно наверно

Код: Выделить всё

pkg_version -vL\=
в таком случае покажет переименованные пакеты и тд., а не только "need"

З.Ы. также стоит почитать man portmaster - много полезных опций

Re: как обновить софт кроме одного пакета?

Добавлено: 2010-10-07 14:32:25
dkgjgd

Код: Выделить всё

pkg_version -vL\=
если в выводе встретятся порты с ! портмастер застопорится
я делаю сначала -l \< а потом уже остальное разгребаю

Re: как обновить софт кроме одного пакета?

Добавлено: 2010-10-08 0:00:11
Dog

Код: Выделить всё

portupgrade -ax proftpd
?

Re: как обновить софт кроме одного пакета?

Добавлено: 2010-10-10 18:23:57
vintovkin
ок
всем спс за полезные советы))
как сделать чтоб портммастер не спрашивал удалять или нет архивы с дистрибутивами?