LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 11:54 AM   #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, 01:30 PM   #2
fruttenboel
Member
 
Registered: Jul 2008
Location: Tilburg NL
Distribution: Slackware 14.2 ciurrent, kernel 3.18.11
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, 01:41 PM   #3
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
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, 02:31 PM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
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, 11:12 AM   #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, 12:37 PM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

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


Reply

Tags
downloaded, package, removing



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 05:49 PM
filename.part << partially downloaded files... jimjamjahaa Linux - Newbie 2 04-04-2005 11:48 AM
Use konstruct with already downloaded packages Danny Beaudoin Linux - Software 2 04-13-2004 12:32 PM
Mandrake Update/Install Packages/Remove Packages wslyhbb Mandriva 2 03-15-2004 09:43 AM
Help using installing downloaded packages. troycus Linux - Newbie 1 09-22-2003 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:26 AM.

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
Open Source Consulting | Domain Registration