Can not install krb5-user on Ubuntu 14.04.03.

Asked by Bionikus on 2016-02-17

Hi!

I want to install "krb5-user" modul to connecting Active Directory with my ubuntu server, but i got the following error message (hungarian language):

#apt-get install krb5-user
krb5-user: Függ ettől: libkrb5-3 (= 1.12+dfsg-2ubuntu4) de csak 1.12+dfsg-2ubuntu5.2 telepíthető.

#cat /proc/version:
Linux version 3.19.0-49-generic (buildd@lgw01-08) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #55~14.04.1-Ubuntu SMP Fri Jan 22 11:24:31 UTC 2016

Can you help me?
Thanks:
Joseph Ávár

E-mail:
<email address hidden>

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu krb5 Edit question
Assignee:
No assignee Edit question
Solved by:
Bionikus
Solved:
2016-02-17
Last query:
2016-02-17
Last reply:
2016-02-17

What is the output of:

lsb_release -a; apt-cache policy krb5-user libkrb5-3

Thanks

Bionikus (bionikus-szaurusz) said : #2

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty

# apt-cache policy krb5-user libkrb5-3
krb5-user:
  Telepítve: (nincs)
  Jelölt: 1.12+dfsg-2ubuntu4
  Verziótáblázat:
     1.12+dfsg-2ubuntu4 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
libkrb5-3:
  Telepítve: 1.12+dfsg-2ubuntu5.2
  Jelölt: 1.12+dfsg-2ubuntu5.2
  Verziótáblázat:
 *** 1.12+dfsg-2ubuntu5.2 0
        500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1.12+dfsg-2ubuntu4 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Manfred Hampl (m-hampl) said : #3

Try running the commands

sudo apt-get update
apt-cache policy krb5-user libkrb5-3

and copy/paste all output into the question document as done before.

Bionikus (bionikus-szaurusz) said : #4

# sudo apt-get update
Letöltés:1 http://security.ubuntu.com trusty-security InRelease [65,9 kB]
Mellőz http://archive.ubuntu.com trusty InRelease
Letöltés:2 http://archive.ubuntu.com trusty-updates InRelease [65,9 kB]
Letöltés:3 http://security.ubuntu.com trusty-security/main Sources [104 kB]
Letöltés:4 http://security.ubuntu.com trusty-security/main amd64 Packages [420 kB]
Találat http://archive.ubuntu.com trusty Release.gpg
Letöltés:5 http://security.ubuntu.com trusty-security/main i386 Packages [392 kB]
Letöltés:6 http://archive.ubuntu.com trusty-updates/main Sources [259 kB]
Találat http://security.ubuntu.com trusty-security/main Translation-en
Letöltés:7 http://archive.ubuntu.com trusty-updates/main amd64 Packages [705 kB]
Letöltés:8 http://archive.ubuntu.com trusty-updates/main i386 Packages [683 kB]
Találat http://archive.ubuntu.com trusty-updates/main Translation-en
Találat http://archive.ubuntu.com trusty Release
Találat http://archive.ubuntu.com trusty/main Sources
Találat http://archive.ubuntu.com trusty/main amd64 Packages
Találat http://archive.ubuntu.com trusty/universe amd64 Packages
Találat http://archive.ubuntu.com trusty/main i386 Packages
Találat http://archive.ubuntu.com trusty/universe i386 Packages
Találat http://archive.ubuntu.com trusty/main Translation-hu
Találat http://archive.ubuntu.com trusty/main Translation-en
Találat http://archive.ubuntu.com trusty/universe Translation-hu
Találat http://archive.ubuntu.com trusty/universe Translation-en
Mellőz http://archive.ubuntu.com trusty/main Translation-hu_HU
Mellőz http://archive.ubuntu.com trusty/universe Translation-hu_HU
Letöltve 2.695 kB 8mp alatt (300 kB/s)
Csomaglisták olvasása... Kész

root@ubuntu1404:~# apt-cache policy krb5-user libkrb5-3
krb5-user:
  Telepítve: (nincs)
  Jelölt: 1.12+dfsg-2ubuntu4
  Verziótáblázat:
     1.12+dfsg-2ubuntu4 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
libkrb5-3:
  Telepítve: 1.12+dfsg-2ubuntu5.2
  Jelölt: 1.12+dfsg-2ubuntu5.2
  Verziótáblázat:
 *** 1.12+dfsg-2ubuntu5.2 0
        500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1.12+dfsg-2ubuntu4 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Manfred Hampl (m-hampl) said : #5

You are missing the trusty-security/universe and trusty-updates/universe repositories.

Please provide the output of

cat -n /etc/apt/sources.list

Bionikus (bionikus-szaurusz) said : #6

root@ubuntu1404:~# cat -n /etc/apt/sources.list
     1 #
     2
     3 # deb cdrom:[Ubuntu-Server 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main
     4
     5 # deb cdrom:[Ubuntu-Server 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main
     6
     7 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     8 # newer versions of the distribution.
     9 deb http://archive.ubuntu.com/ubuntu/ trusty main
    10 deb-src http://archive.ubuntu.com/ubuntu/ trusty main
    11
    12 ## Major bug fix updates produced after the final release of the
    13 ## distribution.
    14 deb http://archive.ubuntu.com/ubuntu/ trusty-updates main
    15 deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates main
    16
    17 ## Uncomment the following two lines to add software from the 'universe'
    18 ## repository.
    19 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    20 ## team. Also, please note that software in universe WILL NOT receive any
    21 ## review or updates from the Ubuntu security team.
    22 # deb http://hu.archive.ubuntu.com/ubuntu/ trusty universe
    23 # deb-src http://hu.archive.ubuntu.com/ubuntu/ trusty universe
    24 # deb http://hu.archive.ubuntu.com/ubuntu/ trusty-updates universe
    25 # deb-src http://hu.archive.ubuntu.com/ubuntu/ trusty-updates universe
    26
    27 ## Uncomment the following two lines to add software from the 'backports'
    28 ## repository.
    29 ## N.B. software from this repository may not have been tested as
    30 ## extensively as that contained in the main release, although it includes
    31 ## newer versions of some applications which may provide useful features.
    32 ## Also, please note that software in backports WILL NOT receive any review
    33 ## or updates from the Ubuntu security team.
    34 # deb http://hu.archive.ubuntu.com/ubuntu/ trusty-backports main
    35 # deb-src http://hu.archive.ubuntu.com/ubuntu/ trusty-backports main
    36
    37 deb http://security.ubuntu.com/ubuntu trusty-security main
    38 deb-src http://security.ubuntu.com/ubuntu trusty-security main
    39 # deb http://security.ubuntu.com/ubuntu trusty-security universe
    40 # deb-src http://security.ubuntu.com/ubuntu trusty-security universe
    41 # deb http://security.ubuntu.com/ubuntu trusty-security multiverse
    42 # deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
    43
    44 ## Uncomment the following two lines to add software from Ubuntu's
    45 ## 'extras' repository.
    46 ## This software is not part of Ubuntu, but is offered by third-party
    47 ## developers who want to ship their latest software.
    48 #deb http://extras.ubuntu.com/ubuntu trusty main
    49 deb http://archive.ubuntu.com/ubuntu trusty universe
    50 #deb-src http://archive.ubuntu.com/ubuntu trusty universe#
    51 #deb-src http://extras.ubuntu.com/ubuntu trusty main
root@ubuntu1404:~#

Bionikus (bionikus-szaurusz) said : #7

It's working!

I just enabled trusty-security/universe and trusty-updates/universe repositories in /etc/apt/sources.list.

Thanks Manfred and everybody!!!