GrafpupThis forum is for the discussion of Grafpup Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I am new to grafpup, and just tried downloading it the other day. I like the way it works, and decided to remaster a liveCD that has what I want on it, but found that while the remaster worked, it was unable to install packages using gpkgtool. I did some further investigation, and noticed that the pkgsource.txt file from /root/.packages/ was missing. I was able to copy the missing file for my next remaster, and that seems to have solved the problem. So, that is a workaround for the problem, but not a fix.
Doing an internet search, I was unable to find this problem mentioned, so figured I would post.
Bruce
Hi bhigham, thanks for posting on this. It is a known bug but Nathan has not been able to track down the cause. More users are needed to post on this with details of what they were doing just before the pkgsource.txt file went missing. There have been one or two posts on this here and on the puppy and old grafpup forum, all by me and I have not been able to to figure any pattern as to why it disappears yet. I did notice the last time, it was just after I hit the update button. I have been doing the same as you and copying a replacement by booting from the live cd, and I now keep a copy of pkgsource.txt on my data drive so I can replace it quickly.
It may not be the actual remaster that lost it. Have you tried re-mastering after you have checked that it is there?
Mike
Mike,
In the original downloaded iso, the pkgsource.txt file is present, but when remaster recreates the root folder for remaster, if you look in /tmp/root/.packages, there will be a packages.txt, but no pkgsource.txt file. There is the option to add missing files before it is written to the _sfs file, so I simply copied that file into the /tmp/root/.packages folder, and the remaster then worked fine. So, the file is simply skipped in the remaster process it would seem.
Bruce
another note, the pkgsource.txt file never disappears on me(at least not yet), using grafpup 2.00, it simply is not copied to the /tmp/root/.packages folder when a remaster is done
Hi,
I just wanted to jot a quick update on what I have found with remaster.
I edited the pupremaster.sh file in /usr/sbin/ and added the line
cp /root/.packages/pkgsource.txt /tmp/root/.packages/
directly after the line
cp /root/.packages/buildvariables /tmp/root/.packages/
After doing that, the pkgsource.txt file was present in the remastered ISO, and I was able to update the packages without any trouble. I also double checked and the edited version of pupremaster.sh is present in the new ISO as well, so subsequent remasters should also work.
Bruce
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.