FAQ
Hi,

executing cloudera-manager-installer.bin throws me an error

Refreshing repository metadata failed. See
/var/log/cloudera-manager-installer/4.install-cloudera-manager-server.log

Okay so what does the log say ? :

Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package cloudera-manager-server
Seems the repo did not get added or refreshed. So I lookup the 1.
install-repo-pkg.log:

Selecting previously unselected package cloudera-manager-repository.
(Reading database ... 163879 files and directories currently installed.)
Unpacking cloudera-manager-repository (from
.../cloudera-manager-repository_4.0_all.deb) ...
Setting up cloudera-manager-repository (4.0) ...
gpg: keyring `/etc/apt/trusted.gpg.d/cloudera-cm4.gpg' created
gpg: key 02A818DD: public key "Cloudera Apt Repository" imported
gpg: Total number processed: 1
gpg: imported: 1
This looks fine the repo got added. So I further investigate to look in the
repo refresh log:


Hit http://in.archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://in.archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://in.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://in.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://in.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://in.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://in.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://in.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://in.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://in.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://in.archive.ubuntu.com precise/main Translation-en
Hit http://in.archive.ubuntu.com precise/multiverse Translation-en
Hit http://in.archive.ubuntu.com precise/restricted Translation-en
Hit http://in.archive.ubuntu.com precise/universe Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Hit http://in.archive.ubuntu.com precise-updates/main Translation-en
Hit http://in.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://in.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://in.archive.ubuntu.com precise-updates/universe Translation-en
Reading package lists...
Here lies the problem. The repo never got added. So i further look into
/etc/apt/sources.list No entry for Cloudera. I check sources.list.d
directory. there is a blank cloudera.list. I am assuming the manager was
not able to write to it OR it removed while rolling back.

How do i fix this ? Can i have the CM repository for UBUNTU URI ? Adding
manually might work.


Regards,
Prateek

Search Discussions

  • Tony Li Xu at Apr 25, 2013 at 1:59 pm
    Hi Prateek:

    According to CDH4 installation guide, you can add the CDH4 repository by:

    To add the CDH4 repository:
    Create a new file /etc/apt/sources.list.d/cloudera.list with the following
    contents:
    *• For Ubuntu systems:*
    deb [arch=amd64] http://archive.cloudera.com/cdh4/
    <OS-release-arch><RELEASE>-cdh4
    contrib
    deb-src http://archive.cloudera.com/cdh4/<OS-release-arch><RELEASE>-cdh4
    contrib

    where: <OS-release-arch> is debian/squeeze/amd64/cdh,
    ubuntu/lucid/amd64/cdh, or
    ubuntu/precise/amd64/cdh, and <RELEASE> is the name of your distribution,
    which you can find by running "lsb_release -c" command.

    --
    Tony


    On Thu, Apr 25, 2013 at 3:41 AM, Prateek Baranwal wrote:

    Hi,

    executing cloudera-manager-installer.bin throws me an error

    Refreshing repository metadata failed. See
    /var/log/cloudera-manager-installer/4.install-cloudera-manager-server.log

    Okay so what does the log say ? :

    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package cloudera-manager-server
    Seems the repo did not get added or refreshed. So I lookup the 1.
    install-repo-pkg.log:

    Selecting previously unselected package cloudera-manager-repository.
    (Reading database ... 163879 files and directories currently installed.)
    Unpacking cloudera-manager-repository (from
    .../cloudera-manager-repository_4.0_all.deb) ...
    Setting up cloudera-manager-repository (4.0) ...
    gpg: keyring `/etc/apt/trusted.gpg.d/cloudera-cm4.gpg' created
    gpg: key 02A818DD: public key "Cloudera Apt Repository" imported
    gpg: Total number processed: 1
    gpg: imported: 1
    This looks fine the repo got added. So I further investigate to look in
    the repo refresh log:


    Hit http://in.archive.ubuntu.com precise-updates/universe amd64 Packages
    Hit http://in.archive.ubuntu.com precise-updates/multiverse amd64 Packages
    Hit http://in.archive.ubuntu.com precise-updates/main i386 Packages
    Hit http://in.archive.ubuntu.com precise-updates/restricted i386 Packages
    Hit http://in.archive.ubuntu.com precise-updates/universe i386 Packages
    Hit http://security.ubuntu.com precise-security/main Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/multiverse i386 Packages
    Hit http://in.archive.ubuntu.com precise-updates/main TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/multiverse
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/restricted
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/universe TranslationIndex
    Hit http://in.archive.ubuntu.com precise/main Translation-en
    Hit http://in.archive.ubuntu.com precise/multiverse Translation-en
    Hit http://in.archive.ubuntu.com precise/restricted Translation-en
    Hit http://in.archive.ubuntu.com precise/universe Translation-en
    Hit http://security.ubuntu.com precise-security/multiverse Translation-en
    Hit http://security.ubuntu.com precise-security/restricted Translation-en
    Hit http://security.ubuntu.com precise-security/universe Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/main Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/multiverse Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/restricted Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/universe Translation-en
    Reading package lists...
    Here lies the problem. The repo never got added. So i further look into
    /etc/apt/sources.list No entry for Cloudera. I check sources.list.d
    directory. there is a blank cloudera.list. I am assuming the manager was
    not able to write to it OR it removed while rolling back.

    How do i fix this ? Can i have the CM repository for UBUNTU URI ? Adding
    manually might work.


    Regards,
    Prateek


    --
    Regards
    ----------
    Tony Li Xu
    http://www.lixu.ca
  • bc Wong at Apr 25, 2013 at 4:26 pm
    Prateek,

    The installer removes the CM repo as part of cleaning up a failed attempt.
    So it's normal that you saw nothing in /etc/apt/sources.list.d. Could you
    attach all of `/var/log/cloudera-manager-installer'? Are there other errors
    in the earlier steps?

    Cheers,
    bc

    On Thu, Apr 25, 2013 at 6:59 AM, Tony Li Xu wrote:

    Hi Prateek:

    According to CDH4 installation guide, you can add the CDH4 repository by:

    To add the CDH4 repository:
    Create a new file /etc/apt/sources.list.d/cloudera.list with the following
    contents:
    *• For Ubuntu systems:*
    deb [arch=amd64] http://archive.cloudera.com/cdh4/
    <OS-release-arch><RELEASE>-cdh4
    contrib
    deb-src http://archive.cloudera.com/cdh4/<OS-release-arch><RELEASE>-cdh4
    contrib

    where: <OS-release-arch> is debian/squeeze/amd64/cdh,
    ubuntu/lucid/amd64/cdh, or
    ubuntu/precise/amd64/cdh, and <RELEASE> is the name of your distribution,
    which you can find by running "lsb_release -c" command.

    --
    Tony



    On Thu, Apr 25, 2013 at 3:41 AM, Prateek Baranwal <
    prateek.baranwal@gmail.com> wrote:
    Hi,

    executing cloudera-manager-installer.bin throws me an error

    Refreshing repository metadata failed. See
    /var/log/cloudera-manager-installer/4.install-cloudera-manager-server.log

    Okay so what does the log say ? :

    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package cloudera-manager-server
    Seems the repo did not get added or refreshed. So I lookup the 1.
    install-repo-pkg.log:

    Selecting previously unselected package cloudera-manager-repository.
    (Reading database ... 163879 files and directories currently installed.)
    Unpacking cloudera-manager-repository (from
    .../cloudera-manager-repository_4.0_all.deb) ...
    Setting up cloudera-manager-repository (4.0) ...
    gpg: keyring `/etc/apt/trusted.gpg.d/cloudera-cm4.gpg' created
    gpg: key 02A818DD: public key "Cloudera Apt Repository" imported
    gpg: Total number processed: 1
    gpg: imported: 1
    This looks fine the repo got added. So I further investigate to look in
    the repo refresh log:


    Hit http://in.archive.ubuntu.com precise-updates/universe amd64 Packages
    Hit http://in.archive.ubuntu.com precise-updates/multiverse amd64
    Packages
    Hit http://in.archive.ubuntu.com precise-updates/main i386 Packages
    Hit http://in.archive.ubuntu.com precise-updates/restricted i386 Packages
    Hit http://in.archive.ubuntu.com precise-updates/universe i386 Packages
    Hit http://security.ubuntu.com precise-security/main Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/multiverse i386 Packages
    Hit http://in.archive.ubuntu.com precise-updates/main TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/multiverse
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/restricted
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/universe
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise/main Translation-en
    Hit http://in.archive.ubuntu.com precise/multiverse Translation-en
    Hit http://in.archive.ubuntu.com precise/restricted Translation-en
    Hit http://in.archive.ubuntu.com precise/universe Translation-en
    Hit http://security.ubuntu.com precise-security/multiverse Translation-en
    Hit http://security.ubuntu.com precise-security/restricted Translation-en
    Hit http://security.ubuntu.com precise-security/universe Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/main Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/multiverse
    Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/restricted
    Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/universe Translation-en
    Reading package lists...
    Here lies the problem. The repo never got added. So i further look into
    /etc/apt/sources.list No entry for Cloudera. I check sources.list.d
    directory. there is a blank cloudera.list. I am assuming the manager was
    not able to write to it OR it removed while rolling back.

    How do i fix this ? Can i have the CM repository for UBUNTU URI ? Adding
    manually might work.


    Regards,
    Prateek


    --
    Regards
    ----------
    Tony Li Xu
    http://www.lixu.ca
  • Prateek Baranwal at Apr 26, 2013 at 6:37 am
    Wong, sorry have corporate firewall i ll paste the contents of the logs
    rather than attachments itself

    1. Check SE Linux: [ Not valid i am using ubuntu] Anyways looks clear
    sh: 1: /usr/sbin/selinuxenabled: not found

    2. Install Repo Package [Looks good. The deb installer is able to unpackage
    and import the GPG key]
    Selecting previously unselected package cloudera-manager-repository.
    (Reading database ... 163879 files and directories currently installed.)
    Unpacking cloudera-manager-repository (from
    .../cloudera-manager-repository_4.0_all.deb) ...
    Setting up cloudera-manager-repository (4.0) ...
    gpg: keyring `/etc/apt/trusted.gpg.d/cloudera-cm4.gpg' created
    gpg: key 02A818DD: public key "Cloudera Apt Repository" imported
    gpg: Total number processed: 1
    gpg: imported: 1
    3. refresh repo [Weird. The cloudera repository is missing. This is where i
    cannot understand why would it not get HIT if it is a part of the sources
    list]
    Hit http://security.ubuntu.com precise-security Release.gpg
    Hit http://in.archive.ubuntu.com precise Release.gpg
    Hit http://in.archive.ubuntu.com precise-updates Release.gpg
    Hit http://security.ubuntu.com precise-security Release
    Hit http://in.archive.ubuntu.com precise Release
    Hit http://in.archive.ubuntu.com precise-updates Release
    Hit http://security.ubuntu.com precise-security/main Sources
    Hit http://in.archive.ubuntu.com precise/main Sources
    Hit http://in.archive.ubuntu.com precise/restricted Sources
    Hit http://in.archive.ubuntu.com precise/universe Sources
    Hit http://in.archive.ubuntu.com precise/multiverse Sources
    Hit http://security.ubuntu.com precise-security/restricted Sources
    Hit http://security.ubuntu.com precise-security/universe Sources
    Hit http://security.ubuntu.com precise-security/multiverse Sources
    Hit http://security.ubuntu.com precise-security/main amd64 Packages
    Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
    Hit http://in.archive.ubuntu.com precise/main amd64 Packages
    Hit http://in.archive.ubuntu.com precise/restricted amd64 Packages
    Hit http://in.archive.ubuntu.com precise/universe amd64 Packages
    Hit http://in.archive.ubuntu.com precise/multiverse amd64 Packages
    Hit http://in.archive.ubuntu.com precise/main i386 Packages
    Hit http://in.archive.ubuntu.com precise/restricted i386 Packages
    Hit http://security.ubuntu.com precise-security/universe amd64 Packages
    Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages
    Hit http://security.ubuntu.com precise-security/main i386 Packages
    Hit http://security.ubuntu.com precise-security/restricted i386 Packages
    Hit http://security.ubuntu.com precise-security/universe i386 Packages
    Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
    Hit http://security.ubuntu.com precise-security/main TranslationIndex
    Hit http://in.archive.ubuntu.com precise/universe i386 Packages
    Hit http://in.archive.ubuntu.com precise/multiverse i386 Packages
    Hit http://in.archive.ubuntu.com precise/main TranslationIndex
    Hit http://in.archive.ubuntu.com precise/multiverse TranslationIndex
    Hit http://in.archive.ubuntu.com precise/restricted TranslationIndex
    Hit http://in.archive.ubuntu.com precise/universe TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/main Sources
    Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
    Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
    Hit http://security.ubuntu.com precise-security/universe TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/restricted Sources
    Hit http://in.archive.ubuntu.com precise-updates/universe Sources
    Hit http://in.archive.ubuntu.com precise-updates/multiverse Sources
    Hit http://in.archive.ubuntu.com precise-updates/main amd64 Packages
    Hit http://in.archive.ubuntu.com precise-updates/restricted amd64 Packages
    Hit http://in.archive.ubuntu.com precise-updates/universe amd64 Packages
    Hit http://in.archive.ubuntu.com precise-updates/multiverse amd64 Packages
    Hit http://in.archive.ubuntu.com precise-updates/main i386 Packages
    Hit http://in.archive.ubuntu.com precise-updates/restricted i386 Packages
    Hit http://in.archive.ubuntu.com precise-updates/universe i386 Packages
    Hit http://security.ubuntu.com precise-security/main Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/multiverse i386 Packages
    Hit http://in.archive.ubuntu.com precise-updates/main TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/multiverse TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/restricted TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/universe TranslationIndex
    Hit http://in.archive.ubuntu.com precise/main Translation-en
    Hit http://in.archive.ubuntu.com precise/multiverse Translation-en
    Hit http://in.archive.ubuntu.com precise/restricted Translation-en
    Hit http://in.archive.ubuntu.com precise/universe Translation-en
    Hit http://security.ubuntu.com precise-security/multiverse Translation-en
    Hit http://security.ubuntu.com precise-security/restricted Translation-en
    Hit http://security.ubuntu.com precise-security/universe Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/main Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/multiverse Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/restricted Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/universe Translation-en
    Reading package lists...

    4. install jdk [Thats fine. I have JDK installed already before hand itself]
    Reading package lists...
    Building dependency tree...
    Reading state information...
    oracle-j2sdk1.6 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.

    5. remove cloudera-manager-repository [Weird. The repository is getting
    removed before the scm-server or scm-agent and other packages get installed]

    (Reading database ... 163881 files and directories currently installed.)
    Removing cloudera-manager-repository ...
    6. Install-cloudera-manager-server [But obvious. THe repo got removed how
    would the package manager ever find cloudera-manager-server]
    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package cloudera-manager-server

    7. remove-cloudera-manager-repository [I guess this is the roll back]
    (Reading database ... 163881 files and directories currently installed.)
    Removing cloudera-manager-repository ...
    Contents of the log directory:
    0.check-selinux
    1.install-repo-pkg
    2.refresh-repo
    3.install-oracle-j2sdk1.6
    3.remove-cloudera-manager-repository
    4.install-cloudera-manager-server
    5.remove-cloudera-manager-repository

    :(....

    Regards,
    Prateek

    On Thursday, April 25, 2013 9:50:31 PM UTC+5:30, bc Wong wrote:

    Prateek,

    The installer removes the CM repo as part of cleaning up a failed attempt.
    So it's normal that you saw nothing in /etc/apt/sources.list.d. Could you
    attach all of `/var/log/cloudera-manager-installer'? Are there other
    errors in the earlier steps?

    Cheers,
    bc


    On Thu, Apr 25, 2013 at 6:59 AM, Tony Li Xu <tony...@gmail.com<javascript:>
    wrote:
    Hi Prateek:

    According to CDH4 installation guide, you can add the CDH4 repository by:

    To add the CDH4 repository:
    Create a new file /etc/apt/sources.list.d/cloudera.list with the
    following contents:
    *• For Ubuntu systems:*
    deb [arch=amd64] http://archive.cloudera.com/cdh4/
    <OS-release-arch><RELEASE>-cdh4
    contrib
    deb-src http://archive.cloudera.com/cdh4/<OS-release-arch><RELEASE>-cdh4
    contrib

    where: <OS-release-arch> is debian/squeeze/amd64/cdh,
    ubuntu/lucid/amd64/cdh, or
    ubuntu/precise/amd64/cdh, and <RELEASE> is the name of your distribution,
    which you can find by running "lsb_release -c" command.

    --
    Tony



    On Thu, Apr 25, 2013 at 3:41 AM, Prateek Baranwal <prateek....@gmail.com<javascript:>
    wrote:
    Hi,

    executing cloudera-manager-installer.bin throws me an error

    Refreshing repository metadata failed. See
    /var/log/cloudera-manager-installer/4.install-cloudera-manager-server.log

    Okay so what does the log say ? :

    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package cloudera-manager-server
    Seems the repo did not get added or refreshed. So I lookup the 1.
    install-repo-pkg.log:

    Selecting previously unselected package cloudera-manager-repository.
    (Reading database ... 163879 files and directories currently installed.)
    Unpacking cloudera-manager-repository (from
    .../cloudera-manager-repository_4.0_all.deb) ...
    Setting up cloudera-manager-repository (4.0) ...
    gpg: keyring `/etc/apt/trusted.gpg.d/cloudera-cm4.gpg' created
    gpg: key 02A818DD: public key "Cloudera Apt Repository" imported
    gpg: Total number processed: 1
    gpg: imported: 1
    This looks fine the repo got added. So I further investigate to look in
    the repo refresh log:


    Hit http://in.archive.ubuntu.com precise-updates/universe amd64 Packages
    Hit http://in.archive.ubuntu.com precise-updates/multiverse amd64
    Packages
    Hit http://in.archive.ubuntu.com precise-updates/main i386 Packages
    Hit http://in.archive.ubuntu.com precise-updates/restricted i386
    Packages
    Hit http://in.archive.ubuntu.com precise-updates/universe i386 Packages
    Hit http://security.ubuntu.com precise-security/main Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/multiverse i386
    Packages
    Hit http://in.archive.ubuntu.com precise-updates/main TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/multiverse
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/restricted
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/universe
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise/main Translation-en
    Hit http://in.archive.ubuntu.com precise/multiverse Translation-en
    Hit http://in.archive.ubuntu.com precise/restricted Translation-en
    Hit http://in.archive.ubuntu.com precise/universe Translation-en
    Hit http://security.ubuntu.com precise-security/multiverse
    Translation-en
    Hit http://security.ubuntu.com precise-security/restricted
    Translation-en
    Hit http://security.ubuntu.com precise-security/universe Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/main Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/multiverse
    Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/restricted
    Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/universe Translation-en
    Reading package lists...
    Here lies the problem. The repo never got added. So i further look into
    /etc/apt/sources.list No entry for Cloudera. I check sources.list.d
    directory. there is a blank cloudera.list. I am assuming the manager was
    not able to write to it OR it removed while rolling back.

    How do i fix this ? Can i have the CM repository for UBUNTU URI ? Adding
    manually might work.


    Regards,
    Prateek


    --
    Regards
    ----------
    Tony Li Xu
    http://www.lixu.ca
  • Prateek Baranwal at Apr 26, 2013 at 6:40 am
    Tony... I am looking for CM repo not CDH4.
    On Thursday, April 25, 2013 7:29:34 PM UTC+5:30, Tony wrote:

    Hi Prateek:

    According to CDH4 installation guide, you can add the CDH4 repository by:

    To add the CDH4 repository:
    Create a new file /etc/apt/sources.list.d/cloudera.list with the following
    contents:
    *• For Ubuntu systems:*
    deb [arch=amd64] http://archive.cloudera.com/cdh4/
    <OS-release-arch><RELEASE>-cdh4
    contrib
    deb-src http://archive.cloudera.com/cdh4/<OS-release-arch><RELEASE>-cdh4
    contrib

    where: <OS-release-arch> is debian/squeeze/amd64/cdh,
    ubuntu/lucid/amd64/cdh, or
    ubuntu/precise/amd64/cdh, and <RELEASE> is the name of your distribution,
    which you can find by running "lsb_release -c" command.

    --
    Tony



    On Thu, Apr 25, 2013 at 3:41 AM, Prateek Baranwal <prateek....@gmail.com<javascript:>
    wrote:
    Hi,

    executing cloudera-manager-installer.bin throws me an error

    Refreshing repository metadata failed. See
    /var/log/cloudera-manager-installer/4.install-cloudera-manager-server.log

    Okay so what does the log say ? :

    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package cloudera-manager-server
    Seems the repo did not get added or refreshed. So I lookup the 1.
    install-repo-pkg.log:

    Selecting previously unselected package cloudera-manager-repository.
    (Reading database ... 163879 files and directories currently installed.)
    Unpacking cloudera-manager-repository (from
    .../cloudera-manager-repository_4.0_all.deb) ...
    Setting up cloudera-manager-repository (4.0) ...
    gpg: keyring `/etc/apt/trusted.gpg.d/cloudera-cm4.gpg' created
    gpg: key 02A818DD: public key "Cloudera Apt Repository" imported
    gpg: Total number processed: 1
    gpg: imported: 1
    This looks fine the repo got added. So I further investigate to look in
    the repo refresh log:


    Hit http://in.archive.ubuntu.com precise-updates/universe amd64 Packages
    Hit http://in.archive.ubuntu.com precise-updates/multiverse amd64
    Packages
    Hit http://in.archive.ubuntu.com precise-updates/main i386 Packages
    Hit http://in.archive.ubuntu.com precise-updates/restricted i386 Packages
    Hit http://in.archive.ubuntu.com precise-updates/universe i386 Packages
    Hit http://security.ubuntu.com precise-security/main Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/multiverse i386 Packages
    Hit http://in.archive.ubuntu.com precise-updates/main TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/multiverse
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/restricted
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/universe
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise/main Translation-en
    Hit http://in.archive.ubuntu.com precise/multiverse Translation-en
    Hit http://in.archive.ubuntu.com precise/restricted Translation-en
    Hit http://in.archive.ubuntu.com precise/universe Translation-en
    Hit http://security.ubuntu.com precise-security/multiverse Translation-en
    Hit http://security.ubuntu.com precise-security/restricted Translation-en
    Hit http://security.ubuntu.com precise-security/universe Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/main Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/multiverse
    Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/restricted
    Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/universe Translation-en
    Reading package lists...
    Here lies the problem. The repo never got added. So i further look into
    /etc/apt/sources.list No entry for Cloudera. I check sources.list.d
    directory. there is a blank cloudera.list. I am assuming the manager was
    not able to write to it OR it removed while rolling back.

    How do i fix this ? Can i have the CM repository for UBUNTU URI ? Adding
    manually might work.


    Regards,
    Prateek


    --
    Regards
    ----------
    Tony Li Xu
    http://www.lixu.ca
  • Prateek Baranwal at Apr 26, 2013 at 8:32 am
    Tony,
    Thanks for the URI. Could work back with the repo to get CM instead of
    CDH4. Here is what i was looking for
    http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/dists/precise-cm4/.
    Its still weird why the CM installer would not add the repo itself. Anyways
    adding this manually does the trick. Thanks for the hint. :)
    On Friday, April 26, 2013 12:10:14 PM UTC+5:30, Prateek Baranwal wrote:

    Tony... I am looking for CM repo not CDH4.
    On Thursday, April 25, 2013 7:29:34 PM UTC+5:30, Tony wrote:

    Hi Prateek:

    According to CDH4 installation guide, you can add the CDH4 repository by:

    To add the CDH4 repository:
    Create a new file /etc/apt/sources.list.d/cloudera.list with the
    following contents:
    *• For Ubuntu systems:*
    deb [arch=amd64] http://archive.cloudera.com/cdh4/
    <OS-release-arch><RELEASE>-cdh4
    contrib
    deb-src http://archive.cloudera.com/cdh4/<OS-release-arch><RELEASE>-cdh4
    contrib

    where: <OS-release-arch> is debian/squeeze/amd64/cdh,
    ubuntu/lucid/amd64/cdh, or
    ubuntu/precise/amd64/cdh, and <RELEASE> is the name of your distribution,
    which you can find by running "lsb_release -c" command.

    --
    Tony


    On Thu, Apr 25, 2013 at 3:41 AM, Prateek Baranwal wrote:

    Hi,

    executing cloudera-manager-installer.bin throws me an error

    Refreshing repository metadata failed. See
    /var/log/cloudera-manager-installer/4.install-cloudera-manager-server.log

    Okay so what does the log say ? :

    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package cloudera-manager-server
    Seems the repo did not get added or refreshed. So I lookup the 1.
    install-repo-pkg.log:

    Selecting previously unselected package cloudera-manager-repository.
    (Reading database ... 163879 files and directories currently installed.)
    Unpacking cloudera-manager-repository (from
    .../cloudera-manager-repository_4.0_all.deb) ...
    Setting up cloudera-manager-repository (4.0) ...
    gpg: keyring `/etc/apt/trusted.gpg.d/cloudera-cm4.gpg' created
    gpg: key 02A818DD: public key "Cloudera Apt Repository" imported
    gpg: Total number processed: 1
    gpg: imported: 1
    This looks fine the repo got added. So I further investigate to look in
    the repo refresh log:


    Hit http://in.archive.ubuntu.com precise-updates/universe amd64 Packages
    Hit http://in.archive.ubuntu.com precise-updates/multiverse amd64
    Packages
    Hit http://in.archive.ubuntu.com precise-updates/main i386 Packages
    Hit http://in.archive.ubuntu.com precise-updates/restricted i386
    Packages
    Hit http://in.archive.ubuntu.com precise-updates/universe i386 Packages
    Hit http://security.ubuntu.com precise-security/main Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/multiverse i386
    Packages
    Hit http://in.archive.ubuntu.com precise-updates/main TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/multiverse
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/restricted
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/universe
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise/main Translation-en
    Hit http://in.archive.ubuntu.com precise/multiverse Translation-en
    Hit http://in.archive.ubuntu.com precise/restricted Translation-en
    Hit http://in.archive.ubuntu.com precise/universe Translation-en
    Hit http://security.ubuntu.com precise-security/multiverse
    Translation-en
    Hit http://security.ubuntu.com precise-security/restricted
    Translation-en
    Hit http://security.ubuntu.com precise-security/universe Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/main Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/multiverse
    Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/restricted
    Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/universe Translation-en
    Reading package lists...
    Here lies the problem. The repo never got added. So i further look into
    /etc/apt/sources.list No entry for Cloudera. I check sources.list.d
    directory. there is a blank cloudera.list. I am assuming the manager was
    not able to write to it OR it removed while rolling back.

    How do i fix this ? Can i have the CM repository for UBUNTU URI ? Adding
    manually might work.


    Regards,
    Prateek


    --
    Regards
    ----------
    Tony Li Xu
    http://www.lixu.ca
  • Syrine at Oct 24, 2013 at 9:09 am
    Hello,

    connection time out to
    http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/dists/precise-cm4/

    Le vendredi 26 avril 2013 10:32:03 UTC+2, Prateek Baranwal a écrit :
    Tony,
    Thanks for the URI. Could work back with the repo to get CM instead of
    CDH4. Here is what i was looking for
    http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/dists/precise-cm4/
    .
    Its still weird why the CM installer would not add the repo itself.
    Anyways adding this manually does the trick. Thanks for the hint. :)
    On Friday, April 26, 2013 12:10:14 PM UTC+5:30, Prateek Baranwal wrote:

    Tony... I am looking for CM repo not CDH4.
    On Thursday, April 25, 2013 7:29:34 PM UTC+5:30, Tony wrote:

    Hi Prateek:

    According to CDH4 installation guide, you can add the CDH4 repository by:

    To add the CDH4 repository:
    Create a new file /etc/apt/sources.list.d/cloudera.list with the
    following contents:
    *• For Ubuntu systems:*
    deb [arch=amd64] http://archive.cloudera.com/cdh4/
    <OS-release-arch><RELEASE>-cdh4
    contrib
    deb-src http://archive.cloudera.com/cdh4/<OS-release-arch><RELEASE>-cdh4
    contrib

    where: <OS-release-arch> is debian/squeeze/amd64/cdh,
    ubuntu/lucid/amd64/cdh, or
    ubuntu/precise/amd64/cdh, and <RELEASE> is the name of your
    distribution, which you can find by running "lsb_release -c" command.

    --
    Tony



    On Thu, Apr 25, 2013 at 3:41 AM, Prateek Baranwal <prateek....@gmail.com
    wrote:
    Hi,

    executing cloudera-manager-installer.bin throws me an error

    Refreshing repository metadata failed. See

    /var/log/cloudera-manager-installer/4.install-cloudera-manager-server.log

    Okay so what does the log say ? :

    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package cloudera-manager-server
    Seems the repo did not get added or refreshed. So I lookup the 1.
    install-repo-pkg.log:

    Selecting previously unselected package cloudera-manager-repository.
    (Reading database ... 163879 files and directories currently installed.)
    Unpacking cloudera-manager-repository (from
    .../cloudera-manager-repository_4.0_all.deb) ...
    Setting up cloudera-manager-repository (4.0) ...
    gpg: keyring `/etc/apt/trusted.gpg.d/cloudera-cm4.gpg' created
    gpg: key 02A818DD: public key "Cloudera Apt Repository" imported
    gpg: Total number processed: 1
    gpg: imported: 1
    This looks fine the repo got added. So I further investigate to look in
    the repo refresh log:


    Hit http://in.archive.ubuntu.com precise-updates/universe amd64
    Packages
    Hit http://in.archive.ubuntu.com precise-updates/multiverse amd64
    Packages
    Hit http://in.archive.ubuntu.com precise-updates/main i386 Packages
    Hit http://in.archive.ubuntu.com precise-updates/restricted i386
    Packages
    Hit http://in.archive.ubuntu.com precise-updates/universe i386 Packages
    Hit http://security.ubuntu.com precise-security/main Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/multiverse i386
    Packages
    Hit http://in.archive.ubuntu.com precise-updates/main TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/multiverse
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/restricted
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/universe
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise/main Translation-en
    Hit http://in.archive.ubuntu.com precise/multiverse Translation-en
    Hit http://in.archive.ubuntu.com precise/restricted Translation-en
    Hit http://in.archive.ubuntu.com precise/universe Translation-en
    Hit http://security.ubuntu.com precise-security/multiverse
    Translation-en
    Hit http://security.ubuntu.com precise-security/restricted
    Translation-en
    Hit http://security.ubuntu.com precise-security/universe Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/main Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/multiverse
    Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/restricted
    Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/universe
    Translation-en
    Reading package lists...
    Here lies the problem. The repo never got added. So i further look into
    /etc/apt/sources.list No entry for Cloudera. I check sources.list.d
    directory. there is a blank cloudera.list. I am assuming the manager was
    not able to write to it OR it removed while rolling back.

    How do i fix this ? Can i have the CM repository for UBUNTU URI ?
    Adding manually might work.


    Regards,
    Prateek


    --
    Regards
    ----------
    Tony Li Xu
    http://www.lixu.ca
    To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.
  • Darren Lo at Oct 24, 2013 at 2:31 pm
    Hi Syrine,

    That URL works for me, maybe a networking issue on your side?

    Thanks,
    Darren

    On Thu, Oct 24, 2013 at 2:09 AM, Syrine wrote:

    Hello,

    connection time out to http://archive.cloudera.com/**
    cm4/ubuntu/precise/amd64/cm/**dists/precise-cm4/<http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/dists/precise-cm4/>

    Le vendredi 26 avril 2013 10:32:03 UTC+2, Prateek Baranwal a écrit :
    Tony,
    Thanks for the URI. Could work back with the repo to get CM instead of
    CDH4. Here is what i was looking for http://archive.cloudera.com/**
    cm4/ubuntu/precise/amd64/cm/**dists/precise-cm4/<http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/dists/precise-cm4/>
    .
    Its still weird why the CM installer would not add the repo itself.
    Anyways adding this manually does the trick. Thanks for the hint. :)
    On Friday, April 26, 2013 12:10:14 PM UTC+5:30, Prateek Baranwal wrote:

    Tony... I am looking for CM repo not CDH4.
    On Thursday, April 25, 2013 7:29:34 PM UTC+5:30, Tony wrote:

    Hi Prateek:

    According to CDH4 installation guide, you can add the CDH4 repository
    by:

    To add the CDH4 repository:
    Create a new file /etc/apt/sources.list.d/**cloudera.list with the
    following contents:
    *• For Ubuntu systems:*
    deb [arch=amd64] http://archive.cloudera.com/**cdh4/<http://archive.cloudera.com/cdh4/>
    <OS-release-arch><**RELEASE>-cdh4
    contrib
    deb-src http://archive.cloudera.com/**cdh4/<http://archive.cloudera.com/cdh4/>
    <OS-release-arch><**RELEASE>-cdh4 contrib

    where: <OS-release-arch> is debian/squeeze/amd64/cdh,
    ubuntu/lucid/amd64/cdh, or
    ubuntu/precise/amd64/cdh, and <RELEASE> is the name of your
    distribution, which you can find by running "lsb_release -c" command.

    --
    Tony



    On Thu, Apr 25, 2013 at 3:41 AM, Prateek Baranwal <
    prateek....@gmail.com> wrote:
    Hi,

    executing cloudera-manager-installer.bin throws me an error

    Refreshing repository metadata failed. See
    /var/log/cloudera-manager-**installer/4.install-cloudera-**
    manager-server.log

    Okay so what does the log say ? :

    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package cloudera-manager-server
    Seems the repo did not get added or refreshed. So I lookup the 1.
    install-repo-pkg.log:

    Selecting previously unselected package cloudera-manager-repository.
    (Reading database ... 163879 files and directories currently
    installed.)
    Unpacking cloudera-manager-repository (from .../cloudera-manager-**repository_4.0_all.deb)
    ...
    Setting up cloudera-manager-repository (4.0) ...
    gpg: keyring `/etc/apt/trusted.gpg.d/**cloudera-cm4.gpg' created
    gpg: key 02A818DD: public key "Cloudera Apt Repository" imported
    gpg: Total number processed: 1
    gpg: imported: 1
    This looks fine the repo got added. So I further investigate to look
    in the repo refresh log:


    Hit http://in.archive.ubuntu.com precise-updates/universe amd64
    Packages
    Hit http://in.archive.ubuntu.com precise-updates/multiverse amd64
    Packages
    Hit http://in.archive.ubuntu.com precise-updates/main i386 Packages
    Hit http://in.archive.ubuntu.com precise-updates/restricted i386
    Packages
    Hit http://in.archive.ubuntu.com precise-updates/universe i386
    Packages
    Hit http://security.ubuntu.com precise-security/main Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/multiverse i386
    Packages
    Hit http://in.archive.ubuntu.com precise-updates/main TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/multiverse
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/restricted
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise-updates/universe
    TranslationIndex
    Hit http://in.archive.ubuntu.com precise/main Translation-en
    Hit http://in.archive.ubuntu.com precise/multiverse Translation-en
    Hit http://in.archive.ubuntu.com precise/restricted Translation-en
    Hit http://in.archive.ubuntu.com precise/universe Translation-en
    Hit http://security.ubuntu.com precise-security/multiverse
    Translation-en
    Hit http://security.ubuntu.com precise-security/restricted
    Translation-en
    Hit http://security.ubuntu.com precise-security/universe
    Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/main Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/multiverse
    Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/restricted
    Translation-en
    Hit http://in.archive.ubuntu.com precise-updates/universe
    Translation-en
    Reading package lists...
    Here lies the problem. The repo never got added. So i further look
    into /etc/apt/sources.list No entry for Cloudera. I check sources.list.d
    directory. there is a blank cloudera.list. I am assuming the manager was
    not able to write to it OR it removed while rolling back.

    How do i fix this ? Can i have the CM repository for UBUNTU URI ?
    Adding manually might work.


    Regards,
    Prateek


    --
    Regards
    ----------
    Tony Li Xu
    http://www.lixu.ca
    To unsubscribe from this group and stop receiving emails from it, send
    an email to scm-users+unsubscribe@cloudera.org.


    --
    Thanks,
    Darren

    To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedApr 25, '13 at 7:41a
activeOct 24, '13 at 2:31p
posts8
users5
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase