LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-31-2007, 04:00 AM   #1
[KIA]aze
Member
 
Registered: Jun 2006
Distribution: Debian, Ubuntu, Windows XP
Posts: 146

Rep: Reputation: 16
apt-get upgrade stopped, how can I remove packages before continuing upgrade?


apt-get upgrade stopped because of a lack of space. But now I can't remove any packages with apt-get because it stop suggesting me to use "apt-get -f install" to solve the problem.

But of course, since I have no space left, "apt-get -f install" doesn't work.
(I have a separate /usr partition, so I can't free space by freeing my /home... )

How can I remove packages then?
Is it safe to use "--force-yes"?
 
Old 05-31-2007, 04:37 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
You should really have studied the release notes for Debian 4 BEFORE you started the process. I always take a printout and study in detail and have it beside me during the process - here ends the lecture

Ref; http://www.debian.org/releases/etch/releasenotes

Ideally you should be using aptitude for the upgrade. According to the afore mentioned release notes removing previously downloaded packages located in /var/cache/apt/archive will free up space. This can be done by doing apt-get clean or aptitude clean. I seriously suggest the you follow the first paragraph above.
 
Old 05-31-2007, 05:11 AM   #3
[KIA]aze
Member
 
Registered: Jun 2006
Distribution: Debian, Ubuntu, Windows XP
Posts: 146

Original Poster
Rep: Reputation: 16
I use Ubuntu. (but it has aptitude too of course)

I had already tried apt-get clean but it didn't solve the problem.
I didn't think about aptitude.

Anyway, I solved the problem in a quite simple way in the end:
I used synaptic, used the "broken" filter, deselected the broken package to remove it and "apply".
(However, deselecting the broken package forced me to remove a lot of other things. I don't seem to miss them yet, but who knows...)
 
Old 05-31-2007, 06:21 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Another useful tool that comes from the release notes that would pickup this situation is the command dpkg --audit
 
Old 05-31-2007, 07:49 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
you also might want to install localepurge it will free up quite a bit of space in man pages and documentation that is for languages other than you speak/read..
 
  


Reply


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
apt-get upgrade packages have been kept back cccc Debian 7 04-11-2007 02:35 PM
upgrade packages, remove old? pyre Linux - Newbie 6 11-10-2006 10:27 AM
if i do apt-get upgrade what happen to the old packages Paxmaster Linux - General 1 04-03-2005 10:04 AM
apt-get upgrade: too many packages! bruno buys Debian 2 01-30-2005 09:21 PM
Some programs stopped working after apt-get upgrade. Golradir Fedora 3 10-31-2004 02:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:34 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
Open Source Consulting | Domain Registration