Wrong amdgpu drivers installed and unable to uninstall itApt-Get Install Unmet DependenciesUpdate is telling...

Why do movie directors use brown tint on Mexico cities?

Copy group of files (Filename*) to backup (Filename*.bak)

What does 'in attendance' mean on a death certificate - England?

Delete all files from a folder using a bat that match a certain pattern in Windows 10

Why wasn't ASCII designed with a contiguous alphanumeric character order?

Why were the first airplanes "backwards"?

Avoiding repetition when using the "snprintf idiom" to write text

Why are examinees often not allowed to leave during the start and end of an exam?

How to track mail undetectably?

How would one prevent political gerrymandering?

Would skyscrapers tip over if people fell sideways?

I just started; should I accept a farewell lunch for a coworker I don't know?

What election rules and voting rights are guaranteed by the US Constitution?

Why isn't UDP with reliability (implemented at Application layer) a substitute of TCP?

Installed software from source, how to say yum not to install it from package?

Could all three Gorgons turn people to stone, or just Medusa?

Subset of knight's move in chess.

Magento2: Custom module not working

Should Catholics in a state of grace call themselves sinners?

Calculus, water poured into a cone: Why is the derivative non-linear?

The Lucas argument vs the theorem-provers -- who wins and why?

Could you fall off a planet if it was being accelerated by engines?

Why should I allow multiple IPs on a website for a single session?

What was the first science fiction or fantasy multiple choice book?



Wrong amdgpu drivers installed and unable to uninstall it


Apt-Get Install Unmet DependenciesUpdate is telling me my package system is broken - the instruction to fix it doesn't work - what to do?How do you properly install Steam on Elementary OS?getting error for sudo apt-get upgrade?Issues with GLIB+Iceweasel+apt-getHow to fix install shutter in kali linux?Remove package and installed dependencies with apt-getHow to resolve “Unable to correct problems, you have held broken packages” error in Debian 9?How to fix “amdgpu dkms failed for running kernel” when installing amd gpu drivers?The following packages have unmet dependencies: lsphp72 : Depends: > libjpeg62-turbo (>= 1.3.1) but it is not installable













0















I have linux mint, equivalent to ubuntu 16.04. I changed my graphic card and I uninstall the nvidia drivers to install the amd ones, but I installed drivers for ubuntu 18.04 instead of 16 and now I can't remove it, and I can't install or upgrade anything else.



When I type: # amdgpu-pro-uninstall



noik@noik-mint ~ $ amdgpu-pro-uninstall 
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'amdgpu-core' is not installed, so not removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
amdgpu : Depends: amdgpu-core (= 18.40-673869) but it is not going to be installed
amdgpu-dkms : Depends: amdgpu-core but it is not going to be installed
amdgpu-pro-core : Depends: amdgpu-core but it is not going to be installed
glamor-amdgpu : Depends: amdgpu-core but it is not going to be installed
gst-omx-amdgpu : Depends: amdgpu-core but it is not going to be installed
libdrm-amdgpu-common : Depends: amdgpu-core but it is not going to be installed
libdrm2-amdgpu : Depends: amdgpu-core but it is not going to be installed
libdrm2-amdgpu:i386 : Depends: amdgpu-core:i386
libegl1-amdgpu-mesa : Depends: amdgpu-core but it is not going to be installed
libegl1-amdgpu-mesa:i386 : Depends: amdgpu-core:i386
libgbm1-amdgpu : Depends: amdgpu-core but it is not going to be installed
libgbm1-amdgpu:i386 : Depends: amdgpu-core:i386
libgl1-amdgpu-mesa-dri : Depends: amdgpu-core but it is not going to be installed
libgl1-amdgpu-mesa-dri:i386 : Depends: amdgpu-core:i386
libglapi-amdgpu-mesa : Depends: amdgpu-core but it is not going to be installed
libglapi-amdgpu-mesa:i386 : Depends: amdgpu-core:i386
libllvm6.0-amdgpu : Depends: amdgpu-core but it is not going to be installed
libllvm6.0-amdgpu:i386 : Depends: amdgpu-core:i386
libwayland-amdgpu-client0 : Depends: amdgpu-core but it is not going to be installed
libwayland-amdgpu-client0:i386 : Depends: amdgpu-core:i386
libwayland-amdgpu-server0 : Depends: amdgpu-core but it is not going to be installed
libwayland-amdgpu-server0:i386 : Depends: amdgpu-core:i386
mesa-amdgpu-va-drivers : Depends: amdgpu-core but it is not going to be installed
mesa-amdgpu-va-drivers:i386 : Depends: amdgpu-core:i386
mesa-amdgpu-vdpau-drivers : Depends: amdgpu-core but it is not going to be installed
mesa-amdgpu-vdpau-drivers:i386 : Depends: amdgpu-core:i386
xserver-xorg-amdgpu-video-amdgpu : Depends: amdgpu-core but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


