Unable to install a .deb package software offline

Asked by Alfredo Romero

Ubuntu 11.10
Ubuntu Software Center 5.0.2ubuntu0.1

I downloaded a .deb file of Rainlendar2 program. When I tried to install it (by double-clicking), Ubuntu Software Center appeared normally and gave a brief description of the program. But, the "install" button is grayed-out and unclickable and so were the File -> Install option. With both buttons grayed-out, I cannot install it.

A side note, when I browsed around Ubuntu Software Center and then tried to install Rainlendar2, the File -> Install button could be clicked (the one in the description page were still grayed-out), but, actually, it tried to download and install program that I browsed around before, not Rainlendar2. Plus, the Ubuntu Software Center displayed a banner under the "Reviews" section that said: "No network connection" (I connected to internet via wvdial). Though, normally, I can install programs from UBS (online only, though) by clicking File -> Install since UBS doesn't recognize my internet connection.

Hope someone can help me. Thank you.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you install it in terminal, the output will be more useful if you need to satisfy dependencies.

You can use:

sudo dpkg -i /path/to/filename.deb

obviously change the file to the actual filename you have

Revision history for this message
mahes s (mhselr) said :
#2

I have used the command you said for installing a .deb package but it gave the following output.........

mahes@ubuntu:~$ sudo dpkg -i '/media/64DC179CDC176816/New folder/PlayOnLinux_4.0.14.deb'
(Reading database ... 114512 files and directories currently installed.)
Preparing to replace playonlinux 4.0.14 (using .../PlayOnLinux_4.0.14.deb) ...
Unpacking replacement playonlinux ...
dpkg: dependency problems prevent configuration of playonlinux:
 playonlinux depends on wine | wine-stable | wine-unstable; however:
  Package wine is not installed.
  Package wine-stable is not installed.
  Package wine-unstable is not installed.
 playonlinux depends on python-wxgtk2.8; however:
  Package python-wxgtk2.8 is not installed.
 playonlinux depends on imagemagick; however:
  Package imagemagick is not installed.
 playonlinux depends on cabextract; however:
  Package cabextract is not installed.
 playonlinux depends on icoutils; however:
  Package icoutils is not installed.
dpkg: error processing playonlinux (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Errors were encountered while processing:
 playonlinux

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

ok, run:

sudo apt-get -f install

playonlinux is in the repos to...

Can you help with this problem?

Provide an answer of your own, or ask Alfredo Romero for more information if necessary.

To post a message you must log in.