The following packages have been kept back

Kernels & Hardware, configuring network, installing services

The following packages have been kept back

Postby Trifud » 2014-12-28 21:57

I can't get bash updated because of unmet dependencies:

Code: Select all
# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  bash
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

# apt-get install bash
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:
 bash : PreDepends: libc6 (>= 2.15) but 2.13-38+deb7u6 is to be installed
E: Unable to correct problems, you have held broken packages.

# dpkg --list libc6
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version              Architecture         Description
+++-===============================-====================-====================-====================================================================
ii  libc6:amd64                     2.13-38+deb7u6       amd64                Embedded GNU C Library: Shared libraries
ii  libc6:i386                      2.13-38+deb7u6       i386                 Embedded GNU C Library: Shared libraries


I am running a kernel and some other related packages from backports:

Code: Select all
# uname -a
Linux 3.16.0-0.bpo.4-amd64 #1 SMP Debian 3.16.7-ckt2-1~bpo70+1 (2014-12-08) x86_64 GNU/Linux

# lsb_release -a
LSB Version:   core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID:   Debian
Description:   Debian GNU/Linux 7.7 (wheezy)
Release:   7.7
Codename:   wheezy


Is there a way I can get this update applied?
Trifud
 
Posts: 5
Joined: 2014-12-28 21:49

Re: The following packages have been kept back

Postby reinob » 2014-12-28 22:10

Post your sources.list. The bash version you are trying to install doesn't seem to be the one in wheezy.
reinob
 
Posts: 738
Joined: 2014-06-30 11:42

Re: The following packages have been kept back

Postby Trifud » 2014-12-28 22:14

reinob wrote:Post your sources.list. The bash version you are trying to install doesn't seem to be the one in wheezy.


Code: Select all
# cat /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 7.4.0 _Wheezy_ - Official amd64 NETINST Binary-1 20140208-13:45]/ wheezy main

#deb cdrom:[Debian GNU/Linux 7.4.0 _Wheezy_ - Official amd64 NETINST Binary-1 20140208-13:45]/ wheezy main

deb http://ftp.se.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.se.debian.org/debian/ wheezy main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

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

# wheezy-backports
deb http://ftp.se.debian.org/debian/ wheezy-backports main contrib non-free
deb-src http://ftp.se.debian.org/debian/ wheezy-backports main contrib non-free

# wheezy-proposed-updates
# deb http://ftp.se.debian.org/debian/ wheezy-proposed-updates main contrib non-free
# deb-src http://ftp.se.debian.org/debian/ wheezy-proposed-updates main contrib non-free

# google
#deb http://dl.google.com/linux/chrome/deb/ stable main
#deb http://dl.google.com/linux/earth/deb/ stable main

# firefox
deb http://packages.linuxmint.com debian import
Trifud
 
Posts: 5
Joined: 2014-12-28 21:49

Re: The following packages have been kept back

Postby dilberts_left_nut » 2014-12-28 22:15

Probably this:
Code: Select all
# firefox
deb http://packages.linuxmint.com debian import

Code: Select all
apt-cache policy bash
?
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 5016
Joined: 2009-10-05 07:54
Location: enzed

Re: The following packages have been kept back

Postby Trifud » 2014-12-28 22:21

Code: Select all
# apt-cache policy bash
bash:
  Installed: 4.2+dfsg-0.1+deb7u3
  Candidate: 4.3-9.2
  Version table:
     4.3-9.2 0
        500 http://packages.linuxmint.com/ debian/import amd64 Packages
 *** 4.2+dfsg-0.1+deb7u3 0
        500 http://ftp.se.debian.org/debian/ wheezy/main amd64 Packages
        500 http://security.debian.org/ wheezy/updates/main amd64 Packages
        100 /var/lib/dpkg/status


Can you explain what's going on and how to fix the problem? I have installed only Firefox from that repository.
Trifud
 
Posts: 5
Joined: 2014-12-28 21:49

Re: The following packages have been kept back

Postby dilberts_left_nut » 2014-12-28 22:31

Trifud wrote:Can you explain what's going on
apt is attempting to install bash from the mint repo.
and how to fix the problem?
Don't mix Debian and Mint.
I have installed only Firefox from that repository.
You sure?
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 5016
Joined: 2009-10-05 07:54
Location: enzed

Re: The following packages have been kept back

Postby Trifud » 2014-12-28 22:34

I disabled the mint repo and now I don't see this error. Thanks for helping!
Trifud
 
Posts: 5
Joined: 2014-12-28 21:49

Re: The following packages have been kept back

Postby Head_on_a_Stick » 2014-12-28 22:43

Why do you want to use firefox?

I use Arch & Debian sid and I honestly can't tell the difference between firefox & iceweasel (version differences notwithstanding)...
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10600
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: The following packages have been kept back

Postby Trifud » 2014-12-28 22:49

Head_on_a_Stick wrote:Why do you want to use firefox?

I use Arch & Debian sid and I honestly can't tell the difference between firefox & iceweasel (version differences notwithstanding)...


Is Iceweasel equivalent to Firefox regarding functionality? I mean, Wheezey was released about a couple of years ago and has Iceweasel only received security updates or does it have all new functionality that has come to Firefox during that time?
Trifud
 
Posts: 5
Joined: 2014-12-28 21:49

Re: The following packages have been kept back

Postby Head_on_a_Stick » 2014-12-28 22:53

Actually, wheezy is using version 31 just like sid -- I think there has been a change in Debian policy for iceweasel recently because of the security implications.
https://packages.debian.org/wheezy/iceweasel
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10600
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: The following packages have been kept back

Postby dilberts_left_nut » 2014-12-28 22:56

Head_on_a_Stick wrote:I think there has been a change in Debian policy for iceweasel recently because of the security implications.

More to do with effort required to supply security patches to keep up with their stupid release cycle.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 5016
Joined: 2009-10-05 07:54
Location: enzed


Return to System configuration

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable