Announcement

Collapse
No announcement yet.

Problem with installing libwrap0-dev on KUbuntu1604

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problem with installing libwrap0-dev on KUbuntu1604

    Hello Guys,

    I am trying to install a missing package libwrap0-dev.
    I got some issues with this package.

    1604:~$ sudo apt-get install libwrap0-dev
    [sudo] password for agatak:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    libtiff5-dev : Depends: libtiffxx5 (= 4.0.6-1ubuntu0.6) but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    agatak@modellar-1604:~$ apt-get -f install
    E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
    agatak@modellar-1604:~$ sudo apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following additional packages will be installed:
    libtiffxx5
    The following NEW packages will be installed:
    libtiffxx5
    0 upgraded, 1 newly installed, 0 to remove and 37 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/9'456 B of archives.
    After this operation, 41.0 kB of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    (Reading database ... 239181 files and directories currently installed.)
    Preparing to unpack .../libtiffxx5_4.0.6-1ubuntu0.6_amd64.deb ...
    Unpacking libtiffxx5:amd64 (4.0.6-1ubuntu0.6) ...
    dpkg: error processing archive /var/cache/apt/archives/libtiffxx5_4.0.6-1ubuntu0.6_amd64.deb (--unpack):
    trying to overwrite shared '/usr/share/doc/libtiffxx5/changelog.Debian.gz', which is different from other instances of package libtiffxx5:amd64
    Processing triggers for libc-bin (2.23-0ubuntu11) ...
    Errors were encountered while processing:
    /var/cache/apt/archives/libtiffxx5_4.0.6-1ubuntu0.6_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    agatak@modellar-1604:~$ dpkg -l libtiffxx5
    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
    +++-================================================== ===========-===================================-===================================-================================================== =================
    in libtiffxx5:amd64 <none> amd64 (no description available)
    ii libtiffxx5:i386 4.0.6-1ubuntu0.6 i386 Tag Image File Format (TIFF) library -- C++ interface
    agatak@modellar-1604:~$ apt-cache policy libtiffxx5
    libtiffxx5:
    Installed: (none)
    Candidate: 4.0.6-1ubuntu0.6
    Version table:
    4.0.6-1ubuntu0.6 500
    500 http://ch.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
    500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
    4.0.6-1 500
    500 http://ch.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
    I would appreciate for any help please

    #2
    Unfortunately, support for Kubuntu 16.04 has ended. Usually this kind of error comes from not updating your package list prior to installing. SInce 16.04 is End Of Life, it may never be.

    You can try:

    sudo apt update
    sudo --configure -a
    sudo apt install -f

    If you're getting a "cannot get lock" message, that usually means you had an interrupted apt or apt-get operation. You have to go to where the lock file is and delete it. Like these messages from above:

    E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

    Please Read Me

    Comment

    Working...
    X