AW: fam0.8.4opie: cannot install packages to cf (iPAQ 3660+Jacket)
"Heiko Graf" <[email protected]>
| Newsgroups | gmane.comp.handhelds.linux.familiar,gmane.comp.handhelds.linux.familiar.devel |
|---|---|
| Organization | IMA |
| Message-ID | <[email protected]> |
I found something - maybe a bug - in the /usr/bin/ipkg-link script. On my iPAQ, I need every library linked in the following way: (where n.m.o is the version number and /media/cf my target media for the package installation) /usr/lib/LIBRARY.so.n.m.o -> /media/cf/usr/lib/LIBRARY.so.n.m.o /usr/lib/LIBRARY.so.n.m -> /media/cf/usr/lib/LIBRARY.so.n.m.o /usr/lib/LIBRARY.so.n -> /media/cf/usr/lib/LIBRARY.so.n.m.o Note, that the target version number is always the same and complete. The ipkg-link script creates links for the files installed on /media/cf, taken from the control-file of the packages. In these control-files the libraries are listed with full version number and with shortened ones. As ipkg-link simply parses this list, the links consequently look like: /usr/lib/LIBRARY.so.n.m.o -> /media/cf/usr/lib/LIBRARY.so.n.m.o /usr/lib/LIBRARY.so.n.m -> /media/cf/usr/lib/LIBRARY.so.n.m /usr/lib/LIBRARY.so.n -> /media/cf/usr/lib/LIBRARY.so.n So only the first link really links a library, whereas the following do not exist. The best possible solution would be to change the ipkg-link script in order to create links for the shortened version numbers as well, all pointing to the same library on the target media (as shown above). One could e.g. compare the last character with numbers and than crop the filename, create a link and repeat the procedure until one reaches the ".so"... I think this has to reach the maintainers of ipkg-link, since it concerns nearly every package installation with a target othear than the root-fs. I can hardly install a single package without errors... best regards, heiko. > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:familiar- > [email protected]] Im Auftrag von Heiko Graf > Gesendet: Freitag, 28. September 2007 11:38 > An: 'Juan Pablo Ramirez'; [email protected] > Betreff: AW: [Familiar] fam0.8.4opie: cannot install packages to cf > (iPAQ 3660+Jacket) > > Hi Juan Pablo, > > thanks for your quick help. I tried to use ipkg (which is in fact the > same > package manager, the opie-GUI is using) but the same problem arises. As > soon > as I install libopiemm2-1, it says: > "ipkg: Cannot create symlink from > ./opt/QtPalmtop/lib/libopiemm2.so.1.9.0 to > 'libopiemm2.so.1.9.0': Operation not permitted." > Same for libopiemm2.so.1.9 down to libopiemm2.so. > Manually creating these links is no problem. > Permissions seam to be ok. > > While reading the Wiki for ipkg, I found an old issue (familiar 0.8.1), > describing exactly my problem. > here it is: > "ipkg-link won't link files on /media mount points > > This is caused by the fact, that the /mnt mount points haven't been > changed > to /media ones (in the ipkg-link). You can either use /mnt > destinations > in ipkg.conf or correct the ipkg-link script. To do the last run: > > cat /usr/bin/ipkg-link|sed s/mnt/media/>/usr/bin/ipkg-link > > Now the old mount points (/mnt) had been updated to /media" > > I applied this workaround an changed the ipkg-link script, but it had > no > effect. > I´m still trying to figure out, what the problem is... > perhaps I have to link /mnt to /media, which makes no sense for in /mnt > cf > is linked to /media/cf. > > Regards, Heiko. > > > > -----Ursprüngliche Nachricht----- > > Von: Juan Pablo Ramirez [mailto:[email protected]] > > Gesendet: Donnerstag, 27. September 2007 20:28 > > An: Heiko Graf > > Betreff: Re: [Familiar] fam0.8.4opie: cannot install packages to cf > > (iPAQ 3660+Jacket) > > > > Hi Heiko, > > > > Perhaps you should take a look at ipkg and ipkg-link. Using that > > package manager (ipkg) and its linking utility you should be able to > > install stuff to your card and auto-link it. Check the Handhelds Wiki > > for very complete documentation on those subjects. Its very easy > > despite of having to use the terminal instead of the package manager, > > which I don't know if supports storage cards or not. > > > > Hope this helps. > > _______________________________________________ > The Familiar Linux Distribution > Familiar mailing list > [email protected] > https://handhelds.org/mailman/listinfo/familiar > irc://irc.freenode.net #familiar _______________________________________________ The Familiar Linux Distribution Familiar mailing list [email protected] https://handhelds.org/mailman/listinfo/familiar irc://irc.freenode.net #familiar