Help - Search - Members - Calendar
Full Version: Pkg Manager - Double Entries [solved]
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
Jon_J
I downloaded both pdaxrom feeds tar.tgz to my CF card and following meanie's instructions to set up a local feed.
QUOTE
To create your own custom local feed, you can download the beta1 feed.tar.gz files for the generic and C3x00 specific one.

You can then merge the two feeds (and any additional ones) onto your internal MicroDrive or one of the external cards. Just extract the files into a directory (extract the 7x0 archive first and then the C3100 one on top of it to eliminate the duplicates). Then use ipkg-make-index to generate a new Packages file for the feed.

When I updated the package manager, I have many duplicate entries. How do I remove these duplicates from the package manager?

I opened the "Packages" file in a text editor and there are 3 separate "packages" files in one. How did this happen?
I deleted the "Packages" file and re-created it with ipkg-make-index, but it still has 3 packages lists in one file.
What I mean by 3 in one, is when you get to the last package in the alphabet "zkbdd", it starts over again with "abiword". It does this 2 times, to add up to 3 complete lists.

I checked my packages folder, and there are no duplicate filenames.

I only have one feed listed on the Settings page, I removed the others to try to remove the duplicates.
local-cf file:///mnt/cf/feed

EDIT:
See post #4 (somehow this problem got fixed) smile.gif
http://www.oesf.org/forums/index.php?showt...ndpost&p=158666
Jon_J
Since no one has come up with a solution for this, I decided to edit this "Packages" file manually.
Using textpad, which opens and saves UNIX files, on my windows box, I search for duplicates and delete the entries, one by one.
This will probably take me a week to do, since I only have patience to do about 50 entries in one sitting.
Armagon
QUOTE(Jon_J @ Apr 12 2007, 12:20 PM)
Since no one has come up with a solution for this, I decided to edit this "Packages" file manually.
Using textpad, which opens and saves UNIX files, on my windows box, I search for duplicates and delete the entries, one by one.
This will probably take me a week to do, since I only have patience to do about 50 entries in one sitting.
*


I'm afraid I don't know much about the package database, and really don't know the answer to your question.

I am worried, though, that all your work might be lost when you update the package list -- it is worth testing.

If entries are just one line each, you may be able to do something like this from a linux command line. (I don't know if the Z has these tools installed, but you'll find them on any desktop system.)

cat PackageList | sort | uniq > NewPackageList

Sorry I can't be of more assistance.
Jon_J
Thanks for your reply Armagon.
I'm looking at the "Packages" file, not "PackageList" file
I guess this is just a bug that everyone puts up with, and there is no solution.
Having all the packages listed in triplicate makes for a lot more scrolling in the GUI package manager.

EDIT:
I deleted the "Packages" file from my CF card once more and waited awhile.
I did another "ipkg-make-index" and updated the package manager, and this time all the duplicates were gone!
Some files are missing from the list in the package manager, but I'm glad the dupes are now gone. smile.gif
I updated the title to this thread.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2015 Invision Power Services, Inc.