Announcement

Collapse
No announcement yet.

I have software that has becom a "lock" and a "partial"!

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

    I have software that has becom a "lock" and a "partial"!

    Can some help solve my problems of what looks like a lock package and a partial install!

    I run this command and it shows that I have a "lock" and a "partial"!

    Name:~$ ls -la /var/cache/apt/archives/

    Here's part of the results showing both the "lock" and a "partial", I used the
    lesser than sign to show where they are located below:

    -rw-r--r-- 1 root root 2370 Feb 19 00:59
    linux-image-generic_3.2.0.60.71_amd64.deb
    -rw-r--r-- 1 root root 865364 Feb 19 01:00
    linux-libc-dev_3.2.0-60.91_amd64.deb
    -rw-r----- 1 root root 0 Jan 2 2013 lock <<<<<<<<<<
    -rw-r--r-- 1 root root 303078 Mar 2 2012 logjam_4.6.2-1_amd64.deb
    -rw-r--r-- 1 root root 150830 Nov 23 2009 mimetex_1.50-1.1_amd64.deb
    -rw-r--r-- 1 root root 507602 Nov 28 2011 mnemosyne_1.2.2-2_all.deb
    -rw-r--r-- 1 root root 61540 Mar 7 2012
    nautilus-sendto_3.0.1-2ubuntu2_amd64.deb
    -rw-r--r-- 1 root root 235280 Feb 27 13:00
    openjdk-6-jre_6b30-1.13.1-1ubuntu2~0.12.04.1_amd64.deb
    -rw-r--r-- 1 root root 32755156 Feb 27 13:00
    openjdk-6-jre-headless_6b30-1.13.1-1ubuntu2~0.12.04.1_amd64.deb
    -rw-r--r-- 1 root root 6213474 Feb 27 13:00
    openjdk-6-jre-lib_6b30-1.13.1-1ubuntu2~0.12.04.1_all.deb
    -rw-r--r-- 1 root root 942730 Mar 25 07:58
    openssh-client_1%3a5.9p1-5ubuntu1.2_amd64.deb
    -rw-r--r-- 1 root root 338044 Mar 25 07:58
    openssh-server_1%3a5.9p1-5ubuntu1.2_amd64.deb
    -rw-r--r-- 1 root root 18564 Mar 17 02:19
    oracle-java7-installer_7u51-0~webupd8~4_all.deb
    -rw-r--r-- 1 root root 4234 Mar 17 02:19
    oracle-java7-set-default_7u51-0~webupd8~4_all.deb
    -rw-r--r-- 1 root root 3768 Mar 17 02:19
    oracle-jdk7-installer_7u51-0~webupd8~4_all.deb
    drwxr-xr-x 2 root root 4096 Mar 29 17:11 partial <<<<<<<<<<
    -rw-r--r-- 1 root root 145228 Dec 3 2011
    pavucontrol_0.99.2-1build1_amd64.deb
    -rw-r--r-- 1 root root 67011706 Apr 25 2013
    pdf-studio-8-demo_8.2.1-0ubuntu1_amd64.deb
    -rw-r--r-- 1 root root 165464 Mar 6 11:38
    perlmagick_8%3a6.6.9.7-5ubuntu3.3_amd64.deb


    I also ran:

    "sudo apt-get update"

    hoping that would correct the problems but nothing has changed after running
    apt-get update numerous times.

    I was using muno pack manager but while searching for solutions for the "lock"
    and a "partial" I see where some think it may have caused this kind of problem.
    I have un-installed muno and am using Synaptic package manager. And I ran the
    "Fix broken packages" command in Synaptic several times and that didn't help
    either.

    I found this information "Repair broken packages" at:
    http://ubuntuguide.org/wiki/Kubuntu_...ackage_Manager

    I tried everything it said about repairing broken packages except these
    commands locked up my system everytime I tried them

    sudo fuser -cuk /var/lib/dpkg/lock; sudo rm -f /var/lib/dpkg/lock

    Plus, I'm going to have to post this and come back to it later because I can't
    stay on continuously until I get an answer.

    Help please!

    #2
    I am not sure that I will be of much help. I would be inclined to run
    Code:
    sudo apt-clean
    sudo apt-get update
    sudo apt-get dist-upgrade
    The first command would free up disk space by removing all the archive packages. I often find that the last command often provides a solution to problems encountered with an upgrade. It also lists the packages that are no longer required and can be removed by the apt-get autoremove command.

    I noticed that you seem to have rather old packages. I am currently on Kubuntu 14.04 and I used your command to give the following on my system. I have recently run the clean command, so the list in not long.
    Code:
    $ ls -la /var/cache/apt/archives/
    total 51748
    drwxr-xr-x 3 root root    90112 Mar 31 09:15 .
    drwxr-xr-x 3 root root     4096 Mar 31 19:21 ..
    -rw-r--r-- 1 root root   981978 Mar 31 06:58 calligra-data_1%3a2.8.1-1-0ubuntu1_all.deb
    -rw-r--r-- 1 root root  5338904 Mar 31 06:28 calligra-libs_1%3a2.8.1-1-0ubuntu1_amd64.deb
    -rw-r--r-- 1 root root  4441092 Mar 30 18:18 cpp-4.8_4.8.2-17ubuntu2_amd64.deb
    -rw-r--r-- 1 root root  7050570 Mar 30 18:18 g++-4.8_4.8.2-17ubuntu2_amd64.deb
    -rw-r--r-- 1 root root  4984496 Mar 30 18:18 gcc-4.8_4.8.2-17ubuntu2_amd64.deb
    -rw-r--r-- 1 root root    15114 Mar 30 18:18 gcc-4.8-base_4.8.2-17ubuntu2_amd64.deb
    -rw-r--r-- 1 root root    15166 Mar 30 19:08 gcc-4.8-base_4.8.2-17ubuntu2_i386.deb
    -rw-r--r-- 1 root root    13806 Mar 31 07:38 gcc-4.9-base_4.9-20140330-0ubuntu1_amd64.deb
    -rw-r--r-- 1 root root    13872 Mar 31 08:13 gcc-4.9-base_4.9-20140330-0ubuntu1_i386.deb
    -rw-r--r-- 1 root root  4053930 Mar 31 06:28 kexi_1%3a2.8.1-1-0ubuntu1_amd64.deb
    -rw-r--r-- 1 root root  5086976 Mar 31 06:28 krita_1%3a2.8.1-1-0ubuntu1_amd64.deb
    -rw-r--r-- 1 root root 15688516 Mar 31 06:58 krita-data_1%3a2.8.1-1-0ubuntu1_all.deb
    -rw-r--r-- 1 root root    47788 Mar 31 07:38 lib32gcc1_1%3a4.9-20140330-0ubuntu1_amd64.deb
    -rw-r--r-- 1 root root    63198 Mar 30 18:18 libasan0_4.8.2-17ubuntu2_amd64.deb
    -rw-r--r-- 1 root root     8624 Mar 30 18:18 libatomic1_4.8.2-17ubuntu2_amd64.deb
    -rw-r--r-- 1 root root    39270 Mar 31 07:38 libgcc1_1%3a4.9-20140330-0ubuntu1_amd64.deb
    -rw-r--r-- 1 root root    47976 Mar 31 08:13 libgcc1_1%3a4.9-20140330-0ubuntu1_i386.deb
    -rw-r--r-- 1 root root  1687114 Mar 30 18:18 libgcc-4.8-dev_4.8.2-17ubuntu2_amd64.deb
    -rw-r--r-- 1 root root   249802 Mar 30 18:18 libgfortran3_4.8.2-17ubuntu2_amd64.deb
    -rw-r--r-- 1 root root    23056 Mar 30 18:18 libgomp1_4.8.2-17ubuntu2_amd64.deb
    -rw-r--r-- 1 root root    28584 Mar 30 18:18 libitm1_4.8.2-17ubuntu2_amd64.deb
    -rw-r--r-- 1 root root   203842 Mar 30 15:43 libparted0debian1_2.3-17_amd64.deb
    -rw-r--r-- 1 root root   125850 Mar 30 18:18 libquadmath0_4.8.2-17ubuntu2_amd64.deb
    -rw-r--r-- 1 root root  1049998 Mar 30 18:18 libstdc++-4.8-dev_4.8.2-17ubuntu2_amd64.deb
    -rw-r--r-- 1 root root   250722 Mar 30 18:18 libstdc++6_4.8.2-17ubuntu2_amd64.deb
    -rw-r--r-- 1 root root   261228 Mar 30 19:08 libstdc++6_4.8.2-17ubuntu2_i386.deb
    -rw-r--r-- 1 root root    94708 Mar 30 18:18 libtsan0_4.8.2-17ubuntu2_amd64.deb
    -rw-r----- 1 root root        0 Mar  5 15:52 lock
    -rw-r--r-- 1 root root   565810 Mar 30 15:43 openssh-client_1%3a6.6p1-1_amd64.deb
    -rw-r--r-- 1 root root   318870 Mar 30 15:43 openssh-server_1%3a6.6p1-1_amd64.deb
    -rw-r--r-- 1 root root    34148 Mar 30 15:43 openssh-sftp-server_1%3a6.6p1-1_amd64.deb
    -rw-r--r-- 1 root root    44068 Mar 30 15:43 parted_2.3-17_amd64.deb
    drwxr-xr-x 2 root root     4096 Mar 31 09:15 partial
    -rw-r--r-- 1 root root     1104 Mar 30 15:43 ssh_1%3a6.6p1-1_all.deb

    Comment


      #3
      Thank you NoWorries for trying to help me!

      Originally posted by NoWorries View Post
      I am not sure that I will be of much help. I would be inclined to run
      Code:
      sudo apt-clean
      sudo apt-get update
      sudo apt-get dist-upgrade
      The first command would free up disk space by removing all the archive packages. I often find that the last command often provides a solution to problems encountered with an upgrade. It also lists the packages that are no longer required and can be removed by the apt-get autoremove command.

      I noticed that you seem to have rather old packages. I am currently on Kubuntu 14.04 and I used your command to give the following on my system. I have recently run the clean command, so the list in not long.
      Code:
      $ ls -la /var/cache/apt/archives/
      total 51748
      drwxr-xr-x 3 root root    90112 Mar 31 09:15 .
      drwxr-xr-x 3 root root     4096 Mar 31 19:21 ..
      -rw-r--r-- 1 root root   981978 Mar 31 06:58 calligra-data_1%3a2.8.1-1-0ubuntu1_all.deb
      -rw-r--r-- 1 root root  5338904 Mar 31 06:28 calligra-libs_1%3a2.8.1-1-0ubuntu1_amd64.deb
      -rw-r--r-- 1 root root  4441092 Mar 30 18:18 cpp-4.8_4.8.2-17ubuntu2_amd64.deb
      -rw-r--r-- 1 root root  7050570 Mar 30 18:18 g++-4.8_4.8.2-17ubuntu2_amd64.deb
      -rw-r--r-- 1 root root  4984496 Mar 30 18:18 gcc-4.8_4.8.2-17ubuntu2_amd64.deb
      -rw-r--r-- 1 root root    15114 Mar 30 18:18 gcc-4.8-base_4.8.2-17ubuntu2_amd64.deb
      -rw-r--r-- 1 root root    15166 Mar 30 19:08 gcc-4.8-base_4.8.2-17ubuntu2_i386.deb
      -rw-r--r-- 1 root root    13806 Mar 31 07:38 gcc-4.9-base_4.9-20140330-0ubuntu1_amd64.deb
      -rw-r--r-- 1 root root    13872 Mar 31 08:13 gcc-4.9-base_4.9-20140330-0ubuntu1_i386.deb
      -rw-r--r-- 1 root root  4053930 Mar 31 06:28 kexi_1%3a2.8.1-1-0ubuntu1_amd64.deb
      -rw-r--r-- 1 root root  5086976 Mar 31 06:28 krita_1%3a2.8.1-1-0ubuntu1_amd64.deb
      -rw-r--r-- 1 root root 15688516 Mar 31 06:58 krita-data_1%3a2.8.1-1-0ubuntu1_all.deb
      -rw-r--r-- 1 root root    47788 Mar 31 07:38 lib32gcc1_1%3a4.9-20140330-0ubuntu1_amd64.deb
      -rw-r--r-- 1 root root    63198 Mar 30 18:18 libasan0_4.8.2-17ubuntu2_amd64.deb
      -rw-r--r-- 1 root root     8624 Mar 30 18:18 libatomic1_4.8.2-17ubuntu2_amd64.deb
      -rw-r--r-- 1 root root    39270 Mar 31 07:38 libgcc1_1%3a4.9-20140330-0ubuntu1_amd64.deb
      -rw-r--r-- 1 root root    47976 Mar 31 08:13 libgcc1_1%3a4.9-20140330-0ubuntu1_i386.deb
      -rw-r--r-- 1 root root  1687114 Mar 30 18:18 libgcc-4.8-dev_4.8.2-17ubuntu2_amd64.deb
      -rw-r--r-- 1 root root   249802 Mar 30 18:18 libgfortran3_4.8.2-17ubuntu2_amd64.deb
      -rw-r--r-- 1 root root    23056 Mar 30 18:18 libgomp1_4.8.2-17ubuntu2_amd64.deb
      -rw-r--r-- 1 root root    28584 Mar 30 18:18 libitm1_4.8.2-17ubuntu2_amd64.deb
      -rw-r--r-- 1 root root   203842 Mar 30 15:43 libparted0debian1_2.3-17_amd64.deb
      -rw-r--r-- 1 root root   125850 Mar 30 18:18 libquadmath0_4.8.2-17ubuntu2_amd64.deb
      -rw-r--r-- 1 root root  1049998 Mar 30 18:18 libstdc++-4.8-dev_4.8.2-17ubuntu2_amd64.deb
      -rw-r--r-- 1 root root   250722 Mar 30 18:18 libstdc++6_4.8.2-17ubuntu2_amd64.deb
      -rw-r--r-- 1 root root   261228 Mar 30 19:08 libstdc++6_4.8.2-17ubuntu2_i386.deb
      -rw-r--r-- 1 root root    94708 Mar 30 18:18 libtsan0_4.8.2-17ubuntu2_amd64.deb
      -rw-r----- 1 root root        0 Mar  5 15:52 lock
      -rw-r--r-- 1 root root   565810 Mar 30 15:43 openssh-client_1%3a6.6p1-1_amd64.deb
      -rw-r--r-- 1 root root   318870 Mar 30 15:43 openssh-server_1%3a6.6p1-1_amd64.deb
      -rw-r--r-- 1 root root    34148 Mar 30 15:43 openssh-sftp-server_1%3a6.6p1-1_amd64.deb
      -rw-r--r-- 1 root root    44068 Mar 30 15:43 parted_2.3-17_amd64.deb
      drwxr-xr-x 2 root root     4096 Mar 31 09:15 partial
      -rw-r--r-- 1 root root     1104 Mar 30 15:43 ssh_1%3a6.6p1-1_all.deb
      I tried the code you posted and here's the results:

      I've updated so many times I'm blue in the face running it!
      sudo apt-get update

      Name:~$ sudo apt-get clean
      Name:~$ ls -la /var/cache/apt/archives/
      total 92
      drwxr-xr-x 3 root root 81920 Mar 31 10:35 .
      drwxr-xr-x 3 root root 4096 Mar 31 10:35 ..
      -rw-r----- 1 root root 0 Jan 2 2013 lock <<<<< I think this is my problem!
      drwxr-xr-x 2 root root 4096 Mar 31 10:24 partial <<<<<I think this is my problem!


      Name:~$ sudo apt-get dist-upgrade
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Calculating upgrade... Done
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

      How to get rid of the "lock" and the "partial"?
      So, I still need help if you and anyone has any more ideas to let me know please!
      Thanks again.fb

      Comment


        #4
        what makes you think their is a problem ??

        the "lock" is a lock file for the package management to use to lock the directory wile it's being used ,,,,,,,you can remove it and it will be recreated when a package manager is used
        to remove it ,,,,,
        Code:
        sudo rm -rf /var/cache/apt/archives/lock
        the "partial" is a directory for partially DL'd files

        Code:
        vinny@vinny-HP-G62:~$ ls -la /var/cache/apt/archives/
        total 72
        drwxr-xr-x 3 root root 61440 Mar 31 16:34 .
        drwxr-xr-x 3 root root  4096 Mar 31 16:34 ..
        -rw-r----- 1 root root     0 Oct 17  2012 lock
        drwxr-xr-x 2 root root  4096 Mar 30 12:57 partial
        vinny@vinny-HP-G62:~$
        if you look at the partial line it begins with a "d" this stands for directory or folder as is common .

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

        Comment


          #5
          Originally posted by vinnywright View Post
          what makes you think their is a problem ??

          the "lock" is a lock file for the package management to use to lock the directory wile it's being used ,,,,,,,you can remove it and it will be recreated when a package manager is used
          to remove it ,,,,,
          Code:
          sudo rm -rf /var/cache/apt/archives/lock
          the "partial" is a directory for partially DL'd files

          Code:
          vinny@vinny-HP-G62:~$ ls -la /var/cache/apt/archives/
          total 72
          drwxr-xr-x 3 root root 61440 Mar 31 16:34 .
          drwxr-xr-x 3 root root  4096 Mar 31 16:34 ..
          -rw-r----- 1 root root     0 Oct 17  2012 lock
          drwxr-xr-x 2 root root  4096 Mar 30 12:57 partial
          vinny@vinny-HP-G62:~$
          if you look at the partial line it begins with a "d" this stands for directory or folder as is common .

          VINNY


          Thank you vinnywright

          You just made me realize that I had not stated the original problem. Which started with:

          klipper and volume control icons missing off the panel. When I tried to reinstall them Muon said my
          system is broken. In searching for that error message and found postings relating to files being locked by
          Muon.

          So, I use code form those postings and that's how I found the locked files when running the code above.

          I have tried to reinstall Klipper and the volume control. When I try to open
          volume control by entering this code heres what I get:

          Code
          Name:~$ kmix
          QDBusConnection: session D-Bus connection created before QCoreApplication.
          Application may misbehave.
          QDBusConnection: session D-Bus connection created before QCoreApplication.
          Application may misbehave.

          Klipper will install but wont run. And I just now realized that I'm also missing the small up-arrow information icon! I don't know the proper name for it, so can't try to reinstall.

          I un-installed Muon and tried Synaptic, nothing was gained. So, I reinstall Muon and changed the software source a couple of times and now I don't get the "system maybe broken" error!

          From what you have shown me all I really need is Klipper and volume control working and I'll be almost home. Any ideas on those two?

          Thanks for taking the time vinnywright.fb

          Comment


            #6
            I get the same output as you when I run kmix from the command line. Kmix is not an application that is run from the command line. You should have on your desktop a speaker symbol in the bottom right area as shown in the graphic. If you move your mouse over this symbol you should get the volume setting. By clicking of the speaker you then have the mixer settings displayed. A right mouse click should show the title and the options that are available as shown in the graphic.

            Do you have pulseaudio installed as many applications require it?

            If you have pulseaudio installed but no speaker symbol you may have accidentally removed it. To get it back, try right click and select Unlock Widgets, in an empty area of your desktop,. Then go to the bottom right and right click on the panel toolbox and select Add Panel, then Default Panel. This Default Panel should have the speaker symbol.

            I hope you have success with some of the above.
            Attached Files

            Comment


              #7
              Originally posted by NoWorries View Post
              I get the same output as you when I run kmix from the command line. Kmix is not an application that is run from the command line. You should have on your desktop a speaker symbol in the bottom right area as shown in the graphic. If you move your mouse over this symbol you should get the volume setting. By clicking of the speaker you then have the mixer settings displayed. A right mouse click should show the title and the options that are available as shown in the graphic.

              Do you have pulseaudio installed as many applications require it?

              If you have pulseaudio installed but no speaker symbol you may have accidentally removed it. To get it back, try right click and select Unlock Widgets, in an empty area of your desktop,. Then go to the bottom right and right click on the panel toolbox and select Add Panel, then Default Panel. This Default Panel should have the speaker symbol.

              I hope you have success with some of the above.
              NoWorries, thank you! You have help me immensely! More at saving what hair I have left!! Yes, success at last!!!!

              I'm sorry, I had things I had to take care of and could not check back here for new post or any time to follow through for a few days. I did today and thank you again, very much!

              Yes, I have pulseaudio installed. And I created a new panel per your instructions and bam....... behind that new panel was two more! With a little work I'm back in business now with all that was missing and they are working, thanks to you and hanging in there with me!


              and a very, very good day to you mate!fb
              Last edited by fireboy; Apr 04, 2014, 12:05 AM.

              Comment


                #8
                Thanks - Glad it worked for you and that you are not going bald.

                Comment

                Working...
                X