(已解決)Dropbox黏在我電腦裡,刪不掉...... [論壇 - Ubuntu安裝問題]


正在瀏覽:   1 名遊客


 到底部   前一個主題   下一個主題  [無發表權] 請登錄或者註冊

(1) 2 »


(已解決)Dropbox黏在我電腦裡,刪不掉......
會員一級
註冊日期:
2014/10/1 14:56
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 49
MP : 6 / 728
EXP: 97
離線
如題
Dropbox黏在電腦裡刪不掉

而且還沒有辦法安裝其他程式

去軟體中心裡不能刪 一直卡在等待apt-get結束

而在終端機內打sudo apt-get remove nautilus-dropbox

就會跑出:
rogerwu0321@rogerwu0321-ThinkPad-3:~$ sudo apt-get remove nautilus-dropbox
[sudo] password for rogerwu0321:
E: 無法將 /var/lib/dpkg/lock 鎖定 - open (11: 資源暫時無法取得)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

2015/2/28 10:49
應用擴展 工具箱
回覆: Dropbox黏在我電腦裡,刪不掉......
管理員
註冊日期:
2010/5/7 5:46
所屬群組:
已註冊使用者
討論區管理群
等級: 31
HP : 0 / 755
MP : 434 / 20855
EXP: 23
離線
sudo dpkg --configure -a

解除鎖定

2015/2/28 16:35
應用擴展 工具箱
回覆: Dropbox黏在我電腦裡,刪不掉......
版主
註冊日期:
2008/7/14 0:03
來自 螢幕的另一端
所屬群組:
網站管理員
已註冊使用者
討論區管理群
等級: 32
HP : 0 / 798
MP : 497 / 26277
EXP: 95
離線
移除此檔即可
rm /var/lib/dpkg/lock

2015/2/28 17:11
應用擴展 工具箱
回覆: Dropbox黏在我電腦裡,刪不掉......
會員二級
註冊日期:
2009/6/22 14:07
所屬群組:
已註冊使用者
等級: 8
HP : 0 / 179
MP : 28 / 5412
EXP: 18
離線
應該是系統中有 apt-get 掛掉了,先把它 kill 掉再試試看

sudo kill -9 $(pgrep apt-get)

2015/2/28 17:42
應用擴展 工具箱
回覆: Dropbox黏在我電腦裡,刪不掉......
會員一級
註冊日期:
2014/10/1 14:56
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 49
MP : 6 / 728
EXP: 97
離線
啊...... 還是一樣沒有用耶ˊˋ 先謝謝各位大大...

2015/2/28 20:51
應用擴展 工具箱
回覆: Dropbox黏在我電腦裡,刪不掉......
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 34
HP : 169 / 847
MP : 574 / 18527
EXP: 89
離線
ReliveChιcΣ 寫到:
啊...... 還是一樣沒有用耶ˊˋ 先謝謝各位大大...


再次釐清執行的步驟。

* 先把「軟體中心」關掉。
* $ sudo rm /var/lib/dpkg/lock # 刪除「/var/lib/dpkg/lock」這個檔
* $ ls /var/lib/dpkg/lock # 確認「/var/lib/dpkg/lock」這個檔不存在。
* $ sudo apt-get remove nautilus-dropbox # 然後再回報執行這一行得到的訊息。

或是再把你執行的步驟再描述一下,當作協助參考的依據。

再次了解你目前的狀況,才好協助你解決問題摟

2015/2/28 22:02
應用擴展 工具箱
回覆: Dropbox黏在我電腦裡,刪不掉......
版主
註冊日期:
2008/7/14 0:03
來自 螢幕的另一端
所屬群組:
網站管理員
已註冊使用者
討論區管理群
等級: 32
HP : 0 / 798
MP : 497 / 26277
EXP: 95
離線
sudo rm /var/lib/dpkg/lock
sudo aptitude update
sudo aptitude remove nautilus-dropbox

執行以上的指令,把回應訊息貼出來

2015/2/28 23:17
應用擴展 工具箱
回覆: Dropbox黏在我電腦裡,刪不掉......
會員一級
註冊日期:
2014/10/1 14:56
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 49
MP : 6 / 728
EXP: 97
離線
最後會顯示:
rogerwu0321@rogerwu0321-ThinkPad-3:~$ ls /var/lib/dpkg/lock #
ls: 無法存取 /var/lib/dpkg/lock: 沒有此一檔案或目錄
rogerwu0321@rogerwu0321-ThinkPad-3:~$ sudo apt-get remove nautilus-dropbox #
[sudo] password for rogerwu0321:
E: dpkg 作業遭中斷,必須手動執行 'sudo dpkg --configure -a' 以修正問題。
rogerwu0321@rogerwu0321-ThinkPad-3:~$ sudo dpkg --configure -a
正在設定 ttf-mscorefonts-installer (3.4ubuntu3) ...
正在設定 nautilus-dropbox (0.7.1-2) ...

