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

Re: problem replacing package



On Mon, 2002-09-09 at 13:19, Matus "fantomas" Uhlar wrote:
> Provides: libogg0
> Replaces: libogg0
> Conflicts: libogg0
> 
> However, when trying to install this, i got some errors about other packages
> depending on libogg0, thus libogg0 was not removed, and my package was not 
> installed.

dpkg -I package_version_arch.deb
shows the correct dependencies? if not you might've built the package
the wrong way

> Another question - is this enough? Do I need to change any of
> dpkg-architecture variables, or are they here only for defining the base
> architecture (i386 even for pentiumII or k6 processors)?

I guess few packages have architecture optimisation turned on by
default, because - in many cases - if one of the autobuilders build it
with optimisation for it's arch, many users woudln't be able to run it
if they owned a slightly diferent processor, like a k6-2 instead of a
k6-3.
You should turn it on providing the right CXXFLAGS or CFLAGS[1] to your
compiler, or maybe some options to ./configure.

[1] the most common, and easy, optimisation flags are -O -O2 and -O3,
they simplify the task of choosing the right flags for your specific
processor.

/me prepares a trout to slap himself with, if he said something stupid
=]

Cheers

-- 

 Leo Costela
 Public Key: http://wallsplash.net/leo/pubkey.asc
 "you must cut down the mightiest tree in the forest... with... a
herring!"

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


Reply to: