Announcement

Collapse
No announcement yet.

kubuntu 15.04 problems - wine

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    kubuntu 15.04 problems - wine

    Using kubuntu 15.04

    Code:
    bumpy@bumpyputer:/usr/bin$ sudo apt-get install wine1.6 
    [sudo] password for bumpy: *
    Reading package lists... Done 
    Building dependency tree *******
    Reading state information... Done 
    wine1.6 is already the newest version. 
    The following package was automatically installed and is no longer required: 
    *libpcap0.8:i386 
    Use 'apt-get autoremove' to remove it. 
    The following packages will be upgraded: 
    *ttf-mscorefonts-installer 
    1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 
    1 not fully installed or removed. 
    E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) 
    E: Unable to lock directory /var/cache/apt/archives/ 
    bumpy@bumpyputer:/usr/bin$ sudo apt-get autoremove /var/cache/apt/archives/lock 
    Reading package lists... Done 
    Building dependency tree *******
    Reading state information... Done 
    E: Unable to locate package /var/cache/apt/archives 
    bumpy@bumpyputer:/usr/bin$ cd /var/cache/apt/archives 
    bumpy@bumpyputer:/var/cache/apt/archives$ cd libpcap0.8:i386 
    bash: cd: libpcap0.8:i386: No such file or directory 
    bumpy@bumpyputer:/var/cache/apt/archives$ sudo apt-get autoremove ttf-mscorefonts-installer 
    Reading package lists... Done 
    Building dependency tree 
    Reading state information... Done 
    The following packages will be REMOVED: 
    *libpcap0.8:i386 ttf-mscorefonts-installer 
    0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 
    1 not fully installed or removed. 
    After this operation, 347 kB disk space will be freed. 
    Do you want to continue? [Y/n] *
    debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable 
    dpkg: error processing package ttf-mscorefonts-installer (--remove): 
    package is in a very bad inconsistent state; you should 
    reinstall it before attempting a removal 
    (Reading database ... 208720 files and directories currently installed.) 
    Removing libpcap0.8:i386 (1.6.2-2) ... 
    Processing triggers for libc-bin (2.21-0ubuntu4) ... 
    Errors were encountered while processing: 
    ttf-mscorefonts-installer 
    E: Sub-process /usr/bin/dpkg returned an error code (1) 
    bumpy@bumpyputer:/var/cache/apt/archives$ sudo install var/cache/debconf/config.dat 
    install: missing destination file operand after ‘/var/cache/debconf/config.dat’ 
    Try 'install --help' for more information. 
    bumpy@bumpyputer:/var/cache/apt/archives$ install --help 
    Usage: install [OPTION]... [-T] SOURCE DEST 
    *or: *install [OPTION]... SOURCE... DIRECTORY 
    *or: *install [OPTION]... -t DIRECTORY SOURCE... 
    *or: *install [OPTION]... -d DIRECTORY... 
    
    This install program copies files (often just compiled) into destination 
    locations you choose. *If you want to download and install a ready-to-use 
    package on a GNU/Linux system, you should instead be using a package manager 
    like yum(1) or apt-get(1). 
    
    In the first three forms, copy SOURCE to DEST or multiple SOURCE(s) to 
    the existing DIRECTORY, while setting permission modes and owner/group. 
    In the 4th form, create all components of the given DIRECTORY(ies). 
    
    Mandatory arguments to long options are mandatory for short options too. 
    *****--backup[=CONTROL] *make a backup of each existing destination file 
    *-b *****************like --backup but does not accept an argument 
    *-c *****************(ignored) 
    *-C, --compare ******compare each pair of source and destination files, and 
    ***********************in some cases, do not modify the destination at all 
    *-d, --directory ****treat all arguments as directory names; create all 
    ***********************components of the specified directories 
    *-D *****************create all leading components of DEST except the last, 
    ***********************then copy SOURCE to DEST 
    *-g, --group=GROUP **set group ownership, instead of process' current group 
    *-m, --mode=MODE ****set permission mode (as in chmod), instead of rwxr-xr-x 
    *-o, --owner=OWNER **set ownership (super-user only) 
    *-p, --preserve-timestamps **apply access/modification times of SOURCE files 
    ***********************to corresponding destination files 
    *-s, --strip ********strip symbol tables 
    *****--strip-program=PROGRAM *program used to strip binaries 
    *-S, --suffix=SUFFIX *override the usual backup suffix 
    *-t, --target-directory=DIRECTORY *copy all SOURCE arguments into DIRECTORY 
    *-T, --no-target-directory *treat DEST as a normal file 
    *-v, --verbose ******print the name of each directory as it is created 
    *****--preserve-context *preserve SELinux security context 
    *-Z *********************set SELinux security context of destination 
    ***************************file to default type 
    *****--context[=CTX] ****like -Z, or if CTX is specified then set the 
    ***************************SELinux or SMACK security context to CTX 
    *****--help ****display this help and exit 
    *****--version *output version information and exit 
    
    The backup suffix is '~', unless set with --suffix or SIMPLE_BACKUP_SUFFIX. 
    The version control method may be selected via the --backup option or through 
    the VERSION_CONTROL environment variable. *Here are the values: 
    
    *none, off ******never make backups (even if --backup is given) 
    *numbered, t ****make numbered backups 
    *existing, nil **numbered if numbered backups exist, simple otherwise 
    *simple, never **always make simple backups 
    
    GNU coreutils online help: <http://www.gnu.org/software/coreutils/> 
    Full documentation at: <http://www.gnu.org/software/coreutils/install> 
    or available locally via: info '(coreutils) install invocation' 
    bumpy@bumpyputer:/var/cache/apt/archives$ info '(coreutils) install invocation 
    >
    I'm totally lost with the above. Hope you can shed light on how to fix this

    #2
    I am totally lost as well, but a few points:

    What specifically are you attempting to accomplish?

    you seem to be running commands to do things that you may need to understand more before simply just typing things in.

    Code:
    E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) 
    E: Unable to lock directory /var/cache/apt/archives/ 
    bumpy@bumpyputer:/usr/bin$ sudo apt-get autoremove /var/cache/apt/archives/lock
    The error message , with the 'E" is key here. It does describe the problem accurately, though not obviously to everyone immediately. You have the right idea in removing the lock file /var/cache/apt/archives/lock, but it is a file, and not a package, so you would not use apt-get to remove it, you would delete it as you would any file, except you need sudo or kdesudo access to do it.

    Code:
    sudo rm /var/cache/apt/archives/lock
    make sure you don't have another package manager running, either muon or another terminal window running apt or something

    This will probably clear up the log jam

    You have run commands that luckily did not work , so we can ignore most of the output, but her is what we need to do to get back to where we were: upgrading the package ttf-mscorefonts-installer

    Uninstall this, then reinstall it, and see where that gets us.

    Comment


      #3
      Thanks fo your reply!
      Code:
      bumpy@bumpyputer:/usr/bin$ sudo apt-get rm ttf-mscorefonts-installer
      E: Invalid operation rm
      bumpy@bumpyputer:/usr/bin$ sudo apt-get uninstall ttf-mscorefonts-installer
      E: Invalid operation uninstall
      bumpy@bumpyputer:/usr/bin$ sudo apt-get remove ttf-mscorefonts-installer
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      Package 'ttf-mscorefonts-installer' is not installed, so not removed
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      9 not fully installed or removed.
      After this operation, 0 B of additional disk space will be used.
      debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
      Setting up libpcap0.8:i386 (1.6.2-2) ...
      Setting up wine-gecko2.34:amd64 (2.34-0ubuntu1~ppa1) ...
      Setting up wine-gecko2.34:i386 (2.34-0ubuntu1~ppa1) ...
      Setting up wine-mono4.5.4 (4.5.4-0ubuntu1~ppa1) ...
      Setting up unrar (1:5.2.7-0.1) ...
      update-alternatives: using /usr/bin/unrar-nonfree to provide /usr/bin/unrar (unrar) in auto mode
      Setting up winetricks (0.0+20140302-0ubuntu2) ...
      Setting up wine1.7 (1:1.7.50-0ubuntu1) ...
      Setting up wine1.7-i386 (1:1.7.50-0ubuntu1) ...
      Setting up wine1.7-amd64 (1:1.7.50-0ubuntu1) ...
      Processing triggers for libc-bin (2.21-0ubuntu4) ...
      bumpy@bumpyputer:/usr/bin$ sudo apt-get install ttf-mscorefonts-installer
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      The following NEW packages will be installed:
        ttf-mscorefonts-installer
      0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
      Need to get 0 B/29.5 kB of archives.
      After this operation, 134 kB of additional disk space will be used.
      debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
      (Reading database ... 209294 files and directories currently installed.)
      Preparing to unpack .../ttf-mscorefonts-installer_3.4+nmu1ubuntu2_all.deb ...
      debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable                                                                                  
      dpkg: error processing archive /var/cache/apt/archives/ttf-mscorefonts-installer_3.4+nmu1ubuntu2_all.deb (--unpack):                                                                                      
       subprocess new pre-installation script returned error exit status 1                                 
      Errors were encountered while processing:                                                            
       /var/cache/apt/archives/ttf-mscorefonts-installer_3.4+nmu1ubuntu2_all.deb                           
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      bumpy@bumpyputer:/usr/bin$

      Comment


        #4
        Code:
        bumpy@bumpyputer:/usr/bin$ sudo apt-get rm ttf-mscorefonts-installer
        E: Invalid operation rm
        bumpy@bumpyputer:/usr/bin$ sudo apt-get uninstall ttf-mscorefonts-installer
        E: Invalid operation uninstall
        Huh? more random commands, there. Be careful, luckily the commands you gave with the options you used made no sense, so no actions were actually performed.


        Code:
        debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
        This I missed. Reboot if you haven't done so already, then this:


        Code:
        sudo dpkg --configure -a
        What seems to have happened is that the tiny program or script that downloads and installs the MS fonts that are needed by Wine has locked up, and is preventing it from running again when we reinstall the ttf-mscorefonts-installer.

        Rebooting should 'kill' the process that is stuck, and the command again should make the ttf-mscorefonts-installer package finish the installation process. ttf-mscorefonts-installerT

        I'll be at work all day, in to the evening so i may not get a chance to respond if there are still errors until much later.

        Comment


          #5
          I ran sudo apt-get install ttf-mscorefonts-installer
          This window appeared:
          Click image for larger version

