Couldn't find any package by regex 'MyO2.msi'

Asked by Edmond Condillac on 2012-12-23

Hi

I tried to run a file MyO2.msi from my ISP from the command line. The following commans were used:

sudo apt-get install MyO2.msi

This command executed giving the following output:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package MyO2.msi
E: Couldn't find any package by regex 'MyO2.msi'

Kindly help and advise how to proceed, if possible.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
samuel
Solved:
2012-12-28
Last query:
2012-12-28
Last reply:
2012-12-24
José Antonio Rey (jose) said : #1

You are trying to install a Microsoft Installer package. You cannot use that type of files natively with Ubuntu, but you can try with WINE.

Please install and use wine to open that file i guess is an installation of software made for Windows...
Not all software can be run from wine with success...

José Antonio Rey (jose) said : #3

It is something made for Windows. If possible, check its compatibility at appdb.winehq.org

Edmond Condillac (econ22) said : #4

Hi

Thanks for looking into this request for help. I've installed wine1.2 but the output at the end of the installation showed:

wine: configuration in '/home/edcon/.wine' has been updated.
err:msi:copy_package_to_temp failed to copy package L"MyO2.msi" to L"C:\\users\\edcon\\Temp\\msie216.tmp" (2)
edcon@Dell:~$ sudo apt-get install MyO2.msi
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package MyO2.msi
E: Couldn't find any package by regex 'MyO2.msi'

 Then I retried the command: sudo apt-get install MyO2.msi

This did not work as seen in the output below:

edcon@Dell:~$ sudo apt-get install MyO2.msi
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package MyO2.msi
E: Couldn't find any package by regex 'MyO2.msi

I would be most grateful for your kindly advise if possible.

José Antonio Rey (jose) said : #5

Apt-get will NEVER get you to install a Windows package. You can read https://help.ubuntu.com/community/Wine for more information on the use of WINE.

Best samuel (samuel-h) said : #6

To run it using wine use the command wine MyO2.msi, apt-get is for downloading software from ubuntus repositories, and will not work with for installing msi files with or without wine, the program must be run in wine. To install it run
sudo apt-get install wine; wine MyO2.msi

Edmond Condillac (econ22) said : #7

Thanks samuel, that solved my question.