Welcome, Guest. Please login or register.
April 18, 2014, 12:35:43 PM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Bugs
| | |-+  "pisi ix" can't index delta packages ? [solved]
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: "pisi ix" can't index delta packages ? [solved]  (Read 1700 times)
Usman
Newbie
*
Posts: 6


View Profile
« on: June 01, 2011, 07:42:55 AM »

Hello, i want to create local repository,
afaik, some commands to make local repository is :
 index our *.pisi files with "pisi ix"
 add repository with "pisi ar"

But when i try "pisi ix", only *.pisi files added to index, and no *.delta.pisi files added to index. So i can't update with *.delta.pisi packages.

For example : (my pisi files is in "/home/usman/packages")  :

usman@pardus2011 ~ $ ls packages
dbus-53-55-p11-i686.delta.pisi   ffmpeg-90-91-p11-i686.delta.pisi  timezone-0.0_20110315-6-p11-i686.pisi
expat-10-13-p11-i686.delta.pisi  pciutils-3.1.7-20-p11-i686.pisi
usman@pardus2011 ~ $ pisi ix --skip-signing -v -o /home/usman/packages/pisi-index.xml /home/usman/packages
* Building index of PiSi files under /home/usman/packages
Adding /home/usman/packages/timezone-0.0_20110315-6-p11-i686.pisi to package index
Adding /home/usman/packages/pciutils-3.1.7-20-p11-i686.pisi to package index
* Index file written
usman@pardus2011 ~ $

The message clearly describe if only *.pisi packages add to index.
Another clue is pisi-index.xml file only contains data from *.pisi packages (timezone & pciutils), no data from *.delta.pisi files.
« Last Edit: June 01, 2011, 20:06:19 PM by Usman » Logged
a.palius
Pardus fellow craft
**
Posts: 132


View Profile
« Reply #1 on: June 01, 2011, 10:05:04 AM »

usman@pardus2011 ~ $ ls packages
dbus-53-55-p11-i686.delta.pisi   ffmpeg-90-91-p11-i686.delta.pisi  timezone-0.0_20110315-6-p11-i686.pisi
expat-10-13-p11-i686.delta.pisi  pciutils-3.1.7-20-p11-i686.pisi

You have no dbus-55-p11-i686.pisi, ffmpeg-91-p11-i686.pisi and expat-13-p11-i686.pisi in "/home/usman/packages", so I guess that delta files are not indexed.
Logged
Usman
Newbie
*
Posts: 6


View Profile
« Reply #2 on: June 01, 2011, 20:02:56 PM »

Thank you a.palius, You are right.  Grin

usman@pardus2011 ~ $ ls test
dbus-1.4.1-55-p11-i686.pisi  dbus-53-55-p11-i686.delta.pisi
usman@pardus2011 ~ $ pisi ix --skip-signing -v -o /home/usman/test/pisi-index.xml /home/usman/test
* Building index of PiSi files under /home/usman/test
Adding /home/usman/test/dbus-1.4.1-55-p11-i686.pisi to package index
* Index file written
usman@pardus2011 ~ $

And now pisi-index.xml file contain delta data like this :
<Package>
        <Name>dbus</Name>
        ....
        ....
        <DeltaPackages>
                    <Delta releaseFrom="53">
                        <PackageURI>dbus-53-55-p11-i686.delta.pisi</PackageURI>
                        <PackageSize>214443</PackageSize>
                        <PackageHash>c5d5dde0c18925bbd571250cfb0f977a885cf54c</PackageHash>
                    </Delta>
        </DeltaPackages>
        ....
        ....
</Package>

So.. this is not a bug.  Grin
« Last Edit: June 01, 2011, 20:16:56 PM by Usman » Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!