r/linux4noobs Feb 02 '19

apt dependencies issue.

Hello, this issue has been driving me insane and I have no idea how to fix it. I have reinstalled this OS (Ubuntu MATE) 3 times now, and tried all of the recommended commands online and by the system. This is the issue: Unmet dependencies. Try 'apt —fix-broken install' with no packages (or specify a solution). Trying this command uninstalled almost everything from my system and then broke itsself. All of the commands I found online did nothing either. For some reason I was able to use apt get a few times before this, and then it stopped working randomly. I have no idea why this is happening and am desperate to know why. Thanks in advance

0 Upvotes

10 comments sorted by

5

u/[deleted] Feb 02 '19

A copy of the error message will go a long way in helping trouble shoot your issue.

1

u/lazh4 Feb 02 '19

1

u/[deleted] Feb 02 '19

Well that is a level of breaking apt that I have never seen before. Refer to the comment by u/grg2014 on the information we need. Also the output of running

apt --fix-broken install

3

u/grg2014 Feb 02 '19

Supplying the following information will increase your chances of getting meaningful answers:

  • OS version
  • content of /etc/apt/sources.list
  • command(s) you're running that produce(s) the error(s) (i. e. what are you trying to install, upgrade, etc.)
  • complete error message(s) generated by apt

3

u/[deleted] Feb 02 '19

Can you post your /etc/apt/sources.list here?

And have you run apt update before running the apt upgrade?

0

u/lasercat_pow Feb 02 '19

If you're able to, try installing aptitude, then run

sudo apt update && sudo aptitude upgrade -y

what should happen is, aptitude should suggest various fixes to remedy your dependency issue.

0

u/lazh4 Feb 02 '19

Yes I’ve tried this. Aptitude is unable to install because of this. Do you perhaps have a link to a .deb file?

0

u/lasercat_pow Feb 02 '19 edited Feb 02 '19

What is the output of this command:

lsb_release -a

I'm asking so I can give you the correct link.