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

Re: Architecture independent package

ok, I can run hime now. but big problem.....

This is what I did .
1. apt-get download
2. dpkg -i
3. dpkg --configure --force-all
apt-get download hime:i386 hime-data
dpkg -i hime_0.9.10-5_i386.deb --ignore-depends=hime-data   <------ignore-depends option look like no effect.
apt-get -f install      <----- installed some depends
dpkg -i hime-data_0.9.10-5_all.deb
aptitude -f install hime-qt4-immodule:i386 hime-chewing:i386     <--- can't install , but i know which package in depend.

apt-get download hime-chewing:i386 hime-qt4-immodule:i386 libchewing3:i386 libchewing3-data
dpkg -i hime-chewing_0.9.10-5_i386.deb hime-qt4-immodule_0.9.10-5_i386.deb libchewing3_0.4.0-2_i386.deb libchewing3-data_0.4.0-2_all.deb
dpkg --configure --force-all hime hime-chewing  hime-qt4-immodule

now I can use hime in skype also. but apt have porblem :
It want remove hime:i386 all time because no hime-data:i386.....
So I can't install another package .....

And I guess system has another problem, Because when I login with hime:amd64 , I don't need set ~/.xinitrc ( I use Enlightenment ). But now I must set it, hime can't automatic set it. ( Maybe in /etc/alternatives/xinput-zh_TW )

2015-04-10 0:57 GMT+08:00 spp mg <sm.sppmg@gmail.com>:
Thanks your reply.

I know "architecture-independent means this package contains only files
which are readable on any arch."

But apt disallow install.

$ apt-cache depends hime:i386
  Depends: libc6:i386
  Depends: libcairo2:i386
  Depends: libgdk-pixbuf2.0-0:i386
  Depends: libglib2.0-0:i386
  Depends: libgtk2.0-0:i386
  Depends: libpango-1.0-0:i386
  Depends: libpangocairo-1.0-0:i386
  Depends: libx11-6:i386
  Depends: libxtst6:i386
  Depends: <hime-data:i386>          <-------------- unavailable
  Depends: hime-tables:i386
  Suggests: hime-anthy:i386
  Suggests: hime-chewing:i386
  Suggests: hime-qt4-immodule:i386
 |Recommends: <im-config:i386>          <-------------- unavailable
  Recommends: <im-switch:i386>          <-------------- unavailable
  Recommends: hime-gtk3-immodule:i386
  Conflicts: hime

The <pkg> is show "unavailable" in aptitude.

And when I use # aptitude install hime:i386
It will display :
"Depends: hime-data:i386 which is a virtual package."

But the problem is depend on hime-data:i386 , not depend on hime-data.
So I don't know how to ignore it......

I think it's a apt bug . what do you think ?
And , any ideal for solve ?


2015-04-09 20:34 GMT+08:00 Darac Marjal <mailinglist@darac.org.uk>:
On Thu, Apr 09, 2015 at 07:57:43PM +0800, sppmg wrote:
> Hi all
> I want type Chinese in skype in Debian (testing) amd64, so I need this
> package :
> "hime"
> (skype need "hime-qt4-immodule:i386" , I google to get this .)
> It's will depend "hime-data:i386". But .... hime-data is architecture
> independent package, there is no ":i386" .
> How can i solve this ?

According to packages.debian.org, hime-qt4-immodule (0.9.10-5) depends
on hime (>=, which depends on hime-data.

Note that neither of those dependencies specifies an architecture. This
means that any compatible architecture can provide a solution. hime-data
is marked as "arch:all", which means that it can be installed on all
architectures (it is architecture independant).

Therefore, hime-data (arch:all) will satisfy the requirement for
hime-data to an i386 package as well as an amd64 package and so on.

> Thanks
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 55266937.7020706@gmail.com" target="_blank">https://lists.debian.org/[🔎] 55266937.7020706@gmail.com

Reply to: