• Re: How to resolve this?

    From philo@21:1/5 to Ubuntu on Sun May 29 13:11:09 2022
    On 5/29/22 12:50 PM, Ubuntu wrote:
    This particular error is stopping me from getting any updates/upgrades
    and stopping me from installing anything new:

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt --fix-broken install' to correct these.
    The following packages have unmet dependencies.
     libmysqlclient21 : Depends: mysql-common (>= 8.0.29-1ubuntu21.10) but 5.8+1.0.5ubuntu2 is to be installed
                        Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.9 is to
    be installed
                        Depends: libstdc++6 (>= 11) but 10.3.0-1ubuntu1~20.04 is to be installed
     mysql-client : Depends: mysql-community-client (= 8.0.29-1ubuntu21.10) but it is not installable
     mysql-community-client-plugins : Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.9 is to be installed
                                      Depends: libstdc++6 (>= 11) but
    10.3.0-1ubuntu1~20.04 is to be installed
     mysql-community-server-debug : Depends: mysql-community-server (= 8.0.29-1ubuntu21.10) but it is not installable
     mysql-community-test : Depends: mysql-community-server (= 8.0.29-1ubuntu21.10) but it is not installable
                            Depends: mysql-community-client (=
    8.0.29-1ubuntu21.10) but it is not installable
                            Depends: libjson-perl but it is not going to be
    installed
                            Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.9 is
    to be installed
                            Depends: libstdc++6 (>= 11) but
    10.3.0-1ubuntu1~20.04 is to be installed
                            Depends: mysql-community-server-core but it is
    not installable
     mysql-server : Depends: mysql-community-server (= 8.0.29-1ubuntu21.10) but it is not installable
     stacer : Depends: libqt5charts5 (>= 5.7.1) but it is not going to be installed
              Depends: fonts-inter but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages
    (or specify a solution).


    I have tried running "apt --fix-broken install" more than 100 times and nothing fixes. What do I have to do to resolve this. I can wipe the disk clean and start again but I want to know how can this be fixed without
    using most destructive ways.

    Alternative is to uninstall MySql so what commands do I need to run to uninstall it? I am assuming I can uninstall it but the chances are nil
    as far as I can see.

    I can delete the installation folder for MySQL so tell me how do I find
    where it is on my hard disk. What is the command to locate a folder for MySQL.

    Thank you.






    Try this

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ubuntu@21:1/5 to All on Sun May 29 18:50:08 2022
    This particular error is stopping me from getting any updates/upgrades
    and stopping me from installing anything new:

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt --fix-broken install' to correct these.
    The following packages have unmet dependencies.
     libmysqlclient21 : Depends: mysql-common (>= 8.0.29-1ubuntu21.10) but 5.8+1.0.5ubuntu2 is to be installed
                        Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.9 is to
    be installed
                        Depends: libstdc++6 (>= 11) but 10.3.0-1ubuntu1~20.04 is to be installed
     mysql-client : Depends: mysql-community-client (= 8.0.29-1ubuntu21.10)
    but it is not installable
     mysql-community-client-plugins : Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.9 is to be installed
                                      Depends: libstdc++6 (>= 11) but
    10.3.0-1ubuntu1~20.04 is to be installed
     mysql-community-server-debug : Depends: mysql-community-server (= 8.0.29-1ubuntu21.10) but it is not installable
     mysql-community-test : Depends: mysql-community-server (= 8.0.29-1ubuntu21.10) but it is not installable
                            Depends: mysql-community-client (=
    8.0.29-1ubuntu21.10) but it is not installable
                            Depends: libjson-perl but it is not going to be
    installed
                            Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.9 is
    to be installed
                            Depends: libstdc++6 (>= 11) but 10.3.0-1ubuntu1~20.04 is to be installed
                            Depends: mysql-community-server-core but it is
    not installable
     mysql-server : Depends: mysql-community-server (= 8.0.29-1ubuntu21.10)
    but it is not installable
     stacer : Depends: libqt5charts5 (>= 5.7.1) but it is not going to be installed
              Depends: fonts-inter but it is not going to be installed
    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages
    (or specify a solution).


    I have tried running "apt --fix-broken install" more than 100 times and
    nothing fixes. What do I have to do to resolve this. I can wipe the disk
    clean and start again but I want to know how can this be fixed without
    using most destructive ways.

    Alternative is to uninstall MySql so what commands do I need to run to uninstall it? I am assuming I can uninstall it but the chances are nil
    as far as I can see.

    I can delete the installation folder for MySQL so tell me how do I find
    where it is on my hard disk. What is the command to locate a folder for
    MySQL.

    Thank you.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From philo@21:1/5 to Ubuntu on Sun May 29 13:12:38 2022
    On 5/29/22 12:50 PM, Ubuntu wrote:
    This particular error is stopping me from getting any updates/upgrades
    and stopping me from installing anything new:

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt --fix-broken install' to correct these.
    The following packages have unmet dependencies.
     libmysqlclient21 : Depends: mysql-common (>= 8.0.29-1ubuntu21.10) but 5.8+1.0.5ubuntu2 is to be installed
                        Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.9 is to
    be installed
                        Depends: libstdc++6 (>= 11) but 10.3.0-1ubuntu1~20.04 is to be installed
     mysql-client : Depends: mysql-community-client (= 8.0.29-1ubuntu21.10) but it is not installable
     mysql-community-client-plugins : Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.9 is to be installed
                                      Depends: libstdc++6 (>= 11) but
    10.3.0-1ubuntu1~20.04 is to be installed
     mysql-community-server-debug : Depends: mysql-community-server (= 8.0.29-1ubuntu21.10) but it is not installable
     mysql-community-test : Depends: mysql-community-server (= 8.0.29-1ubuntu21.10) but it is not installable
                            Depends: mysql-community-client (=
    8.0.29-1ubuntu21.10) but it is not installable
                            Depends: libjson-perl but it is not going to be
    installed
                            Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.9 is
    to be installed
                            Depends: libstdc++6 (>= 11) but
    10.3.0-1ubuntu1~20.04 is to be installed
                            Depends: mysql-community-server-core but it is
    not installable
     mysql-server : Depends: mysql-community-server (= 8.0.29-1ubuntu21.10) but it is not installable
     stacer : Depends: libqt5charts5 (>= 5.7.1) but it is not going to be installed
              Depends: fonts-inter but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages
    (or specify a solution).


    I have tried running "apt --fix-broken install" more than 100 times and nothing fixes. What do I have to do to resolve this. I can wipe the disk clean and start again but I want to know how can this be fixed without
    using most destructive ways.

    Alternative is to uninstall MySql so what commands do I need to run to uninstall it? I am assuming I can uninstall it but the chances are nil
    as far as I can see.

    I can delete the installation folder for MySQL so tell me how do I find
    where it is on my hard disk. What is the command to locate a folder for MySQL.

    Thank you.






    Try this

    sudo apt-get update --fix-missing



    Otherwise try

    sudo apt-get update

    sudo apt-get clean

    sudo apt-get autoremove

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul@21:1/5 to Ubuntu on Sun May 29 19:44:10 2022
    On 5/29/2022 1:50 PM, Ubuntu wrote:
    This particular error is stopping me from getting any updates/upgrades
    and stopping me from installing anything new:

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt --fix-broken install' to correct these.
    The following packages have unmet dependencies.
    libmysqlclient21 : Depends: mysql-common (>= 8.0.29-1ubuntu21.10) but 5.8+1.0.5ubuntu2 is to be installed
    Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.9 is to
    be installed
    Depends: libstdc++6 (>= 11) but
    10.3.0-1ubuntu1~20.04 is to be installed
    mysql-client : Depends: mysql-community-client (= 8.0.29-1ubuntu21.10)
    but it is not installable
    mysql-community-client-plugins : Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.9 is to be installed
    Depends: libstdc++6 (>= 11) but
    10.3.0-1ubuntu1~20.04 is to be installed
    mysql-community-server-debug : Depends: mysql-community-server (= 8.0.29-1ubuntu21.10) but it is not installable
    mysql-community-test : Depends: mysql-community-server (= 8.0.29-1ubuntu21.10) but it is not installable
    Depends: mysql-community-client (=
    8.0.29-1ubuntu21.10) but it is not installable
    Depends: libjson-perl but it is not going to be
    installed
    Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.9 is
    to be installed
    Depends: libstdc++6 (>= 11) but
    10.3.0-1ubuntu1~20.04 is to be installed
    Depends: mysql-community-server-core but it is
    not installable
    mysql-server : Depends: mysql-community-server (= 8.0.29-1ubuntu21.10)
    but it is not installable
    stacer : Depends: libqt5charts5 (>= 5.7.1) but it is not going to be installed
    Depends: fonts-inter but it is not going to be installed
    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages
    (or specify a solution).

    I have tried running "apt --fix-broken install" more than 100 times and nothing fixes. What do I have to do to resolve this. I can wipe the disk clean and start again but I want to know how can this be fixed without
    using most destructive ways.

    Alternative is to uninstall MySql so what commands do I need to run to uninstall it? I am assuming I can uninstall it but the chances are nil
    as far as I can see.

    I can delete the installation folder for MySQL so tell me how do I find
    where it is on my hard disk. What is the command to locate a folder for MySQL.

    Thank you.

    I would suggest backing out the changes you made, that
    caused this mess. Even looking in your bash shell "history"
    may help tweak your memory as to what commands you issued to
    make this mess.

    Package Managers are an investment. If the OS is a daily-driver,
    you want a means to go from 18.04 LTS to 20.04 LTS to 22.04 LTS
    and so on. The package manager is part of the continuity story.
    Maintaining the package manager in pristine condition, makes
    the upgrade a cinch (I just did one two days ago).

    Deleting directories does not update package manager state.

    Was I always like this ? No. I've messed up quite a few OSes
    to be honest. But after a while, it makes sense to maintain them
    and work within the design, than to be constantly breaking stuff
    and reinstalling. (Now that we have TimeShift, maybe a little
    less breakage could be a result.)

    When you go outside the package manager, using .ppa or doses
    of gdebi some.deb, you also have to be prepared to reverse
    the changes at a later date. You can't keep them. In your case,
    the breakage was immediate. But breakage is also possible during
    a release upgrade, where operator panic will set in. And you'll probably
    dump the whole thing and set fire to it :-) I know I have.

    *******

    stacer <=== I see. Hmmm. Trouble starts here ?

    Burning down someones distro will win you some quality points.

    I see someone here is building it from source.

    https://github.com/oguzhaninan/Stacer/issues/487

    At least then, the -dev versions are in-tree. If the software does
    not like the versions, it will have version-checking code in
    it which will warn you that it is cranky. Lots of configure
    scripts have min. versions checks built in. If a program really needs
    a spiffy version, better to find out during configure than
    waste an afternoon trying to force it.

    *******

    I'd do a backup, before touching this with a barge pole.

    https://oguzhaninan.github.io/Stacer-Web/

    And the gnome-system-manager display doesn't really have
    "squiggles" in it. The computer is not filled with
    sine waves of activity. That display is just wrong.

    I normally use "top" when I want to know what the
    computer is doing.

    No current tool is perfect for the job. We use the
    "least annoying" tool for this ("top"). If a person wanted
    to become famous, they could fix this for us.

    *******

    When I see someone building from source like that, that's
    a hint. The people involved, may not have all the answers,
    but when you see certain things happen, that's a "clue"
    as to the nature of the goods. That suggests that other, easier
    methods, didn't work out so well.

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mountain Magpie@21:1/5 to All on Tue Aug 2 02:39:09 2022
    On Sun, 29 May 2022 13:11:09 -0500, philo posted:-

    On 5/29/22 12:50 PM, Ubuntu wrote:
    This particular error is stopping me from getting any
    updates/upgrades and stopping me from installing anything new:


    sudo apt-get install aptitude -y

    sudo aptitude safe-upgrade

    Might help?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)