Dropbox is the easiest way to share and store your files online. Want to learn more? Head to http://www.dropbox.com/

^CTraceback (most recent call last):
File "/usr/bin/dropbox", line 1384, in <module>
ret = main(sys.argv)
File "/usr/bin/dropbox", line 1373, in main
result = commands[argv[i]](argv[i+1:])
File "/usr/bin/dropbox", line 806, in update
download()
File "/usr/bin/dropbox", line 529, in download
download = DownloadState()
File "/usr/bin/dropbox", line 248, in __init__
self.socket = urllib.urlopen("http://www.dropbox.com/download?plat=%s" % plat())
File "/usr/lib/python2.7/urllib.py", line 86, in urlopen
return opener.open(url)
File "/usr/lib/python2.7/urllib.py", line 207, in open
return getattr(self, name)(url)
File "/usr/lib/python2.7/urllib.py", line 358, in open_http
return self.http_error(url, fp, errcode, errmsg, headers)
File "/usr/lib/python2.7/urllib.py", line 371, in http_error
result = method(url, fp, errcode, errmsg, headers)
File "/usr/lib/python2.7/urllib.py", line 664, in http_error_301
return self.http_error_302(url, fp, errcode, errmsg, headers, data)
File "/usr/lib/python2.7/urllib.py", line 634, in http_error_302
data)
File "/usr/lib/python2.7/urllib.py", line 660, in redirect_internal
return self.open(newurl)
File "/usr/lib/python2.7/urllib.py", line 207, in open
return getattr(self, name)(url)
File "/usr/lib/python2.7/urllib.py", line 436, in open_https
h.endheaders(data)
File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 776, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 1161, in connect
self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
File "/usr/lib/python2.7/ssl.py", line 381, in wrap_socket
ciphers=ciphers)
File "/usr/lib/python2.7/ssl.py", line 143, in __init__
self.do_handshake()
File "/usr/lib/python2.7/ssl.py", line 305, in do_handshake
self._sslobj.do_handshake()
KeyboardInterrupt
dpkg:在處理 nautilus-dropbox (--configure) 時發生錯誤:
子程序 已安裝的 post-installation script 中斷
正在進行 libc-bin 的觸發程式 ...
ldconfig deferred processing now taking place
正在設定 wine-staging-i386 (1.7.37~ubuntu12.04.1) ...
正在設定 wine-staging (1.7.37~ubuntu12.04.1) ...
正在設定 pipelight-multi (0.2.8.1~ubuntu12.04.1) ...
正在進行 libc-bin 的觸發程式 ...
ldconfig deferred processing now taking place
在處理時有錯誤發生:
nautilus-dropbox

2015/3/1 14:14
應用擴展 工具箱
回覆: Dropbox黏在我電腦裡,刪不掉......
版主
註冊日期:
2008/7/14 0:03
來自 螢幕的另一端
所屬群組:
網站管理員
已註冊使用者
討論區管理群
等級: 32
HP : 0 / 798
MP : 497 / 26277
EXP: 95
離線
你並不是執行我貼給你的指令哦~
sudo rm /var/lib/dpkg/lock
sudo aptitude update
sudo aptitude remove nautilus-dropbox

2015/3/1 14:49
應用擴展 工具箱
回覆: Dropbox黏在我電腦裡,刪不掉......
會員一級
註冊日期:
2014/10/1 14:56
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 49
MP : 6 / 728
EXP: 97
離線
版主大大 最後會變成這樣:

