The time now is Sun 19 May 2013, 19:33
All times are UTC - 4 |
| Author |
Message |
shankargopal
Joined: 03 Dec 2005 Posts: 295
|
Posted: Fri 02 Oct 2009, 08:50 Post subject:
Not able to add repository to PPM in dpup |
|
Not sure if this is a dpup bug or a PPM bug, but thought best place to post it is here...
Just as an experiment, was trying to add the Enlightenment DR17 lenny repository to PPM in dpup 476j (the most recent version, 477beta1 has not come out yet). After rereading the README-add-repo.htm file several times , I changed the lines in DISTRO_PKGS_SPECS to read:
| Code: |
PKG_DOCS_DISTRO_COMPAT="ftp.uwa.edu.au/mirrors/linux/|ftp://ftp.uwa.edu.au/mirrors/linux/debian/dists/${DISTRO_COMPAT_VERSION}/main/binary-i386/Packages.bz2|Packages-debian-${DISTRO_COMPAT_VERSION}-main ftp.uwa.edu.au/mirrors/linux/|ftp://ftp.uwa.edu.au/mirrors/linux/debian/dists/${DISTRO_COMPAT_VERSION}/non-free/binary-i386/Packages.bz2|Packages-debian-${DISTRO_COMPAT_VERSION}-non-free ftp.uwa.edu.au/mirrors/linux/|ftp://ftp.uwa.edu.au/mirrors/linux/debian/dists/${DISTRO_COMPAT_VERSION}/contrib/binary-i386/Packages.bz2|Packages-debian-${DISTRO_COMPAT_VERSION}-contrib packages.enlightenment.org|http://packages.enlightenment.org/debian/dists/lenny/main/binary-i386/Packages|Packages-debian-lenny-enlightenment-main"
REPOS_DISTRO_COMPAT="ftp.uwa.edu.au/mirrors/linux|ftp://ftp.uwa.edu.au/mirrors/linux/debian|Packages-debian-${DISTRO_COMPAT_VERSION}-* mirrors.kernel.org|http://mirrors.kernel.org/debian|Packages-debian-${DISTRO_COMPAT_VERSION}-* ftp.de.debian.org|http://ftp.de.debian.org/debian|Packages-debian-${DISTRO_COMPAT_VERSION}-* ftp.au.debian.org|http://ftp.au.debian.org/debian|Packages-debian-${DISTRO_COMPAT_VERSION}-* packages.enlightenment.org|http://packages.enlightenment.org/debian|Packages-debian-lenny-enlightenment-main"
|
Or, in short, added "packages.enlightenment.org|http://packages.enlightenment.org/debian/dists/lenny/main/binary-i386/Packages|Packages-debian-lenny-enlightenment-main" to PKGS_DOCS_DISTRO_COMPAT and the packages directory to REPOS_DISTRO_COMPAT. When I then ask PPM to update the repos, it reaches the Enlightenment one and downloads the Packages file. Immediately after downloading the Packages file, the wget window closes and nothing seems to happen - the usual "processing package database" does not appear. Any idea what is going wrong? Can't even see any error message because it closes so fast. Could go into the code and make rxvt not close, so I can see the error message, but thought I would run it by here first.
Thanks!
|
|
Back to top
|
|
 |
shankargopal
Joined: 03 Dec 2005 Posts: 295
|
Posted: Fri 02 Oct 2009, 12:02 Post subject:
|
|
Ok, managed to fix that bit. The 0setup script was expecting a bz2 file when the repository only provided uncompressed and gzipped package lists. So added the following kludge to 0setup:
| Code: |
xDLFILE="`basename $DLFILE .bz2`"
UNZIP="bunzip2"
echo $DLFILE | grep gz && UNZIP="gunzip" && xDLFILE="`basename $DLFILE .gz`"
# bunzip2 $DLFILE
$UNZIP $DLFILE
|
around line 94 in 0setup. Then changed DISTRO_PKGS_SPECS to point to the Packages.gz file, and, surprisingly enough, it worked.
Now I have two other problems, though. One of them is that, when I try to download packages, the packages.enlightenment.org server is not one of the download options listed, even though it's included in REPOS_DISTRO_COMPAT. The other problem is with dependency resolution, which I've described in a different thread .
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|