Announcement

Collapse
No announcement yet.

Every Package I Select in to Install in Synaptic is Broken

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

    #31
    I think he/she neads to ,,,,,

    A: use synaptic to search by "origin" and remove packages from all the added PPA's ,their seam to be several.

    B: after removing all external packages coment out the PPA's and redo the "sudo apt-get update && sudo apt-get dist-upgrade" + "sudo apt-get -f install"

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

    Comment


      #32
      You can check for actual broken dependencies by using

      sudo apt-get check

      You can also clean out your archive cache by usings

      sudo apt-get autoclean

      The next time you use apt-get or synaptic the command "apt-cache gencaches" will automatically be run to rebuild the archive cache.
      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment


        #33
        Originally posted by GreyGeek View Post
        You can check for actual broken dependencies by using

        sudo apt-get check

        You can also clean out your archive cache by usings

        sudo apt-get autoclean

        The next time you use apt-get or synaptic the command "apt-cache gencaches" will automatically be run to rebuild the archive cache.
        Hello everyone. I'm back from a trip to Cleveland to visit my folks. Here's some results to digest:

        Code:
        mark@AMD64-LTS:~$ sudo apt-get check
        Reading package lists... Done
        Building dependency tree       
        Reading state information... Done
        
        mark@AMD64-LTS:~$ sudo apt-get autoclean
        Reading package lists... Done
        Building dependency tree       
        Reading state information... Done
        Del isc-dhcp-client 4.2.4-7ubuntu12.9 [641 kB]
        Del isc-dhcp-common 4.2.4-7ubuntu12.9 [708 kB]
        "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

        Comment


          #34
          I did use the Origin filter in Synaptic and I deleted all the packages installed from the following repositories:

          Hit http://masi.vuse.vanderbilt.edu data InRelease
          Hit http://masi.vuse.vanderbilt.edu trusty InRelease
          Hit http://masi.vuse.vanderbilt.edu data/main amd64 Packages
          Hit http://masi.vuse.vanderbilt.edu data/contrib amd64 Packages
          Hit http://masi.vuse.vanderbilt.edu data/non-free amd64 Packages
          Hit http://masi.vuse.vanderbilt.edu data/main i386 Packages
          Hit http://masi.vuse.vanderbilt.edu data/contrib i386 Packages

          Then I deleted the above repositories. Then I ran what's become my favorite command:
          Code:
          mark@AMD64-LTS:~$ sudo apt-get -f install
          Reading package lists... Done
          Building dependency tree       
          Reading state information... Done
          The following packages were automatically installed and are no longer required:
           gir1.2-vte-2.90 lib32z1 libccid libexpat1-dev libjpeg62 libpod-plainer-perl
           libpython-dev libpython2.7-dev libs3decoder0 lsb-security ncurses-term
           osspd-pulseaudio pax pocketsphinx-utils python-decorator python-dev
           python-gnomekeyring python-numpy python-smbc python-sphinxbase python2.7-dev
           sphinx3
          Use 'apt-get autoremove' to remove them.
          0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.
          mark@AMD64-LTS:~$ sudo apt-get autoremove
          Reading package lists... Done
          Building dependency tree       
          Reading state information... Done
          The following packages will be REMOVED:
           gir1.2-vte-2.90 lib32z1 libccid libexpat1-dev libjpeg62 libpod-plainer-perl
           libpython-dev libpython2.7-dev libs3decoder0 lsb-security ncurses-term
           osspd-pulseaudio pax pocketsphinx-utils python-decorator python-dev
           python-gnomekeyring python-numpy python-smbc python-sphinxbase python2.7-dev
           sphinx3
          0 upgraded, 0 newly installed, 22 to remove and 23 not upgraded.
          After this operation, 49.1 MB disk space will be freed.
          Do you want to continue? [Y/n] 
          (Reading database ... 283252 files and directories currently installed.)
          Removing gir1.2-vte-2.90 (1:0.34.9-1ubuntu2) ...
          Removing lib32z1 (1:1.2.8.dfsg-1ubuntu1) ...
          Removing libccid (1.4.15-1) ...
          Removing python-dev (2.7.5-5ubuntu3) ...
          Removing python2.7-dev (2.7.6-8ubuntu0.3) ...
          Removing libpython-dev:amd64 (2.7.5-5ubuntu3) ...
          Removing libpython2.7-dev:amd64 (2.7.6-8ubuntu0.3) ...
          Removing libexpat1-dev:amd64 (2.1.0-4ubuntu1.3) ...
          Removing libjpeg62:amd64 (6b1-4ubuntu1) ...
          Removing libpod-plainer-perl (1.03-1) ...
          Removing sphinx3 (0.8-0ubuntu1) ...
          Removing libs3decoder0 (0.8-0ubuntu1) ...
          Removing lsb-security (4.1+Debian11ubuntu6.2) ...
          Removing ncurses-term (5.9+20140118-1ubuntu1) ...
          Removing osspd-pulseaudio (1.3.2-5) ...
          Removing pax (1:20120606-2+deb7u1) ...
          Removing pocketsphinx-utils (0.8.0+real-0ubuntu6) ...
          Removing python-decorator (3.4.0-2build1) ...
          Removing python-gnomekeyring (2.32.0+dfsg-3) ...
          Removing python-numpy (1:1.8.2-0ubuntu0.1) ...
          Removing python-smbc (1.0.14.1-0ubuntu2) ...
          Removing python-sphinxbase (0.8-0ubuntu10) ...
          Processing triggers for libc-bin (2.19-0ubuntu6.11) ...
          Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
          mark@AMD64-LTS:~$
          Then I tried to install a package:
          Code:
          mark@AMD64-LTS:~$ sudo apt-get install 0ad
          Reading package lists... Done
          Building dependency tree       
          Reading state information... Done
          Some packages could not be installed. This may mean that you have
          requested an impossible situation or if you are using the unstable
          distribution that some required packages have not yet been created
          or been moved out of Incoming.
          The following information may help to resolve the situation:
          
          The following packages have unmet dependencies:
          0ad : Depends: 0ad-data-common (>= 0.0.15) but it is not going to be installed
                Depends: 0ad-data-common (< 0.0.16) but it is not going to be installed
          E: Unable to correct problems, you have held broken packages.
          Now what? Something is preventing me from installing any packages. Maybe this can't be fixed! And, maybe it's time to admit defeat and perform a scratch install of the newest LTS version. What are your thoughts?
          "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

          Comment


            #35
            aptitude has been able to solve similar problems for me, twice since Hardy, that apt could not, though the last time was I quess 5 years ago. aptitude has a "find broken" function, but I can't remember what comes next; maybe some options on the resolver menu become enabled.
            Regards, John Little

            Comment


              #36
              Thanks jlittle. I'll try some googling. In the mean time, I don't know that I have broken pkgs or dependencies. Frankly I don't know what the problem is. Some test commands report broken apps and some do not. The underlying problem is that I cannot install ANY packages nor have I been able to since I opened this thread! Any inputs or suggestions you care to share would be greatly appreciated.
              "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

              Comment


                #37
                Would the output of
                Code:
                dpkg -l | grep -Ei -v '(^ii|^rc)'
                offer any hints re. problematic packages? The code is based on what I read in https://askubuntu.com/questions/1880...ike-ii-rc-mean.
                Kubuntu 20.04

                Comment


                  #38
                  Here's the results of the script command:

                  Code:
                  mark@AMD64-LTS:~$ dpkg -l | grep -Ei -v '(^ii|^rc)'
                  Desired=Unknown/Install/Remove/Purge/Hold
                  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
                  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
                  ||/ Name                                                        Version                                    Architecture Description
                  +++-===========================================================-==========================================-============-===============================================================================
                  So nothing was captured in the list, but I am still unable to install ANY package from CLI or Synaptic. I'm slowly coming to the conclusion that this problem is not able to be solved. Perhaps there's a bug at work? ...a virus of some sort perhaps? I'll run Clamav and report.

                  Perhaps it's time to wipe the drive and install the latest LTS version.
                  "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

                  Comment


                    #39
                    Clamtk identified all of the LibreOffice macros as potentially harmful, but I took no action against those files. Are there any other ideas?
                    "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

                    Comment


                      #40
                      Can you please post the contents of:

                      /etc/apt/sources.list
                      On #kubuntu-devel & #kubuntu on libera.chat - IRC Nick: RikMills - Launchpad ID: click

                      Comment


                        #41
                        Here you go:

                        Code:
                        # deb cdrom:[Kubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416.1)]/ trusty main multiverse restricted universe 
                        
                        # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
                        # newer versions of the distribution.
                        # deb http://mirrors.advancedhosters.com/debian/ main restricted  
                        
                        # deb http://archive.ubuntu.com/ubuntu/ trusty main restricted 
                        # deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted 
                        
                        ## Major bug fix updates produced after the final release of the
                        ## distribution.
                        
                        deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted 
                        
                        # deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted 
                        
                        ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
                        ## team. Also, please note that software in universe WILL NOT receive any
                        ## review or updates from the Ubuntu security team.
                        
                        deb http://archive.ubuntu.com/ubuntu/ trusty universe 
                        # deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe 
                        deb http://archive.ubuntu.com/ubuntu/ trusty-updates universe 
                        # deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe 
                        
                        ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
                        ## team, and may not be under a free licence. Please satisfy yourself as to 
                        ## your rights to use the software. Also, please note that software in 
                        ## multiverse WILL NOT receive any review or updates from the Ubuntu
                        ## security team.
                        
                        deb http://archive.ubuntu.com/ubuntu/ trusty multiverse 
                        # deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse 
                        deb http://archive.ubuntu.com/ubuntu/ trusty-updates multiverse 
                        # deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse 
                        
                        ## N.B. software from this repository may not have been tested as
                        ## extensively as that contained in the main release, although it includes
                        ## newer versions of some applications which may provide useful features.
                        ## Also, please note that software in backports WILL NOT receive any review
                        ## or updates from the Ubuntu security team.
                        
                        deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse 
                        # deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse 
                        
                        deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted 
                        # deb-src http://security.ubuntu.com/ubuntu/ trusty-security main restricted 
                        deb http://security.ubuntu.com/ubuntu/ trusty-security universe 
                        # deb-src http://security.ubuntu.com/ubuntu/ trusty-security universe 
                        deb http://security.ubuntu.com/ubuntu/ trusty-security multiverse 
                        # deb-src http://security.ubuntu.com/ubuntu/ trusty-security multiverse 
                        
                        ## Uncomment the following two lines to add software from Canonical's
                        ## 'partner' repository.
                        ## This software is not part of Ubuntu, but is offered by Canonical and the
                        ## respective vendors as a service to Ubuntu users.
                        deb http://archive.canonical.com/ubuntu/ trusty partner 
                        deb-src http://archive.canonical.com/ubuntu/ trusty partner 
                        
                        ## This software is not part of Ubuntu, but is offered by third-party
                        ## developers who want to ship their latest software.
                        deb http://extras.ubuntu.com/ubuntu/ trusty main 
                        deb-src http://extras.ubuntu.com/ubuntu/ trusty main
                        "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

                        Comment


                          #42
                          Yikes!

                          I had a feeling from the earlier posted output of an apt update, that I might see what I do there.

                          You have:

                          # deb http://archive.ubuntu.com/ubuntu/ trusty main restricted
                          # deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted


                          which would would be one of the most basic reasons why you are not managing to install anything.

                          the # there is commenting out those lines, so you do not have the 'main' pocket of the ubuntu standard trusty repos enabled.

                          Main is where all the most crucial low level system dependency stuff lives, and well 'main' just basically means main. You can't manage without it. With that disabled, most things you try to install or updated are going to fail with unresolvable dependencies.

                          Other lines give you the 'main' component from extras, updates etc, but you still need the base archive one.
                          Last edited by acheron; Jul 01, 2017, 11:59 AM.
                          On #kubuntu-devel & #kubuntu on libera.chat - IRC Nick: RikMills - Launchpad ID: click

                          Comment


                            #43
                            IT WORKS !!! ACHERON, THANK YOU !!! YES I'M YELLING... I'M YELLING FOR JOY! I can't believe it was something so simple. I'm trying to figure out how that repository was remed out. I know I didn't do it at least not directly. Is it possible that the sources.list file was modified by some other process that I initiated?

                            Finally I can install packages to my system. This thread has been open for quite a while. Thank you to everyone who weighed in to help. It is greatly appreciated. I'm also making note of the fix and the importance of those two repository entries in my Practical Guide to Ubuntu Linux. I have already marked this thread solved. Thanks again everyone.

                            acheron, your avatar looks like the mascot to the best HTML editor I've ever used by a company called, Sausage Software. The program was called Hot Dog 7. I wish there was a Linux version of that application. Anyway, I've already installed Bluefish and Eclipse and CodeBlocker. I'm sure one of them will meet my needs.
                            "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

                            Comment


                              #44
                              You are welcome.

                              The avatar is meant to be an older version of the KDE mascot, Konqi.

                              On #kubuntu-devel & #kubuntu on libera.chat - IRC Nick: RikMills - Launchpad ID: click

                              Comment


                                #45
                                Nice. I do remember it now. Thanks again. I learned a lot from that issue.
                                "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

                                Comment

                                Working...
                                X