Results 1 to 7 of 7

Thread: Kubuntu on VirtualBox: Can't install/update software

  1. #1
    Join Date
    Dec 2007
    Beans
    225
    Distro
    Kubuntu 11.04 Natty Narwhal

    Kubuntu on VirtualBox: Can't install/update software

    I installed kubuntu 11.04 on an Windows7 PC inside a VirtualBox VM. I have setup the network connections proxy server (didn't accept hostnames btw, had to use the ip) and now i have connection to the internet, and to the UNIX servers that I manage. But I can't use kPackageKit or sudo apt-get update/upgrade/install/etc. Is there something I'm missing?

  2. #2
    Join Date
    Dec 2007
    Beans
    225
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: Kubuntu on VirtualBox: Can't install/update software

    It appears to be something related to proxy. I added a proxy from System Settings -> Network Settings -> Proxy -> Manually specify proxy settings. It still doesn't work. And I can't also add my username and password in Network Settings -> Proxy. The radio button for adding username and password is grayed out. I can only choose "Prompt me".

    I also tried adding the following entry in /etc/PackageKit/PackageKit.conf
    Code:
    ProxyHTTP=http://username:password@proxyip:port
    I also did
    Code:
    echo http_proxy=http://username:password@proxyip:port >> $HOME/.bashrc
    echo export http_proxy >> $HOME/.bashrc
    Still can't install software. When hit 'check for new updates' in kpackagekit, it fails and throws an error about proxy authintication. I can still brows the internet through rekonq though.

    One more thing, my password as an '@' char in it. could this be why its not working? I tried escaping it with '\' in both PackageKit.conf and .bashrc, and it still doesn't work. this is how it actually looks

    Code:
    echo http_proxy=http://yousef:passw\@rd@1.2.3.4:8080 >> $HOME/.bashrc
    echo export http_proxy >> $HOME/.bashrc
    Any help?

  3. #3
    Join Date
    Feb 2010
    Location
    Silicon Valley
    Beans
    1,898
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Kubuntu on VirtualBox: Can't install/update software

    To configure a proxy for the packaging system, edit (or create) /etc/apt/apt.conf to add a proxy specification like this, and substitute appropriately:
    Code:
    Acquire::http::Proxy "http://[[user][:pass]@]host[:port]/";
    Now apt-get, aptitude, synaptic, (and hopefully PackageKit) should work.
    Last edited by gmargo; May 4th, 2011 at 05:12 PM.

  4. #4
    Join Date
    Dec 2007
    Beans
    225
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: Kubuntu on VirtualBox: Can't install/update software

    Thanks. Will try when get back to work.

    What about the '@' char in my password. Do I escape it with '\' or just leave it?

  5. #5
    Join Date
    Feb 2010
    Location
    Silicon Valley
    Beans
    1,898
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Kubuntu on VirtualBox: Can't install/update software

    Quote Originally Posted by Abu_Dayya View Post
    What about the '@' char in my password. Do I escape it with '\' or just leave it?
    I'd be surprised if it worked at all. Consider changing it.

  6. #6
    Join Date
    Dec 2007
    Beans
    225
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: Kubuntu on VirtualBox: Can't install/update software

    Quote Originally Posted by gmargo View Post
    I'd be surprised if it worked at all. Consider changing it.
    Yup. Didn't work. Need to contact help desk and change the password

  7. #7
    Join Date
    Dec 2007
    Beans
    225
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: Kubuntu on VirtualBox: Can't install/update software

    Alright, changed the password. Still no go.

    This is the error I get in KPackageKit
    Code:
    E: Error http://extras.ubuntu.com natty/main Sources
    407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
    E: Error http://extras.ubuntu.com natty/main i386 Packages
    407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
    I get the same error when I sudo apt-get update

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •