Announcement

Collapse
No announcement yet.

No package manager installed

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

    No package manager installed

    Hi all,

    I am newbie if it comes to Kubuntu use. My Kubuntu was installed January '17.
    From beginning on the installed package manager Discover was real problematic, no updates detection, unclear usage patterns.
    So myself removed it from the system.
    However currently I am not able to install it back. sudo apt-get claims no such package. Nor if to search for it in language of this Kubuntu localization.
    Muon was installed and used for short time, yet before Discover removal.
    Currently apt-get can't find even Muon.
    How to get Discover back to this system?

    #2
    Muon is in the standard repositories, so can be reinstalled/installed.

    Open a konsole and type: sudo apt-get update && sudo apt-get install muon

    Experienced users avoid Discover in favor of Muon and/or Synaptic.

    Oh, and welcome to KFN!
    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


      #3
      Switch to apt, which is replacing apt-get. (apt-get may just be link to apt, now

      sudo apt updatre
      sudo apt install muon

      If that doesn't work then a look at your /etc/apt/sources.list file would be in order.
      "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


        #4
        Thanks for your hints. I am sorry for this lack, /etc/apt/sourses.list attached now.
        Which sources might this file to miss?
        It is hard to me to judge if this file is complete as Kubuntu might need own sources.
        The problem is even, as mentioned initially,
        Code:
        sudo apt-get install
        does not find muon nor Discover.

        Strange story, I work with this forum from my Windows 10 and IE 11, the usability very poor.
        While typing this message and previously as well one thirth of all keystrokes got lost.
        I must not to type quickly, approx 0.5 second needed between each keystroke, otherwise the effect as above.
        It is not possible to scroll down.
        Windows key shortcuts do not work. That kubuntu installation is intentioned for online banking, i will to avoid doing work as this forum there.
        Double-click to highlight a word is not possible.

        How to restore Discover in this state? It is localized kubuntu so the name of this app is translation of word discover.

        The problem with apt, or apt-get might be each package manager might maintain and use own database of packages.
        If can be problematic if two are used interchangeably e.g. apt and some GUI, so some generic recommendation I read one day in Ubuntu or Linux forum.

        Comment


          #5
          Apt, apt-get, Discover etc all use the same package database so there will never be problems.

          Code:
          sudo apt update
          
          sudo apt dist-upgrade
          Update - will check if any packages on your system need to be updated.
          If yes, then entering sudo apt dist-upgrade will carry out the necessary actions.

          You can do many things with apt. To learn, enter "man apt" in the Konsole screen which will bring up the apt manual.

          Discover seems to be called plasma-discover, so if you enter

          Code:
          apt search plasma-discover
          you will get a list of all packages/libraries which have "plasma-discover" in their name.

          Note - you only use "sudo" when you are installing or removing programmes.

          Comment


            #6
            Now I'm wondering what the difference is between

            Code:
            sudo apt dist-upgrade
            &
            Code:
            sudo apt full-upgrade
            FWIW I do use 'apt' as opposed to 'apt-get' for over a year now. Seems more polished, and the progress bar it shows in the terminal is a real plus.
            Last edited by dequire; Mar 05, 2017, 11:52 AM.
            ​"Keep it between the ditches"
            K*Digest Blog
            K*Digest on Twitter

            Comment


              #7
              TBH neither do I, and dist-upgrade is not shown in the apt manual page. Somewhere on this forum I read about using it and so have done ever since.
              Previously I used aptitude for several years and sometimes still do.

              Comment


                #8
                I'm guessing 'dist' is just a sym-link to 'full', likely easing the transition from the former to the latter. I tried both a few times this morning, and can not tell a discernible difference either way. They both should pull any new dependencies when upgrading applications. So likely 'full' would be the proper way to do it, but 'dist' will work just fine.
                ​"Keep it between the ditches"
                K*Digest Blog
                K*Digest on Twitter

                Comment


                  #9
                  From Ask Ubuntu:
                  The big news for this version is that we included a new “apt” binary that combines the most commonly used commands from apt-get and apt-cache. The commands are the same as their apt-get/apt-cache counterparts but with slightly different configuration options.
                  Currently the apt binary supports the following commands:
                  • list: which is similar to dpkg list and can be used with flags like --installed or --upgradable.
                  • search: works just like apt-cache search but sorted alphabetically.
                  • show: works like apt-cache show but hide some details that people are less likely to care about (like the hashes). The full record is still available via apt-cache show of course.
                  • update: just like the regular apt-get update with color output enabled.
                  • install,remove: adds progress output during the dpkg run.
                  • upgrade: the same as apt-get dist-upgrade –with-new-pkgs.
                  • full-upgrade: a more meaningful name for dist-upgrade.
                  • edit-sources: edit sources.list using $EDITOR.

                  You can enable/disable the install progress [bar] via:
                  # echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar
                  "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


                    #10
                    Thanks for the above info GG! To add to it, from Xenial's man page for Ubuntu:
                    apt provides a high-level commandline interface for the package
                    management system. It is intended as an end user interface and enables
                    some options better suited for interactive usage by default compared to
                    more specialized APT tools like apt-get and apt-cache.
                    That page also lists the most common arguments for apt. Worth checking out.
                    ​"Keep it between the ditches"
                    K*Digest Blog
                    K*Digest on Twitter

                    Comment


                      #11
                      Thanks dequire!
                      99.9% of the time I do updates from the cli and in the past used apt-get. In my old age I've gotten lazy and used apt because it is four characters less! I also like the progress bar. Occasionally I'll use "apt-cache depends" or rdepends, but other than that its only upgrade and dist-upgrade. I do that because I don't like automatic updates adding and changing things I don't want added or changed, like "upgrading" my nvidia-370 driver, which I've locked down.
                      "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


                        #12
                        Originally posted by Anuusia View Post
                        The problem is even, as mentioned initially,
                        Code:
                        sudo apt-get install
                        does not find muon nor Discover.
                        Did you use the complete command to install muon:
                        sudo apt install muon
                        and not just the first three words?

                        The delay in your keyboard is controlled by a system setting, which you've apparently activated with a hot key combo. I haven't used any Windows OS since XP so I can't help you in finding that slow keyboard setting.


                        Sent from my iPhone using Tapatalk
                        "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


                          #13
                          Always while me is handling with apt-get it is prepended by sudo.
                          Neither
                          Code:
                          sudo apt-get install
                          nor
                          Code:
                          sudo apt install
                          can find
                          Code:
                          plasma-discover
                          .
                          However
                          Code:
                          sudo apt search
                          can find it.
                          Former two can however find in some way
                          Code:
                          plasma-discover-private
                          , however not completely.
                          It follows my own free translation from output display (it can be incorrect or inaccurate, I apologize).
                          Package plasma-discover-private is not available however some other package is referencing to it...
                          It might be available from one other source. For this package there exists no candidate for installation.

                          Regarding package managers caches / local databases I had following experience
                          two weeks ago with Ubuntu 16.04. Ubuntu Unity Software Center didn't detect availability
                          of any security updates. apt-get upgrade did.

                          Comment


                            #14
                            It's sounds as if you're sources.list may be wrong somehow? You should be able to find these things ok if it is correct and up to date.

                            Please paste the contents of the file:

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

                            Comment


                              #15
                              Sorry, aimed to do that in the past. For some reason it did not work. Forgotten (?).
                              Thank you for your work.

                              Code:
                              # deb cdrom:[Kubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719)]/ xenial main multiverse restricted universe
                              # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
                              # newer versions of the distribution.
                              deb http://suse.uni-leipzig.de/pub/releases.ubuntu.com/ubuntu/ xenial main restricted
                              # deb-src http://de.archive.ubuntu.com/ubuntu/ xenial main restricted
                              ## Major bug fix updates produced after the final release of the
                              ## distribution.
                              deb http://suse.uni-leipzig.de/pub/releases.ubuntu.com/ubuntu/ xenial-updates main restricted
                              # deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
                              ## 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
                              ## universe WILL NOT receive any review or updates from the Ubuntu security
                              ## team.
                              # deb-src http://de.archive.ubuntu.com/ubuntu/ xenial universe
                              # deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-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-src http://de.archive.ubuntu.com/ubuntu/ xenial multiverse
                              # deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-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-src http://de.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe 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 xenial partner
                              # deb-src http://archive.canonical.com/ubuntu xenial partner
                              deb http://suse.uni-leipzig.de/pub/releases.ubuntu.com/ubuntu/ xenial-security main restricted
                              # deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
                              # deb-src http://security.ubuntu.com/ubuntu xenial-security universe
                              # deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
                              #deb http://ubuntu.pkgs.org/16.04/ubuntu-updates-universe-amd64/ xenial main universe
                              #deb http://ubuntu.pkgs.org/16.04/ubuntu-updates-universe-amd64/ xenial-security main universe

                              Comment

                              Working...
                              X