Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 685650 Details for
Bug 903068
packages in spacewalk are allways for "apt-get upgrade"
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
quick patch which solved the problem for me
deb_packeges_fix.diff (text/plain), 1.64 KB, created by
Peter Hudec
on 2013-01-23 04:48:18 UTC
(
hide
)
Description:
quick patch which solved the problem for me
Filename:
MIME Type:
Creator:
Peter Hudec
Created:
2013-01-23 04:48:18 UTC
Size:
1.64 KB
patch
obsolete
>diff --git a/java/code/src/com/redhat/rhn/taskomatic/task/repomd/DebPackageWriter.java b/java/code/src/com/redhat/rhn/taskomatic/task/repomd/DebPacka >index e177eec..ce73a4a 100644 >--- a/java/code/src/com/redhat/rhn/taskomatic/task/repomd/DebPackageWriter.java >+++ b/java/code/src/com/redhat/rhn/taskomatic/task/repomd/DebPackageWriter.java >@@ -107,9 +107,12 @@ public class DebPackageWriter { > out.write(pkgDto.getVendor()); > out.newLine(); > >- out.write("Installed-Size: "); >- out.write(pkgDto.getPackageSize().toString()); >- out.newLine(); >+ Long packagePayloadSize = pkgDto.getPayloadSize(); >+ if (packagePayloadSize > 0 ) { >+ out.write("Installed-Size: "); >+ out.write(pkgDto.getPayloadSize().toString()); >+ out.newLine(); >+ } > > // dependencies > addPackageDepData(out, providesIterator, >diff --git a/backend/common/rhn_deb.py b/backend/common/rhn_deb.py >index db2009a..570c795 100644 >--- a/backend/common/rhn_deb.py >+++ b/backend/common/rhn_deb.py >@@ -57,7 +57,8 @@ class deb_Header: > for hdr_k, deb_k in [('requires', 'Depends'), > ('provides', 'Provides'), > ('conflicts', 'Conflicts'), >- ('obsoletes', 'Replaces')]: >+ ('obsoletes', 'Replaces'), >+ ('payload_size', 'Installed-Size')]: > if debcontrol.has_key(deb_k): > self.hdr[hdr_k] = debcontrol.get_as_string(deb_k) > for k in debcontrol.keys():
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 903068
: 685650 |
880583
|
881636
|
881637