Giter Site home page Giter Site logo

spacewalk-debian-sync's Introduction

spacewalk-debian-sync

An improvised repo-sync to bring Debian packages into Spacewalk

spacewalk-debian-sync's People

Contributors

stevemeier avatar tamcore avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

spacewalk-debian-sync's Issues

Can't seem to run script

When I attempt to run the script

./spacewalk-debian-sync.pl --username testadmin --password 'P@$$Word12345!' --channel 'ubuntu-12.04' --url 'http://de.archive.ubuntu.com/ubuntu/dists/precise/main/binary-amd64/'

I get the following error:

Can't locate WWW/Mechanize.pm in @inc (@inc contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./spacewalk-debian-sync.pl line 38.
BEGIN failed--compilation aborted at ./spacewalk-debian-sync.pl line 38.

not pull packages

fault returned from XML RPC Server,fault code -210 :redstone.xmlrpc.XMLrpcFault: No such channel

File not a package

So I got your last script version and installed all necessary modules. But the sync stops:

./spacewalk-debian-sync.pl --username admin --password ****** --channel trusty-updates --url 'http://de.archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/'

INFO: 1/8557 : language-pack-gnome-mt-base_14.04+20140410_all.deb
ERROR: /tmp/language-pack-gnome-mt-base_14.04+20140410_all.deb: This file doesn't appear to be a package
ERROR: rhnpush failed

Handling of Packages.gz

Please note that in my case Packages.gz is downloaded ALREADY uncompressed, so trying to uncompress it kicks off an error.

Error: "Package arch all-deb incompatible with channel ubuntu12.04-main"

I tried this script with ubuntu main repo and created a channel with arch set to x86_64 but the rhnpush fails with

INFO: Repo URL: http://de.archive.ubuntu.com/ubuntu/dists/precise/main/binary-amd64/
INFO: Ubuntu root is http://de.archive.ubuntu.com/ubuntu/
INFO: Fetching Packages.gz... done
INFO: Packages in repo:     8076
INFO: Packages already synced:  0
INFO: Packages to sync:     8076
INFO: 1/8076 : language-pack-si_12.04+20120417_all.deb

Error Message:
    Package arch all-deb incompatible with channel ubuntu12.04-main
Error Class Code: 50
Error Class Info: Invalid information uploaded to the server

ERROR: rhnpush failed

Do I need a "special" setup for the channels ?

(Tried with Spacewalk 2.2. Maybe that matters)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.