Author Topic: Avast 1.1.9-1 Not installing  (Read 10672 times)

0 Members and 1 Guest are viewing this topic.

REDACTED

  • Guest
Avast 1.1.9-1 Not installing
« on: February 25, 2015, 01:59:31 PM »
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
 * base: centos.hyve.com
 * extras: mirrors.coreix.net
 * rpmforge: www.mirrorservice.org
 * updates: centos.openitc.uk
Resolving Dependencies
--> Running transaction check
---> Package avast.x86_64 0:1.1.9-1 will be installed
--> Finished Dependency Resolution

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?
« Last Edit: February 25, 2015, 04:33:51 PM by reddev32 »

Offline tumic

  • Avast team
  • Advanced Poster
  • *
  • Posts: 723
Re: Avast 1.1.9-1 Not installing
« Reply #1 on: February 25, 2015, 10:06:57 PM »
root@shared1 [~]# rpm --import /path/to/avast.gpg
error: /path/to/avast.gpg: import read failed(2).

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.

SECOND ISSUE
...
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID 574f2d7b: NOKEY

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

REDACTED

  • Guest
Re: Avast 1.1.9-1 Not installing
« Reply #2 on: February 25, 2015, 10:43:19 PM »
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.

REDACTED

  • Guest
Re: Avast 1.1.9-1 Not installing
« Reply #3 on: September 09, 2015, 11:44:46 AM »
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

REDACTED

  • Guest
Re: Avast 1.1.9-1 Not installing
« Reply #4 on: September 09, 2015, 01:37:52 PM »
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 :).

Offline tumic

  • Avast team
  • Advanced Poster
  • *
  • Posts: 723
Re: Avast 1.1.9-1 Not installing
« Reply #5 on: September 09, 2015, 10:45:56 PM »
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.

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.