Find the answer to your Linux question:
Results 1 to 5 of 5
Hello all, I have Debian installed on my computer and have been trying to get Wine to work. When I try to open the notepad program I get the error ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    12

    Wine on Debian


    Hello all,

    I have Debian installed on my computer and have been trying to get Wine to work. When I try to open the notepad program I get the error that :module not found". I have tried searching with google and realized that other people have had the same error, but I still haven't figured it out.

    I have installed it using the "apt-get install wine" command. I did "winecfg" after that so that I now have a .wine folder in my home directory. I tried to run notepad with the full path

    Code:
    wine /home/thomas/.wine/drive_c/windows/notepad.exe
    But I get the error:
    Code:
    Invoking /usr/lib/wine/wine.bin /home/thomas/.wine/drive_c/windows/notepad.exe ...
    wine: could not load L"C:\\windows\\notepad.exe": Module not found
    Wine failed with return code 126
    Warning: Missing charsets in String to FontSet conversion
    Warning: Unable to load any usable fontset
    /usr/bin/wine: line 529:  8434 Terminated              $XMESSAGE -timeout 30 -buttons "    Dismiss    ":0," Never display this message again ":3 -title "Wine Launch Window" -default "    Dismiss    " "Invoking $WINEBIN/$WINE_BIN_NAME $@ ...
    
            This dialog box is a temporary status dialog to let you know
            that Wine is attempting to launch your application.
    
            Since Wine is still very much in a development stage,
            many applications will fail silently.
            This dialog box is your indication
            that we're *trying* to run your application.
    
            This dialog box will automatically disappear after 30 seconds,
            or after your application finishes.
    
            You can permanently disable this dialog by selecting
            the option below.
            " 2>/dev/null
    Deleting /tmp/wine.log.LL8435
    The version is 0.9.25 but I think that the current stable version is 1.0.1. Google told me that I might just need to install the newest version of wine, but how to I do that? (I have not been able to find the .deb package/file for it)

    Thanks,
    Thomas

  2. #2
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Desert
    Posts
    4,043
    This tutorial is for installing Google Chrome using Wine 1.1.6 in Debian. You can use the tutorial for just installing Wine 1.16.

    TuxArena: Running Google Chrome Under Wine 1.1.6 in Debian
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way. I Have a Masters in Raising Hell
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

  3. #3
    Just Joined!
    Join Date
    Sep 2008
    Posts
    12
    Thank you for the reply

    I tried to follow the tutorial, but when I run the command 'apt-get update' I get some errors:
    Code:
    Ign cdrom://[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 NETINST Binary-1 20080804-15:10] etch Release.gpg
    Ign cdrom://[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 NETINST Binary-1 20080804-15:10] etch Release
    Ign cdrom://[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 NETINST Binary-1 20080804-15:10] etch/contrib Packages/DiffIndex
    Ign cdrom://[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 NETINST Binary-1 20080804-15:10] etch/main Packages/DiffIndex
    Get:1 http://ftp.us.debian.org etch Release.gpg [386B]
    Get:2 http://wine.budgetdedicated.com hardy Release.gpg [191B]
    Hit http://ftp.us.debian.org etch Release
    Get:3 http://security.debian.org etch/updates Release.gpg [189B]
    Get:4 http://wine.budgetdedicated.com hardy Release [1013B]
    Ign http://ftp.us.debian.org etch/main Packages/DiffIndex
    Hit http://security.debian.org etch/updates Release
    Ign http://ftp.us.debian.org etch/main Sources/DiffIndex
    Ign http://wine.budgetdedicated.com hardy/main Packages
    Hit http://ftp.us.debian.org etch/main Packages
    Get:5 http://wine.budgetdedicated.com hardy/main Sources [931B]
    Ign http://wine.budgetdedicated.com hardy/main Packages
    Ign http://security.debian.org etch/updates/main Packages/DiffIndex
    Hit http://ftp.us.debian.org etch/main Sources
    Get:6 http://wine.budgetdedicated.com hardy/main Packages [1092B]
    Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
    Ign http://security.debian.org etch/updates/main Sources/DiffIndex
    Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
    Get:7 http://wine.budgetdedicated.com hardy/main Packages [1092B]
    99% [7 Packages gzip 0] [Waiting for headers]
    gzip: stdin: not in gzip format
    Err http://wine.budgetdedicated.com hardy/main Packages
      Sub-process gzip returned an error code (1)
    Hit http://security.debian.org etch/updates/main Packages
    Hit http://security.debian.org etch/updates/contrib Packages
    Hit http://security.debian.org etch/updates/main Sources
    Hit http://security.debian.org etch/updates/contrib Sources
    Fetched 3230B in 1s (2704B/s)
    Failed to fetch http://wine.budgetdedicated.com/apt/dists/hardy/main/binary-i386/Packages.gz  Sub-process gzip returned an error code (1)
    Reading package lists... Done
    W: Duplicate sources.list entry http://wine.budgetdedicated.com hardy/main Packages (/var/lib/apt/lists/wine.budgetdedicated.com_apt_dists_hardy_main_binary-i386_Packages)
    W: You may want to run apt-get update to correct these problems
    E: Some index files failed to download, they have been ignored, or old ones used instead.
    debian-502:/home/thomas# sudo apt-get update
    Ign cdrom://[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 NETINST Binary-1 20080804-15:10] etch Release.gpg
    Ign cdrom://[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 NETINST Binary-1 20080804-15:10] etch Release
    Ign cdrom://[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 NETINST Binary-1 20080804-15:10] etch/contrib Packages/DiffIndex
    Ign cdrom://[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 NETINST Binary-1 20080804-15:10] etch/main Packages/DiffIndex
    Get:1 http://ftp.us.debian.org etch Release.gpg [386B]
    Hit http://ftp.us.debian.org etch Release
    Get:2 http://wine.budgetdedicated.com hardy Release.gpg [191B]
    Get:3 http://security.debian.org etch/updates Release.gpg [189B]
    Ign http://ftp.us.debian.org etch/main Packages/DiffIndex
    Hit http://wine.budgetdedicated.com hardy Release
    Ign http://ftp.us.debian.org etch/main Sources/DiffIndex
    Hit http://security.debian.org etch/updates Release
    Hit http://ftp.us.debian.org etch/main Packages
    Ign http://wine.budgetdedicated.com hardy/main Packages/DiffIndex
    Hit http://ftp.us.debian.org etch/main Sources
    Ign http://security.debian.org etch/updates/main Packages/DiffIndex
    Ign http://wine.budgetdedicated.com hardy/main Sources/DiffIndex
    Ign http://wine.budgetdedicated.com hardy/main Packages/DiffIndex
    Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
    Ign http://security.debian.org etch/updates/main Sources/DiffIndex
    Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
    Ign http://wine.budgetdedicated.com hardy/main Packages
    Hit http://security.debian.org etch/updates/main Packages
    Hit http://security.debian.org etch/updates/contrib Packages
    Hit http://wine.budgetdedicated.com hardy/main Sources
    Hit http://security.debian.org etch/updates/main Sources
    Ign http://wine.budgetdedicated.com hardy/main Packages
    Hit http://security.debian.org etch/updates/contrib Sources
    Get:4 http://wine.budgetdedicated.com hardy/main Packages [1092B]
    99% [4 Packages gzip 0] [Waiting for headers]
    gzip: stdin: not in gzip format
    Err http://wine.budgetdedicated.com hardy/main Packages
      Sub-process gzip returned an error code (1)
    Get:5 http://wine.budgetdedicated.com hardy/main Packages [1092B]
    99% [5 Packages gzip 0]
    gzip: stdin: not in gzip format
    Err http://wine.budgetdedicated.com hardy/main Packages
      Sub-process gzip returned an error code (1)
    Fetched 5B in 1s (4B/s)
    Failed to fetch http://wine.budgetdedicated.com/apt/dists/hardy/main/binary-i386/Packages.gz  Sub-process gzip returned an error code (1)
    Failed to fetch http://wine.budgetdedicated.com/apt/dists/hardy/main/binary-i386/Packages.gz  Sub-process gzip returned an error code (1)
    Reading package lists... Done
    E: Some index files failed to download, they have been ignored, or old ones used instead.
    I tried to install wine anyway, but then I get the error:
    Code:
    Reading package lists... Done
    Building dependency tree... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    
    Since you only requested a single operation it is extremely likely that
    the package is simply not installable and a bug report against
    that package should be filed.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
      wine: Depends: libasound2 (> 1.0.14) but 1.0.13-2 is to be installed
            Depends: libc6 (>= 2.4) but 2.3.6.ds1-13etch7 is to be installed
            Depends: libgphoto2-2 (>= 2.4.0) but 2.2.1-16 is to be installed
            Depends: libgphoto2-port0 (>= 2.4.0) but 2.2.1-16 is to be installed
            Depends: libldap-2.4-2 (>= 2.4.7) but it is not installable
            Depends: libxslt1.1 (>= 1.1.20) but 1.1.19-3 is to be installed
            PreDepends: dpkg (>= 1.14.12ubuntu3) but 1.13.25 is to be installed
    E: Broken packages

    Thomas

  4. #4
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Desert
    Posts
    4,043
    Reading package lists... Done
    Building dependency tree... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.

    Since you only requested a single operation it is extremely likely that
    the package is simply not installable and a bug report against
    that package should be filed.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    wine: Depends: libasound2 (> 1.0.14) but 1.0.13-2 is to be installed
    Depends: libc6 (>= 2.4) but 2.3.6.ds1-13etch7 is to be installed
    Depends: libgphoto2-2 (>= 2.4.0) but 2.2.1-16 is to be installed
    Depends: libgphoto2-port0 (>= 2.4.0) but 2.2.1-16 is to be installed
    Depends: libldap-2.4-2 (>= 2.4.7) but it is not installable
    Depends: libxslt1.1 (>= 1.1.20) but 1.1.19-3 is to be installed
    PreDepends: dpkg (>= 1.14.12ubuntu3) but 1.13.25 is to be installed
    E: Broken packages
    I would leave this as a comment on the above links blog and see if he will respond . You could also file it with WineHQ Forums Index and with Bugzilla Main Page . I would also browse through this first FAQ - The Official Wine Wiki to see if this has happened before.

    Failed to fetch http://wine.budgetdedicated.com/apt/...86/Packages.gz Sub-process gzip returned an error code (1)
    Reading package lists... Done
    W: Duplicate sources.list entry The WineHQ APT Repository hardy/main Packages (/var/lib/apt/lists/wine.budgetdedicated.com_apt_dists_hardy_main_bina ry-i386_Packages)
    W: You may want to run apt-get update to correct these problems
    I don't understand how you got a duplicate sources error. Posting these 2 quotes in WineHQ Forums Index might straighten this out.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way. I Have a Masters in Raising Hell
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

  5. #5
    Just Joined!
    Join Date
    Sep 2008
    Posts
    12
    Ok, thanks for the reply.

    Thomas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •