<p dir="ltr">Again... List not in cc. :-(</p>
<div class="quote">---------- Weitergeleitete Nachricht ----------<br>Von: Robert Paschedag <robert.paschedag@web.de><br>Datum: 07.12.2015 12:02 nachm.<br>Betreff: Aw: Re: [Spacewalk-list] Install new package to ubuntu client<br>An: Tevfik Ceydeliler <tevfik.ceydeliler@astron.yasar.com.tr><br>Cc: <br><br type='attribution'><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:'verdana';font-size:12px"><div>I think, I fix won't come that soon.... :-(</div>
<div> </div>
<div>To work around, I did</div>
<div> </div>
<div>1. deactivate the schedule for the main channel (we use debian)</div>
<div> </div>
<div>2. Go to /var/cache/rhn/repodata/<channel></div>
<div> </div>
<div>There are 2 files: Packages and Packages.gz</div>
<div> </div>
<div>Edit Packages and add the header</div>
<div> </div>
<div>Multi-Arch: allowed</div>
<div> </div>
<div>to the package section "Package: python", "Package: python2.7" and "Package: python3"</div>
<div> </div>
<div>Example:</div>
<div> </div>
<div>...</div>
<div> </div>
<div>Package: python<br />
Version: 2.7.9-1<br />
Architecture: amd64<br />
Maintainer: Matthias Klose <doko@debian.org><br />
Installed-Size: 680<br />
Provides: python-ctypes, python-email, python-importlib, python-profiler, python-wsgiref<br />
Depends: python2.7 (>= 2.7.9-1~), libpython-stdlib (=2.7.9-1)<br />
Conflicts: python-central (<< 0.5.5)<br />
Replaces: python-dev (<< 2.6.5-2)<br />
Suggests: python-doc (= 2.7.9-1), python-tk (>=2.7.9-1~)<br />
Pre-Depends: python-minimal (= 2.7.9-1)<br />
Breaks: update-manager-core (<< 0.200.5-2)<br />
Multi-Arch: allowed<br />
Filename: XMLRPC/GET-REQ/jessie_main/getPackage/python-2.7.9-1.amd64-deb.deb<br />
Size: 151042</div>
<div> </div>
<div>
<div>...</div>
<div> </div>
<div>3. Recreate the zipped version with</div>
<div> </div>
<div>gzip -c Packages > Packages.gz</div>
<div> </div>
<div>4. Go to you clients and "apt-get update". You maybe have to clean the old lists before on the client</div>
<div> </div>
<div>For me, this works pretty well....right now.</div>
<div> </div>
<div>Regards,</div>
<div>Robert</div>
<div> </div>
<div style="margin:10px 5px 5px 10px;padding:10px 0 10px 10px;border-left:2px solid #c3d9e5;word-wrap:break-word">
<div style="margin:0 0 10px 0"><b>Gesendet:</b> Montag, 07. Dezember 2015 um 07:12 Uhr<br />
<b>Von:</b> "Tevfik Ceydeliler" <tevfik.ceydeliler@astron.yasar.com.tr><br />
<b>An:</b> "Robert Paschedag" <robert.paschedag@web.de><br />
<b>Betreff:</b> Re: [Spacewalk-list] Install new package to ubuntu client</div>
<div>
<div style="background-color:rgb( 255 , 255 , 255 )">I need description step by step :(<br />
or waiting fix.<br />
regards..<br />
<div>On 12/04/2015 06:12 PM, Robert Paschedag wrote:</div>
<blockquote>
<pre>For me right now... because the Python packages are in the unchanging main channel. I deactivated the sync schedule for that channel and added the missing header myself.
Regards
Robert
Am 04.12.2015 4:21 nachm. schrieb Tevfik Ceydeliler <a href="tevfik.ceydeliler@astron.yasar.com.tr"><tevfik.ceydeliler@astron.yasar.com.tr></a>:
</pre>
<blockquote>
<pre>ANy action or workaround about this issue?
On 12/04/2015 02:06 PM, Robert Paschedag wrote:
</pre>
<blockquote>
<pre>Look's like this..
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1243387">https://bugzilla.redhat.com/show_bug.cgi?id=1243387</a>
Regard
Robert
Am 04.12.2015 12:40 schrieb Tevfik Ceydeliler <a href="tevfik.ceydeliler@astron.yasar.com.tr"><tevfik.ceydeliler@astron.yasar.com.tr></a>:
</pre>
<blockquote>
<pre>Hi,
I have ubuntu 14.04 client and need to install some packages.
When I try to install package I get some errors:
###############################################################################################################
root@spaceclient:/# apt-get update
Apt-Spacewalk: Updating sources.list
Ign spacewalk://spacewalk.yasar.net channels: InRelease
Ign spacewalk://spacewalk.yasar.net channels: Release.gpg
Ign spacewalk://spacewalk.yasar.net channels: Release
Ign spacewalk://spacewalk.yasar.net channels:/main amd64 Packages/DiffIndex
Ign spacewalk://spacewalk.yasar.net channels:/main i386 Packages/DiffIndex
Get:1 spacewalk://spacewalk.yasar.net channels:/main amd64 Packages [2.022 kB]
Get:2 spacewalk://spacewalk.yasar.net channels:/main i386 Packages [2.022 kB]
Ign spacewalk://spacewalk.yasar.net channels:/main Translation-en_US
Ign spacewalk://spacewalk.yasar.net channels:/main Translation-en
Fetched 4.044 kB in 1s (3.819 kB/s)
Reading package lists... Done
root@spaceclient:/#
root@spaceclient:/#
root@spaceclient:/#
root@spaceclient:/#
root@spaceclient:/# apt-get install mysql-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
apt-xapian-index : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
dh-python : Depends: python3:any (>= 3.3.2-2~) but it is not installable
landscape-common : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
language-selector-common : Depends: python3:any (>= 3.3.2-2~) but it is not installable
lsb-release : Depends: python3:any (>= 3.3.2-2~) but it is not installable
mysql-client : Depends: mysql-client-5.5 but it is not going to be installed
python-apt : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
python-chardet : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
python-configobj : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
python-dbus : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
python-debian : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
python-gi : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
python-gobject-2 : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
python-libxml2 : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
python-newt : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
python-openssl : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
python-pkg-resources : Depends: python:any (>= 2.7) but it is not installable
Depends: python:any (< 2.8) but it is not installable
python-requests : Depends: python:any (< 2.8) but it is not installable
Depends: python:any (>= 2.7.5-5~) but it is not installable
python-serial : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
python-six : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
python-twisted-core : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
python-urllib3 : Depends: python:any (>= 2.7.5-5~) but it is not installable
Depends: python:any (< 2.8) but it is not installable
python-xapian : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
python-zope.interface : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
python3-apport : Depends: python3:any (>= 3.3.2-2~) but it is not installable
python3-commandnotfound : Depends: python3:any (>= 3.3.2-2~) but it is not installable
python3-distupgrade : Depends: python3:any (>= 3.3.2-2~) but it is not installable
python3-problem-report : Depends: python3:any (>= 3.3.2-2~) but it is not installable
python3-software-properties : Depends: python3:any (>= 3.3.2-2~) but it is not installable
python3-update-manager : Depends: python3:any (>= 3.3.2-2~) but it is not installable
software-properties-common : Depends: python3:any (>= 3.3.2-2~) but it is not installable
ubuntu-release-upgrader-core : Depends: python3:any (>= 3.2~) but it is not installable
ufw : Depends: python3:any (>= 3.3.2-2~) but it is not installable
update-manager-core : Depends: python3:any (>= 3.2~) but it is not installable
update-notifier-common : Depends: python3:any but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
###############################################################################################################
I check some thing:
###############################################################################################################
root@spaceclient:/# apt-cache policy python python3
python:
Installed: 2.7.5-5ubuntu3
Candidate: 2.7.5-5ubuntu3
Version table:
*** 2.7.5-5ubuntu3 0
500 spacewalk://spacewalk.yasar.net/ channels:/main amd64 Packages
100 /var/lib/dpkg/status
python3:
Installed: 3.4.0-0ubuntu2
Candidate: 3.4.0-0ubuntu2
Version table:
*** 3.4.0-0ubuntu2 0
500 spacewalk://spacewalk.yasar.net/ channels:/main amd64 Packages
100 /var/lib/dpkg/status
###############################################################################################################
and
###############################################################################################################
root@spaceclient:/# rhn-profile-sync -vvv
updateLoginInfo() login info
D: login(forceUpdate=True) invoked
logging into up2date server
D: rpcServer: Calling XMLRPC up2date.login
D: writeCachedLogin() invoked
D: Wrote pickled loginInfo at 1446136088.76 with expiration of 1446139688.76 seconds.
successfully retrieved authentication token from up2date server
D: logininfo:{'X-RHN-Server-Id': 1000010010, 'X-RHN-Auth-Server-Time': '1449229140.53', 'X-RHN-Auth': '8+MrJAzOO1hfSeUSrwcMaVG2sYLPwWvsgYlHMGJqCVM=', 'X-RHN-Auth-Channels': [['trusty', '20151203161949', '1', '1']], 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'}
Updating package profile...
Updating package profile
D: rpcServer: Calling XMLRPC registration.welcome_message
D: rpcServer: Calling XMLRPC registration.update_packages
Updating hardware profile...
Warning: haldaemon or messagebus service not running. Cannot probe hardware and DMI information.
root@spaceclient:/# rhn-channel -l
trusty
###############################################################################################################
My /etc/apt/source.list file is like this:
###############################################################################################################
deb spacewalk://spacewalk.yasar.net/XMLRPC channels: trusty
###############################################################################################################
I really dont know what is wrong.
Have you any idea?
--
Bu elektronik postada bulunan tum fikir ve gorusler ve ekindeki dosyalar sadece adres sahip/sahiplerine ait olup, Yasar Toplulugu Sirketleri bu mesajin icerigi ile ilgili olarak hic bir hukuksal sorumlulugu kabul etmez. Eger gonderilmesi dusunulen kisi veya kurulus degilseniz, lutfen gonderen kisiyi derhal haberdar ediniz ve mesaji sisteminizden siliniz.The information contained in this e-mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed and Yasar Group Companies do not accept legal responsibility for the contents. If you are not the intended recipient, please immediately notify the sender and delete it from your system.
</pre>
</blockquote>
</blockquote>
<pre>--
Bu elektronik postada bulunan tum fikir ve gorusler ve ekindeki dosyalar sadece adres sahip/sahiplerine ait olup, Yasar Toplulugu Sirketleri bu mesajin icerigi ile ilgili olarak hic bir hukuksal sorumlulugu kabul etmez. Eger gonderilmesi dusunulen kisi veya kurulus degilseniz, lutfen gonderen kisiyi derhal haberdar ediniz ve mesaji sisteminizden siliniz.The information contained in this e-mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed and Yasar Group Companies do not accept legal responsibility for the contents. If you are not the intended recipient, please immediately notify the sender and delete it from your system.</pre>
</blockquote>
</blockquote>
<div>--<br />
<img border="0" src="cid:part1.04050307.02020703@astron.yasar.com.tr" /></div>
<br />
<img src="http://www.yasar.com.tr/banner/astbanner.jpg" /><br />
<br />
Bu elektronik postada bulunan tum fikir ve gorusler ve ekindeki dosyalar sadece adres sahip/sahiplerine ait olup, Yasar Toplulugu Sirketleri bu mesajin icerigi ile ilgili olarak hic bir hukuksal sorumlulugu kabul etmez. Eger gonderilmesi dusunulen kisi veya kurulus degilseniz, lutfen gonderen kisiyi derhal haberdar ediniz ve mesaji sisteminizden siliniz.The information contained in this e-mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed and Yasar Group Companies do not accept legal responsibility for the contents. If you are not the intended recipient, please immediately notify the sender and delete it from your system.</div>
</div>
</div>
</div></div></div></blockquote></div>