LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-26-2015, 12:15 AM   #1
roncat
LQ Newbie
 
Registered: Mar 2015
Posts: 10

Rep: Reputation: Disabled
how to kill held broken packages


Just done a big update of Debian 7.8. This has killed the Gnome desktop completely, I can only login at runlevel 2. Init or systemd will not change runlevel. But all my files are in place.
I cannot use Synaptic (X not there)
apt-get install Gnome fails with:
***"unable to correct - you have held broken packages"***
Presumably I need to kill the 'held broken packages' (no idea which they are)
How do I do this? I want to get back to runlevel 5 and a Gnome desktop.
 
Old 03-26-2015, 01:23 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,859

Rep: Reputation: 4479Reputation: 4479Reputation: 4479Reputation: 4479Reputation: 4479Reputation: 4479Reputation: 4479Reputation: 4479Reputation: 4479Reputation: 4479Reputation: 4479
here: http://www.linuxquestions.org/questi...system-330021/ you can find some ideas
 
Old 03-26-2015, 02:47 AM   #3
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Try this:
Code:
# apt-get install -f
 
Old 03-26-2015, 03:27 AM   #4
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
Quote:
Originally Posted by Head_on_a_Stick View Post
Try this:
Code:
# apt-get install -f
Exactly.

I would run;
Code:
# dpkg --configure -a
first to see if that straightens some out.

The best thing to do, even on a stable install such as yours, is keep up with your package upgrades.

All Gnu/Linux distros are very fast at releasing fixes for potential exploits that people discover. These by and large are the only package upgrades you will get in Debian Stable.

As these exploits are announced publically everyone knows about them. You should have the fixes install as soon as possible. You should set a schedule and stick to it. Weekly would be my minimum recommendation although others may feel longer is OK.

I run mine daily.

I also have a number of installs most of which are testing or Sid and those need upgraded daily or the package upgrades get out of hand. My Debian 6 and 7 installs get the same treatment.

Done in chroot I can stay right here on my favorite Sid install and do them pretty fast 2 at a time. 8 of them rarely take over half an hour.

6 and 7 many times have nothing. When they do, however, it is not something I want to postpone getting patched.
 
  


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
[SOLVED] Unable to correct problems, you have held broken packages steez2002 Linux - Desktop 13 07-15-2016 12:31 PM
E: Unable to correct problems, you have held broken packages fargris Debian 9 01-05-2014 10:03 AM
[SOLVED] VLC - Unable to correct problems, you have held broken packages. marcelp1 Linux - Newbie 2 10-04-2013 03:22 AM
Ubuntu failed upgrade from 10.4 to 12.4 broken or held packages Kusho Linux - Newbie 8 10-02-2013 08:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration