All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <poky@yoctoproject.org>
Subject: Re: Zypper question
Date: Tue, 3 May 2011 18:36:38 -0500	[thread overview]
Message-ID: <4DC09186.8010905@windriver.com> (raw)
In-Reply-To: <4DC08B17.2070907@mlbassoc.com>

On 5/3/11 6:09 PM, Gary Thomas wrote:
> I'm trying to set up zypper on a qemu based system.  I've built
> the image & additional packages in 192.168.1.125:/local/qemu_test/tmp/deploy/rpm/
> This system is running lighttpd and has the path http://192.168.1.125/qemu-repo
> set to that path.  I verified it by fetching http://192.168.1.125/qemu-repo/solvedb.conf
> which shows up as
>    /local/qemu_test/tmp/deploy/rpm/qemux86/solvedb
>    /local/qemu_test/tmp/deploy/rpm/i586/solvedb
>    /local/qemu_test/tmp/deploy/rpm/all/solvedb
> 
> On the QEMU system, I ran
>    # zypper addrepo http://192.168.1.125/qemu-repo yocto
>    # zypper refresh
> No errors were reported
> 
> When I tried to install a package, I got this:
>    # zypper install gst-plugins-base
>    Error building the cache.
>    [1] Repository type can't be determined.
>    warning: Disabling repository 'yocto' because of the above error.
> 
> What am I doing wrong?
> 
> Note: I tried to follow https://wiki.pokylinux.org/wiki/Zypper_Repository_Setup
> Can I help with this (edit the page, etc)?  If so, how do I get a login?
> 

This is odd.  I didn't experience these issues when I was doing the development
/ testing.

From the above there is an "Error building the cache."  the only caching steps
that occur during an install is a sync of the system's RPM cache.  If something
is wrong there you can get a similar error.

Try simply running "rpm -qa" and make sure you get reasonable output.  If not,
then RPM isn't installed properly.  (By default on a minimal system, the RPM
database is removed after the rootfs is populated.)

--Mark


  reply	other threads:[~2011-05-03 23:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-03 23:09 Zypper question Gary Thomas
2011-05-03 23:36 ` Mark Hatle [this message]
2011-05-04  1:45   ` Gary Thomas
2011-05-04  4:49     ` Mark Hatle
2011-05-04 11:21       ` Gary Thomas
2011-05-04 15:07         ` Mark Hatle
2011-05-04 15:11           ` Gary Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DC09186.8010905@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.