Announcement

Collapse
No announcement yet.

Can't seem to install any software anymore

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

    [SOLVED] Can't seem to install any software anymore

    Hello all. For reasons I won't go into here, I re-installed my OS over the weekend. It's all up and running fine, but I want to install a few more pieces of software, but cannot. I tried to install the .deb for both Chrome and Vivaldi, but both debs erred in the Discover app with "unmet dependencies."
    Later yesterday, I tried to install Wine so I could play some Windows-only games. I tried sudo apt install wine64, but got the error:

    Reading state information... Done
    E: Unable to locate package wine64
    I thought perhaps it was due to my repositories, so I enabled some, and disabled some others, no change. I already had Synaptic Package Manager installed, so I opened that to get a better look under the hood. I was able to locate wine64 in Synaptic Package Manager. When I tried to install it, I got the error

    Unable to correct problems, you have held broken packages.

    So, naturally I tried to use Synaptic's "Fix broken packages" feature, but I got the error:
    E: Unable to correct problems, you have held broken packages.
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    E: Unable to correct dependencies
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    E: Unable to correct dependencies
    Reboot, no change.

    I went here:
    https://askubuntu.com/questions/2232...roken-packages

    They say to enter
    dpkg --get-selections | grep hold

    I get no output from that command. So, I thought I'd follow the second bit of advice on that page, and just

    sudo aptitude install wine64

    and it turns out aptitude isn't installed. Can't install that either. GAH!

    What might have led to this, but I'm not sure it plays a role:
    I installed Kodi from Discover. It worked well, but there are no music visualizers out of the box. Discover couldn't find them. I added the Kodi PPA, and Discover still couldn't find them. That's when I installed Synaptic Package Manager. Synaptic found the visualizers, but refused to install them because it found repeat packages in multiple PPAs. This is when I disabled all repositories, minus Team Kodi. I refreshed, and successfully installed my visualizers. Yay. I went into my repositories, and set everything back the way it was - or so I thought.

    I couldn't believe my eyes when I saw all the repositories. I'm at work, so I don't remember them all, but (skipping the source ones) there's ubuntu-main, security-main, ubuntu-universe, partners-main, multiverse-main, ubuntu-updates-main... I can't even remember them all. Synaptic asked me if I was sure every time I tried to enable a universe source.

    Can someone help? Is my sources.list just screwed up? I only added three PPAs (Kodi, Nvidia, and PulseEffects) to the original list. I tried to enable every single deb source, but I get errors when trying to refresh afterward. Do I need to delete mine and create a fresh one? Can anyone tell me specifically which repositories should be on in 18.04 on a fresh system? -or maybe can someone point me where to just download a fresh sources.list to copy/paste? Am I even barking up the right tree?
    Last edited by Snowhog; Dec 10, 2018, 11:54 AM. Reason: Removed improper TAGS and replaced with correct TAGS
    Gaming/HTPC: Kubuntu 23.10 | MSI B450 Gaming+ MAX Motherboard | AMD Ryzen 5 3600XT @ 3.8GHz (x12) CPU | RX6700XT 12GB GPU | 32 GB DDR4 RAM
    Laptop: Kubuntu 23.04.1 | 2012 MacBook Pro | i7 @ 2.9GHz (x4) CPU | 16 GB DDR3 RAM​

    #2
    Ohh... I like that I can click on my CODE tags in my post. Looks like someone was having a similar issue. There's two proposed solutions.

    Here: https://www.kubuntuforums.net/showth...l=1#post401323

    And here: https://www.kubuntuforums.net/showth...l=1#post402087

    I'll check those out tonight. If anyone has any ideas in the meantime, please feel free to add your thoughts. I have a funny feeling this my answer.
    Gaming/HTPC: Kubuntu 23.10 | MSI B450 Gaming+ MAX Motherboard | AMD Ryzen 5 3600XT @ 3.8GHz (x12) CPU | RX6700XT 12GB GPU | 32 GB DDR4 RAM
    Laptop: Kubuntu 23.04.1 | 2012 MacBook Pro | i7 @ 2.9GHz (x4) CPU | 16 GB DDR3 RAM​

    Comment


      #3
      post ,

      Code:
      cat /etc/apt/sources.list
      and

      Code:
      ls -la /etc/apt/sources.list.d
      and post the text of all the list's in hear , each in it's own set of CODE tags .

      I'll compare it to a (relatively) default 18.04 list

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

      Comment


        #4
        Welp, seems fixed. As the other thread suggested I ran

        Code:
        sudo apt-get check
        and
        Code:
        sudo apt-get autoclean
        Did those codes refresh my list? My repos for Nvidia, Team Kodi, and PulseEffects are gone. In any case, I was able to install wine64 just fine right now. Now I'm afraid to add those PPAs back!

        If you still wouldn't mind taking a look, I'd appreciate a second pair of eyes.

        Code:
        # deb cdrom:[Kubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main multiverse restricted universe 
        
        # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
        # newer versions of the distribution.
        deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted 
        deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted 
        
        ## Major bug fix updates produced after the final release of the
        ## distribution.
        deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted 
        deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-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://us.archive.ubuntu.com/ubuntu/ bionic universe 
        # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic universe 
        deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe 
        # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-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://us.archive.ubuntu.com/ubuntu/ bionic multiverse 
        # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic multiverse 
        deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse 
        # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-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://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse 
        # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-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/ bionic partner 
        # deb-src http://archive.canonical.com/ubuntu/ bionic partner 
        
        deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted 
        # deb-src http://security.ubuntu.com/ubuntu/ bionic-security main restricted 
        deb http://security.ubuntu.com/ubuntu/ bionic-security universe 
        # deb-src http://security.ubuntu.com/ubuntu/ bionic-security universe 
        deb http://security.ubuntu.com/ubuntu/ bionic-security multiverse 
        # deb-src http://security.ubuntu.com/ubuntu/ bionic-security multiverse
        Gaming/HTPC: Kubuntu 23.10 | MSI B450 Gaming+ MAX Motherboard | AMD Ryzen 5 3600XT @ 3.8GHz (x12) CPU | RX6700XT 12GB GPU | 32 GB DDR4 RAM
        Laptop: Kubuntu 23.04.1 | 2012 MacBook Pro | i7 @ 2.9GHz (x4) CPU | 16 GB DDR3 RAM​

        Comment

        Working...
        X