Link to home
Start Free TrialLog in
Avatar of CaptainGiblets
CaptainGibletsFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Installing packages on ubuntu server

I am trying to install Kaspersky mail gateway on Ubuntu, first time Ubuntu user and I have got the server set up and got to command line. I have mounted the USB drive to /mnt/usb/ I can open the file and run a dir I see the pkg file.

I am running sudo dpkg -I mailgw.deb which returns this

dpkg: error processing mailgw.deb (--install):
parsing file '/var/lib/dpkg/tmp.ci/control' near line 11 package 'mailgw':
blank line in value of field 'Description'
errors were encountered while processing:
Mailgw.deb

Is there any way around this or anything to explain what is going on? I have downloaded the file twice from the website.
Avatar of Zerox Hoop
Zerox Hoop
Flag of India image

Try to run below cmd.
#dpkg -i --force-architecture mailgw.deb

ubuntu which version are you using?
Avatar of skullnobrains
skullnobrains

the error is pretty explicit : the "description field for the package is empty"

- try using --force and see if it works (i hate such solutions but then, in some cases...)

- try opening the relevant file in an editor and provide a dummy description. you can unpack the package in any regular archive manager, and recompress it. this operation should not break the package. it should be feasible to do it in a shell script as well if you need automated installs

- tell this to the kaspersky support. they are pretty reactive on such matters and may be able to provide a package within a few hours. try the support in europe (germany i guess)
ASKER CERTIFIED SOLUTION
Avatar of Mazdajai
Mazdajai
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial