Announcement

Collapse
No announcement yet.

cant run apt-get upgrade

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

    cant run apt-get upgrade

    When I try to run sudo apt-get upgrade, I get the following

    Code:
    virgil@reeser:~$ 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:
     libsword9 : Depends: libsword-common but it is not installed
    E: Unmet dependencies. Try using -f.
    So, I run sudo-apt -f install and it says

    Code:
    virgil@reeser:~$ sudo apt-get -f install
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
      libsword-common
    The following NEW packages will be installed:
      libsword-common
    0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
    2 not fully installed or removed.
    Need to get 0 B/113 kB of archives.
    After this operation, 537 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    (Reading database ... 339864 files and directories currently installed.)
    Preparing to unpack .../libsword-common_1.6.2+dfsg-6build1_all.deb ...
    Unpacking libsword-common (1.6.2+dfsg-6build1) ...
    dpkg: error processing archive /var/cache/apt/archives/libsword-common_1.6.2+dfsg-6build1_all.deb (--unpack):
     trying to overwrite '/usr/share/sword/locales.d/de-utf8.conf', which is also in package libsword 1.7.3-2
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
     /var/cache/apt/archives/libsword-common_1.6.2+dfsg-6build1_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    virgil@reeser:~$
    Have also tried
    sudo apt-get clean && sudo apt-get update
    then sudo dpkg --configure -a

    this yields

    Code:
    virgil@reeser:~$ sudo dpkg --configure -a
    dpkg: dependency problems prevent configuration of libsword9:
     libsword9 depends on libsword-common; however:
      Package libsword-common is not installed.
    
    dpkg: error processing package libsword9 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of bibletime:
     bibletime depends on libsword9 (>= 1.6.2+dfsg); however:
      Package libsword9 is not configured yet.
    
    dpkg: error processing package bibletime (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     libsword9
     bibletime
    Tried sudo apt-get remove bibletime and I get
    Code:
    virgil@reeser:~$ sudo apt-get remove bibletime
    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:
     libsword9 : Depends: libsword-common but it is not going to be installed
                 Recommends: sword-frontend
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    So, I end up back at being told to run apt-get -f install. Vicious circle. Even tried Ubuntu software center. It complains there is a problem, offers to fix it. Then it complains there is a problem again.

    lastly tried threatening machine, but that didn't work

    #2
    Originally posted by vsreeser View Post
    lastly tried threatening machine, but that didn't work
    Hahaha, Maybe you should try to heighten the threat level and see what happens.

    Comment


      #3
      Run sudo apt-get update && sudo apt-get dist-upgrade
      Last edited by Snowhog; Jan 30, 2015, 04:53 PM. Reason: Missed the "-" in distupgrade
      Windows no longer obstructs my view.
      Using Kubuntu Linux since March 23, 2007.
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment


        #4
        Originally posted by Snowhog View Post
        Run sudo apt-get update && sudo apt-get distupgrade
        forgot the - ,,,,, its "dist-upgrade"

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

        Comment


          #5
          Argh

          Originally posted by vinnywright View Post
          forgot the - ,,,,, its "dist-upgrade"

          VINNY
          Welp, that didn't work either. Edging closer to nuke and pave time

          If I go with nuke and pave, is there a network install cd I can download and use? I would think this method would give me more updated packages. Or should I go with 14.10? would prefer net install either way if possible
          Last edited by vsreeser; Jan 30, 2015, 08:17 PM.

          Comment


            #6
            There should be no reason to reinstall over a "simple" package version problem.

            You could force the installation with the --force-overwrite option for dpkg, but before getting into that we should take a look at the problem:

            The error is:
            error processing archive /var/cache/apt/archives/libsword-common_1.6.2+dfsg-6build1_all.deb (--unpack): trying to overwrite '/usr/share/sword/locales.d/de-utf8.conf', which is also in package libsword 1.7.3-2
            apt is trying to install different versions of libsword and libsword-common, why is that...do you have extra repos enabled, or are the repos out of sync (not all packages built yet), or are one of the packages redundant?

            Looking at vivid repos, I'm seeing "libsword-common" and "libsword11" packages (your repos seem to have "libsword9")...so no "libsword" package in the official repos, do you have that from a 3rd party repo?

            The first thing I'd do is removing all the packages causing the issue "sudo apt-get remove libsword libsword9 libsword-common bibletime", then disable any possibly related 3rd party repos and then try to install bibletime again "sudo apt-get update && sudo apt-get install bibletime".

            If that doesn't work we can look into forcing the installation, but there is some reason why apt tries to install unmatching versions of libsword-common and libsword.

            Comment


              #7
              I may be moving to a larger hard drive (3TB) researching now to find out if it will be a problem on my HP 20-b011 all in one, only room for one drive, not ideal. It was free though so can't argue the price

              Comment

              Working...
              X