Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
portaroOffline
Post subject: kiwix program  PostPosted: 30.12.2010, 21:35



Joined: 2010-12-30
Posts: 18
Location: Portugal
Status: Offline
Hello everyone i am a new user of aptosid, i am from Portugal.

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?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
x-un-i
Post subject: RE: kiwix program  PostPosted: 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

      Code:

apt-get update
apt-get -f install


and btw. synaptic is really not recommended in aptosid

_________________
Why do strong arms fatigue themselves with frivolous dumbbells?
To dig a vineyard is worthier exercise for men.
Marcus Valerius Martialis, römischer Satiriker und Epigrammdichter

Será que o diabo perdeu a virgindade?
 
 View user's profile Send private message  
Reply with quote Back to top
portaroOffline
Post subject:   PostPosted: 30.12.2010, 22:05



Joined: 2010-12-30
Posts: 18
Location: Portugal
Status: Offline
well i post the link to the program i comment in the first post the program is here
http://www.kiwix.org/index.php/Main_Page

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.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
myloOffline
Post subject: RE: kiwix program  PostPosted: 30.12.2010, 22:11



Joined: 2010-09-11
Posts: 116
Location: Wiesbaden, Germany
Status: Offline
portaro,

pl check how to install packages under aptosid. Do ONLY use apt-get (as per manual explicitely and strongly recommended), do not corrupt or confuse your system by using other packet managers.


then, aptosid will provide you much fun and a nice and stable and up-to-date OS!

_________________
Regards
mylo

Linux 3.1-6.slh.1-aptosid-amd64 x86_64[2010-03 Ἀπάτη (201012262151)]
Intel Core2 Duo E6550 @ Cache/Ram 4MB/4GB nVidia G72 7300 nouveau 2*250GB
 
 View user's profile Send private message  
Reply with quote Back to top
muchan
Post subject: RE: kiwix program  PostPosted: 30.12.2010, 22:18
Moderator


Joined: 2010-09-11
Posts: 468

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...
 
 View user's profile Send private message  
Reply with quote Back to top
portaroOffline
Post subject:   PostPosted: 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

http://www.epidemiclinux.org/forum/view ... 6bd35276ca

But my problem is the installation of other programs before the installation of kiwix
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
muchan
Post subject:   PostPosted: 30.12.2010, 22:42
Moderator


Joined: 2010-09-11
Posts: 468

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.
 
 View user's profile Send private message  
Reply with quote Back to top
portaroOffline
Post subject:   PostPosted: 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.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
muchan
Post subject:   PostPosted: 30.12.2010, 23:43
Moderator


Joined: 2010-09-11
Posts: 468

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.


in your language: http://manual.aptosid.com/pt-br/sys-admin-apt-pt-br.htm
      Quote:

Razões para NÃO usar nada além do apt-get para um dist-upgrade
Gerenciadores de pacotes como adept, aptitude, synaptic e kpackage nem sempre dão conta da quantidade enorme de mudanças que acontecem no sid ( mudanças nas dependências, nos nomes, nos scripts de manutenção...). Não é culpa dos desenvolvedores daquelas aplicações. Essas ferramentas são fabulosas, excelentes para o ramo 'estável' do Debian, só que não estão aptas para lidar com as necessidades muito especiais do Debian sid.

Use qualquer um deles para procurar pacotes, mas fique com o apt-get na hora de realmente instalar/remover/atualizar o sistema.

Gerenciadores tais como adept, aptitude, synaptic e kpackage são, no mínimo, não-deterministas (para uma seleção de pacotes complexa). Misture isso com um alvo sempre móvel, como é o caso do sid, e (pior ainda) com repositórios não oficiais de qualidade questionável (não usamos nem recomendamos, mas eles são uma realidade nos desktops) e você estará clamando por desastre. Outro ponto é que todos esses gerenciadores com interfaces gráficas necessitam rodar em init 5 e/ou no X e um 'dist-upgrade' (ou mesmo 'upgrade') no init 5 e/ou X, acabará por danificar seu sistema a ponto de não mais poder ser reparado, mais cedo ou mais tarde.

