Results 1 to 5 of 5

Thread: Error:Failed to retrieve the current status of the installed packages.

  1. #1

    Default Error:Failed to retrieve the current status of the installed packages.

    Hi Guys,

    Need your help. when I try to check the installed packages on one of the container I got this error.
    what does this mean?
    yum is not installed on the container. I also tried installing adding the yum from the HN I got the same error. (#vzpkg install -p 113 yum )


    Can not update packages: exec failed: Cannot find a valid baseurl for: http://mirrorlist.centos.org/?releas...x86_64&repo=os
    Error: Cannot find a valid baseurl for: http://mirrorlist.centos.org/?releas...x86_64&repo=os
    Error: /usr/share/vzyum/bin/yum failed, exitcode=1

    thank you. I appreciate your help. =)



  2. #2
    Product Expert
    Join Date
    Mar 2009
    Posts
    772

    Default

    I happened to be updating things on the 25th and experienced the same issue. I think a mirror or mirrorserver was down. It should be OK now?

    You can bypass the issue by commenting out the mirrorlist line and uncommenting the baseurl line in /etc/yum.repos.d/Centos-Base.repo (or similar- that's from memory). Remember to change it back afterwards.



  3. #3
    Parallels Team MakcyD's Avatar
    Join Date
    Nov 2008
    Location
    NSK
    Posts
    124

    Default

    Faris is right, except the fact that in mirrolist we should comment out only centos-related servers, e.g.:
    Code:
    [22:31:06][~]# cat /vz/template/centos/6/x86_64/config/os/default/mirrorlist
    $SW_SERVER/download/mirrors/centos-6
    $SW_SERVER/download/mirrors/updates-released-ce6
    #http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os
    #http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates
    [22:31:09][~]#
    And create repositories file:
    Code:
    [22:33:17][~]# cat /vz/template/centos/6/x86_64/config/os/default/repositories
    $CE_SERVER/centos/6/os/x86_64
    $CE_SERVER/centos/6/updates/x86_64
    [22:33:21][~]#
    Max Sudyin
    Corporate Trainer
    || Parallels

    Knowledge Base: http://kb.parallels.com



  4. #4
    Parallels Team MakcyD's Avatar
    Join Date
    Nov 2008
    Location
    NSK
    Posts
    124

    Default

    You may find additional details on package caching in the neighbor thread, since most of steps are common for vzpkg create\update cache and vzpkg install commands, except for temporary container creation.
    Max Sudyin
    Corporate Trainer
    || Parallels

    Knowledge Base: http://kb.parallels.com



  5. #5

    Default

    thanks Sir Faris Raouf.
    this is ok now.i was able to install yum on our HN..

    @MakcyD thanks sir for the info..



Posting Permissions

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