[SOLVED]errror installing bit defender antivirus

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED]errror installing bit defender antivirus

Postby emlou » Apr 13th, '14, 12:31

Hello I am very new to Linux, moving from Windows XP. I am having a few problems and would appreciate some help. I am trying to install bit defender antivirus and receive the following error:
can't create transaction lock on /var/lib/rpm/_db.000 (permission denied)
Is this because I am logged in as a user?
thanks in advance
Last edited by emlou on Apr 15th, '14, 16:52, edited 1 time in total.
emlou
 
Posts: 27
Joined: Apr 13th, '14, 12:21

Re: errror installing bit defender antivirus

Postby ozky » Apr 13th, '14, 12:34

Linux don't need antivirus because in linux there is no any virus.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: errror installing bit defender antivirus

Postby emlou » Apr 13th, '14, 13:14

Ok thanks
I read recently that linux was becoming more of a target for malware etc because of its increase in popularity.
Does dual booting with windows make it any more vunerable?
emlou
 
Posts: 27
Joined: Apr 13th, '14, 12:21

Re: errror installing bit defender antivirus

Postby doktor5000 » Apr 13th, '14, 14:33

ozky wrote:Linux don't need antivirus because in linux there is no any virus.

That is factually not correct, please don't put up such blanket statements.

@emlou: You probably got the error message, because you ran the command to install as normal user.
Please try again as root, and please post the whole output here, including the command you used.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: errror installing bit defender antivirus

Postby emlou » Apr 13th, '14, 18:22

Code: Select all
root@localhost relativity]# urpmi -v /Home/Downloads/Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm
getting lock on urpmi
using mirror rsync://www.mirrorservice.org/mageia.org/pub/mageia/distrib/4/i586
examining synthesis file [/var/lib/urpmi/Live Core/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Live Nonfree/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Core Release/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Core Updates/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree Release/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree Updates/synthesis.hdlist.cz]
unable to access rpm file [/Home/Downloads/Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm]
error registering local packages
unlocking urpmi database


I'm not sure if I am doing this correctly - and advice?
thanks
Last edited by doktor5000 on Apr 13th, '14, 22:01, edited 1 time in total.
Reason: added code tags
emlou
 
Posts: 27
Joined: Apr 13th, '14, 12:21

Re: errror installing bit defender antivirus

Postby doktor5000 » Apr 13th, '14, 22:02

emlou wrote:urpmi -v /Home/Downloads/Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm


Please show the output of the following commands as user:
Code: Select all
ls -al /Home/Downloads/Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm
ls -al ~/Downloads/Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: errror installing bit defender antivirus

Postby emlou » Apr 14th, '14, 11:30

Code: Select all
[relativity@localhost ~]$ ls -al /Home/Downloads/Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm
ls: cannot access /Home/Downloads/Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm: No such file or directory
[relativity@localhost ~]$ ls -al ~/Downloads/Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm
ls: cannot access /home/relativity/Downloads/Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm: No such file or directory
[relativity@localhost ~]$



Here are the results
thanks
Last edited by doktor5000 on Apr 14th, '14, 18:26, edited 1 time in total.
Reason: added code tags
emlou
 
Posts: 27
Joined: Apr 13th, '14, 12:21

Re: errror installing bit defender antivirus

Postby jkerr82508 » Apr 14th, '14, 12:55

Unlike Windows, Linux differentiates between upper and lower case in file and folder names.
There is no directory called "Home" on a standard Linux system. /home contains the home folders of all normal users. The file will be stored in Downloads in the home folder of the user that you were logged in as when you downloaded the file, namely /home/relativity and the command, as root, would be:
Code: Select all
# urpmi -v /home/relativity/Downloads/Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm

$HOME will return the home folder of the current user and when running as relativity can be used in place of /home/relativity. However, when you are root, it will substitute the home folder of the root user which is /root and so you cannot use that variable in this case.

You should also remove or disable the two sources named Live, everything in them is already installed and is also available in the /core/release and /nonfree/release sources, leaving these sources enabled can be inconvenient because doing so may result in your being asked to insert the installation DVD.
https://wiki.mageia.org/en/Software_man ... nd_updates

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: errror installing bit defender antivirus

Postby tarakbumba » Apr 14th, '14, 13:00

emlou wrote:[relativity@localhost ~]$ ls -al /Home/Downloads/Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm
ls: cannot access /Home/Downloads/Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm: No such file or directory
[relativity@localhost ~]$ ls -al ~/Downloads/Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm
ls: cannot access /home/relativity/Downloads/Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm: No such file or directory


I think you' re typing wrong path. It should be your user's home directory. Like this:

Code: Select all
ls -al /home/relativity/Downloads/Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm


To install (as root):
Code: Select all
urpmi /home/relativity/Downloads/Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm


I don't know if that rpm will work. It does not come from official repositories and it may incompatible with Mageia (missing dependencies etc.)

