Dependencies
A bit fed up and discouraged here with Linux these days. Sorry about all the quotes, but I'm sinking here. The Interweb has been absolutely no help with this stuff.
I'm running Ubuntu mate 16.04 and really like it. But as with every distro, I'm having trouble installing software cuz "dependencies" and something wrong with dpkg. Here are some errors: From $ sudo apt update Quote:
it ends with this error Quote:
I get this error at the end: Quote:
Quote:
Is there any way to load all these dependencies up so as to avoid these nonsensical issues? Later: I just tried to reinstall "dpkg" and got this error: Quote:
|
If I had to guess, I would say that it looks as if someone has corrupted your sources. Editing the sources.list and either using the wrong editor (one that adds characters or 'signals' that are not proper text), or manually editing and entering a typo are common causes of these messages.
The information provided is not adequate to be certain, but that is what it looks like. Have you manually edited or added any source files to add or change any repos? Have you made non-standard modifications to python or apt? |
No editing of any kind on my part.
I had some weird problems with trying to install atunes with a deb, it was missing Oracle Java6 dependencies. After I tried installing with gdebi it worked (I've lost the post that suggested that) but everything else is screwed. Removing/purging atunes did nothing for this. A bit lost here. |
Quote:
:confused: anyhow, we need to see those sources: Code:
cat /etc/apt/sources.list |
When I looked into the Software "Other Sources" I saw that everything was checked, including all the sources; I don't think I did that, not intentionally, anyway.
Would that be part of the problem? Quote:
Quote:
|
Your biggest problem is Java 6, totally unsupported in Ubuntu Xenial! Why??
Another error is caused by the repository http://download.opensuse.org/reposit.../xUbuntu_16.04 which, from what I can tell, provides the dukto package. Unless this software is mission-critical, I recommend to disable this repository and try the upgrade again. There is, however, another potential big problem: I see that you have software sources for at least three different Ubuntu releases: xenial, vivid, and precise. This is like trying to fix a 2016 car with spare parts from a 2012 car--it might work (but it probably won't, and might make the car undrivable). A common way this situation happens is when a user follows random out-of-date tutorials without fully realizing the consequences to their system. Therefore I recommend carefully trimming your software sources back to only the official Ubuntu Xenial repositories. Disable all third party repositories, as well as all repositories for the wrong Ubuntu release (vivid, precise, etc., anything except xenial). Abandon the thought of running Java 6. Then try your upgrade again. It is possible (but not guaranteed) that your Ubuntu OS will be able to recover from this mess. |
Wonderful! :hattip:
It seems you hit it. I went into sources.list and sources.list.d and edited out all the lines that showed as repeats in one of the error messages. I also, as you suggested, trimmed the sources right back, including removing the Opera one, as it would never update anyway. All seems to be good there, but if I run the fix in the software boutique for interrupted packages, it throws up that java6 stuff again. (I figure that's a good way to find problems, right?) Why is it doing that? And how do I get of it if it's an interrupted package? Oh, my. I just figured it out - although I tried it a while ago and it didn't work. First I ran auto-remove to see what the package name was, then I ran "sudo apt purge oracle-java6-installer" and then "autoremove" worked, and everything is copacetic! Huge Thanks! (and how to mark SOLVED?) |
Quote:
|
All times are GMT -5. The time now is 09:17 PM. |