Results 1 to 2 of 2

Thread: Problem installing Python-qgis - unable to update system until resolved

  1. #1
    Join Date
    2016-Oct
    Posts
    1

    Problem installing Python-qgis - unable to update system until resolved

    Good morning, long time user, first time caller....or something like that.

    Going through a routine apt-get update, I have hit a snag that I hope someone can unpick for me. I'm not aware of any other changes that I've made to the system, in fact, I know I haven't made any but when I attempt an update, I get:

    The following additional packages will be installed:
    python-qgis
    Recommended packages:
    liblwgeom-dev
    The following packages will be upgraded:
    python-qgis
    1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    5 not fully installed or removed.
    Need to get 4,501 kB of archives.
    After this operation, 682 kB of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    Get:1 http://ftp.hands.com/kali kali-rolling/main amd64 python-qgis amd64 2.14.7+dfsg-2 [4,501 kB]
    Fetched 4,501 kB in 4s (923 kB/s)
    Reading changelogs... Done
    (Reading database ... 430597 files and directories currently installed.)
    Preparing to unpack .../python-qgis_2.14.7+dfsg-2_amd64.deb ...
    Unpacking python-qgis (2.14.7+dfsg-2) over (2.14.6+dfsg-4) ...
    dpkg: error processing archive /var/cache/apt/archives/python-qgis_2.14.7+dfsg-2_amd64.deb (--unpack):
    trying to overwrite '/usr/lib/python2.7/dist-packages/PyQt4/QtWebKit.x86_64-linux-gnu.so', which is also in package python-qt4 4.11.4+dfsg-2kali1
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
    /var/cache/apt/archives/python-qgis_2.14.7+dfsg-2_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    The issue appears to be with the python-qgis package.

    I've cleaned / autoremoved / -f installed and revisited the sources.list but I cannot figure out what to try and do. I've search around for similar issues in the googletron but nothing has come up.

    Could someone help me out? Thanks in advance.

  2. #2
    Hi nomadcelt79,

    try apt-get remove --purge python-qgis

    once removed

    reinstall it by apt-get install python-qgis

    then run apt-get update again, i have used this method a couple of times when encountering these types of errors.

    MajorLinuxNoob.

Similar Threads

  1. Replies: 2
    Last Post: 2022-10-11, 11:24
  2. Replies: 0
    Last Post: 2021-03-23, 12:33
  3. Grub rescue problem no other threads resolved it yet
    By G9803 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2015-09-11, 17:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •