CONTENTS
Lastmodified 2015-09-25 (金) 13:14:39
FreeBSD 10.2-RELEASE (GENERIC) #0
参考:http://www.programming-knowledge.com/wiki/ports_tips
pkg upgrade があるんだから、pkg downgrade で簡単にダウングレード、ロールバックが簡単にできるとおもったけど、甘かった!?
portdwngrade を使うとのこと
portdowngradeをインストール
portinstall ports-mgmt/portdowngrade
portsのベースディレクトリへ移動
cd /usr/ports/
ダウングレードしたいリビジョンを確認
portdowngrade databases/phpmyadmin
目的のリビジョンをチェックアウトして書き換える
portdowngrade databases/phpmyadmin r397367
これで、/usr/ports/databases/phpmyadmin/ 以下が書き換わる。
/usr/ports/databases/phpmyadmin/Makefile
# Created by: nbm # $FreeBSD: head/databases/phpmyadmin/Makefile 397684 2015-09-24 09:20:56Z matthew $ PORTNAME= phpMyAdmin DISTVERSION= 4.5.0.1
なおこの段階では、
# portversion -vl'<' [Reading data from pkg(8) ... - 407 packages found - done] firebird25-client-2.5.3_3 < needs updating (port has 2.5.4) phpMyAdmin-4.4.15 < needs updating (port has 4.5.0.1) unixODBC-2.3.2_2 < needs updating (port has 2.3.4)
の様な出力となる
portsdb -Uu
してみる。
root@p5k:/usr/ports # portsdb -Uu Updating the ports index ... Generating INDEX20150925-55703-1xrqi9u - please wait..--- describe.accessibility --- --- describe.arabic --- --- describe.archivers --- --- describe.astro --- --- describe.audio --- --- describe.benchmarks --- --- describe.biology --- --- describe.cad --- --- describe.chinese --- --- describe.comms --- --- describe.converters --- --- describe.databases --- --- describe.deskutils --- --- describe.devel --- --- describe.dns --- --- describe.editors --- --- describe.emulators --- --- describe.finance --- --- describe.french --- --- describe.ftp --- --- describe.games --- --- describe.german --- --- describe.graphics --- --- describe.devel --- PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525/soap.so' - /usr/local/lib/php/20100525/soap.so: Undefined symbol "ps_globals" in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525/xsl.so' - /usr/local/lib/php/20100525/xsl.so: Undefined symbol "dom_node_class_entry" in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525/wddx.so' - /usr/local/lib/php/20100525/wddx.so: Undefined symbol "ps_globals" in Unknown on line 0 PHP Warning: Module 'pdo_dblib' already loaded in Unknown on line 0 --- describe.hebrew --- --- describe.hungarian --- --- describe.irc --- --- describe.japanese --- --- describe.java --- --- describe.korean --- --- describe.lang --- --- describe.mail --- --- describe.math --- --- describe.misc --- --- describe.multimedia --- --- describe.net --- --- describe.net-im --- --- describe.net-mgmt --- --- describe.net-p2p --- --- describe.news --- --- describe.palm --- --- describe.polish --- --- describe.ports-mgmt --- --- describe.portuguese --- --- describe.print --- --- describe.russian --- --- describe.science --- --- describe.security --- --- describe.shells --- --- describe.sysutils --- --- describe.textproc --- --- describe.ukrainian --- --- describe.vietnamese --- --- describe.www --- --- describe.x11 --- --- describe.x11-clocks --- --- describe.x11-drivers --- --- describe.x11-fm --- --- describe.x11-fonts --- --- describe.x11-servers --- --- describe.x11-themes --- --- describe.x11-toolkits --- --- describe.x11-wm --- Done. done [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 25257 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000.........20000.........21000.........22000.........23000.........24000.........25000.. ..... done]
root@p5k:/usr/ports # portversion -vl'<' [Reading data from pkg(8) ... - 407 packages found - done] firebird25-client-2.5.3_3 < needs updating (port has 2.5.4) phpMyAdmin-4.4.15 < needs updating (port has 4.5.0.1) unixODBC-2.3.2_2 < needs updating (port has 2.3.4)
あれ?変わってない???
Total access 4262:本日 1:昨日 0