rogerwu0321@rogerwu0321-ThinkPad-3:~$ sudo rm /var/lib/dpkg/lock
[sudo] password for rogerwu0321:
rogerwu0321@rogerwu0321-ThinkPad-3:~$ sudo aptitude update
E: dpkg 作業遭中斷,必須手動執行 'sudo dpkg --configure -a' 以修正問題。
Hit http://tw.archive.ubuntu.com precise Release.gpg
Hit http://tw.archive.ubuntu.com precise-updates Release.gpg
Hit http://tw.archive.ubuntu.com precise-backports Release.gpg
Hit http://tw.archive.ubuntu.com precise Release
Hit http://tw.archive.ubuntu.com precise-updates Release
Hit http://tw.archive.ubuntu.com precise-backports Release
Hit http://tw.archive.ubuntu.com precise/main Sources
Hit http://tw.archive.ubuntu.com precise/restricted Sources
Hit http://tw.archive.ubuntu.com precise/universe Sources
Hit http://tw.archive.ubuntu.com precise/multiverse Sources
Hit http://tw.archive.ubuntu.com precise/main i386 Packages
Hit http://tw.archive.ubuntu.com precise/restricted i386 Packages
Hit http://tw.archive.ubuntu.com precise/universe i386 Packages
Hit http://tw.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://tw.archive.ubuntu.com precise/main TranslationIndex
Hit http://tw.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://tw.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://tw.archive.ubuntu.com precise/universe TranslationIndex
Hit http://tw.archive.ubuntu.com precise-updates/main Sources
Hit http://tw.archive.ubuntu.com precise-updates/restricted Sources
Hit http://tw.archive.ubuntu.com precise-updates/universe Sources
Hit http://tw.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://tw.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://tw.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://tw.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://tw.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://tw.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://tw.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://tw.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://tw.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://tw.archive.ubuntu.com precise-backports/main Sources
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
下載: 1 http://ppa.launchpad.net precise Release.gpg [316 B]
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://tw.archive.ubuntu.com precise-backports/restricted Sources
Hit http://tw.archive.ubuntu.com precise-backports/universe Sources
Hit http://tw.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://tw.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://tw.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://tw.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://tw.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://tw.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://tw.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://tw.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://tw.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://tw.archive.ubuntu.com precise/main Translation-zh_TW
Hit http://tw.archive.ubuntu.com precise/main Translation-en
Hit http://tw.archive.ubuntu.com precise/multiverse Translation-zh_TW
Hit http://tw.archive.ubuntu.com precise/multiverse Translation-en
Hit http://tw.archive.ubuntu.com precise/restricted Translation-en
Hit http://tw.archive.ubuntu.com precise/universe Translation-zh_TW
Hit http://tw.archive.ubuntu.com precise/universe Translation-en
Hit http://tw.archive.ubuntu.com precise-updates/main Translation-zh_TW
Hit http://tw.archive.ubuntu.com precise-updates/main Translation-en
Hit http://tw.archive.ubuntu.com precise-updates/multiverse Translation-zh_TW
Hit http://tw.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://tw.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://tw.archive.ubuntu.com precise-updates/universe Translation-zh_TW
Hit http://tw.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://tw.archive.ubuntu.com precise-backports/main Translation-en
Hit http://tw.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://tw.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://tw.archive.ubuntu.com precise-backports/universe Translation-en
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://security.ubuntu.com precise-security Release
Ign http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://security.ubuntu.com precise-security/main Sources
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Ign http://ppa.launchpad.net precise/main Sources/DiffIndex
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Ign http://ppa.launchpad.net precise/main i386 Packages/DiffIndex
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-zh_TW
Ign http://ppa.launchpad.net precise/main Translation-zh
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-zh_TW
Ign http://ppa.launchpad.net precise/main Translation-zh
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Fetched 316 B in 8秒 (37 B/s)
W: GPG 錯誤: http://ppa.launchpad.net precise Release: 由於無法取得它們的公鑰,以下簽章無法進行驗證: NO_PUBKEY 45F4E27C01EB390A
E: dpkg 作業遭中斷,必須手動執行 'sudo dpkg --configure -a' 以修正問題。
E: dpkg 作業遭中斷,必須手動執行 'sudo dpkg --configure -a' 以修正問題。

rogerwu0321@rogerwu0321-ThinkPad-3:~$ sudo aptitude remove nautilus-dropbox
E: dpkg 作業遭中斷,必須手動執行 'sudo dpkg --configure -a' 以修正問題。
E: dpkg 作業遭中斷,必須手動執行 'sudo dpkg --configure -a' 以修正問題。
rogerwu0321@rogerwu0321-ThinkPad-3:~$



然後我在輸入一次sudo aptitude remove nautilus-dropbox 就好了,謝謝!!

2015/3/1 16:08
應用擴展 工具箱

(1) 2 »

 [無發表權] 請登錄或者註冊


可以查看帖子.
不可發帖.
不可回覆.
不可編輯自己的帖子.
不可刪除自己的帖子.
不可發起投票調查.
不可在投票調查中投票.
不可上傳附件.
不可不經審核直接發帖.