Monday, April 29, 2024
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 4898  / 2 Years ago, wed, april 27, 2022, 4:04:37

I installed a 32 bit MySQL workbench packages. But I faced many problems and tried to find answers here ... then I've known that my Ubuntu is 64 bit ... and downloaded the version of MySQL for 64 bit.



When I've typed:



sudo dpkg -i mysql_64_bit.deb 


The system asked me to remove the oldest one so I typed:



teeba@ubuntu:~/Downloads$ sudo dpkg -r mysql-workbench-community-6.0.9-1ubu1204-i386.deb


I've gotten the following:



dpkg: error: you must specify packages by their own names, not by quoting the names of the files they come in

Type dpkg --help for help about installing and deinstalling packages
  • ;
    Use `dselect' or `aptitude' for user-friendly package management;
    Type dpkg -Dhelp for a list of dpkg debug flag values;
    Type dpkg --force-help for a list of forcing options;
    Type dpkg-deb --help for help about manipulating *.deb files;

    Options marked
  • [*] produce a lot of output - pipe it through `less' or `more' !


    Can anyone give me the right way to install the right one and remove the oldest one?


    More From » software-installation

     Answers
    1
    dpkg --get-selections | grep mysql


    The above command will displays all the packages that have the word mysql.From that you can find the exact one and then remove it by running,



    sudo dpkg -P <packageName>


    The below command does not remove the installed mysql package,



    teeba@ubuntu:~/Downloads$ sudo dpkg -r mysql-workbench-community-6.0.9-1ubu1204-i386.deb

    [#27042] Thursday, April 28, 2022, 2 Years  [reply] [flag answer]
    Only authorized users can answer the question. Please sign in first, or register a free account.
    edgehogight

    Total Points: 272
    Total Questions: 113
    Total Answers: 99

    Location: Northern Mariana Islands
    Member since Sun, Jul 19, 2020
    4 Years ago
    edgehogight questions
    Sat, Sep 11, 21, 22:09, 3 Years ago
    Sat, Nov 6, 21, 19:48, 3 Years ago
    Fri, Aug 26, 22, 09:37, 2 Years ago
    ;