Já o apt-get faz estritamente o que é pedido a ele. Se houver algum problema, fica fácil localizar o erro para depuração/correção; se o apt-get quiser remover metade de seu sistema (devido a transições nas bibliotecas), é só chamar o administrador (quer dizer, você mesmo) para dar, no mínimo, uma olhada séria (e consultar os Avisos na página do aptosid, não se esqueça).

É por isso que o Debian usa exclusivamente o apt-get, não uma das outras ferramentas de gerenciamento de pacotes.
 
 View user's profile Send private message  
Reply with quote Back to top
portaroOffline
Post subject:   PostPosted: 03.01.2011, 23:22



Joined: 2010-12-30
Posts: 18
Location: Portugal
Status: Offline
Yeah finally i installed KIWIX

If you need this soft you need download this dependencies

Libicu42
Libxapian15
xulrunner -1.9.2

And the deb package installer
Kiwix_0.9-alpha_i386

Install all with dpkg -i

Install also the xapian-tools with
apt-get install xapian-tools

Finally and important is edit the kiwix.sh

In the directory:
/usr/lib/kiwix/

And search the metod of integrity of xulruenner qith kiwix and edit him.




      Code:
# If no xulrunner, get the path of the xulrunner install of the system
if [ ! "$XULRUNNER" ]
then
    XULRUNNER=`whereis xulrunner | cut -d" " -f2`

To This:

[/code]
# If no xulrunner, get the path of the xulrunner install of the system
if [ ! "$XULRUNNER" ]
then
XULRUNNER=`whereis xulrunner-1.9.2 | cut -d" " -f2`

[/code]
Result is:



_________________
my blog
http://tux-a-solta.blogspot.com/



 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
muchan
Post subject:   PostPosted: 04.01.2011, 00:54
Moderator


Joined: 2010-09-11
Posts: 468

My advice was different. (sure you have right to decide yourself)

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...
 
 View user's profile Send private message  
Reply with quote Back to top
portaroOffline
Post subject:   PostPosted: 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.

I lost xmode and I dont had a text mode (ctrl+alt+f1)

So i had to reinstall.

So because this problem i no intention to execut a dist-upgrade.

Thanks muchan.

_________________
my blog
http://tux-a-solta.blogspot.com/



 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
muchan
Post subject:   PostPosted: 04.01.2011, 15:36
Moderator


Joined: 2010-09-11
Posts: 468

disaster, because you didn't go out of X windows (calling "init 3" as root)

or... disaster, because you wanted to do things of your own before reading
the aptosid manual...

and you think it was the fault of the command...
 
 View user's profile Send private message  
Reply with quote Back to top
portaroOffline
Post subject:   PostPosted: 04.01.2011, 16:59



Joined: 2010-12-30
Posts: 18
Location: Portugal
Status: Offline
No im not responsible the command for my broke system
its posible a hardware configuration is lost

well before dist-upgrade I use ctrl+alt+f1

Text mode
root
ps

apt-get update
apt-get dist-upgrade


boot for hard drive and agregate
radeon.modeset=0

or i try
dont agregate the parameter
in the boot

the result is lost x in my case.
Im use a toshiba laptop satellite 1-kb

I realised this after install the aptosid.

Thanks

_________________
my blog
http://tux-a-solta.blogspot.com/



 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
muchan
Post subject:   PostPosted: 04.01.2011, 22:00
Moderator


Joined: 2010-09-11
Posts: 468

You missed the important command
# init 3
to go to runlevel 3, it means stopping X windows.
Without that, going to text mode console itself does not have much meaning.

(and also, if you intend to avoid dist-upgrade, then there is not much meaning installing aptosid to HD!)
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio