Well i tried install kiwix program but he requires xulrunner i installed these two packages in my aptosid but after i instaled the packages if i want install other program any other program the synaptics require me to uninstall this two programs to install any other.

This is my problem and finally.

What can I do to solve this problem?

x-un-i

Post subject: RE: kiwix program Posted: 30.12.2010, 22:00

Team Member

Joined: 2010-08-26
Posts: 170

Bem vindo.

dont know how you have installed it but it's not in Debian. Probably the better way to fix your problem is the following as root

He have a installer package to debians, gentoo etc i use debian but the problem is if i install he if i need install other program the synaptic forces the uninstaller of kiwix this is a big problem for me because i need kiwix.

It was in the context of OP asking help in Brasilian forum of aptosid.

OP installed kiwix from ubuntu's repo, and I said it's not good, then I pointed the
upstream's Wiki page that offers .deb for "Debian". and he has installed it with dpkg -i.

Further problem was reported, and I tried that .deb file, but I could not install, because
of unmatched dependencies. That .deb from the upstream is not properly packaged for debian,
using package names not existing on Debian repositories, neither sid nor experimental,
while asking xulrunner-1.9.2 which is in experimental.

I tried to solve the problem, (more for curiosity myself),
1) xulrunner-1.9.2 could be easily installed from experimental repo.
2) extracted the kiwix's .deb in home directory, and checked the program,
the usr/bin/kiwix was a link to usr/lib/kiwix/kiwix.sh. and this script
seeks the location of xulrunner with a command 'whereis xulrunner'.
Just changing it to 'whereis xulrunner-1.9.2' and script ran, program started.
3) I wrote this in brasilian forum, (with my broken portugaise...)

but... now I see OP's enumerating the software he "needs", some of them not on Debian repo,
now I feel he should be using ubuntu...

portaro

Post subject:Posted: 30.12.2010, 22:33

Joined: 2010-12-30
Posts: 18
Location: Portugal
Status: Offline

No im not use ubuntu.

muchan
Im use epidemic linux and aptosid, the solution you mentioned is a solution he mentioned in the forum of epidemic and the developer that provide to me this solution is one friend of linux comunnity and projects.
there is the post i provide to the comunnity of epidemic

But my problem is the installation of other programs before the installation of kiwix

muchan

Post subject:Posted: 30.12.2010, 22:42

Moderator

Joined: 2010-09-11
Posts: 469

portaro, I did not read the post in epidemix forum,
so I came to the "same" solution about editing xulrunner to xulrunner-1.9.2 by myself... :)

and solution for your installing other programs is
1) not using synaptic, but apt-get
2) uninstall the kiwix package installed on system
3) (use kiwix from your home directroy) I wrote in details in br forum

by 1) and 2), you won't have problem about package manager.

portaro

Post subject:Posted: 30.12.2010, 22:50

Joined: 2010-12-30
Posts: 18
Location: Portugal
Status: Offline

ok is good if you discover the solution.

well for my problem i can see other foruns.

I use synaptic for install programs as a kcalc or warzone im use synaptic because is a easy form to install programs.

Well.
Thanks.

muchan

Post subject:Posted: 30.12.2010, 23:43

Moderator

Joined: 2010-09-11
Posts: 469

From Aptosid manual:

Quote:

The Reasons NOT to use anything else but apt-get for a dist-upgrade
Package managers like adept, aptitude, synaptic and kpackage are not always able to account for the huge amount of changes which happen in Sid (depedency changes, name changes, maintainer script changes, ...).

This is not the fault of the developers of those tools though, they write a excellent tools and fabulous for the debian stable branch, they are simply just not suitable for the very special needs of Debian Sid.

Use whatever you like to search for packages, but stick with apt-get for actually installing/removing/dist-upgrading.

Package managers like adept, aptitude, synaptic and kpackage are at the least, non-deterministic (for complex package selection), mix that with a quickly moving target like sid and even worse an external repository of questionable quality (we don't use or recommend those, but they're a reality on your user systems) and you will be courting disaster.

The other item to note is that all of these types of GUI package managers need to run in init 5, and/or, in X, and in doing a dist-upgrade in init 5 and/or X , (or even an 'upgrade' which is not recommended), you will end up damaging up your system beyond repair, maybe not today or tomorrow, however in time you will.

apt-get on the other hand strictly does what it is asked to do, if there is any breakage you can pinpoint and debug/ fix the cause, if apt-get wants to remove half of the system (due to library transitions) it's the admin's call (that means you) to have at least a serious look.

This is the reason why debian builds use apt-get, not the other package manager tools.

My advice was not to install non Debian software to the system, if it's important
that dist-upgrade won't break it. But as user expand the dpkg so that you can call
the program from insde your home directry. you don't need non-Debian libicu42
and Libxapian15, at least, the program run on my aptosid system without them.
xulrunner-1.9.2 can be installed from experimental. (though I did not check
if the program really needs newer version of xulrunner. It may work with 1.9.1 on sid.

The reason is, as you'll dist-upgrade your aptosid as rolling-release, some library
will change the version that may be incompatible with the kiwix, because kiwix is not
on repository. (Debian's maintainers take care not to break the packages on Debian,
-- well, occationally it happens on sid, but then it's a bug to be fixed.)

And in my solution, you don't need to modify the files under system directry (/usr/lib).
Which you should not do manually.
(my solution edited the file under /home/<yourname>/kiwix/usr/lib.)

Well, if you're happy, it's OK. but if it will be broken some days or monthes later,
reconsider doing as suggested...

portaro

Post subject:Posted: 04.01.2011, 13:06

Joined: 2010-12-30
Posts: 18
Location: Portugal
Status: Offline

In my case the dist-upgrade cause the lost of x mode grafics interface

I try execut a dist-upgrade soon after i install cd-live aptosid and before i install new programs with kiwix.
The result of this dist-upgrade was a disaster.