LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-26-2015, 08:31 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Thumbs down E: Unable to correct problems, you have held broken packages!!!


Hello.
I want to install a package but debian 7.X show me :

W: You may want to run apt-get update to correct these problems
E: Unable to correct problems, you have held broken packages.

After it I run "apt-get update" or "apt-get install -f" or "sudo apt-get autoclean
" but problem not solved .
What is your idea?


Thank you.
 
Old 05-26-2015, 08:50 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Please provide the command you used, together with the complete output, and also the content of /etc/apt/sources.list.
 
Old 05-27-2015, 04:15 AM   #3
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
The command is :

$ sudo apt-get install ooniprobe
[sudo] password :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
ooniprobe : Depends: python-txsocksx but it is not going to be installed
E: Unable to correct problems, you have held broken packages.




The output of "/etc/apt/sources.list " is :

# deb cdrom:[Debian GNU/Linux 7.7.0 _Wheezy_ - Official Multi-architecture amd64/i386 NETINST #1 20141018-13:43]/ wheezy main

#deb cdrom:[Debian GNU/Linux 7.7.0 _Wheezy_ - Official Multi-architecture amd64/i386 NETINST #1 20141018-13:43]/ wheezy main

deb http://ftp.us.debian.org/debian/ wheezy main
deb-src http://ftp.us.debian.org/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main
deb-src http://ftp.us.debian.org/debian/ wheezy/updates main

# wheezy-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ wheezy-updates main
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main

# wheezy-backports
deb http://http.debian.net/debian/ wheezy-backports main contrib non-free

#OpenVAS
deb http://download.opensuse.org/reposit...v6/Debian_7.0/ ./

#Backports
deb http://ftp.debian.org/debian/ wheezy-backports main
deb http://http.debian.net/debian wheezy-backports main
 
Old 05-27-2015, 04:45 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The python-txsocksx package is for Debian Wheezy only available in the backports repository. Try to install this manually first and then repeat the install command for your software.
 
Old 05-28-2015, 12:46 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You should have main contrib non-free on all of the lines in sources.list.
Also you 2 conflicting instances of backports in sources.list
But is wheezy still being maintained?
 
Old 05-28-2015, 05:09 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by EDDY1 View Post
You should have main contrib non-free on all of the lines in sources.list.
Only if the OP wants to use packages from contrib or non-free from the main repositories.
Quote:
But is wheezy still being maintained?
Yes, with the release of Jessie Wheezy has been promoted to "oldstable" and will be maintained for a year after Jessie's release.
 
Old 06-05-2015, 07:29 PM   #7
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

Rep: Reputation: 167Reputation: 167
slightly off topic but as squeeze is still supported beyond the year how does that fit into the lifecycle. Does it mean that 6 will be supported beyond 7?

Fred.
 
Old 06-05-2015, 08:17 PM   #8
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
squeeze is being supported by the Debian LTS team (and has been referred to as old-oldstable).
wheezy is likely to do the same if the LTS team remains a viable part of the project.
 
Old 06-06-2015, 05:47 AM   #9
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
wheezy has been confirmed as LTS and will be supported until May 2018.

https://wiki.debian.org/LTS
 
  


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
Ubuntu Server 12.04: E: Unable to correct problems, you have held broken packages Suburban Errorist Ubuntu 1 09-21-2014 05:20 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

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

All times are GMT -5. The time now is 11:35 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