Then I try with: # sudo apt-get -f install



noik@noik-mint ~ $ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
amdgpu-core
The following NEW packages will be installed:
amdgpu-core
0 upgraded, 1 newly installed, 0 to remove and 99 not upgraded.
64 not fully installed or removed.
Need to get 0 B/2.284 B of archives.
After this operation, 12,3 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-core 18.40-673869 [2.284 B]
(Reading database ... 290174 files and directories currently installed.)
Preparing to unpack .../amdgpu-core_18.40-673869_all.deb ...
ERROR: This package can only be installed on Ubuntu 16.04.
dpkg: error processing archive /var/opt/amdgpu-pro-local/./amdgpu-core_18.40-673869_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/opt/amdgpu-pro-local/./amdgpu-core_18.40-673869_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


If I type: sudo apt-get purge amd*
Or I type: sudo apt-get autoremove
The same result than amdgpu-pro-uninstall upgrade appears.



What else can I do?










share|improve this question





























    0















    I have linux mint, equivalent to ubuntu 16.04. I changed my graphic card and I uninstall the nvidia drivers to install the amd ones, but I installed drivers for ubuntu 18.04 instead of 16 and now I can't remove it, and I can't install or upgrade anything else.



    When I type: # amdgpu-pro-uninstall



    noik@noik-mint ~ $ amdgpu-pro-uninstall 
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package 'amdgpu-core' is not installed, so not removed
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    amdgpu : Depends: amdgpu-core (= 18.40-673869) but it is not going to be installed
    amdgpu-dkms : Depends: amdgpu-core but it is not going to be installed
    amdgpu-pro-core : Depends: amdgpu-core but it is not going to be installed
    glamor-amdgpu : Depends: amdgpu-core but it is not going to be installed
    gst-omx-amdgpu : Depends: amdgpu-core but it is not going to be installed
    libdrm-amdgpu-common : Depends: amdgpu-core but it is not going to be installed
    libdrm2-amdgpu : Depends: amdgpu-core but it is not going to be installed
    libdrm2-amdgpu:i386 : Depends: amdgpu-core:i386
    libegl1-amdgpu-mesa : Depends: amdgpu-core but it is not going to be installed
    libegl1-amdgpu-mesa:i386 : Depends: amdgpu-core:i386
    libgbm1-amdgpu : Depends: amdgpu-core but it is not going to be installed
    libgbm1-amdgpu:i386 : Depends: amdgpu-core:i386
    libgl1-amdgpu-mesa-dri : Depends: amdgpu-core but it is not going to be installed
    libgl1-amdgpu-mesa-dri:i386 : Depends: amdgpu-core:i386
    libglapi-amdgpu-mesa : Depends: amdgpu-core but it is not going to be installed
    libglapi-amdgpu-mesa:i386 : Depends: amdgpu-core:i386
    libllvm6.0-amdgpu : Depends: amdgpu-core but it is not going to be installed
    libllvm6.0-amdgpu:i386 : Depends: amdgpu-core:i386
    libwayland-amdgpu-client0 : Depends: amdgpu-core but it is not going to be installed
    libwayland-amdgpu-client0:i386 : Depends: amdgpu-core:i386
    libwayland-amdgpu-server0 : Depends: amdgpu-core but it is not going to be installed
    libwayland-amdgpu-server0:i386 : Depends: amdgpu-core:i386
    mesa-amdgpu-va-drivers : Depends: amdgpu-core but it is not going to be installed
    mesa-amdgpu-va-drivers:i386 : Depends: amdgpu-core:i386
    mesa-amdgpu-vdpau-drivers : Depends: amdgpu-core but it is not going to be installed
    mesa-amdgpu-vdpau-drivers:i386 : Depends: amdgpu-core:i386
    xserver-xorg-amdgpu-video-amdgpu : Depends: amdgpu-core but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


    Then I try with: # sudo apt-get -f install



    noik@noik-mint ~ $ sudo apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following additional packages will be installed:
    amdgpu-core
    The following NEW packages will be installed:
    amdgpu-core
    0 upgraded, 1 newly installed, 0 to remove and 99 not upgraded.
    64 not fully installed or removed.
    Need to get 0 B/2.284 B of archives.
    After this operation, 12,3 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-core 18.40-673869 [2.284 B]
    (Reading database ... 290174 files and directories currently installed.)
    Preparing to unpack .../amdgpu-core_18.40-673869_all.deb ...
    ERROR: This package can only be installed on Ubuntu 16.04.
    dpkg: error processing archive /var/opt/amdgpu-pro-local/./amdgpu-core_18.40-673869_all.deb (--unpack):
    subprocess new pre-installation script returned error exit status 1
    Errors were encountered while processing:
    /var/opt/amdgpu-pro-local/./amdgpu-core_18.40-673869_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    If I type: sudo apt-get purge amd*
    Or I type: sudo apt-get autoremove
    The same result than amdgpu-pro-uninstall upgrade appears.



    What else can I do?










    share|improve this question



























      0












      0








      0


      1






      I have linux mint, equivalent to ubuntu 16.04. I changed my graphic card and I uninstall the nvidia drivers to install the amd ones, but I installed drivers for ubuntu 18.04 instead of 16 and now I can't remove it, and I can't install or upgrade anything else.



      When I type: # amdgpu-pro-uninstall



      noik@noik-mint ~ $ amdgpu-pro-uninstall 
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Package 'amdgpu-core' is not installed, so not removed
      You might want to run 'apt-get -f install' to correct these:
      The following packages have unmet dependencies:
      amdgpu : Depends: amdgpu-core (= 18.40-673869) but it is not going to be installed
      amdgpu-dkms : Depends: amdgpu-core but it is not going to be installed
      amdgpu-pro-core : Depends: amdgpu-core but it is not going to be installed
      glamor-amdgpu : Depends: amdgpu-core but it is not going to be installed
      gst-omx-amdgpu : Depends: amdgpu-core but it is not going to be installed
      libdrm-amdgpu-common : Depends: amdgpu-core but it is not going to be installed
      libdrm2-amdgpu : Depends: amdgpu-core but it is not going to be installed
      libdrm2-amdgpu:i386 : Depends: amdgpu-core:i386
      libegl1-amdgpu-mesa : Depends: amdgpu-core but it is not going to be installed
      libegl1-amdgpu-mesa:i386 : Depends: amdgpu-core:i386
      libgbm1-amdgpu : Depends: amdgpu-core but it is not going to be installed
      libgbm1-amdgpu:i386 : Depends: amdgpu-core:i386
      libgl1-amdgpu-mesa-dri : Depends: amdgpu-core but it is not going to be installed
      libgl1-amdgpu-mesa-dri:i386 : Depends: amdgpu-core:i386
      libglapi-amdgpu-mesa : Depends: amdgpu-core but it is not going to be installed
      libglapi-amdgpu-mesa:i386 : Depends: amdgpu-core:i386
      libllvm6.0-amdgpu : Depends: amdgpu-core but it is not going to be installed
      libllvm6.0-amdgpu:i386 : Depends: amdgpu-core:i386
      libwayland-amdgpu-client0 : Depends: amdgpu-core but it is not going to be installed
      libwayland-amdgpu-client0:i386 : Depends: amdgpu-core:i386
      libwayland-amdgpu-server0 : Depends: amdgpu-core but it is not going to be installed
      libwayland-amdgpu-server0:i386 : Depends: amdgpu-core:i386
      mesa-amdgpu-va-drivers : Depends: amdgpu-core but it is not going to be installed
      mesa-amdgpu-va-drivers:i386 : Depends: amdgpu-core:i386
      mesa-amdgpu-vdpau-drivers : Depends: amdgpu-core but it is not going to be installed
      mesa-amdgpu-vdpau-drivers:i386 : Depends: amdgpu-core:i386
      xserver-xorg-amdgpu-video-amdgpu : Depends: amdgpu-core but it is not going to be installed
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


      Then I try with: # sudo apt-get -f install



      noik@noik-mint ~ $ sudo apt-get -f install
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Correcting dependencies... Done
      The following additional packages will be installed:
      amdgpu-core
      The following NEW packages will be installed:
      amdgpu-core
      0 upgraded, 1 newly installed, 0 to remove and 99 not upgraded.
      64 not fully installed or removed.
      Need to get 0 B/2.284 B of archives.
      After this operation, 12,3 kB of additional disk space will be used.
      Do you want to continue? [Y/n] y
      Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-core 18.40-673869 [2.284 B]
      (Reading database ... 290174 files and directories currently installed.)
      Preparing to unpack .../amdgpu-core_18.40-673869_all.deb ...
      ERROR: This package can only be installed on Ubuntu 16.04.
      dpkg: error processing archive /var/opt/amdgpu-pro-local/./amdgpu-core_18.40-673869_all.deb (--unpack):
      subprocess new pre-installation script returned error exit status 1
      Errors were encountered while processing:
      /var/opt/amdgpu-pro-local/./amdgpu-core_18.40-673869_all.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      If I type: sudo apt-get purge amd*
      Or I type: sudo apt-get autoremove
      The same result than amdgpu-pro-uninstall upgrade appears.



      What else can I do?










      share|improve this question
















      I have linux mint, equivalent to ubuntu 16.04. I changed my graphic card and I uninstall the nvidia drivers to install the amd ones, but I installed drivers for ubuntu 18.04 instead of 16 and now I can't remove it, and I can't install or upgrade anything else.



      When I type: # amdgpu-pro-uninstall



      noik@noik-mint ~ $ amdgpu-pro-uninstall 
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Package 'amdgpu-core' is not installed, so not removed
      You might want to run 'apt-get -f install' to correct these:
      The following packages have unmet dependencies:
      amdgpu : Depends: amdgpu-core (= 18.40-673869) but it is not going to be installed
      amdgpu-dkms : Depends: amdgpu-core but it is not going to be installed
      amdgpu-pro-core : Depends: amdgpu-core but it is not going to be installed
      glamor-amdgpu : Depends: amdgpu-core but it is not going to be installed
      gst-omx-amdgpu : Depends: amdgpu-core but it is not going to be installed
      libdrm-amdgpu-common : Depends: amdgpu-core but it is not going to be installed
      libdrm2-amdgpu : Depends: amdgpu-core but it is not going to be installed
      libdrm2-amdgpu:i386 : Depends: amdgpu-core:i386
      libegl1-amdgpu-mesa : Depends: amdgpu-core but it is not going to be installed
      libegl1-amdgpu-mesa:i386 : Depends: amdgpu-core:i386
      libgbm1-amdgpu : Depends: amdgpu-core but it is not going to be installed
      libgbm1-amdgpu:i386 : Depends: amdgpu-core:i386
      libgl1-amdgpu-mesa-dri : Depends: amdgpu-core but it is not going to be installed
      libgl1-amdgpu-mesa-dri:i386 : Depends: amdgpu-core:i386
      libglapi-amdgpu-mesa : Depends: amdgpu-core but it is not going to be installed
      libglapi-amdgpu-mesa:i386 : Depends: amdgpu-core:i386
      libllvm6.0-amdgpu : Depends: amdgpu-core but it is not going to be installed
      libllvm6.0-amdgpu:i386 : Depends: amdgpu-core:i386
      libwayland-amdgpu-client0 : Depends: amdgpu-core but it is not going to be installed
      libwayland-amdgpu-client0:i386 : Depends: amdgpu-core:i386
      libwayland-amdgpu-server0 : Depends: amdgpu-core but it is not going to be installed
      libwayland-amdgpu-server0:i386 : Depends: amdgpu-core:i386
      mesa-amdgpu-va-drivers : Depends: amdgpu-core but it is not going to be installed
      mesa-amdgpu-va-drivers:i386 : Depends: amdgpu-core:i386
      mesa-amdgpu-vdpau-drivers : Depends: amdgpu-core but it is not going to be installed
      mesa-amdgpu-vdpau-drivers:i386 : Depends: amdgpu-core:i386
      xserver-xorg-amdgpu-video-amdgpu : Depends: amdgpu-core but it is not going to be installed
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


      Then I try with: # sudo apt-get -f install



      noik@noik-mint ~ $ sudo apt-get -f install
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Correcting dependencies... Done
      The following additional packages will be installed:
      amdgpu-core
      The following NEW packages will be installed:
      amdgpu-core
      0 upgraded, 1 newly installed, 0 to remove and 99 not upgraded.
      64 not fully installed or removed.
      Need to get 0 B/2.284 B of archives.
      After this operation, 12,3 kB of additional disk space will be used.
      Do you want to continue? [Y/n] y
      Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-core 18.40-673869 [2.284 B]
      (Reading database ... 290174 files and directories currently installed.)
      Preparing to unpack .../amdgpu-core_18.40-673869_all.deb ...
      ERROR: This package can only be installed on Ubuntu 16.04.
      dpkg: error processing archive /var/opt/amdgpu-pro-local/./amdgpu-core_18.40-673869_all.deb (--unpack):
      subprocess new pre-installation script returned error exit status 1
      Errors were encountered while processing:
      /var/opt/amdgpu-pro-local/./amdgpu-core_18.40-673869_all.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      If I type: sudo apt-get purge amd*
      Or I type: sudo apt-get autoremove
      The same result than amdgpu-pro-uninstall upgrade appears.



      What else can I do?







      linux-mint apt graphics amd-graphics






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 30 '18 at 13:22









      Jeff Schaller

      47.3k11 gold badges69 silver badges154 bronze badges




      47.3k11 gold badges69 silver badges154 bronze badges










      asked Dec 26 '18 at 11:25









      NoiKNoiK

      13 bronze badges




      13 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I couldn't solve it with commands, I solve it with Synaptic Package Manager, filtering by broken packages and "mark for complete removal".






          share|improve this answer


























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f490971%2fwrong-amdgpu-drivers-installed-and-unable-to-uninstall-it%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I couldn't solve it with commands, I solve it with Synaptic Package Manager, filtering by broken packages and "mark for complete removal".






            share|improve this answer




























              0














              I couldn't solve it with commands, I solve it with Synaptic Package Manager, filtering by broken packages and "mark for complete removal".






              share|improve this answer


























                0












                0








                0







                I couldn't solve it with commands, I solve it with Synaptic Package Manager, filtering by broken packages and "mark for complete removal".






                share|improve this answer













                I couldn't solve it with commands, I solve it with Synaptic Package Manager, filtering by broken packages and "mark for complete removal".







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 7 at 17:49









                NoiKNoiK

                13 bronze badges




                13 bronze badges






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f490971%2fwrong-amdgpu-drivers-installed-and-unable-to-uninstall-it%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

                    The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

                    Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...