誤刪 /var/db/pkg 的解救方法!!!

剛剛在irc 看到的~~備忘一下
(17:54:34) weithenn: 請教長輩手賤把 /var/db/pkg 砍了如何 rebuild?
(17:55:18) S3pPoor: 到 /usr/ports/ 裡面開始重新裝… XD
(17:55:49) weithenn: S3pPoor:需要的在重裝一次?
(17:55:54) tys0n: … //pat
(17:55:59) ***S3pPoor 雙手合十,喃喃唸著「阿彌陀佛」。
(17:56:21) S3pPoor: weithenn: /var/db/pkg 裡面的東西沒有第二份啊, 所以就…
(17:56:44) Jedi_: 怎麼辦喔,就從備援機上面 co 回來
(17:56:46) weithenn: S3pPoor:了解了,手賤是要付出代價的
(17:56:48) ***Jedi_ flee
(17:57:14) weithenn: Jedi_:大師說的是啊
(17:57:37) Jedi_: 不過我自己也沒有備援機,嗚
(17:57:49) Jedi_: 我只有松果有做 A/B Backup
(17:57:56) ***weithenn 這台也沒有
(17:58:02) ***weithenn
(17:58:18) Jedi_: 所以我們還是需要 versioned fs
(17:58:38) ***S3pPoor ╮(╯OO╰)╭
(17:59:06) ***weithenn 下次手要先洗乾淨
(18:02:41) chinsan: 先裝上 portupgrade ,然後 mkdir -p /var/db/pkg ; pkgdb -Fu
(18:04:17) plasmaball: chinsan: 好強
(18:06:19) weithenn: chinsan:我試試在來回報
(18:06:30) chinsan: plasmaball: 漿伯長輩,您想太多 @_@
(18:09:07) psilotum 離開聊天室 (quit: “leaving”)。
(18:35:10) candyz [~candyz@dns.kandix.idv.tw] 進入聊天室。
(18:35:59) ***weithenn 回來不少,有些還是漏了
(18:36:07) ***weithenn 在觀察看看吧
:( h):

About johnpupu

..........
This entry was posted in FreeBSD and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word