Ubuntu unable to locate package

前端 未结 4 1128
我寻月下人不归
我寻月下人不归 2021-01-25 18:53

I have installed devstack for openstack on ubuntu system. I am trying to install quantum-lbaas-agent. I get the error Unable to locate package. I tried

相关标签:
4条回答
  • 2021-01-25 19:05

    The package cannot be found, because it is not in any of the archives listed in your sources.list file.

    This page explains what you need to do:

    http://docs.openstack.org/trunk/openstack-network/admin/content/install_ubuntu.html

    I modified the steps a bit for your case to be perfectly clear and as easy as possible:

    sudo su -
    echo deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/grizzly main >>/etc/apt/sources.list
    apt-get install ubuntu-cloud-keyring 
    apt-get update
    apt-get install quantum-lbaas-agent
    
    0 讨论(0)
  • 2021-01-25 19:06

    This will work for virtualenv pip wheel errorcode1 problems and also E unable to locate package problems

        sudo apt-get update
    
        sudo apt-get install python-software-properties
    
        sudo apt-get install apt-file
    
        sudo apt-file update
    
        sudo apt-get install software-properties-common
    
        sudo apt-get install <your filename>  
    
    0 讨论(0)
  • 2021-01-25 19:07

    My problem

    kuma-soft@kumasoft-Inspiron-15-3567:~$ sudo apt install virtualenv
    [sudo] password for kuma-soft: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package virtualenv
    kuma-soft@kumasoft-Inspiron-15-3567:~$ sudo apt install simplescreenrecorder
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package simplescreenrecorder

    sudo apt-get update
    

    Y
    

    0 讨论(0)
  • 2021-01-25 19:08

    You can do :

    sudo apt-get purge 
    

    This will clean up the configs which may be stopping you form installing the package

    0 讨论(0)
提交回复
热议问题