Solved

Installing packages on ubuntu server

Posted on 2013-12-18
3
688 Views
Last Modified: 2014-01-17
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.
0
Comment
Question by:CaptainGiblets
3 Comments
 
LVL 6

Expert Comment

by:xeroxzerox
ID: 39728378
Try to run below cmd.
#dpkg -i --force-architecture mailgw.deb

ubuntu which version are you using?
0
 
LVL 27

Expert Comment

by:skullnobrains
ID: 39728631
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)
0
 
LVL 21

Accepted Solution

by:
Mazdajai earned 500 total points
ID: 39761050
Look for Kaspersky in /var/lib/dpkg/available and /var/lib/dpkg/status, remove it and run -

dpkg --configure -a

Open in new window

0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question