How to resolve “dpkg: error processing package systemd”

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












When I want to use this command:



apt-get -f install


I see this output:



dpkg: error processing package systemd (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)


And



 dpkg --configure -a


Output is:



Errors were encountered while processing:
python3-numpy
libc-bin
systemd
python3-gdbm:amd64
python3-cairo:amd64
python3-tk:amd64
python3-matplotlib
dh-python
libglib2.0-bin
locales
libpam-systemd:amd64

python
Python 2.7.12 (default, Dec 4 2017, 14:50:18)


And



python3
Python 3.6.5 (default, Apr 1 2018, 05:46:30)


And install any package for example:
apt install systemd
Output is:



 python3-cairo : Depends: python3 (>= 3.6~) but 3.5.1-3 is to be installed
python3-gdbm : Depends: python3 (>= 3.6.4-1~) but 3.5.1-3 is to be installed
python3-matplotlib : Depends: python3 (>= 3.6~) but 3.5.1-3 is to be installed
python3-numpy : Depends: python3 (>= 3.6~) but 3.5.1-3 is to be installed
python3-tk : Depends: python3 (>= 3.6.4-1~) but 3.5.1-3 is to be installed


Any suggestions?







share|improve this question




















  • How did you get here?
    – George Udosen
    Apr 20 at 19:14










  • @GeorgeUdosen after upgrade from Ubuntu 16 to Ubuntu 18,
    – Red Science
    Apr 20 at 19:53















up vote
0
down vote

favorite












When I want to use this command:



apt-get -f install


I see this output:



dpkg: error processing package systemd (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)


And



 dpkg --configure -a


Output is:



Errors were encountered while processing:
python3-numpy
libc-bin
systemd
python3-gdbm:amd64
python3-cairo:amd64
python3-tk:amd64
python3-matplotlib
dh-python
libglib2.0-bin
locales
libpam-systemd:amd64

python
Python 2.7.12 (default, Dec 4 2017, 14:50:18)


And



python3
Python 3.6.5 (default, Apr 1 2018, 05:46:30)


And install any package for example:
apt install systemd
Output is:



 python3-cairo : Depends: python3 (>= 3.6~) but 3.5.1-3 is to be installed
python3-gdbm : Depends: python3 (>= 3.6.4-1~) but 3.5.1-3 is to be installed
python3-matplotlib : Depends: python3 (>= 3.6~) but 3.5.1-3 is to be installed
python3-numpy : Depends: python3 (>= 3.6~) but 3.5.1-3 is to be installed
python3-tk : Depends: python3 (>= 3.6.4-1~) but 3.5.1-3 is to be installed


Any suggestions?







share|improve this question




















  • How did you get here?
    – George Udosen
    Apr 20 at 19:14










  • @GeorgeUdosen after upgrade from Ubuntu 16 to Ubuntu 18,
    – Red Science
    Apr 20 at 19:53













up vote
0
down vote

favorite









up vote
0
down vote

favorite











When I want to use this command:



apt-get -f install


I see this output:



dpkg: error processing package systemd (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)


And



 dpkg --configure -a


Output is:



Errors were encountered while processing:
python3-numpy
libc-bin
systemd
python3-gdbm:amd64
python3-cairo:amd64
python3-tk:amd64
python3-matplotlib
dh-python
libglib2.0-bin
locales
libpam-systemd:amd64

python
Python 2.7.12 (default, Dec 4 2017, 14:50:18)


And



python3
Python 3.6.5 (default, Apr 1 2018, 05:46:30)


And install any package for example:
apt install systemd
Output is:



 python3-cairo : Depends: python3 (>= 3.6~) but 3.5.1-3 is to be installed
python3-gdbm : Depends: python3 (>= 3.6.4-1~) but 3.5.1-3 is to be installed
python3-matplotlib : Depends: python3 (>= 3.6~) but 3.5.1-3 is to be installed
python3-numpy : Depends: python3 (>= 3.6~) but 3.5.1-3 is to be installed
python3-tk : Depends: python3 (>= 3.6.4-1~) but 3.5.1-3 is to be installed


Any suggestions?







share|improve this question












When I want to use this command:



apt-get -f install


I see this output:



dpkg: error processing package systemd (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)


And



 dpkg --configure -a


Output is:



Errors were encountered while processing:
python3-numpy
libc-bin
systemd
python3-gdbm:amd64
python3-cairo:amd64
python3-tk:amd64
python3-matplotlib
dh-python
libglib2.0-bin
locales
libpam-systemd:amd64

python
Python 2.7.12 (default, Dec 4 2017, 14:50:18)


And



python3
Python 3.6.5 (default, Apr 1 2018, 05:46:30)


And install any package for example:
apt install systemd
Output is:



 python3-cairo : Depends: python3 (>= 3.6~) but 3.5.1-3 is to be installed
python3-gdbm : Depends: python3 (>= 3.6.4-1~) but 3.5.1-3 is to be installed
python3-matplotlib : Depends: python3 (>= 3.6~) but 3.5.1-3 is to be installed
python3-numpy : Depends: python3 (>= 3.6~) but 3.5.1-3 is to be installed
python3-tk : Depends: python3 (>= 3.6.4-1~) but 3.5.1-3 is to be installed


Any suggestions?









share|improve this question











share|improve this question




share|improve this question










asked Apr 20 at 18:53









Red Science

11




11











  • How did you get here?
    – George Udosen
    Apr 20 at 19:14










  • @GeorgeUdosen after upgrade from Ubuntu 16 to Ubuntu 18,
    – Red Science
    Apr 20 at 19:53

















  • How did you get here?
    – George Udosen
    Apr 20 at 19:14










  • @GeorgeUdosen after upgrade from Ubuntu 16 to Ubuntu 18,
    – Red Science
    Apr 20 at 19:53
















How did you get here?
– George Udosen
Apr 20 at 19:14




How did you get here?
– George Udosen
Apr 20 at 19:14












@GeorgeUdosen after upgrade from Ubuntu 16 to Ubuntu 18,
– Red Science
Apr 20 at 19:53





@GeorgeUdosen after upgrade from Ubuntu 16 to Ubuntu 18,
– Red Science
Apr 20 at 19:53
















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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
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%2f1026772%2fhow-to-resolve-dpkg-error-processing-package-systemd%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026772%2fhow-to-resolve-dpkg-error-processing-package-systemd%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

`kcmshell` modules relation with `/usr/share/applications`

How to enroll fingerprints to Ubuntu 17.10 with VFS491