Please help me to solve sudo apt-get upgrade error
I am not able to open software centre or any system setting in Linux mint. I have tried all the suggestions posted by experts but none of them is working. While running "sudo apt-get upgrade" or installing any aother software am getting this:
Code:
sumit@sumit ~ $ sudo apt-get upgrade |
Hi: & Welcome to LQ.
I'm assuming you're running Ubuntu 16.04:- To fix the problem you need to run: Code:
sudo apt-get -f install What are you trying to install? |
I am using Mint. At first I was trying to install gnuplot, but later I found that am facing same problem with almost every installation.This is what am getting:
Code:
sumit@sumit ~ $ sudo apt-get -f install Code:
sumit@sumit ~ $ sudo apt-get install gnuplot |
Been messing about with your sources.list?
Your python package is out of sync with it's dependencies. |
I had installed the XCrysDen software and it replaced the original bashrc file. I restored it but since then am facing this issue. Please tell me how can I fix this?
|
That bus error message is not a good sign.
How did you install XcrySDen (exactly)? |
I have downloaded the package from the home site and then run the configuration file.
|
this is not an exact description. What did you download exactly? How did you run which configuration file. But the most important: did you make it as root or as regular user?
|
This is the content of XCrysDen configuration file. I run this executable only to install the XCrysden.
Code:
#!/bin/sh ON running the file it gives following Code:
======================================================================== |
so you did not execute it as root (as far as I see). In that case it is not related to the apt-get install -f problem.
But obviously you need to solve that. which version of mint do you have? How /etc/apt/sources.list is set? |
Code:
RELEASE=18.3 Code:
sumit@sumit ~ $ ls /etc/apt Code:
sumit@sumit ~ $ ls /etc/apt/sources.list.d/ |
ok, try the following:
Code:
# as root |
and output of:
Code:
apt-cache policy python python-minimal |
Code:
sumit ~ # sudo apt-get update Code:
sumit ~ # sudo apt-get upgrade Code:
sumit ~ # sudo apt-get install -f Code:
sumit ~ # apt-cache policy python python-minimal |
looks like it is a conflict because of libpython-stdlib (at least I think so).
I would try: Code:
apt-get install python-minimal=2.7.11-1 |
All times are GMT -5. The time now is 09:48 PM. |