LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 05-20-2010, 12:54 PM   #1
Yogesh Bhavsar
LQ Newbie
 
Registered: Feb 2010
Location: Malegaon/ Pune
Distribution: Ubuntu 9.04
Posts: 20

Rep: Reputation: 0
cannot remove partially downloaded packages


Hi. I have downloaded the package Sauerbraten (game) partially through Software centre(Ubuntu 10.04). Now I don't want to install it. Can anybody tell how to delete that partially downloaded package? It is wasting too much space....It is located in /var/cache/apt/archives/partial/
I tried to delete them manually but it didnt work...
 
Old 05-20-2010, 02:30 PM   #2
fruttenboel
Member
 
Registered: Jul 2008
Posts: 270

Rep: Reputation: 48
Quote:
Originally Posted by Yogesh Bhavsar View Post
Hi. I have downloaded the package Sauerbraten (game) partially through Software centre(Ubuntu 10.04). Now I don't want to install it. Can anybody tell how to delete that partially downloaded package? It is wasting too much space....It is located in /var/cache/apt/archives/partial/
I tried to delete them manually but it didnt work...
1. Go to a text terminal
2. Become root with 'su'
3. type 'rm <dateinahme>'
4. type 'exit'

When typing 'dateinahme' it is enough to type the first three letters and then press 'TAB'.

This ought to do te trick.
 
Old 05-20-2010, 02:41 PM   #3
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 258

Rep: Reputation: 42
Have you tried with sudo?
Below is an example of how I removed a partial download in Debian as root from the command line:
Code:
fox:/var/cache/apt/archives/partial# ls
acm_5.0-27_amd64.deb
fox:/var/cache/apt/archives/partial# rm -f acm_5.0-27_amd64.deb 
fox:/var/cache/apt/archives/partial# ls
fox:/var/cache/apt/archives/partial#
In your case, because you use Ubuntu, you need to use sudo as such:
Code:
fox:/var/cache/apt/archives/partial# ls
acm_5.0-27_amd64.deb
fox:/var/cache/apt/archives/partial# sudo rm -f acm_5.0-27_amd64.deb 
fox:/var/cache/apt/archives/partial# ls
fox:/var/cache/apt/archives/partial#
If for some reason Ubuntu's security measures won't let you do it as a user, try as admin. by switching to admin. with command: su -, then try again.
 
Old 05-20-2010, 03:31 PM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,554

Rep: Reputation: 241Reputation: 241Reputation: 241
Or cheat, boot a liveCD, mount the partition, and delete it that way. It's just a file on a filesystem. Now if you have it flagged in some way(dselect), it might try to start over / finish. Depending on what and how it became partial.

Otherwise sudo or root is needed to have permissions to that location.
 
Old 05-21-2010, 12:12 PM   #5
Yogesh Bhavsar
LQ Newbie
 
Registered: Feb 2010
Location: Malegaon/ Pune
Distribution: Ubuntu 9.04
Posts: 20

Original Poster
Rep: Reputation: 0
Thumbs up Solved

Quote:
Originally Posted by fruttenboel View Post
1. Go to a text terminal
2. Become root with 'su'
3. type 'rm <dateinahme>'
4. type 'exit'

When typing 'dateinahme' it is enough to type the first three letters and then press 'TAB'.

This ought to do te trick.
Thanks buddy! It worked..thanks a lot
 
Old 05-21-2010, 01:37 PM   #6
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
The "proper" way to do this would be:
Code:
sudo apt-get clean
Evo2.
 
  


Reply

Tags
downloaded, package, removing


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove a package and all packages it depends on without breaking other packages? macroron Fedora 2 01-31-2010 06:49 PM
filename.part << partially downloaded files... jimjamjahaa Linux - Newbie 2 04-04-2005 12:48 PM
Use konstruct with already downloaded packages Danny Beaudoin Linux - Software 2 04-13-2004 01:32 PM
Mandrake Update/Install Packages/Remove Packages wslyhbb Mandriva 2 03-15-2004 10:43 AM
Help using installing downloaded packages. troycus Linux - Newbie 1 09-22-2003 05:19 PM


All times are GMT -5. The time now is 12:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration