spacewalk-scripts icon indicating copy to clipboard operation
spacewalk-scripts copied to clipboard

ERROR: rhnpush

Open ssaammoo opened this issue 7 years ago • 1 comments

Hello Philipp,

I am getting below error when trying to sync Ubuntu repo to Spacewalk:

./debianSync.py --username <username> --password 'password' --channel 'trusty-security' --url 'http://mirror.nl.datapacket.com/ubuntu/dists/trusty-security/main/binary-amd64/' --satellite_url='http://spacewalk/' INFO: Repo URL: http://mirror.nl.datapacket.com/ubuntu/dists/trusty-security/main/binary-amd64/ INFO: Repo root: http://mirror.nl.datapacket.com/ubuntu/ INFO: Packages in repo: 6106 INFO: Packages synced: 111 INFO: Packages to sync: 5995 INFO: 1/5995: db5.3-doc_5.3.28-3ubuntu3.1_all.deb ERROR: rhnpush [ rhnpush -c trusty-security -u autoliv-errata -p 515ilNJufm13aliuWW3d /tmp/db5.3-doc_5.3.28-3ubuntu3.1_all.deb ] failed: ('', "ERROR: /tmp/db5.3-doc_5.3.28-3ubuntu3.1_all.deb: This file doesn't appear to be a package\n")

I am not sure if this is rhnpush bug or something to be modified with script, I think the deb package is valid one.

image

Thanks

ssaammoo avatar Nov 16 '18 08:11 ssaammoo

I tried to import it manually and it worked:

# rhnpush -c trusty-security -u <username> -p <password> /tmp/db5.3-doc_5.3.28-3ubuntu3.1_all.deb image

ssaammoo avatar Nov 16 '18 08:11 ssaammoo