Mailinglist Archive: zypp-devel (52 mails)
| < Previous | Next > |
RE: [zypp-devel] Unable to install ARM packages.
- From: "Zhang, Qiang Z" <qiang.z.zhang@xxxxxxxxx>
- Date: Wed, 7 Sep 2011 09:30:32 +0800
- Message-id: <CF2F38D4AE21BB4CB845318E4C5ECB6712DB6E063A@shsmsx501.ccr.corp.intel.com>
The root cause is some packages is not installable, such as the following line
in logs:
2000-01-01 08:41:52 <1> localhost.localdomain(3969) [zypp]
SATResolver.cc(problems):1091 nano-2.2.4-3.139.armv7hl is not installable
I have checked the related code, and found the uninstallable flag is set in
solver_addrpmrulesforsolvable() as follows:
if (!dontfix
&& s->arch != ARCH_SRC
&& s->arch != ARCH_NOSRC
&& !pool_installable(pool, s))
{
addrpmrule(solv, -n, 0, SOLVER_RULE_RPM_NOT_INSTALLABLE, 0);
}
And I think pool_installable(pool, s) return 0, so let's go into it:
static inline int pool_installable(const Pool *pool, Solvable *s)
{
if (!s->arch || s->arch == ARCH_SRC || s->arch == ARCH_NOSRC)
return 0;
if (s->repo && s->repo->disabled)
return 0;
if (pool->id2arch && (s->arch > pool->lastarch || !pool->id2arch[s->arch]))
return 0;
if (pool->considered)
{
Id id = s - pool->solvables;
if (!MAPTST(pool->considered, id))
return 0;
}
return 1;
}
I think it's still the arch issue, could you please debug this function and
check each conditions?
Developers, any other suggestions?
Thanks
Xiaoqiang
-----Original Message-----
From: Marko Saukko [mailto:marko.saukko@xxxxxxxxxxxx]
Sent: Tuesday, September 06, 2011 10:28 PM
To: zypp-devel@xxxxxxxxxxxx
Subject: [zypp-devel] Unable to install ARM packages.
Hi,
In MeeGo 1.3 we are having a lot of problems with ARM architecture where
are are not able to install packages.
Output to the terminal when "zypper install nano" is called:
http://pastie.org/2491766
/var/log/zypper.log file: http://pastie.org/2491761
Any suggestions?
libzypp has already the linker.patch that adds the "list( REVERSE
zypp_lib_SRCS )" line to zypp/CMakeLists.txt.
Regards,
Marko
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
in logs:
2000-01-01 08:41:52 <1> localhost.localdomain(3969) [zypp]
SATResolver.cc(problems):1091 nano-2.2.4-3.139.armv7hl is not installable
I have checked the related code, and found the uninstallable flag is set in
solver_addrpmrulesforsolvable() as follows:
if (!dontfix
&& s->arch != ARCH_SRC
&& s->arch != ARCH_NOSRC
&& !pool_installable(pool, s))
{
addrpmrule(solv, -n, 0, SOLVER_RULE_RPM_NOT_INSTALLABLE, 0);
}
And I think pool_installable(pool, s) return 0, so let's go into it:
static inline int pool_installable(const Pool *pool, Solvable *s)
{
if (!s->arch || s->arch == ARCH_SRC || s->arch == ARCH_NOSRC)
return 0;
if (s->repo && s->repo->disabled)
return 0;
if (pool->id2arch && (s->arch > pool->lastarch || !pool->id2arch[s->arch]))
return 0;
if (pool->considered)
{
Id id = s - pool->solvables;
if (!MAPTST(pool->considered, id))
return 0;
}
return 1;
}
I think it's still the arch issue, could you please debug this function and
check each conditions?
Developers, any other suggestions?
Thanks
Xiaoqiang
-----Original Message-----
From: Marko Saukko [mailto:marko.saukko@xxxxxxxxxxxx]
Sent: Tuesday, September 06, 2011 10:28 PM
To: zypp-devel@xxxxxxxxxxxx
Subject: [zypp-devel] Unable to install ARM packages.
Hi,
In MeeGo 1.3 we are having a lot of problems with ARM architecture where
are are not able to install packages.
Output to the terminal when "zypper install nano" is called:
http://pastie.org/2491766
/var/log/zypper.log file: http://pastie.org/2491761
Any suggestions?
libzypp has already the linker.patch that adds the "list( REVERSE
zypp_lib_SRCS )" line to zypp/CMakeLists.txt.
Regards,
Marko
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |