LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-08-2013, 01:25 PM   #1
jabt
LQ Newbie
 
Registered: Aug 2012
Posts: 3

Rep: Reputation: Disabled
Not able to update on Debian Wheezy


Hi,
I recently upgraded from debian squeeze to wheezy
My update manager shows that 165 updates are available.

When I try to update, i get the following error

An error has occured and downloading has been aborted.

Error message:
E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.


Can someone help me resolve this?
 
Old 10-08-2013, 08:27 PM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,109

Rep: Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102
Hi,

the error suggests that you may have packages on hold (meaning that the package manager has been explicitly told not to upgrade one or more packages). So, you should check this. Eg
Code:
dpkg --get-selections | grep -w hold
If the above command returns nothing, please run the following command and post its output.
Code:
dpkg --audit
If this command returns nothing, please post the full output when you try to upgrade. Eg the output of:
Code:
apt-get upgrade
(this will need to be run as root).

Evo2.
 
Old 10-08-2013, 09:19 PM   #3
jabt
LQ Newbie
 
Registered: Aug 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
As you'd anticipated,

Code:
dpkg --get-selections | grep -w hold
returned nothing

So I ran, the
Code:
dpkg --audit
, and I got
Code:
The following packages are missing the md5sums control file in the
database, they need to be reinstalled:
 playonlinux          This program is a front-end for wine.
 g++                  The GNU C++ compiler
 default-jdk          Standard Java or Java compatible Development Kit
 gcj-jre-headless     Java runtime environment using GIJ/classpath (headless ve
 gcj-native-helper    Standard helper tools for creating gcj native packages
 gfortran             The GNU Fortran 95 compiler
 git                  fast, scalable, distributed revision control system
 mendeleydesktop      Mendeley Desktop (paper management and sharing software)
 default-jre          Standard Java or Java compatible Runtime
 binutils             GNU assembler, linker and binary utilities
So, I just reinstall these packages?
 
Old 10-08-2013, 09:24 PM   #4
wujiatongsir
LQ Newbie
 
Registered: Dec 2012
Posts: 11

Rep: Reputation: Disabled
Smile centos ifcfg-eth0

[mod_edit]Please come back with that in English.[/edit]

Last edited by Tinkster; 10-08-2013 at 10:11 PM. Reason: mod edit - non-English content removed.
 
Old 10-08-2013, 09:54 PM   #5
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,109

Rep: Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102
Hi,

Quote:
Originally Posted by jabt View Post
So I ran, the
Code:
dpkg --audit
, and I got
Code:
The following packages are missing the md5sums control file in the
database, they need to be reinstalled:
 playonlinux          This program is a front-end for wine.
 g++                  The GNU C++ compiler
 default-jdk          Standard Java or Java compatible Development Kit
 gcj-jre-headless     Java runtime environment using GIJ/classpath (headless ve
 gcj-native-helper    Standard helper tools for creating gcj native packages
 gfortran             The GNU Fortran 95 compiler
 git                  fast, scalable, distributed revision control system
 mendeleydesktop      Mendeley Desktop (paper management and sharing software)
 default-jre          Standard Java or Java compatible Runtime
 binutils             GNU assembler, linker and binary utilities
So, I just reinstall these packages?
Yes that should work. Eg
Code:
apt-get install --reinstall playonlinux g++ default-jdk ...
Evo2.
 
  


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
LXer: Debian Linux vs. Debian kFreeBSD With Squeeze & Wheezy LXer Syndicated Linux News 0 12-12-2012 10:00 PM
LXer: Iceweasel 10.0.09 ESR update for Debian Wheezy LXer Syndicated Linux News 0 10-17-2012 11:31 PM
[SOLVED] Newly installed debian sid & saved debian wheezy home would like to transfer files EDDY1 Linux - Newbie 11 01-20-2012 07:43 PM
LXer: Debian to offer MultiArch support with Debian Wheezy 7 in 2013 LXer Syndicated Linux News 0 08-11-2011 01:50 AM
Debian Testing (Wheezy) update REALLY broke networking rbees Linux - Networking 11 05-16-2011 04:14 AM


All times are GMT -5. The time now is 10:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration