Announcement

Collapse
No announcement yet.

broken synaptic/kpackage database

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

    broken synaptic/kpackage database

    I get an error as a broken package:

    E: /var/cache/apt/archives/singular-core_3.1.2-1_amd64.deb: trying to overwrite '/usr/bin/Singular', which is also in package singular 3-0-4-3.dfsg-3.1ubuntu1
    (I can't ctrl-c the details panel to copy and paste here)

    Is there any way to fix these sorts of problems? It interferes with everything. I tried to uninstall the "broken" package and got:
    E: /var/cache/apt/archives/singular-core_3.1.2-1_amd64.deb: trying to overwrite '/usr/bin/Singular', which is also in package singular 3-0-4-3.dfsg-3.1ubuntu1

    I understand there are issues, but I've no idea how to fix.

    HELP!!!!!!!!!!!!!
    Patti

    #2
    Re: broken synaptic/kpackage database

    I'm no expert but I've had this a couple of times and all I did was delete the package to be overwritten AFTER a bit of research on Forums etc.

    Needless to say BACK-UP first.

    Otherwise wait for a 'guru' response when they return after the weekend!
    Celeron CPU G1610@2.60GHz x 2
    GeForce 8400 GS/PCle/SSE2
    Kubuntu 14.04 - 64 bit Linux - KDE 4.13.0

    Comment


      #3
      Re: broken synaptic/kpackage database

      Thanks for the reply. I was hoping for a way to resolve the seeming conflict. There seem to be two different packages that use the software binary Singular. Ah, well - hopefully one of the package managers knows how to deal or there's a trick I can use. I never ran into this in 10 years of SuSE, but I do like Kubuntu.

      Comment


        #4
        Re: broken synaptic/kpackage database

        Are you using 'non-official' repos? That might explain the conflict.

        You can force the installation of the offending package. For that, you open a console and go to /var/cache/apt/archives (please verify this path, I am not at a Linux box at the moment and my memory is a disaster).

        Find the filename for the package and install it with
        Code:
        dpkg -i --force-overwrite <packagename>
        Please take care though. You _may_ damage the other package, so do this at your own risk.

        Comment


          #5
          Re: broken synaptic/kpackage database

          If what Xinixs suggested does not resolve it, try this:

          Code:
          sudo dpkg --configure -a
          If you see an error message, it will probably tell you a lot about the nature of the problem.

          Comment


            #6
            Re: broken synaptic/kpackage database

            Thanks! Is there a way to get some good output on the two packages that are conflicting? Not all the software needed is in an official repository! (or is that something they're trying to fix?) I think my problem comes from having Cantor with Singular support installed along with eSingular from the singular repo.

            Originally posted by Xinixs
            Are you using 'non-official' repos? That might explain the conflict.

            You can force the installation of the offending package. For that, you open a console and go to /var/cache/apt/archives (please verify this path, I am not at a Linux box at the moment and my memory is a disaster).

            Find the filename for the package and install it with
            Code:
            dpkg -i --force-overwrite <packagename>
            Please take care though. You _may_ damage the other package, so do this at your own risk.

            Comment


              #7
              Re: broken synaptic/kpackage database

              Ahhhh.... now this is what I'm talking 'bout :

              Originally posted by dibl
              If what Xinixs suggested does not resolve it, try this:

              Code:
              sudo dpkg --configure -a
              If you see an error message, it will probably tell you a lot about the nature of the problem.
              Code:
              patti@dv7t-Kubuntu64:~$ sudo dpkg --configure -a
              [sudo] password for patti: 
              dpkg: dependency problems prevent configuration of singular-icons:
               singular-icons depends on singular-core (= 3.1.2-1) | singular-core-static (= 3.1.2-1); however:
               Package singular-core is not installed.
               Package singular-core-static is not installed.
              dpkg: error processing singular-icons (--configure):
               dependency problems - leaving unconfigured
              Setting up emacs23-common (23.1+1-4ubuntu7.1+maverick1) ...
              Setting up emacs23-bin-common (23.1+1-4ubuntu7.1+maverick1) ...
              Setting up emacs23 (23.1+1-4ubuntu7.1+maverick1) ...
              emacs-install emacs23
              install/dictionaries-common: Byte-compiling for emacsen flavour emacs23
              Wrote /usr/share/emacs23/site-lisp/dictionaries-common/debian-ispell.elc
              Wrote /usr/share/emacs23/site-lisp/dictionaries-common/ispell.elc
              Wrote /usr/share/emacs23/site-lisp/dictionaries-common/flyspell.elc
              install/emacs-goodies-el: Handling emacs23, logged in /tmp/elc_SEg5E1.log
              Building autoloads for emacs23 in /usr/share/emacs23/site-lisp/emacs-goodies-el
              install/emacs-goodies-el: Deleting /tmp/elc_SEg5E1.log
              emacsen-common: Handling install of emacsen flavor emacs23
              emacsen-common: byte-compiling for emacs23
              Wrote /etc/emacs23/site-start.d/00debian-vars.elc
              
              In debian-run-directories:
              debian-startup.el:131:25:Warning: `mapcar' called for effect; use `mapc' or
                `dolist' instead
              Wrote /usr/share/emacs23/site-lisp/debian-startup.elc
              install/global: byte-compiling for emacs23
              Loading 00debian-vars...
              No /etc/mailname. Reverting to default...
              Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
              Loading debian-ispell...
              Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
              Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
              Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)...
              Loading /etc/emacs/site-start.d/50global.el (source)...
              Loading /etc/emacs/site-start.d/50maxima-emacs.el (source)...
              Loading /etc/emacs/site-start.d/50yorick-auto.el (source)...
              
              In gtags-get-rootpath:
              gtags.el:233:14:Warning: assignment to free variable `n'
              gtags.el:233:14:Warning: reference to free variable `n'
              Wrote /usr/share/emacs23/site-lisp/global/gtags.elc
              install/maxima: Handling install for emacsen flavor emacs23
              Loading 00debian-vars...
              No /etc/mailname. Reverting to default...
              Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
              Loading debian-ispell...
              Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
              Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
              Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)...
              Loading /etc/emacs/site-start.d/50global.el (source)...
              Loading /etc/emacs/site-start.d/50maxima-emacs.el (source)...
              Loading /etc/emacs/site-start.d/50yorick-auto.el (source)...
              Wrote /usr/share/emacs23/site-lisp/maxima/bookmode.elc
              Wrote /usr/share/emacs23/site-lisp/maxima/emaxima.elc
              Wrote /usr/share/emacs23/site-lisp/maxima/imath.elc
              Wrote /usr/share/emacs23/site-lisp/maxima/imaxima-autoconf-variables.elc
              Wrote /usr/share/emacs23/site-lisp/maxima/imaxima.elc
              Wrote /usr/share/emacs23/site-lisp/maxima/maxima-font-lock.elc
              Wrote /usr/share/emacs23/site-lisp/maxima/maxima.elc
              Wrote /usr/share/emacs23/site-lisp/maxima/setup-imaxima-imath.elc
              Wrote /usr/share/emacs23/site-lisp/maxima/smart-complete.elc
              Wrote /usr/share/emacs23/site-lisp/maxima/sshell.elc
              Processing triggers for menu ...
              Errors were encountered while processing:
               singular-icons
              patti@dv7t-Kubuntu64:~$
              But what does it mean, Mr. Natural?

              Comment


                #8
                Re: broken synaptic/kpackage database

                Mr. Natural suspects your system is suffering from the introduction of downloaded packages that are not synchronized with the versions of other packages upon which they depend. The Debian APT package management system is really very, very good -- but, you can defeat it by downloading and installing packages.

                If you let Google guide you to the "ubuntu packages", and then follow "Maverick" to the packages, you'll find this version of singular:

                http://packages.ubuntu.com/maverick/singular

                and this version of emacs: http://packages.ubuntu.com/maverick/emacs

                and I don't think those are what you have. I would try to remove the packages you installed:

                Code:
                sudo dpkg -r emacs
                for example, and then reinstall them one at a time from the Kubuntu repo. It could work ..... :P

                Comment


                  #9
                  Re: broken synaptic/kpackage database

                  Thank you very much for the reply. I will try your suggestion. Specifically you can interpret that output and see that I need to get a different version of both emacs and Singular? I couldn't completely follow all the outputs of that debugging command - I couldn't really tell what the problem was, but I did see that singular-core and singular-core-static were causing problems and appeared to need to be installed. It looks like emacs was getting installed ok (from a good repo) but I am probably overlooking an error...

                  Thank you,
                  Patti

                  Comment


                    #10
                    Re: broken synaptic/kpackage database

                    Hmmmmm. OK, the closer I look at that tiny print, the more it looks like you DID pull in the Maverick repo versions. Sorry for the suspicion otherwise.

                    I don't know those packages, but if it were me, first I would note those two packages that singular-icons is looking for, singular-core and singular-core-static.

                    Next, let's rip out singular:

                    Code:
                    sudo apt-get remove --purge singular
                    I think emacs did install correctly, but let's double check:

                    Code:
                    sudo apt-get update && sudo apt-get install --reinstall emacs
                    Did it go through with no errors? If so, good.

                    Now let's try again with singular, but let's start with the problematic packages:

                    Code:
                    sudo apt-get install singular-core singular-core-static
                    I don't know how much of the rest of singular this will pull in. Watch for errors. If you don't get error output, then do

                    Code:
                    sudo apt-get install singular
                    and see if it goes through.

                    Comment


                      #11
                      Re: broken synaptic/kpackage database

                      Hmmm... I hope I didn't screw this up. I guess there are some repo errors, also.

                      Code:
                      patti@dv7t-Kubuntu64:~$ sudo sh
                      [sudo] password for patti: 
                      
                      # apt-get remove --purge singular
                      
                      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:
                       singular-icons : Depends: singular-core (= 3.1.2-1) but it is not going to be installed or
                                    singular-core-static (= 3.1.2-1) but it is not going to be installed
                      W: Duplicate sources.list entry [url]http://files.lstandish.com/[/url] d2x-xl/ Packages (/var/lib/apt/lists/files.lstandish.com_d2x-xl_Packages)
                      W: Duplicate sources.list entry [url]http://archive.canonical.com/ubuntu/[/url] maverick/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_maverick_partner_binary-amd64_Packages)
                      W: Duplicate sources.list entry [url]http://archive.canonical.com/ubuntu/[/url] maverick/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_maverick_partner_binary-amd64_Packages)
                      W: You may want to run apt-get update to correct these problems
                      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
                      
                      # sudo apt-get update && sudo apt-get install --reinstall emacs
                      
                      Get:1 [url]http://extras.ubuntu.com[/url] maverick Release.gpg [72B]                                               
                      Ign [url]http://extras.ubuntu.com/ubuntu/[/url] maverick/main Translation-en                                           
                      Ign [url]http://extras.ubuntu.com/ubuntu/[/url] maverick/main Translation-en_US                                         
                      Hit [url]http://extras.ubuntu.com[/url] maverick Release                                                     
                      Hit [url]http://extras.ubuntu.com[/url] maverick/main Sources                                                  
                      Hit [url]http://extras.ubuntu.com[/url] maverick/main amd64 Packages                                               
                      Get:2 [url]http://packages.medibuntu.org[/url] hardy Release.gpg [197B]                                             
                      Get:3 [url]http://cran.r-project.org[/url] maverick/ Release.gpg [197B]                                             
                      Ign [url]http://cran.r-project.org/bin/linux/ubuntu/[/url] maverick/ Translation-en                                       
                      Ign [url]http://packages.medibuntu.org/[/url] hardy/free Translation-en                                             
                      Ign [url]http://cran.r-project.org/bin/linux/ubuntu/[/url] maverick/ Translation-en_US                                      
                      Hit [url]http://security.ubuntu.com[/url] maverick-security Release.gpg                                             
                      Ign [url]http://security.ubuntu.com/ubuntu/[/url] maverick-security/main Translation-en                                     
                      Ign [url]http://security.ubuntu.com/ubuntu/[/url] maverick-security/main Translation-en_US                                    
                      Get:4 [url]http://cran.r-project.org[/url] maverick/ Release [1,354B]                                              
                      Ign [url]http://cran.r-project.org[/url] maverick/ Release                                                    
                      Ign [url]http://security.ubuntu.com/ubuntu/[/url] maverick-security/multiverse Translation-en                                  
                      Ign [url]http://security.ubuntu.com/ubuntu/[/url] maverick-security/multiverse Translation-en_US                                 
                      Ign [url]http://security.ubuntu.com/ubuntu/[/url] maverick-security/restricted Translation-en                                  
                      Ign [url]http://security.ubuntu.com/ubuntu/[/url] maverick-security/restricted Translation-en_US                                 
                      Ign [url]http://security.ubuntu.com/ubuntu/[/url] maverick-security/universe Translation-en                                   
                      Ign [url]http://security.ubuntu.com/ubuntu/[/url] maverick-security/universe Translation-en_US                                  
                      Hit [url]http://security.ubuntu.com[/url] maverick-security Release                                               
                      Ign [url]http://cran.r-project.org[/url] maverick/ Packages/DiffIndex                                              
                      Hit [url]http://archive.canonical.com[/url] maverick Release.gpg                                                 
                      Ign [url]http://archive.canonical.com/ubuntu/[/url] maverick/(Source) Translation-en                                       
                      Ign [url]http://packages.medibuntu.org/[/url] hardy/free Translation-en_US                                            
                      Hit [url]http://security.ubuntu.com[/url] maverick-security/main Sources                                             
                      Ign [url]http://cran.r-project.org[/url] maverick/ Packages                                                   
                      Ign [url]http://archive.canonical.com/ubuntu/[/url] maverick/(Source) Translation-en_US                                     
                      Ign [url]http://archive.canonical.com/ubuntu/[/url] maverick/partner Translation-en                                       
                      Ign [url]http://archive.canonical.com/ubuntu/[/url] maverick/partner Translation-en_US                                      
                      Hit [url]http://archive.canonical.com[/url] maverick Release                                                   
                      Hit [url]http://security.ubuntu.com[/url] maverick-security/restricted Sources                                          
                      Hit [url]http://security.ubuntu.com[/url] maverick-security/multiverse Sources                                          
                      Hit [url]http://security.ubuntu.com[/url] maverick-security/main amd64 Packages                                         
                      Hit [url]http://security.ubuntu.com[/url] maverick-security/restricted amd64 Packages                                      
                      Hit [url]http://security.ubuntu.com[/url] maverick-security/universe amd64 Packages                                       
                      Hit [url]http://security.ubuntu.com[/url] maverick-security/multiverse amd64 Packages                                      
                      Hit [url]http://cran.r-project.org[/url] maverick/ Packages                                                   
                      Hit [url]http://archive.canonical.com[/url] maverick/partner Sources                                               
                      Ign [url]http://packages.medibuntu.org/[/url] hardy/non-free Translation-en                                           
                      Ign [url]http://files.lstandish.com[/url] d2x-xl/ Release.gpg                                                  
                      Ign [url]http://files.lstandish.com/[/url] d2x-xl/ Translation-en                                                
                      Ign [url]http://files.lstandish.com/[/url] d2x-xl/ Translation-en_US      
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick Release.gpg        
                      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] maverick/main Translation-en       
                      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] maverick/main Translation-en_US      
                      Ign [url]http://packages.medibuntu.org/[/url] hardy/non-free Translation-en_US        
                      Hit [url]http://www.mathematik.uni-kl.de[/url] stable Release.gpg               
                      Ign [url]http://www.mathematik.uni-kl.de/~mschulze/repo/debian/[/url] stable/Singular Translation-en              
                      Ign [url]http://www.mathematik.uni-kl.de/~mschulze/repo/debian/[/url] stable/Singular Translation-en_US                       
                      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] maverick/multiverse Translation-en                                
                      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] maverick/multiverse Translation-en_US                   
                      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] maverick/restricted Translation-en                     
                      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] maverick/restricted Translation-en_US                   
                      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] maverick/universe Translation-en                      
                      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] maverick/universe Translation-en_US                    
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick-updates Release.gpg                            
                      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] maverick-updates/main Translation-en                               
                      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] maverick-updates/main Translation-en_US                             
                      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] maverick-updates/multiverse Translation-en                 
                      Hit [url]http://www.mathematik.uni-kl.de[/url] stable Release                                 
                      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] maverick-updates/multiverse Translation-en_US                  
                      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] maverick-updates/restricted Translation-en
                      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] maverick-updates/restricted Translation-en_US
                      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] maverick-updates/universe Translation-en 
                      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] maverick-updates/universe Translation-en_US
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick Release                 
                      Get:5 [url]http://packages.medibuntu.org[/url] hardy Release [11.7kB]                                   
                      Ign [url]http://packages.medibuntu.org[/url] hardy Release                                  
                      Ign [url]http://www.mathematik.uni-kl.de[/url] stable/Singular amd64 Packages                     
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick-updates Release                              
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick/main Sources                                          
                      Hit [url]http://www.mathematik.uni-kl.de[/url] stable/Singular amd64 Packages                                    
                      Ign [url]http://packages.medibuntu.org[/url] hardy/free amd64 Packages/DiffIndex                  
                      Ign [url]http://files.lstandish.com[/url] d2x-xl/ Release                   
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick/restricted Sources          
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick/multiverse Sources                 
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick/main amd64 Packages                            
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick/restricted amd64 Packages                         
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick/universe amd64 Packages                          
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick/multiverse amd64 Packages                         
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick-updates/main Sources                
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick-updates/restricted Sources             
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick-updates/multiverse Sources        
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick-updates/main amd64 Packages       
                      Ign [url]http://packages.medibuntu.org[/url] hardy/non-free amd64 Packages/DiffIndex     
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick-updates/restricted amd64 Packages    
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick-updates/universe amd64 Packages           
                      Hit [url]http://us.archive.ubuntu.com[/url] maverick-updates/multiverse amd64 Packages          
                      Hit [url]http://packages.medibuntu.org[/url] hardy/free amd64 Packages                  
                      Ign [url]http://files.lstandish.com[/url] d2x-xl/ Sources                        
                      Hit [url]http://packages.medibuntu.org[/url] hardy/non-free amd64 Packages
                      Ign [url]http://files.lstandish.com[/url] d2x-xl/ Packages/DiffIndex 
                      Err [url]http://files.lstandish.com[/url] d2x-xl/ Sources                                                    
                       404 Not Found
                      Ign [url]http://files.lstandish.com[/url] d2x-xl/ Packages                                                    
                      Hit [url]http://files.lstandish.com[/url] d2x-xl/ Packages                                                    
                      Fetched 468B in 7s (60B/s)                                                              
                      W: GPG error: [url]http://cran.r-project.org[/url] maverick/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D67FC6EAE2A11821
                      W: GPG error: [url]http://packages.medibuntu.org[/url] hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
                      W: Failed to fetch [url]http://archive.canonical.com/ubuntu/dists/maverick/Release[/url] Unable to find expected entry (Source)/source/Sources in Meta-index file (malformed Release file?)
                      
                      W: Failed to fetch [url]http://files.lstandish.com/d2x-xl/Sources.gz[/url] 404 Not Found
                      
                      E: Some index files failed to download, they have been ignored, or old ones used instead.
                      
                      # apt-get install --reinstall emacs
                      
                      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:
                       singular-icons : Depends: singular-core (= 3.1.2-1) but it is not going to be installed or
                                    singular-core-static (= 3.1.2-1) but it is not going to be installed
                      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
                      
                      # apt-get install singular-core
                      
                      Reading package lists... Done
                      Building dependency tree    
                      Reading state information... Done
                      The following packages were automatically installed and are no longer required:
                       blcr-dkms blcr-util openmpi-checkpoint libcr0 openmpi-bin
                      Use 'apt-get autoremove' to remove them.
                      The following NEW packages will be installed:
                       singular-core
                      0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
                      1 not fully installed or removed.
                      Need to get 0B/3,212kB of archives.
                      After this operation, 0B of additional disk space will be used.
                      (Reading database ... 299302 files and directories currently installed.)
                      Unpacking singular-core (from .../singular-core_3.1.2-1_amd64.deb) ...
                      dpkg: error processing /var/cache/apt/archives/singular-core_3.1.2-1_amd64.deb (--unpack):
                       trying to overwrite '/usr/bin/Singular', which is also in package singular 3-0-4-3.dfsg-3.1ubuntu1
                      dpkg-deb: subprocess paste killed by signal (Broken pipe)
                      Errors were encountered while processing:
                       /var/cache/apt/archives/singular-core_3.1.2-1_amd64.deb
                      E: Sub-process /usr/bin/dpkg returned an error code (1)
                      
                      # apt-get install singular-core-static
                      
                      Reading package lists... Done
                      Building dependency tree    
                      Reading state information... Done
                      The following packages were automatically installed and are no longer required:
                       blcr-dkms blcr-util openmpi-checkpoint libcr0 openmpi-bin
                      Use 'apt-get autoremove' to remove them.
                      The following NEW packages will be installed:
                       singular-core-static
                      0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
                      1 not fully installed or removed.
                      Need to get 4,282kB of archives.
                      After this operation, 0B of additional disk space will be used.
                      Get:1 [url]http://www.mathematik.uni-kl.de/~mschulze/repo/debian/[/url] stable/Singular singular-core-static amd64 3.1.2-1 [4,282kB]
                      Fetched 4,282kB in 15s (279kB/s)                                                           
                      Selecting previously deselected package singular-core-static.
                      (Reading database ... 299302 files and directories currently installed.)
                      Unpacking singular-core-static (from .../singular-core-static_3.1.2-1_amd64.deb) ...
                      dpkg: error processing /var/cache/apt/archives/singular-core-static_3.1.2-1_amd64.deb (--unpack):
                       trying to overwrite '/usr/bin/Singular', which is also in package singular 3-0-4-3.dfsg-3.1ubuntu1
                      dpkg-deb: subprocess paste killed by signal (Broken pipe)
                      Errors were encountered while processing:
                       /var/cache/apt/archives/singular-core-static_3.1.2-1_amd64.deb
                      E: Sub-process /usr/bin/dpkg returned an error code (1)
                      #

                      Comment


                        #12
                        Re: broken synaptic/kpackage database

                        No, you didn't hurt anything at all. Normally we simply pre-pend "sudo" to the command itself, rather than becoming root with "sudo sh", but that is not wrong (as long you don't forget to exit your "su" status before running a user command or package).

                        So, as far as I can tell, emacs is installed. Can you run the package?

                        It looks like singular has a problem. And it looks like you have a couple of duplications in your sources list, which not a problem for the system -- just an error message to let you know. What is the repository at http://files.lstandish.com/ d2x-xl/ Packages? Is that a trusted site? I'm not familiar with it.

                        Let's try following apt's advice:

                        Code:
                        sudo apt-get -f install
                        and see what happens.

                        Comment


                          #13
                          Re: broken synaptic/kpackage database

                          Originally posted by dibl
                          No, you didn't hurt anything at all. Normally we simply pre-pend "sudo" to the command itself, rather than becoming root with "sudo sh", but that is not wrong (as long you don't forget to exit your "su" status before running a user command or package).

                          So, as far as I can tell, emacs is installed. Can you run the package?
                          yes, so far as I can tell *everything* runs just fine (eSingular, Singular, Cantor+singular). The only problem seems to be the package subsystem - it always throws that error. I don't really care about the error, but the updater won't run with that error and there are updates...

                          It looks like singular has a problem. And it looks like you have a couple of duplications in your sources list, which not a problem for the system -- just an error message to let you know. What is the repository at http://files.lstandish.com/ d2x-xl/ Packages? Is that a trusted site? I'm not familiar with it.
                          It's a game repo. I really liked Descent-II some years back, and would really like to have it to play. There are a couple versions built for linux now - but I couldn't get it to work under OpenSuSE11.x and I'm hoping it will work under K/Ubuntu since it's a very popular distro.

                          Let's try following apt's advice:

                          Code:
                          sudo apt-get -f install
                          and see what happens.
                          Code:
                          patti@dv7t-Kubuntu64:~$ sudo apt-get -f install
                          [sudo] password for patti: 
                          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:
                           blcr-dkms blcr-util openmpi-checkpoint libcr0 openmpi-bin
                          Use 'apt-get autoremove' to remove them.
                          The following extra packages will be installed:
                           singular-core
                          The following NEW packages will be installed:
                           singular-core
                          0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
                          1 not fully installed or removed.
                          Need to get 0B/3,212kB of archives.
                          After this operation, 0B of additional disk space will be used.
                          Do you want to continue [Y/n]? y
                          (Reading database ... 299302 files and directories currently installed.)
                          Unpacking singular-core (from .../singular-core_3.1.2-1_amd64.deb) ...
                          dpkg: error processing /var/cache/apt/archives/singular-core_3.1.2-1_amd64.deb (--unpack):
                           trying to overwrite '/usr/bin/Singular', which is also in package singular 3-0-4-3.dfsg-3.1ubuntu1
                          dpkg-deb: subprocess paste killed by signal (Broken pipe)
                          Errors were encountered while processing:
                           /var/cache/apt/archives/singular-core_3.1.2-1_amd64.deb
                          E: Sub-process /usr/bin/dpkg returned an error code (1)
                          patti@dv7t-Kubuntu64:~$

                          Comment


                            #14
                            Re: broken synaptic/kpackage database

                            I think you must have a third party repo enabled, which has the newer version of singular, or perhaps part of it. Can you post the output of

                            Code:
                            sudo apt-cache policy singular*

                            Comment


                              #15
                              Re: broken synaptic/kpackage database

                              Originally posted by dibl
                              I think you must have a third party repo enabled, which has the newer version of singular, or perhaps part of it. Can you post the output of

                              Code:
                              sudo apt-cache policy singular*
                              It looks like you're right - I remember I couldn't find eSingular (the Singular-emacs interface) in the regular Kubuntu repos.

                              patti@dv7t-Kubuntu64:~$ sudo apt-cache policy singular*
                              [sudo] password for patti:
                              libsingular-3-0-4-3:
                              Installed: 3-0-4-3.dfsg-3.1ubuntu1
                              Candidate: 3-0-4-3.dfsg-3.1ubuntu1
                              Version table:
                              *** 3-0-4-3.dfsg-3.1ubuntu1 0
                              500 http://us.archive.ubuntu.com/ubuntu/ maverick/universe amd64 Packages
                              100 /var/lib/dpkg/status
                              libsingular-dev:
                              Installed: (none)
                              Candidate: 3-0-4-3.dfsg-3.1ubuntu1
                              Version table:
                              3-0-4-3.dfsg-3.1ubuntu1 0
                              500 http://us.archive.ubuntu.com/ubuntu/ maverick/universe amd64 Packages
                              singular:
                              Installed: 3-0-4-3.dfsg-3.1ubuntu1
                              Candidate: 3-0-4-3.dfsg-3.1ubuntu1
                              Version table:
                              *** 3-0-4-3.dfsg-3.1ubuntu1 0
                              500 http://us.archive.ubuntu.com/ubuntu/ maverick/universe amd64 Packages
                              100 /var/lib/dpkg/status
                              singularity:
                              Installed: (none)
                              Candidate: 0.30a-2
                              Version table:
                              0.30a-2 0
                              500 http://us.archive.ubuntu.com/ubuntu/ maverick/universe amd64 Packages
                              singularity-music:
                              Installed: (none)
                              Candidate: 006-1
                              Version table:
                              006-1 0
                              500 http://us.archive.ubuntu.com/ubuntu/ maverick/universe amd64 Packages
                              singularity-data:
                              Installed: (none)
                              Candidate: (none)
                              Version table:
                              singular-core:
                              Installed: (none)
                              Candidate: 3.1.2-1
                              Version table:
                              3.1.2-1 0
                              500 http://www.mathematik.uni-kl.de/~mschulze/repo/debian/ stable/Singular amd64 Packages
                              singular-libs:
                              Installed: 3.1.2-1
                              Candidate: 3.1.2-1
                              Version table:
                              *** 3.1.2-1 0
                              500 http://www.mathematik.uni-kl.de/~mschulze/repo/debian/ stable/Singular amd64 Packages
                              100 /var/lib/dpkg/status
                              singular-release:
                              Installed: 3.1.2-1
                              Candidate: 3.1.2-1
                              Version table:
                              *** 3.1.2-1 0
                              500 http://www.mathematik.uni-kl.de/~mschulze/repo/debian/ stable/Singular amd64 Packages
                              100 /var/lib/dpkg/status
                              singular-core-static:
                              Installed: (none)
                              Candidate: 3.1.2-1
                              Version table:
                              3.1.2-1 0
                              500 http://www.mathematik.uni-kl.de/~mschulze/repo/debian/ stable/Singular amd64 Packages
                              singular-help:
                              Installed: 3.1.2-1
                              Candidate: 3.1.2-1
                              Version table:
                              *** 3.1.2-1 0
                              500 http://www.mathematik.uni-kl.de/~mschulze/repo/debian/ stable/Singular amd64 Packages
                              100 /var/lib/dpkg/status
                              singular-icons:
                              Installed: 3.1.2-1
                              Candidate: 3.1.2-1
                              Version table:
                              *** 3.1.2-1 0
                              500 http://www.mathematik.uni-kl.de/~mschulze/repo/debian/ stable/Singular amd64 Packages
                              100 /var/lib/dpkg/status
                              patti@dv7t-Kubuntu64:~$ sudo apt-cache policy Singular*

                              Comment

                              Working...
                              X