Name:	Snapshotx.png
Views:	1
Size:	79.1 KB
ID:	643071
          Was not able to do anything 1e click OK or close it - except create the above snapshot.
          Please forgive my ignorance in all this. I am an 81 year old man who has been using windows since it was first created.
          Dropped Windows 7 years ago & became addicted to Ubuntu.
          The reason I want to use Wine is solely to run Sketchup. So far I have not been able to install Wine properly.
          As you have seen, am at a loss with wine software. So if you could be patient & help me get Sketchup running, I would be a happy man.
          I really appreciate your efforts so far - look forward to you getting back from work!

          Comment


            #6
            Originally posted by Bumpalot View Post
            I ran sudo apt-get install ttf-mscorefonts-installer
            This window appeared:
            [ATTACH=CONFIG]6357[/ATTACH]
            Was not able to do anything 1e click OK or close it - except create the above snapshot.
            Please forgive my ignorance in all this. I am an 81 year old man who has been using windows since it was first created.
            Dropped Windows 7 years ago & became addicted to Ubuntu.
            The reason I want to use Wine is solely to run Sketchup. So far I have not been able to install Wine properly.
            As you have seen, am at a loss with wine software. So if you could be patient & help me get Sketchup running, I would be a happy man.
            I really appreciate your efforts so far - look forward to you getting back from work!
            ya ,,,,you use the "tab" key to switch between choices on those kind of windows ,,,and some times the arrow keys ,,,then the "enter" key to select the choice .

            VINNY
            i7 4core HT 8MB L3 2.9GHz
            16GB RAM
            Nvidia GTX 860M 4GB RAM 1152 cuda cores

            Comment


              #7
              bumpy@bumpyputer:/usr/bin$ sudo apt-get install ttf-mscorefonts-installer
              [sudo] password for bumpy:
              E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
              E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
              bumpy@bumpyputer:/usr/bin$
              How do I fix this?

              Comment


                #8
                Originally posted by Bumpalot View Post
                bumpy@bumpyputer:/usr/bin$ sudo apt-get install ttf-mscorefonts-installer
                [sudo] password for bumpy:
                E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
                E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
                bumpy@bumpyputer:/usr/bin$
                How do I fix this?
                this will happen when you have 2 package managers running or sometimes if a process was interrupted ,,,,leaving this stail lock file .

                to remove it ,,,,,

                Code:
                sudo rm -rf /var/lib/dpkg/lock


                VINNY
                i7 4core HT 8MB L3 2.9GHz
                16GB RAM
                Nvidia GTX 860M 4GB RAM 1152 cuda cores

                Comment


                  #9
                  Code:
                  bumpy@bumpyputer:/usr/bin$ sudo rm -rf /var/lib/dpkg/lock
                  bumpy@bumpyputer:/usr/bin$ sudo apt-get install ttf-mscorefonts-installer
                  Reading package lists... Done
                  Building dependency tree       
                  Reading state information... Done
                  The following packages will be upgraded:
                    ttf-mscorefonts-installer
                  1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                  1 not fully installed or removed.
                  E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
                  E: Unable to lock directory /var/cache/apt/archives/
                  bumpy@bumpyputer:/usr/bin$ sudo rm -rf /var/lib/dpkg/lock
                  bumpy@bumpyputer:/usr/bin$
                  What's going on here??

                  Comment


                    #10
                    Originally posted by Bumpalot View Post
                    Code:
                    bumpy@bumpyputer:/usr/bin$ sudo rm -rf /var/lib/dpkg/lock
                    bumpy@bumpyputer:/usr/bin$ sudo apt-get install ttf-mscorefonts-installer
                    Reading package lists... Done
                    Building dependency tree       
                    Reading state information... Done
                    The following packages will be upgraded:
                      ttf-mscorefonts-installer
                    1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                    1 not fully installed or removed.
                    E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
                    E: Unable to lock directory /var/cache/apt/archives/
                    bumpy@bumpyputer:/usr/bin$ sudo rm -rf /var/lib/dpkg/lock
                    bumpy@bumpyputer:/usr/bin$
                    What's going on here??
                    their is another stale lock file in /var/cache/apt/archives ,,,,,,so
                    Code:
                    sudo rm -rf /var/cache/apt/archives/lock
                    ,,,,,if I am not mistaken this was your original one/problem .

                    the errors are telling you what to do ,,,,,,,just a bit cryptically .

                    VINNY
                    i7 4core HT 8MB L3 2.9GHz
                    16GB RAM
                    Nvidia GTX 860M 4GB RAM 1152 cuda cores

                    Comment


                      #11
                      Code:
                      You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
                      ------------------------------------------------------
                      Executing w_do_call sketchup
                      Executing load_sketchup
                      Executing mkdir -p /home/bumpy/.cache/winetricks/sketchup
                      Downloading http://dl.google.com/sketchup/GoogleSketchUpWEN.exe to /home/bumpy/.cache/winetricks/sketchup
                      --2015-10-26 13:48:26--  http://dl.google.com/sketchup/GoogleSketchUpWEN.exe
                      Resolving dl.google.com (dl.google.com)... 209.52.144.99, 209.52.144.104, 209.52.144.119, ...
                      Connecting to dl.google.com (dl.google.com)|209.52.144.99|:80... connected.
                      HTTP request sent, awaiting response... 302 Found
                      Location: http://dl.trimble.com/sketchup/GoogleSketchUpWEN.exe [following]
                      --2015-10-26 13:48:26--  http://dl.trimble.com/sketchup/GoogleSketchUpWEN.exe
                      Resolving dl.trimble.com (dl.trimble.com)... 54.200.158.5
                      Connecting to dl.trimble.com (dl.trimble.com)|54.200.158.5|:80... connected.
                      HTTP request sent, awaiting response... 302 Found
                      Location: http://download.trimble.com/sketchup/googlesketchupwen.exe?Expires=1445892532&Signature=L5MejxKnq2yLjELObtElbAKItacPIkmrpFXGa7ArOidq6xznAVS-4UC3Wz2R-O7zje1dhEeeGwS153qFmJLQTovVUleqsip4J3ms3e3QQR76h73An~VeznT2b~FSvacVMct9dMV~RYAMwXRUCcfRvWgPiv9vkfIRKgS~7xAktcA_&Key-Pair-Id=APKAITRMO3ODNM6MFOEA [following]
                      --2015-10-26 13:48:27--  http://download.trimble.com/sketchup/googlesketchupwen.exe?Expires=1445892532&Signature=L5MejxKnq2yLjELObtElbAKItacPIkmrpFXGa7ArOidq6xznAVS-4UC3Wz2R-O7zje1dhEeeGwS153qFmJLQTovVUleqsip4J3ms3e3QQR76h73An~VeznT2b~FSvacVMct9dMV~RYAMwXRUCcfRvWgPiv9vkfIRKgS~7xAktcA_&Key-Pair-Id=APKAITRMO3ODNM6MFOEA
                      Resolving download.trimble.com (download.trimble.com)... 54.230.69.145, 54.240.188.155, 54.230.68.203, ...
                      Connecting to download.trimble.com (download.trimble.com)|54.230.69.145|:80... connected.
                      HTTP request sent, awaiting response... 200 OK
                      Length: 35798848 (34M) [application/x-www-form-urlencoded]
                      Saving to: ‘GoogleSketchUpWEN.exe’
                      
                      GoogleSketchUpWEN.exe    100%[====================================>]  34.14M  1.93MB/s   in 18s    
                      
                      2015-10-26 13:48:44 (1.94 MB/s) - ‘GoogleSketchUpWEN.exe’ saved [35798848/35798848]
                      
                      Executing mkdir -p /home/bumpy/.cache/winetricks/ahk
                      Downloading http://www.autohotkey.com/download/AutoHotkey104805.zip to /home/bumpy/.cache/winetricks/ahk
                      --2015-10-26 13:48:45--  http://www.autohotkey.com/download/AutoHotkey104805.zip                    
                      Resolving www.autohotkey.com (www.autohotkey.com)... 45.55.88.45                                    
                      Connecting to www.autohotkey.com (www.autohotkey.com)|45.55.88.45|:80... connected.                 
                      HTTP request sent, awaiting response... 200 OK                                                      
                      Length: 2047047 (2.0M) [application/zip]                                                            
                      Saving to: ‘AutoHotkey104805.zip’                                                                   
                                                                                                                          
                      AutoHotkey104805.zip     100%[====================================>]   1.95M  1.57MB/s   in 1.2s    
                                                                                                                          
                      2015-10-26 13:48:46 (1.57 MB/s) - ‘AutoHotkey104805.zip’ saved [2047047/2047047]                    
                                                                                                                          
                      Executing unzip -o -q -d /home/bumpy/.cache/winetricks/ahk /home/bumpy/.cache/winetricks/ahk/AutoHotkey104805.zip AutoHotkey.exe AU3_Spy.exe                                                            
                      Executing wine y:\ahk\AutoHotkey.exe C:\windows\Temp\_sketchup\tmp.ahk                              
                      fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}     
                      fixme:ntdll:NtLockFile I/O completion on lock not implemented yet                                   
                      fixme:msi:event_spawn_wait_dialog doing nothing                                                     
                      Current wine does not have wine bug 14045, so not applying workaround
                      Wine Configuration
                      Click image for larger version

Name:	Sketchup8-Applications.png
Views:	1
Size:	8.8 KB
ID:	643073

                      Click image for larger version

Name:	Sketchup8-Desktop Integrations.png
Views:	1
Size:	10.2 KB
ID:	643074

                      Click image for larger version

Name:	Sketchup8-Startup Executable.png
Views:	1
Size:	11.9 KB
ID:	643075

                      Click image for larger version

Name:	Sketchup Failed.png
Views:	3
Size:	5.8 KB
ID:	643076

                      Unable to add more graphics-won't transfer
                      What do I choose for:
                      Library? - Executable: Sketchup.exe?, Windows 7?

                      Re: http://web.archive.org/web/201308042...g.html#general - what do you suggest?
                      Attached Files
                      Last edited by Bumpalot; Oct 26, 2015, 04:24 PM. Reason: Having trouble inserting Graphics

                      Comment


                        #12
                        sometime (wait always) it helps to check wines appdb

                        https://appdb.winehq.org/objectManag...sion&iId=21290
                        Mark Your Solved Issues [SOLVED]
                        (top of thread: thread tools)

                        Comment

                        Working...
                        X