Created on 01-04-2016 12:49 AM - edited 01-04-2016 05:35 AM
Apology is this sound stupid.
I have a previous installation of CDH5.5.1 which I have uninstalled and wanted to do a new fresh installation using a local repository.
I've created a local repository which can be accessed through browser. To do that I've created a file named /custom-repo.list inside /etc/apt/sources.list.d/ with the following content in it ..
deb [arch=amd64] http://xxx.xx.xx.xxx/cm5.5.1 trusty-cm5.5.1 contrib
deb-src [arch=amd64] http://xxx.xx.xx.xxx/cm5.5.1 trusty-cm5.5.1 contrib
after that when I do apt-get update it shows a error like:
W: GPG error: http://xxx.xx.xx.xxx trusty-cm5.5.1 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 327574EE02A818DD
I tried running
$ apt-get clean
$ rm -rf /var/cache/apt/*
$ rm -rf /var/lib/apt/lists/*
But I am keep getting the same error as above, commenting the repository entry from custom-repo.list seems to resolve this. But as soon as I bring that back the same error is thorwn.
What m I doing wromg here? could this happen due to improper uninstallation ?
I am stuck at this and not able to move forward with the installation. any help would be highly appreciated
Please advice
Created 01-04-2016 04:56 AM
can anyone help please , I am running out of options here
Created 01-04-2016 03:22 PM
You may want to read: http://kaivanov.blogspot.com/2012/08/creating-apt-repository-with-reprepro.html
Created on 01-05-2016 01:44 AM - edited 01-05-2016 01:44 AM
I solved it by adding the same entry in a new file. not sure how but it worked.
Thanks a lot for your reply
Created 01-11-2016 10:52 AM
Sorry. Didn't get it. What file? Which entry?
Created 01-11-2016 11:24 AM
You probably did apt-key add to the list of trusted keys
Created 01-12-2016 03:46 AM
The URL to the local repository was under /etc/apt/sources.list.d . I just copy and pasted the same content in a new file and removed the Old one. And then run apt-get update . That resolve this, but I am not sure why
Created 01-12-2016 05:44 AM
The key error is from the CDH apt signing key. I verified this by downloading the archive key and checking the fingerprint. So if you had added the key to apt keyring things would have worked. In sources.list.d there are 2 files, one signed and the other for unsigned. Second one is installed by cdh when it asks you to install the .deb that you downloaded.
Did you remove the signed sources list by any chance?
Created 10-09-2019 01:19 AM
remove the unwanted list files using :$ sudo rm -f Unconfirmed <filename> in the location of /etc/apt/sources.list.d.Then run the update command. It works for me...
Created 01-25-2016 01:24 AM
My solution is runing this command at the server to install cloudera manager:
curl -s http://xxx.xxx.xxx.xxx:8900/cm/archive.key | sudo apt-key add -
xxx.xxx.xxx.xxx is ip adress to store local resposity