Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 07-24-2008, 09:41 AM   #1
Registered: Apr 2007
Posts: 33

Rep: Reputation: 15
Upgrade failed due to 'held packages'

Hello everybody

I've been using Debian Etch for the past one year. In one of my amd64 machines, I installed Lenny using the first DVD. Now, how can I install software in repositories? Should I add corresponding entries to the sources.list file? If so, please tell what they are. In addition, using kpackage, I tried to upgrade the system via internet. It produced an error message, whose details I list below as it is.

< export DEBIAN_FRONTEND; apt-get dist-upgrade;echo RESULT=$?
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Failed
The following packages have unmet dependencies:
debconf: Depends: debconf-i18n but it is not going to be installed or
debconf-english but it is not installable
libbcel-java: Depends: libregexp-java but it is not going to be installed
libmx4j-java: Depends: java-gcj-compat but it is not going to be installed or
java1-runtime or
Depends: liblog4j1.2-java but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Please help me.
Old 07-24-2008, 11:39 AM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
what is in /etc/apt/preferences?
Old 07-26-2008, 09:23 AM   #3
Registered: Apr 2007
Posts: 33

Original Poster
Rep: Reputation: 15
No, there is nothing like 'preferences' is /etc/apt folder. The folder has two sub-folders namely apt.conf.d and sources.list.d. In addition, it has six files of other names. Any other information needed?
Old 07-26-2008, 10:21 AM   #4
Senior Member
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Post your sources.list file.

it has six files of other names.
Is one of them "apt.conf"? ... If so, include the contents of that file.

Last edited by rickh; 07-26-2008 at 10:23 AM.


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
Aptitude -- Packages being held back snuffy115 Debian 2 02-19-2007 12:18 AM
upgrade FC4 to FC5 failed due to dependencies SofNine Fedora 16 05-03-2006 04:08 PM
apt-get upgrade packages held back manicman Linux - Newbie 3 11-25-2005 06:21 PM
Reason for packages being held back Whitman Debian 7 07-23-2004 06:54 PM
how to install the "packages that have been held back" when doing "apt-get upgrade&qu zero79 Debian 5 06-27-2004 08:19 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:00 PM.

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