Looking for help installing KDE












1















I'm trying to install KDE Plasma 5.9 and I'm getting stuck at the first step of adding the ppa. I run the command



sudo add-apt-repository ppa:kubuntu-ppa/backports


but then the terminal gives me the following



Traceback (most recent call last):

File "/usr/bin/add-apt-repository", line 11, in <module>

from softwareproperties.SoftwareProperties import SoftwareProperties, shortcut_handler

File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 28, in <module>

import apt_pkg

ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so: invalid ELF header

Error in sys.excepthook:

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook

from apport.fileutils import likely_packaged, get_recent_crashes

File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>

from apport.report import Report

File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>

import apport.fileutils

File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>

from apport.packaging_impl import impl as packaging

File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in <module>

import apt

File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>

import apt_pkg

ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so: invalid ELF header


Original exception was:

Traceback (most recent call last):

File "/usr/bin/add-apt-repository", line 11, in <module>

from softwareproperties.SoftwareProperties import SoftwareProperties, shortcut_handler

File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 28, in <module>

import apt_pkg

ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so: invalid ELF header


I'm running Ubuntu 18.04 Kernel 4.17.13



I tried to uninstall and reinstall python but that didn't work










share|improve this question























  • Possible duplicate of Installing KDE alongside GNOME

    – mature
    Dec 12 '18 at 19:45






  • 1





    1: Although some people have success in running both environments on the same system, be prepared for the unexpected. Just running individual GNOME apps on KDE works fine and vice versa but have both DEs together can cause conflicts. 2: Can you run sudo apt update and sudo apt full-upgrade without any unusual messages appearing in the terminal output? 3: I'm not sure that the ppa in question is designed for usage by users who aren't already running Kubuntu.

    – DK Bose
    Dec 13 '18 at 0:10


















1















I'm trying to install KDE Plasma 5.9 and I'm getting stuck at the first step of adding the ppa. I run the command



sudo add-apt-repository ppa:kubuntu-ppa/backports


but then the terminal gives me the following



Traceback (most recent call last):

File "/usr/bin/add-apt-repository", line 11, in <module>

from softwareproperties.SoftwareProperties import SoftwareProperties, shortcut_handler

File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 28, in <module>

import apt_pkg

ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so: invalid ELF header

Error in sys.excepthook:

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook

from apport.fileutils import likely_packaged, get_recent_crashes

File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>

from apport.report import Report

File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>

import apport.fileutils

File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>

from apport.packaging_impl import impl as packaging

File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in <module>

import apt

File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>

import apt_pkg

ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so: invalid ELF header


Original exception was:

Traceback (most recent call last):

File "/usr/bin/add-apt-repository", line 11, in <module>

from softwareproperties.SoftwareProperties import SoftwareProperties, shortcut_handler

File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 28, in <module>

import apt_pkg

ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so: invalid ELF header


I'm running Ubuntu 18.04 Kernel 4.17.13



I tried to uninstall and reinstall python but that didn't work










share|improve this question























  • Possible duplicate of Installing KDE alongside GNOME

    – mature
    Dec 12 '18 at 19:45






  • 1





    1: Although some people have success in running both environments on the same system, be prepared for the unexpected. Just running individual GNOME apps on KDE works fine and vice versa but have both DEs together can cause conflicts. 2: Can you run sudo apt update and sudo apt full-upgrade without any unusual messages appearing in the terminal output? 3: I'm not sure that the ppa in question is designed for usage by users who aren't already running Kubuntu.

    – DK Bose
    Dec 13 '18 at 0:10
















1












1








1








I'm trying to install KDE Plasma 5.9 and I'm getting stuck at the first step of adding the ppa. I run the command



sudo add-apt-repository ppa:kubuntu-ppa/backports


but then the terminal gives me the following



Traceback (most recent call last):

File "/usr/bin/add-apt-repository", line 11, in <module>

from softwareproperties.SoftwareProperties import SoftwareProperties, shortcut_handler

File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 28, in <module>

import apt_pkg

ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so: invalid ELF header

Error in sys.excepthook:

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook

from apport.fileutils import likely_packaged, get_recent_crashes

File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>

from apport.report import Report

File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>

import apport.fileutils

File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>

from apport.packaging_impl import impl as packaging

File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in <module>

import apt

File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>

import apt_pkg

ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so: invalid ELF header


Original exception was:

Traceback (most recent call last):

File "/usr/bin/add-apt-repository", line 11, in <module>

from softwareproperties.SoftwareProperties import SoftwareProperties, shortcut_handler

File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 28, in <module>

import apt_pkg

ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so: invalid ELF header


I'm running Ubuntu 18.04 Kernel 4.17.13



I tried to uninstall and reinstall python but that didn't work










share|improve this question














I'm trying to install KDE Plasma 5.9 and I'm getting stuck at the first step of adding the ppa. I run the command



sudo add-apt-repository ppa:kubuntu-ppa/backports


but then the terminal gives me the following



Traceback (most recent call last):

File "/usr/bin/add-apt-repository", line 11, in <module>

from softwareproperties.SoftwareProperties import SoftwareProperties, shortcut_handler

File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 28, in <module>

import apt_pkg

ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so: invalid ELF header

Error in sys.excepthook:

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook

from apport.fileutils import likely_packaged, get_recent_crashes

File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>

from apport.report import Report

File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>

import apport.fileutils

File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>

from apport.packaging_impl import impl as packaging

File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in <module>

import apt

File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>

import apt_pkg

ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so: invalid ELF header


Original exception was:

Traceback (most recent call last):

File "/usr/bin/add-apt-repository", line 11, in <module>

from softwareproperties.SoftwareProperties import SoftwareProperties, shortcut_handler

File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 28, in <module>

import apt_pkg

ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so: invalid ELF header


I'm running Ubuntu 18.04 Kernel 4.17.13



I tried to uninstall and reinstall python but that didn't work







kde






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 12 '18 at 19:22









genericussrgenericussr

62




62













  • Possible duplicate of Installing KDE alongside GNOME

    – mature
    Dec 12 '18 at 19:45






  • 1





    1: Although some people have success in running both environments on the same system, be prepared for the unexpected. Just running individual GNOME apps on KDE works fine and vice versa but have both DEs together can cause conflicts. 2: Can you run sudo apt update and sudo apt full-upgrade without any unusual messages appearing in the terminal output? 3: I'm not sure that the ppa in question is designed for usage by users who aren't already running Kubuntu.

    – DK Bose
    Dec 13 '18 at 0:10





















  • Possible duplicate of Installing KDE alongside GNOME

    – mature
    Dec 12 '18 at 19:45






  • 1





    1: Although some people have success in running both environments on the same system, be prepared for the unexpected. Just running individual GNOME apps on KDE works fine and vice versa but have both DEs together can cause conflicts. 2: Can you run sudo apt update and sudo apt full-upgrade without any unusual messages appearing in the terminal output? 3: I'm not sure that the ppa in question is designed for usage by users who aren't already running Kubuntu.

    – DK Bose
    Dec 13 '18 at 0:10



















Possible duplicate of Installing KDE alongside GNOME

– mature
Dec 12 '18 at 19:45





Possible duplicate of Installing KDE alongside GNOME

– mature
Dec 12 '18 at 19:45




1




1





1: Although some people have success in running both environments on the same system, be prepared for the unexpected. Just running individual GNOME apps on KDE works fine and vice versa but have both DEs together can cause conflicts. 2: Can you run sudo apt update and sudo apt full-upgrade without any unusual messages appearing in the terminal output? 3: I'm not sure that the ppa in question is designed for usage by users who aren't already running Kubuntu.

– DK Bose
Dec 13 '18 at 0:10







1: Although some people have success in running both environments on the same system, be prepared for the unexpected. Just running individual GNOME apps on KDE works fine and vice versa but have both DEs together can cause conflicts. 2: Can you run sudo apt update and sudo apt full-upgrade without any unusual messages appearing in the terminal output? 3: I'm not sure that the ppa in question is designed for usage by users who aren't already running Kubuntu.

– DK Bose
Dec 13 '18 at 0:10












0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1100431%2flooking-for-help-installing-kde%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1100431%2flooking-for-help-installing-kde%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to send String Array data to Server using php in android

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Is anime1.com a legal site for watching anime?