While there are viruses/malwares for Linux around on the Internet; you do not need an antivirus/antimalware software unless you share a disk partition with Windows or you share your data (photo, video etc.) by a protable storage with friends who run Windows machine or you send mail with attachmeunts to Windows users. Mostly, an antivirus software is needed to protect other users (Windows users) from infection not you. If you stick official repositories to install software and do not run any script you' ve got from unreliable sources; especially if you do not run any script/software as root then there is no worry about virus/malware.

EDIT: jkerr82508 is faster than me...
tarakbumba
 
Posts: 138
Joined: Apr 6th, '11, 22:50

Re: errror installing bit defender antivirus

Postby jkerr82508 » Apr 14th, '14, 13:33

I've just noticed that this command also failed:
[relativity@localhost ~]$ ls -al ~/Downloads/Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm

(It is difficult to read posts when code or quote tags are not used.)

What is the output of
Code: Select all
 ls -al /home/relativity/Downloads

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: errror installing bit defender antivirus

Postby emlou » Apr 14th, '14, 14:28

To both Jkerr82508 and tarakbumba - I am a complete novice here, so thanks very much for the help and patience.
Mageia is installed on a seperate partition to Windows, however I do communicate with many Windows users and receive attachments via email. Therefore I think I need to persevere with some antivirus\malware.

@Jim, some of your instructions are beyond my current Linux capabilities :oops: :
You should also remove or disable the two sources named Live



Here is the output of the downloads folder

[relativity@localhost ~]$ ls -al /home/relativity/Downloads
total 404396
drwxr-xr-x 2 relativity relativity 4096 Apr 14 10:58 ./
drwxr-xr-x 23 relativity relativity 4096 Apr 14 11:21 ../
-rw-rw-r-- 1 relativity relativity 169142295 Apr 7 16:17 Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm.run
-rwxrwxr-x 1 relativity relativity 35909659 Apr 7 17:00 BitDefender-Antivirus-Scanner-nogui-7.6-4.linux-gcc3x.i586.deb.run*
-rw-rw-r-- 1 relativity relativity 185506 Apr 13 10:32 Crane.jpg
-rw-rw-r-- 1 relativity relativity 99 Apr 7 14:23 .directory
-rw-rw-r-- 1 relativity relativity 96629 Apr 13 17:39 enigmail-quickstart.pdf
-rw-rw-r-- 1 relativity relativity 1707789 Apr 14 10:58 foo2zjs.tar.gz
-rw-rw-r-- 1 relativity relativity 206803578 Apr 7 14:18 LibreOffice_4.2.2_Linux_x86_rpm.tar.gz
-rw-rw-r-- 1 relativity relativity 225738 Apr 13 10:32 Wild-Bird.jpg
[relativity@localhost ~]$


Hope this is easier to read
thanks one again
emlou
 
Posts: 27
Joined: Apr 13th, '14, 12:21

Re: errror installing bit defender antivirus

Postby jkerr82508 » Apr 14th, '14, 14:51

You don't have an rpm, you have a run file, Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm.run. Executing that file, presumably will create an rpm or perhaps several rpm's. Where did you get that file? It might be easier to advise you if you provided a link.

some of your instructions are beyond my current Linux capabilities
That's why I provided a link to detailed instructions on managing software. :)

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: errror installing bit defender antivirus

Postby ozky » Apr 14th, '14, 15:04

doktor5000 wrote:
ozky wrote:Linux don't need antivirus because in linux there is no any virus.

That is factually not correct, please don't put up such blanket statements.

@emlou: You probably got the error message, because you ran the command to install as normal user.
Please try again as root, and please post the whole output here, including the command you used.


I understanded that post wrongly i uderstanded he or she use only linux not windows at all.
Yes it's needed if you need to scan windows partition or windows network from virus.
Last edited by ozky on Apr 14th, '14, 15:17, edited 1 time in total.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: errror installing bit defender antivirus

Postby ozky » Apr 14th, '14, 15:12

emlou wrote:Ok thanks
I read recently that linux was becoming more of a target for malware etc because of its increase in popularity.
Does dual booting with windows make it any more vunerable?

Not linux but windows yes if you move files between windows and linux it can be having virus in those files what you move between os, so you cannot know it if you don't have antivirus scanner.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: errror installing bit defender antivirus

Postby tarakbumba » Apr 14th, '14, 15:14

BTW, emlou, why do you want to use Bitdefender? You can always install and use ClamAV from RpmDrake for this antivirus purpose. I don't and didn't use an antivirus software in my 10 years of Linux experience but i' ve heard that it is very good.

Notice that, there is no guarantee that Bitdefender will be correctly insalled and ran on Mageia. You do not have a proper RPM package which is created for Mageia 4. There may be (and i think will likely) dependency problems.
tarakbumba
 
Posts: 138
Joined: Apr 6th, '11, 22:50

Re: errror installing bit defender antivirus

Postby emlou » Apr 14th, '14, 16:39

tarakbumba wrote:BTW, emlou, why do you want to use Bitdefender? You can always install and use ClamAV from RpmDrake for this antivirus purpose. I don't and didn't use an antivirus software in my 10 years of Linux experience but i' ve heard that it is very good.

Notice that, there is no guarantee that Bitdefender will be correctly insalled and ran on Mageia. You do not have a proper RPM package which is created for Mageia 4. There may be (and i think will likely) dependency problems.


I chose Bitdefender as I already use it on an android device. The reason I haven't installed ClamAV is because I read that it doesn't offer real time protection.
emlou
 
Posts: 27
Joined: Apr 13th, '14, 12:21

Re: errror installing bit defender antivirus

Postby emlou » Apr 14th, '14, 16:44

jkerr82508 wrote:You don't have an rpm, you have a run file, Bitdefender-Antivirus-Scanner-7.7-0.linux-gcc4x.i586.rpm.run. Executing that file, presumably will create an rpm or perhaps several rpm's. Where did you get that file? It might be easier to advise you if you provided a link.

some of your instructions are beyond my current Linux capabilities
That's why I provided a link to detailed instructions on managing software. :)

Jim


http://download.bitdefender.com/SMB/Wor ... /IT/Linux/

This is where I got the file.

...and I have a lot of reading to do :)

thanks
emlou
 
Posts: 27
Joined: Apr 13th, '14, 12:21

Re: errror installing bit defender antivirus

Postby wanne » Apr 14th, '14, 20:43

It's an shellscript with embeded data. You can change th permissions to executable:
right click -> properties -> permissions -> executable
After that you can execute it. (Depending on your preferences with left click or double click.)
But I wouldn't do it. (Or may as a differnt user) There is no way to test if it's free of malicious software. This is the thing what kept typical Linux-Desktops free of malware: Almost no Linux user will execute some arbitary binarys he got from the internet. (Even because it can't happen by mistake since nomal Files aren't executable when you don't change theyer permissions explicit.)
emlou wrote:I read recently that linux was becoming more of a target for malware etc because of its increase in popularity.
There were only one mlicious programm for typical GNU/Linux-Desktops in the wild with more then 10 known Infected Desktops in the last years. Donwloadable on a website ( gnome-look.org ) as an Application wich wanted to be runed as root. So if you don't install anything form forighn websites you are on the secure site.

If you look ant Windows you see that the typical way of getting malware is to install something what calls itself antivirus.
wanne
 
Posts: 14
Joined: Jul 26th, '11, 11:42

Re: errror installing bit defender antivirus

Postby jkerr82508 » Apr 14th, '14, 21:10

I executed that file and almost immediately hit a missing dependency libpng15.so.15. Mageia 4 has libpng 12 and libpng16, but not libpng15. It may be possible to get it to accept a symlink to one of the available libraries, but I didn't try. IMHO it's just not worth the effort. In any case one would very probably hit more missing dependencies.

I believe that this rpm has been built for Fedora/Red Hat and getting it installed and running on Mageia, if at all possible, is going to take more work than I'd be prepared to put into it.

If you do feel the need to use a virus scanner, then try one of the command line applications. I have used AVG occasionally to check selected folders for Windows viruses.

Download the rpm from: http://free.avg.com/us-en/download.prd-alf
In your Downloads folder right-click on the file and select "Open with Software Installer" to install it..
Then in a terminal, as root, start avg:
Code: Select all
# avgctl --start

Then update the virus database:
Code: Select all
# avgupdate

You can then scan any file or folder, for example, if you use thunderbird as your mail client:
Code: Select all
# avgscan /home/relativity/.thunderbird

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: errror installing bit defender antivirus

Postby alf » Apr 14th, '14, 22:16

emlou wrote:The reason I haven't installed ClamAV is because I read that it doesn't offer real time protection.

Hm, did you ever read this document http://download.bitdefender.com/SMB/Wor ... t/IT/Docs/, it says nothing about real time scanning. It's also only a "on demand scanner".
I'd prefer to downlod the live-cd http://download.bitdefender.com/rescue_cd/ and scan the system from time to time, so no installation necessary, no problems with unsatisfied dpendencies ;)
for windows problems reboot; for linux problems be root
alf
 
Posts: 326
Joined: Apr 1st, '11, 23:07
Location: DE Paderborn

Re: errror installing bit defender antivirus

Postby emlou » Apr 15th, '14, 11:43

Hello and thanks for all the help and information.
Your coments have given me more confidence to leave the Windows paranoia behind! A good friend of mine who has used linux for years also advised that he has had no need for antivirus\malware. I think I will go with the occasional scans.

@jim thanks for putting so much effort in for me, I really appreciate it :)

Its good to know you can get so much support from other users, no doubt I will be needing more advice as this is a big learning curve for me!!
I wish I had done this years ago instead of becoming dependent on Windows
thanks again
Emma
emlou
 
Posts: 27
Joined: Apr 13th, '14, 12:21


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron