Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-134

Repo refuses to download packages: "Package does not match intended download"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public
    • Labels:
      None
    • Environment:
      CentOS 5.8

      Description

      Doing this:

      wget -O/etc/yum.repos.d/couchbase.repo http://packages.couchbase.com/rpm/couchbase-centos55-x86_64.repo
      yum clean all
      yum install -y libcouchbase2.x86_64 libcouchbase-devel

      Results in a failed install/update with these errors:

      [root@host ~]# yum install -y libcouchbase2.x86_64 libcouchbase-devel
      Loaded plugins: fastestmirror
      Loading mirror speeds from cached hostfile

      • base: mirrors.sonic.net
      • centosplus: mirror.hmc.edu
      • epel: mirrors.solfo.com
      • extras: mirror.stanford.edu
      • updates: mirrors.arpnetworks.com
        Setting up Install Process
        Resolving Dependencies
        --> Running transaction check
        ---> Package libcouchbase-devel.x86_64 0:2.0.0-1 set to be updated
        --> Processing Dependency: libcouchbase2-core for package: libcouchbase-devel
        --> Processing Dependency: libcouchbase.so.2()(64bit) for package: libcouchbase-devel
        ---> Package libcouchbase2.x86_64 0:2.0.0-1 set to be updated
        --> Processing Dependency: libcouchbase2-backend for package: libcouchbase2
        --> Running transaction check
        ---> Package libcouchbase2-core.x86_64 0:2.0.0-1 set to be updated
        ---> Package libcouchbase2-libev.x86_64 0:2.0.0-1 set to be updated
        --> Finished Dependency Resolution

      Dependencies Resolved

      =======================================================================
      Package Arch Version Repository Size
      =======================================================================
      Installing:
      libcouchbase-devel x86_64 2.0.0-1 couchbase 52 k
      libcouchbase2 x86_64 2.0.0-1 couchbase 26 k
      Installing for dependencies:
      libcouchbase2-core x86_64 2.0.0-1 couchbase 82 k
      libcouchbase2-libev x86_64 2.0.0-1 couchbase 31 k

      Transaction Summary
      =======================================================================
      Install 4 Package(s)
      Upgrade 0 Package(s)

      Total download size: 191 k
      Downloading Packages:
      (1/4): libcouchbase2-2.0.0-1.x86_64.rpm | 26 kB 00:00
      http://packages.couchbase.com/rpm/5.5/x86_64/libcouchbase2-2.0.0-1.x86_64.rpm: [Errno -1] Package does not match intended download
      Trying other mirror.
      (2/4): libcouchbase2-libev-2.0.0-1.x86_64.rpm | 31 kB 00:00
      http://packages.couchbase.com/rpm/5.5/x86_64/libcouchbase2-libev-2.0.0-1.x86_64.rpm: [Errno -1] Package does not match intended download
      Trying other mirror.
      (3/4): libcouchbase-devel-2.0.0-1.x86_64.rpm | 52 kB 00:01
      http://packages.couchbase.com/rpm/5.5/x86_64/libcouchbase-devel-2.0.0-1.x86_64.rpm: [Errno -1] Package does not match intended download
      Trying other mirror.
      (4/4): libcouchbase2-core-2.0.0-1.x86_64.rpm | 82 kB 00:00
      http://packages.couchbase.com/rpm/5.5/x86_64/libcouchbase2-core-2.0.0-1.x86_64.rpm: [Errno -1] Package does not match intended download
      Trying other mirror.

      Error Downloading Packages:
      libcouchbase2-2.0.0-1.x86_64: failure: libcouchbase2-2.0.0-1.x86_64.rpm from couchbase: [Errno 256] No more mirrors to try.
      libcouchbase2-core-2.0.0-1.x86_64: failure: libcouchbase2-core-2.0.0-1.x86_64.rpm from couchbase: [Errno 256] No more mirrors to try.
      libcouchbase-devel-2.0.0-1.x86_64: failure: libcouchbase-devel-2.0.0-1.x86_64.rpm from couchbase: [Errno 256] No more mirrors to try.
      libcouchbase2-libev-2.0.0-1.x86_64: failure: libcouchbase2-libev-2.0.0-1.x86_64.rpm from couchbase: [Errno 256] No more mirrors to try.

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        chuyskywalker Jeff Minard added a comment -

        ...aaaand now it's working. Maybe the repo files were slow to update? Or perhaps you fixed it? Either way, it installed now after another round of clean && check-update

        Show
        chuyskywalker Jeff Minard added a comment - ...aaaand now it's working. Maybe the repo files were slow to update? Or perhaps you fixed it? Either way, it installed now after another round of clean && check-update
        Hide
        chuyskywalker Jeff Minard added a comment -
        Show
        chuyskywalker Jeff Minard added a comment - Possibly bad meta data? http://forums.famillecollet.com/viewtopic.php?id=402
        Hide
        chuyskywalker Jeff Minard added a comment -

        Yeah, doing

        1. yum clean all
        2. yum check-update

        Shows a few out of data packages (httpd, iptables, kernel, etc) just general "haven't updated my dev machine in a while" stuff. Install command still fails the same.

        Show
        chuyskywalker Jeff Minard added a comment - Yeah, doing yum clean all yum check-update Shows a few out of data packages (httpd, iptables, kernel, etc) just general "haven't updated my dev machine in a while" stuff. Install command still fails the same.
        Hide
        avsej Sergey Avseyev added a comment -

        Could you run yum check-update, just to ensure everything in sync?

        Show
        avsej Sergey Avseyev added a comment - Could you run yum check-update, just to ensure everything in sync?

          People

          • Assignee:
            avsej Sergey Avseyev
            Reporter:
            chuyskywalker Jeff Minard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes