ubuntu上打包套件 - Linux

Mason avatar
By Mason
at 2010-12-20T15:26

Table of Contents

我在squid官網抓3.0來打包套件

A
#cd squid3
#./configure --prefix=/home
#make
#checkinstall -D --install=no
(一直按enter產生squid4_3.0.deb-1_i386.deb,不安裝)

然後我copy到另外一台B
/usr/local/etc# dpkg -i squid4_3.0.deb-1_i386.deb
(Reading database ... 20494 files and directories currently installed.)
Preparing to replace squid4 3.0.deb-1 (using squid4_3.0.deb-1_i386.deb) ...
Unpacking replacement squid4 ...
dpkg: error processing squid4_3.0.deb-1_i386.deb (--install):
unable to create `/etc/squid3/squid.conf.default.dpkg-new' (while processing
`./etc/squid3/squid.conf.default'): No such file or directory
Errors were encountered while processing:
squid4_3.0.deb-1_i386.deb

如果我把A台上的/etc/squid3/squid.conf.default.dpkg-new複製到B台/etc/squid3

/usr/local/etc# dpkg -i squid4_3.0.deb-1_i386.deb
(Reading database ... 20494 files and directories currently installed.)
Preparing to replace squid4 3.0.deb-1 (using squid4_3.0.deb-1_i386.deb) ...
Unpacking replacement squid4 ...
dpkg: warning: squid4: conffile 'etc/squid3' is not a plain file or symlink
(= '/etc/squid3')
Setting up squid4 (3.0.deb-1) ...
dpkg: warning: squid4: conffile '/etc/squid3' is not a plain file or symlink
(= '/etc/squid3')

我有漏掉什麼重要步驟嗎??
※ 編輯: slinbody 來自: 112.105.155.79 (12/20 15:28)

Tags: Linux

All Comments

CentOS 5.5關機訊息~

Frederica avatar
By Frederica
at 2010-12-20T14:29
剛剛自已安裝一台CentOS 5.5來練習 結果關機時發現跟另一台運轉很久的伺服器一樣的情形 telling INIT go to go single user mode. INIT:Going single user INIT:Sendi ...

請問大家都用什麼字型

Gary avatar
By Gary
at 2010-12-20T11:14
再網路上看到一種字型Droid 然後我就全面使用他 結果... Terminal字都黏在一起 但我把 使用系統的固定寬度字型 關掉就好了 另一個問題是 我的OpenOffice全部的字型都變成方框 有什麼字型可以全部都設一樣的 或是建議好看好用的 謝謝嚕 - ...

mv指令取消後原始檔案的資料還是完整的嗎?

David avatar
By David
at 2010-12-20T00:09
根據 $ info coreutils and#39;mv invocationand#39; ... It first uses some of the same code thatand#39;s used by `cp -aand#39; to copy the requested directori ...

mv指令取消後,原始檔案的資料還是完整的嗎?

Robert avatar
By Robert
at 2010-12-19T23:12
請問ㄧ下 當我想用mv指令將資料從 A 搬到 B 指令執行到途中才想到硬碟空間可能會有問題 這時我按了 Ctrl + C 這時候原本在A處的原始資料 應該還是完整的吧 ! 所以A不會因有部分搬到B處,而有所缺少囉? -- - ...

剛剛電腦的IO暴增

Yedda avatar
By Yedda
at 2010-12-19T21:44
如標題, 現在已經正常了, 可是沒弄清楚發生了什麼事,心裡會毛毛的 當時的症狀:做任何事都會頓,直覺就是I/O暴表.... 我用: (ubuntu 10.04 desktop) netstat 沒看到我不認得的東西 tcpdump 沒有什麼奇怪的流量 cron,at 沒有跑東西 top 沒有 ...