Find the answer to your Linux question:
Results 1 to 10 of 10
Please help me building a good repo to make pidgin work in my test server. The package manager fails with: "Cannot retrieve repository metadata (repomd.xml) for repository: pidgin-source. Please verify ...
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Location
    Costa Rica
    Posts
    41

    Pidgin for RHEL5.3

    Please help me building a good repo to make pidgin work in my test server.
    The package manager fails with:
    "Cannot retrieve repository metadata (repomd.xml) for repository: pidgin-source. Please verify its path and try again"

    The repo I got from pidgin page points to Centos so i browsed the URl and pointed to the RHEL5 directory but it did not work

    Repo text below:

    [pidgin]
    name=Pidgin for RHEL/CentOS 5Server - i386
    baseurl=http://rpm.pidgin.im/rhel/5Server/i386/
    enabled=1
    gpgcheck=1
    gpgkey=http://rpm.pidgin.im/RPM-GPG-KEY-pidgin

    [pidgin-debuginfo]
    name=Pidgin for RHEL/CentOS 5Server - i386 - Debug
    baseurl=http://rpm.pidgin.im/rhel/5Server/i386/debug/
    enabled=0
    gpgcheck=1
    gpgkey=http://rpm.pidgin.im/RPM-GPG-KEY-pidgin

    [pidgin-source]
    name=Pidgin for RHEL/CentOS 5Server - i386 - Source
    baseurl=http://rpm.pidgin.im/SRPMS/
    enabled=0
    gpgcheck=1
    gpgkey=http://rpm.pidgin.im/RPM-GPG-KEY-pidgin


    What is wrong?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    I am running CentOS 5.3 and I was able to install pidgin very easily with yum: sudo yum install pidgin
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Aug 2006
    Location
    Costa Rica
    Posts
    41

    still same error with the repo

    Quote Originally Posted by Rubberman View Post
    I am running CentOS 5.3 and I was able to install pidgin very easily with yum: sudo yum install pidgin
    I just tried and this is what I got:

    sudo yum install pidgin
    RedHat-5.3Server-i386-errata | 951 B 00:00
    COE-RedHat-5.3Server-noarch | 951 B 00:00
    COE-RedHat-5.3Server-i386 | 951 B 00:00
    COE-RedHat-nover-i386 | 951 B 00:00
    RedHat-5.3Server-i386-Supplementary | 1.1 kB 00:00
    HPCOE-RedHat-nover-i386 | 951 B 00:00
    HPCOE-RedHat-nover-noarch | 951 B 00:00
    HPCOE-nodist-nover-i386 | 951 B 00:00
    RedHat-5.3Server-i386-Cluster | 1.1 kB 00:00
    COE-RedHat-nover-noarch | 951 B 00:00
    RedHat-5.3Server-i686-errata | 951 B 00:00
    RedHat-5.3Server-i386-VT | 1.1 kB 00:00
    HPCOE-RedHat-5.3Server-noarch | 951 B 00:00
    http://rpm.pidgin.im/rhel/5Server/i3...ta/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: pidgin. Please verify its path and try again
    .....
    Ideas?

  4. #4
    Just Joined!
    Join Date
    Jul 2009
    Posts
    8

    hello pidgin

    Well, I have centos 5.3 and I did the same: sudo yum install pidgin
    but nothing occurs!!!.

    I did it from my user name then I execute the command from the place the repo is installed: etc/yum.repos.d/.

    It says Divingintheocean is not in the sudoers file. This incident will be reported.

    I try to have access to the sudoers file I cannot. This is my laptop but so many restrictions. It suppose to execute with the "sudo" command but it did not want.

    If somebody has experience this difficulty let me know, probably I miss something basic, since I do not know very much about linux.

    See you

    Quote Originally Posted by Rubberman View Post
    I am running CentOS 5.3 and I was able to install pidgin very easily with yum: sudo yum install pidgin

  5. #5
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    sudo isn't set up by default on centos, you need to enable it for your user

  6. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    To enable your user to have full admin privileges with sudo, do
    Code:
    su -
    visudo
    Note that you should not edit the /etc/sudoers file just using your text editor. Visudo allows you to safely edit the file, and checks for errors.

    Add a line:
    USER_NAME ALL=(ALL) ALL

    Where USER_NAME is your user name. There is also generally a group you can use instead of the user name, which would allow any user who is a member of the group admin privileges. I don't know what it is called in CentOS, however.

    You'll probably also want to add
    Code:
    complete -cf sudo
    to /home/USER_NAME/.bashrc to enable bash completion using sudo.

    As an semi-amusing thing, look for the line beginning Defaults while using visudo and add insults to the list.
    Code:
    #Defaults specification
    Defaults insults

  7. #7
    Just Joined!
    Join Date
    Jul 2009
    Posts
    8

    hello pidgin, emacs color, gcc

    Thank's for the reply....

    It works with "su" but nothing happens with "visudo". It says bash: visudo: command not found

    Anyway I open this file with emacs editor.

    I type first su (enter)
    then
    emacs /etc/sudoers &

    then I added this line at the bottom of this file:

    ME=(ALL) ALL

    later in the command line I typed
    emacs /home/ME/.bashrc

    And it created this file:
    # .bashrc

    # source global definitions
    if [ -f /etc/bashrc ]; then
    . /etc/bashrc
    fi
    # User specific aliases and functions.

    Then I look for it in the command line but it disappears, I think this file is not visible or it is not even a file...

    Well, that is what I did, and seems that it works

    Now I have two more questions, look I do not want to annoy you to much about asking questions, maybe you have a web page or something about it, so I can read.

    I remember that in order to have colors in my verilog or c++ files in the emacs editor, I have to add some lines in the sudoers flie, but do not know where or what?.

    The other question is why GCC cannot compile the programs that I write in C++

    For instance this basic one:

    #include<cstdlib>
    #include<iostream>
    #define pi 3.141592
    using namespace std;

    int main(int argc char *argv[])
    {
    float radio, longitud, area;
    cin>> radio;
    longitud = 2*radio*radio;
    area = pi*radio*radio;
    cout<<"radio ="<<radio<<endl;
    cout<<"area ="<<area<<endl;
    cout<<"Presione Enter para continuar"; //system("PAUSE");
    cint.get(); //return EXIT_SUCCESS;
    return 0;
    }

    The error is that cint.get is not recognized and main function arguments is wrong?. Do I have to change the libraries or something?

    This is the command that I use to compile my program:
    gcc circunfe.cpp

    Thank's for your help...

    Mario

  8. #8
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    you need a comma after the int argc, cint.get is not a function in any of those libraries you included

  9. #9
    Just Joined!
    Join Date
    Jul 2009
    Posts
    8

    gcc

    Ok, let's say that the comma is there...

    I mean, the program is correct, I can run it on windows but I want to work with gcc in linux...

    Thank's


    Quote Originally Posted by coopstah13 View Post
    you need a comma after the int argc, cint.get is not a function in any of those libraries you included

  10. #10
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    you should be using g++ to compile c++ code

Posting Permissions

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