Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: apt-get and software installation frozen

  1. #1
    Join Date
    Sep 2013
    Location
    Ottawa, Ontario, Canada
    Beans
    28
    Distro
    Ubuntu 13.10 Saucy Salamander

    apt-get and software installation frozen

    Hi I am trying to run the Ubuntu software installer and it continues to give error.

    Code:
    ramesh@ramesh-Aspire-V3-771:~$ apt-get upgrade
    E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
    ramesh@ramesh-Aspire-V3-771:~$ sudo apt-get upgrad
    E: Invalid operation upgrad
    ramesh@ramesh-Aspire-V3-771:~$ sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these.
    The following packages have unmet dependencies:
     plasma-active : Depends: ksplash-theme-active but it is not installed
                     Recommends: plasma-widgets-active (= 1:0.5-0ubuntu1) but it is not installed
    E: Unmet dependencies. Try using -f.
    ramesh@ramesh-Aspire-V3-771:~$ sudo apt-get -f install
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... Done
    The following packages were automatically installed and are no longer required:
      gir1.2-gst-plugins-base-0.10 gir1.2-gstreamer-0.10 libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev startactive-ksplash-theme
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
      ksplash-theme-active
    The following NEW packages will be installed:
      ksplash-theme-active
    0 upgraded, 1 newly installed, 0 to remove and 38 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/55.0 kB of archives.
    After this operation, 113 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    (Reading database ... 570252 files and directories currently installed.)
    Unpacking ksplash-theme-active (from .../ksplash-theme-active_1%3a0.4-0ubuntu1_all.deb) ...
    dpkg: error processing /var/cache/apt/archives/ksplash-theme-active_1%3a0.4-0ubuntu1_all.deb (--unpack):
     trying to overwrite '/usr/share/kde4/apps/ksplash/Themes/qmldefault/images/kdeletter.png', which is also in package startactive-ksplash-theme 3.0-0ubuntu1
    No apport report written because MaxReports is reached already
                                                                  Errors were encountered while processing:
     /var/cache/apt/archives/ksplash-theme-active_1%3a0.4-0ubuntu1_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    How do I get the ksplash*.* to be removed permanently so apt-get and software installer will work.

    Thanks
    Ramesh
    Last edited by cariboo; September 28th, 2013 at 04:07 AM. Reason: added code tags

  2. #2
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    5,003

    Re: apt-get and software installation frozen

    Try:

    Code:
    sudo apt-get clean && sudo apt-get update && sudo apt-get upgrade

  3. #3
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: apt-get and software installation frozen

    One package is not installing. Does this prevent you from installing and removing packages? When you run apt-get update does it update the sources list? When you run apt-get upgrade does it upgrade the packages that need updating or does the whole operation fail?

    During the development cycle when I get situations like this I wait. I update/upgrade every day and sometimes things get fixed. I have just noticed that we now have the beta version of Ubuntu available for download. I will use it to re-install a broken saucy salamander that I have. It is an installation that I gave up wasting my time on a few weeks ago. There must also be beta 2 versions of the flavours available. Sometimes the simplest way of fixing things is to re-install.

    By the way did you do this

    The following packages were automatically installed and are no longer required:
    gir1.2-gst-plugins-base-0.10 gir1.2-gstreamer-0.10 libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev startactive-ksplash-theme
    Use 'apt-get autoremove' to remove them.
    Did you notice that startactive-ksplash-theme is part of the problem?

    which is also in package startactive-ksplash-theme 3.0-0ubuntu1
    Could be the answer

    Regards.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  4. #4
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    4,442
    Distro
    Ubuntu Development Release

    Re: apt-get and software installation frozen

    Code:
    sudo apt-get update
    sudo apt-get autoremove
    sudo apt-get upgrade
    sudo apt-get dist-upgrade (be carefull before You answer „Y“... Do not do that unless You're completely sure...)
    Current example:
    Code:
    :~$ sudo apt-get dist-upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be REMOVED:
      libunity-core-6.0-7
    The following NEW packages will be installed:
      libunity-core-6.0-8
    The following packages will be upgraded:
      unity unity-services
    2 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
    Need to get 2,214 kB of archives.
    After this operation, 8,192 B disk space will be freed.
    Do you want to continue [Y/n]?Y
    Out with old and in with new...
    Also, learn to read logs for packages to see what is new, what is old and what stuff is safe to remove...
    Last edited by zika; September 27th, 2013 at 02:11 PM.

  5. #5
    Join Date
    Sep 2013
    Location
    Ottawa, Ontario, Canada
    Beans
    28
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: apt-get and software installation frozen

    Thanks for your help, this is the output I received
    Code:
    ramesh@ramesh-Aspire-V3-771:~$ sudo apt-get autoremove
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these.
    The following packages have unmet dependencies:
     plasma-active : Depends: ksplash-theme-active but it is not installed
                     Recommends: plasma-widgets-active (= 1:0.5-0ubuntu1) but it is not installed
    E: Unmet dependencies. Try using -f.
    ramesh@ramesh-Aspire-V3-771:~$ sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these.
    The following packages have unmet dependencies:
     plasma-active : Depends: ksplash-theme-active but it is not installed
                     Recommends: plasma-widgets-active (= 1:0.5-0ubuntu1) but it is not installed
    E: Unmet dependencies. Try using -f.
    ramesh@ramesh-Aspire-V3-771:~$ sudo apt-get dist-upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these.
    The following packages have unmet dependencies:
     plasma-active : Depends: ksplash-theme-active but it is not installed
                     Recommends: plasma-widgets-active (= 1:0.5-0ubuntu1) but it is not installed
    E: Unmet dependencies. Try using -f.
    ramesh@ramesh-Aspire-V3-771:~$
    Last edited by cariboo; September 28th, 2013 at 04:07 AM. Reason: added code tags

  6. #6
    Join Date
    Sep 2013
    Location
    Ottawa, Ontario, Canada
    Beans
    28
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: apt-get and software installation frozen

    I am thinking of backing up to Ubuntu One and then reinstalling a fresh one??

  7. #7
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    10,942
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: apt-get and software installation frozen

    Ramesh_Jude_Fernando; Hi !
    Do not be too hasty in (re-)installing ,, this is but a dependency issue ..
    Try giving the package manager what it is missing;
    Terminal codes:
    Code:
    sudo apt-get install ksplash-theme-active
    sudo apt-get install  plasma-widgets-active
    sudo apt-get update
    sudo apt-get upgrade
    See if all is happy now .

    just try'n to help
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  8. #8
    Join Date
    Sep 2013
    Location
    Ottawa, Ontario, Canada
    Beans
    28
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: apt-get and software installation frozen

    Tried both result
    Code:
    ramesh@ramesh-Aspire-V3-771:~$ sudo apt-get install ksplash-theme-active
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      gir1.2-gst-plugins-base-0.10 gir1.2-gstreamer-0.10
      libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev
      startactive-ksplash-theme
    Use 'apt-get autoremove' to remove them.
    The following NEW packages will be installed:
      ksplash-theme-active
    0 upgraded, 1 newly installed, 0 to remove and 364 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/55.0 kB of archives.
    After this operation, 113 kB of additional disk space will be used.
    (Reading database ... 570252 files and directories currently installed.)
    Unpacking ksplash-theme-active (from .../ksplash-theme-active_1%3a0.4-0ubuntu1_all.deb) ...
    dpkg: error processing /var/cache/apt/archives/ksplash-theme-active_1%3a0.4-0ubuntu1_all.deb (--unpack):
     trying to overwrite '/usr/share/kde4/apps/ksplash/Themes/qmldefault/images/kdeletter.png', which is also in package startactive-ksplash-theme 3.0-0ubuntu1
    Errors were encountered while processing:
     /var/cache/apt/archives/ksplash-theme-active_1%3a0.4-0ubuntu1_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    ramesh@ramesh-Aspire-V3-771:~$ sudo apt-get install  plasma-widgets-active
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
     plasma-active : Depends: ksplash-theme-active but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    Thanks for the link. Would you believe I actually installed Slackware Linux dual boot with Windows 95 off a CD-ROM on the second PC I ever bought, when I went back into university on a IBM PC-clone system with Pentium and 32 megs of RAM, all the way back in 1996. I recall it was an ASUS motherboard.
    Last edited by sandyd; September 28th, 2013 at 07:22 AM.

  9. #9
    Join Date
    Sep 2013
    Location
    Ottawa, Ontario, Canada
    Beans
    28
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: apt-get and software installation frozen

    Python 2.7 or at least IDLE and tkinter menus opening old Python 2.7 files I was using for a Computational Investing were not being read. What is weird is Stani's editor worked fine loading the files, just Python 2.7 for Linux IDLE (installed from Ubuntu Unity software installer) didn't work I will clean and reinstall. And keep away from Saucy 13.10 until it officially comes out.

  10. #10
    Join Date
    Nov 2008
    Location
    S.H.I.E.L.D. 6-1-6
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: apt-get and software installation frozen

    Quote Originally Posted by Ramesh_Jude_Fernando View Post
    Tried both result
    Code:
    ramesh@ramesh-Aspire-V3-771:~$ sudo apt-get install ksplash-theme-active
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      gir1.2-gst-plugins-base-0.10 gir1.2-gstreamer-0.10
      libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev
      startactive-ksplash-theme
    Use 'apt-get autoremove' to remove them.
    The following NEW packages will be installed:
      ksplash-theme-active
    0 upgraded, 1 newly installed, 0 to remove and 364 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/55.0 kB of archives.
    After this operation, 113 kB of additional disk space will be used.
    (Reading database ... 570252 files and directories currently installed.)
    Unpacking ksplash-theme-active (from .../ksplash-theme-active_1%3a0.4-0ubuntu1_all.deb) ...
    dpkg: error processing /var/cache/apt/archives/ksplash-theme-active_1%3a0.4-0ubuntu1_all.deb (--unpack):
     trying to overwrite '/usr/share/kde4/apps/ksplash/Themes/qmldefault/images/kdeletter.png', which is also in package startactive-ksplash-theme 3.0-0ubuntu1
    Errors were encountered while processing:
     /var/cache/apt/archives/ksplash-theme-active_1%3a0.4-0ubuntu1_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    ramesh@ramesh-Aspire-V3-771:~$ sudo apt-get install  plasma-widgets-active
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
     plasma-active : Depends: ksplash-theme-active but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    Thanks for the link. Would you believe I actually installed Slackware Linux dual boot with Windows 95 off a CD-ROM on the second PC I ever bought, when I went back into university on a IBM PC-clone system with Pentium and 32 megs of RAM, all the way back in 1996. I recall it was an ASUS motherboard.
    Code:
    The following packages were automatically installed and are no longer required:
    gir1.2-gst-plugins-base-0.10 gir1.2-gstreamer-0.10
    libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev
    startactive-ksplash-theme
    Try using dpkg to force remove startactive-ksplash-theme while ignoring deps, and installing ksplash-theme-active via apt - apt doesnt handle dependency hell too well - might break things though
    Last edited by sandyd; September 28th, 2013 at 07:28 AM.
    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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