Avast 1.1.9-1 Not installing

Hi Guys,

Im tryin to install the avast server on my centos 6.6 and im getting the following messages.
Before i was able to get the install avast via yum i got this issue as well,

root@shared1 [~]# echo '[avast]

name=Avast
baseurl=http://rpm.avast.com/lin/repo/dists/rhel/release
enabled=1
gpgcheck=1’ > /etc/yum.repos.d/avast.repo
root@shared1 [~]# rpm --import /path/to/avast.gpg
error: /path/to/avast.gpg: import read failed(2).

SECOND ISSUE
root@shared1 [~]# yum install avast
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile

Dependencies Resolved

================================================================================
Package Arch Version Repository Size

Installing:
avast x86_64 1.1.9-1 avast 608 k

Transaction Summary

Install 1 Package(s)

Total size: 608 k
Installed size: 1.5 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID 574f2d7b: NOKEY

Public key for avast-rhel-1.1.9-1.x86_64.rpm is not installed

anyway to solve this?

You do not use the exact command with the /path/to/avast.gpg path, don’t you?
If you do, than the solution is easy - use the real path to the GPG key. Another common
problem is that if you copy&paste the GPG key from the documentation PDF, it will most
probably not work as the PDF reader discards some whitespace in the key when you
copy&paste the content. Always use the GPG key you have obtained with the license file.

That’s still the same issue. The rpm manager complains that the GPG key is missing which is
no wonder when its import failed…

Thanks for the reply tumic,

i followed the instructions give to me by avast and that was the error i was getting. i am a linux noob so to speak where would i find the correct location for GPG key so i can input the gpg key in there so it will install the program via yum?

Any assistance would be greatly welcome.

Hi,

I only registered to this forum because i saw that a newbie (reddev32) needs help but he only gets dumb useless answers and i hate that.

Look here reddev32 http://files.avast.com/lin/repo/pool/ in my case debian based distribution which could be Debian,Ubuntu,Linux Mint there you can download it directly and install it .

PS:by the way the captcha at the end to confirm the post is shit

Hi Anachnu,

Thanks for registering and posting.

I’ve got a new product but what ill do is create a new centos 6.5 install on my server and test the installation to see if i get the same error.

Really do appreciate the help :).

Sorry, but the only dumb and useless answer here is yours… Installing the packages
directly without the repo will not help him. He still needs a license file that comes with
the GPG key he is missing. And pointing him to a Debian repo when he uses Centos
won’t help him at all.

The correct answer is in my first reply - get the license file and the GPG file (he can start
with the trial license available here: https://www.avast.com/linux-server-antivirus).
Then install the GPG key with the command from the documentation, but with the correct
path. Install the package, copy the license and start the service, that’s all.