[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg -i libgssdp-1.0-dev_0.7.2-2_i386.deb error installing



On Thursday 22 July 2010 22:45:09 Raghavendra. S wrote:
> On Thu, Jul 22, 2010 at 9:08 PM, Boyd Stephen Smith Jr. <
> 
> bss@iguanasuicide.net> wrote:
> > On Thursday 22 July 2010 09:21:09 Raghavendra. S wrote:
> > > *dpkg: error processing libgssdp-1.0-dev_0.7.2-2_i386.deb (--install):
> > >  trying to overwrite '/usr/share/gir-1.0/GSSDP-1.0.gir', which is also
> > >  in
> > > 
> > > package gir-repository-dev 0:0.6.5-5ubuntu2*
> > > 
> > > Errors were encountered while processing:
> > >  libgssdp-1.0-dev_0.7.2-2_i386.deb
> > > 
> > > Does any body know what is the reason for this error?
> > 
> > Your new package (libgssdp-1.0-dev version 0.7.2-2) wants to install a
> > file that is already controlled by a currently installed package
> > (gir-repository-
> > dev version 0:0.6.5-5ubuntu2).  The specific file is
> > /usr/share/gir-1.0/GSSDP-1.0.gir.
> > 
> > IMO, neither package should install this file. /usr/share/$foo is usually
> > the
> > domain of a package named "$foo".
> > 
> > Finally, it appears that you are mixing repositories, which you should
> > only do
> > when you know the combination is safe, due to the policies governing each
> > repository.
> 
> As I mentioned I had taken this code from
> http://ftp.debian.org/debian/pool/main/g/gssdp/. I havenot modified any
> thing.

I didn't claim you modified anything.

However, you appear to be using package from both the Ubuntu and Debian 
archives/repositories.  Those archives/repositories are not compatible in 
general.  You should get all your packages from a set of compatible 
repositories.

You should also be using apt-get or aptitude to install packages, unless you 
have good reasons to use not to.  (Even if you need to make modifications, it 
is relatively painless to create your own local apt repository.)

> > However, one way to fix
> > you issue is, prior to building the .deb, to edit debian/rules so that
> > /usr/share/gir-1.0/GSSDP-1.0.gir is not installed.
> 
> I edited debian/rules file as you mentioned, but no success. I am getting
> same error.

After you edit the debian/rules file, you'll need to rebuild the .deb package.
-- 
Boyd Stephen Smith Jr.           	 ,= ,-_-. =.
bss@iguanasuicide.net            	((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
http://iguanasuicide.net/        	     \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: