LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 04-11-2015, 11:34 PM   #1
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 831

Rep: Reputation: 229Reputation: 229Reputation: 229
After upgrade to Jessie, db5.1-util is being held back


It gives this message after doing 'apt-get upgrade'

The following packages have been kept back:
db5.1-util

I tried this:
apt-mark unhold db5.1-util

but it says was already not hold.

Scratching my head here.. Idears?
 
Old 04-12-2015, 04:25 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
If you upgrade to a newer version of Debian do not use apt-get upgrade to do the actual upgrade, use apt-get dist-upgrade instead, of course after reading the upgrade portion of the rease notes.
 
Old 04-12-2015, 01:09 PM   #3
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 831

Original Poster
Rep: Reputation: 229Reputation: 229Reputation: 229
TobiSGD, thanks for the reply. That's actually what I did. Here's the steps I took:

After replacing all "wheezy" with "jessie" in sources.list file, I ran 'apt-get dist-upgrade'. After that I rebooted, then 'apt-get clean', then 'apt-get update', then apt-get upgrade just to check for any other packages. This is when I get that message about the db5.1-util being held.

Is it okay to just ignore this?

Last edited by erik2282; 04-12-2015 at 01:11 PM.
 
Old 04-12-2015, 01:16 PM   #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
I wouldn't ignore that, db-util in Jessie is at version 5.3, so there is definitely something wrong. May it be possible that this package was manually placed on hold? What does
Code:
dpkg --get-selections | grep db-util
show?
 
Old 04-12-2015, 01:57 PM   #5
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 831

Original Poster
Rep: Reputation: 229Reputation: 229Reputation: 229
the first command showed nothing:
root@erikpc:~# dpkg --get-selections | grep db-util

Then I tried to unhold package manually like this:
root@erikpc:~# apt-mark unhold db5.1-util
db5.1-util was already not hold.
root@erikpc:~#

Last edited by erik2282; 04-12-2015 at 02:01 PM. Reason: misspelling
 
Old 04-12-2015, 02:01 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I believe it's an empty package because I've been getting that message in all my machines, not just jessie but my sid box also.

This has been happening for about 6 mos. on different machines.

Last edited by EDDY1; 04-12-2015 at 02:03 PM.
 
Old 04-12-2015, 02:07 PM   #7
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
What is the output of:
Code:
apt-cache policy db-util
 
Old 04-12-2015, 03:31 PM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
It said that it wasn't installed so I installed it & it wouldn't upgrade to 5.3 so I installed 5.3 & now have both should 5.1 be removed?
 
Old 04-12-2015, 10:12 PM   #9
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 831

Original Poster
Rep: Reputation: 229Reputation: 229Reputation: 229
root@erikpc:~# apt-cache policy db-util
db-util:
Installed: (none)
Candidate: 5.3.0
Version table:
5.3.0 0
500 http://ftp.utexas.edu/debian/ jessie/main amd64 Packages
 
Old 04-13-2015, 08:56 AM   #10
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
Weird.

Try this:
Code:
# dpkg -r db-util_5.1.6_all.deb
You may have to modify the version number to match the one on your system.
 
Old 04-21-2015, 06:01 PM   #11
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 831

Original Poster
Rep: Reputation: 229Reputation: 229Reputation: 229
after apt-get remove db-util, i did a apt-get install db-util and it installed db5.3-util. Now it's not giving that message anymore. Thanks all.
 
Old 04-21-2015, 07:57 PM   #12
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: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Just remove the package db-util
Code:
sam@lounge:~$ ac show db-util
Package: db-util
Source: db-defaults
Version: 5.3.0
Installed-Size: 38
Maintainer: Debian Berkeley DB Group <pkg-db-devel@lists.alioth.debian.org>
Architecture: all
Depends: db5.3-util
Description-en: Berkeley Database Utilities
 This empty package depends on the recommended utilities package
 containing different tools for manipulating databases and installs
 unversioned links to current database utilities.
Description-md5: d85ea68b5af48dcbdc0e4173be4d602d
Tag: role::metapackage, works-with::db
Section: utils
Priority: extra
Filename: pool/main/d/db-defaults/db-util_5.3.0_all.deb
Size: 2696
MD5sum: c4fa12b2b5030bc24b77e9cbddeb9479
SHA1: 09d802aaae794d72a7390ae6f797961ee99ed0c4
SHA256: 6965ed47145f89da6312459b54df8d708619c30b5d3d42fe8bbd6aef6d176cc1
That is from a Sid install.

Find the current version of the actual package, in my case "db5.3-util", and install that.

If you have more than one version installed I would tend to favor removing older versions. However if dpkg doesn't see them as conflicting I am not sure that it is necessary. But you can only use one at time and unless they have very different functionality one is all you should be carrying on your system.

The command shown in the code box "ac show" is "apt-cache show". I am really good at typos so I use aliases to cut down on the chance of them.

Last edited by widget; 04-21-2015 at 07:59 PM. Reason: clarification
 
  


Reply



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
Following pkg held back ????????? chrischristian Linux - Newbie 1 01-29-2009 05:33 AM
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
apt-get held back Redbone981sl Linux - Software 3 01-03-2004 03:00 PM

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

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