pkg downgrade
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
FreeBSD 10.2-RELEASE (GENERIC) #0
*pkg downgrade [#kd6544de]
参考:http://www.programming-knowledge.com/wiki/ports_tips
pkg upgrade があるんだから、pkg downgrade で簡単にダウン...
portdwngrade を使うとのこと
**portdowngrade [#g3312fbc]
portdowngradeをインストール
portinstall ports-mgmt/portdowngrade
portsのdatabasesディレクトリへ移動
cd /usr/ports/databases
ダウングレードしたいリビジョンを確認
portdowngrade databases/phpmyadmin
目的のリビジョンをチェックアウトして書き換える
portdowngrade databases/phpmyadmin r397367
root@p5k:/usr/ports/databases # portdowngrade databases/...
C phpmyadmin/files
C phpmyadmin/Makefile
C phpmyadmin/distinfo
C phpmyadmin/pkg-descr
C phpmyadmin/pkg-plist-chunk
A phpmyadmin/files/config.inc.php.sample
A phpmyadmin/files/pkg-message.in
Checked out revision 397367.
Tree conflict on 'phpmyadmin/Makefile'
> local file unversioned, incoming file add upon update
Select: (r) mark resolved, (p) postpone, (q) quit resolu...
(r) - accept current working copy state
(p) - resolve the conflict later [postpone]
(q) - postpone all remaining conflicts
(h) - show this help (also '?')
Words in square brackets are the corresponding --accept ...
Select: (r) mark resolved, (p) postpone, (q) quit resolu...
Resolved conflicted state of 'phpmyadmin/Makefile'
Tree conflict on 'phpmyadmin/distinfo'
> local file unversioned, incoming file add upon update
Select: (r) mark resolved, (p) postpone, (q) quit resolu...
Resolved conflicted state of 'phpmyadmin/distinfo'
Tree conflict on 'phpmyadmin/files'
> local dir unversioned, incoming dir add upon update
Select: (r) mark resolved, (p) postpone, (q) quit resolu...
Resolved conflicted state of 'phpmyadmin/files'
Tree conflict on 'phpmyadmin/pkg-descr'
> local file unversioned, incoming file add upon update
Select: (r) mark resolved, (p) postpone, (q) quit resolu...
Resolved conflicted state of 'phpmyadmin/pkg-descr'
Tree conflict on 'phpmyadmin/pkg-plist-chunk'
> local file unversioned, incoming file add upon update
Select: (r) mark resolved, (p) postpone, (q) quit resolu...
Resolved conflicted state of 'phpmyadmin/pkg-plist-chunk'
You should be done-- now cd into phpmyadmin and you can ...
# make deinstall install clean
%%これで、/usr/ports/databases/phpmyadmin/ 以下が書き換わ...
書き換わっていないので、一つ上の階層/usr/ports/でチェック...
もとからあった、/usr/ports/databases/phpmyadmin を phpa...
チェックアウトして出来たphpadminディレクトリを、/usr/port...
/usr/ports/databases/phpmyadmin/Makefile
# Created by: nbm
# $FreeBSD: head/databases/phpmyadmin/Makefile 397684 20...
PORTNAME= phpMyAdmin
DISTVERSION= 4.5.0.1
から、
# Created by: nbm
# $FreeBSD: head/databases/phpmyadmin/Makefile 397367 20...
PORTNAME= phpMyAdmin
DISTVERSION= 4.4.15
へ
なおこの段階では、
# portversion -vl'<'
[Reading data from pkg(8) ... - 407 packages found - done]
firebird25-client-2.5.3_3 < needs updating (port has ...
phpMyAdmin-4.4.15 < needs updating (port has ...
unixODBC-2.3.2_2 < needs updating (port has ...
の様な出力となる
portsdb -Uu
してみる。
root@p5k:/usr/ports # portsdb -Uu
Updating the ports index ... Generating INDEX20150925-55...
--- 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 librar...
PHP Warning: PHP Startup: Unable to load dynamic librar...
PHP Warning: PHP Startup: Unable to load dynamic librar...
PHP Warning: Module 'pdo_dblib' already loaded in Unkno...
--- 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 ....
root@p5k:/usr/ports # portversion -vl'<'
[Reading data from pkg(8) ... - 406 packages found - done]
firebird25-client-2.5.3_3 < needs updating (port has ...
unixODBC-2.3.2_2 < needs updating (port has ...
あれ?PHPがエラってる!?
ここでportsnap fetch update すると、
# portversion -vl'<'
[Reading data from pkg(8) ... - 407 packages found - done]
[Updating the portsdb <format:bdb_btree> in /usr/ports ....
firebird25-client-2.5.3_3 < needs updating (port has ...
p5-Archive-Zip-1.51 < needs updating (port has ...
phpMyAdmin-4.4.15 < needs updating (port has ...
unixODBC-2.3.2_2 < needs updating (port has ...
へと表示が戻るが、/usr/ports/databases/phpmyadmin/Makefil...
待避してあった phpadmin_bkを元へ戻して、ダウングレード版...
もう一回
portsdb -Uu
した
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
終了行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
FreeBSD 10.2-RELEASE (GENERIC) #0
*pkg downgrade [#kd6544de]
参考:http://www.programming-knowledge.com/wiki/ports_tips
pkg upgrade があるんだから、pkg downgrade で簡単にダウン...
portdwngrade を使うとのこと
**portdowngrade [#g3312fbc]
portdowngradeをインストール
portinstall ports-mgmt/portdowngrade
portsのdatabasesディレクトリへ移動
cd /usr/ports/databases
ダウングレードしたいリビジョンを確認
portdowngrade databases/phpmyadmin
目的のリビジョンをチェックアウトして書き換える
portdowngrade databases/phpmyadmin r397367
root@p5k:/usr/ports/databases # portdowngrade databases/...
C phpmyadmin/files
C phpmyadmin/Makefile
C phpmyadmin/distinfo
C phpmyadmin/pkg-descr
C phpmyadmin/pkg-plist-chunk
A phpmyadmin/files/config.inc.php.sample
A phpmyadmin/files/pkg-message.in
Checked out revision 397367.
Tree conflict on 'phpmyadmin/Makefile'
> local file unversioned, incoming file add upon update
Select: (r) mark resolved, (p) postpone, (q) quit resolu...
(r) - accept current working copy state
(p) - resolve the conflict later [postpone]
(q) - postpone all remaining conflicts
(h) - show this help (also '?')
Words in square brackets are the corresponding --accept ...
Select: (r) mark resolved, (p) postpone, (q) quit resolu...
Resolved conflicted state of 'phpmyadmin/Makefile'
Tree conflict on 'phpmyadmin/distinfo'
> local file unversioned, incoming file add upon update
Select: (r) mark resolved, (p) postpone, (q) quit resolu...
Resolved conflicted state of 'phpmyadmin/distinfo'
Tree conflict on 'phpmyadmin/files'
> local dir unversioned, incoming dir add upon update
Select: (r) mark resolved, (p) postpone, (q) quit resolu...
Resolved conflicted state of 'phpmyadmin/files'
Tree conflict on 'phpmyadmin/pkg-descr'
> local file unversioned, incoming file add upon update
Select: (r) mark resolved, (p) postpone, (q) quit resolu...
Resolved conflicted state of 'phpmyadmin/pkg-descr'
Tree conflict on 'phpmyadmin/pkg-plist-chunk'
> local file unversioned, incoming file add upon update
Select: (r) mark resolved, (p) postpone, (q) quit resolu...
Resolved conflicted state of 'phpmyadmin/pkg-plist-chunk'
You should be done-- now cd into phpmyadmin and you can ...
# make deinstall install clean
%%これで、/usr/ports/databases/phpmyadmin/ 以下が書き換わ...
書き換わっていないので、一つ上の階層/usr/ports/でチェック...
もとからあった、/usr/ports/databases/phpmyadmin を phpa...
チェックアウトして出来たphpadminディレクトリを、/usr/port...
/usr/ports/databases/phpmyadmin/Makefile
# Created by: nbm
# $FreeBSD: head/databases/phpmyadmin/Makefile 397684 20...
PORTNAME= phpMyAdmin
DISTVERSION= 4.5.0.1
から、
# Created by: nbm
# $FreeBSD: head/databases/phpmyadmin/Makefile 397367 20...
PORTNAME= phpMyAdmin
DISTVERSION= 4.4.15
へ
なおこの段階では、
# portversion -vl'<'
[Reading data from pkg(8) ... - 407 packages found - done]
firebird25-client-2.5.3_3 < needs updating (port has ...
phpMyAdmin-4.4.15 < needs updating (port has ...
unixODBC-2.3.2_2 < needs updating (port has ...
の様な出力となる
portsdb -Uu
してみる。
root@p5k:/usr/ports # portsdb -Uu
Updating the ports index ... Generating INDEX20150925-55...
--- 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 librar...
PHP Warning: PHP Startup: Unable to load dynamic librar...
PHP Warning: PHP Startup: Unable to load dynamic librar...
PHP Warning: Module 'pdo_dblib' already loaded in Unkno...
--- 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 ....
root@p5k:/usr/ports # portversion -vl'<'
[Reading data from pkg(8) ... - 406 packages found - done]
firebird25-client-2.5.3_3 < needs updating (port has ...
unixODBC-2.3.2_2 < needs updating (port has ...
あれ?PHPがエラってる!?
ここでportsnap fetch update すると、
# portversion -vl'<'
[Reading data from pkg(8) ... - 407 packages found - done]
[Updating the portsdb <format:bdb_btree> in /usr/ports ....
firebird25-client-2.5.3_3 < needs updating (port has ...
p5-Archive-Zip-1.51 < needs updating (port has ...
phpMyAdmin-4.4.15 < needs updating (port has ...
unixODBC-2.3.2_2 < needs updating (port has ...
へと表示が戻るが、/usr/ports/databases/phpmyadmin/Makefil...
待避してあった phpadmin_bkを元へ戻して、ダウングレード版...
もう一回
portsdb -Uu
した
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
ページ名: