LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Grafpup
User Name
Password
Grafpup This forum is for the discussion of Grafpup Linux.

Notices



Reply
 
Search this Thread
Old 07-07-2007, 04:06 PM   #1
bhigham
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Rep: Reputation: 0
Remaster doesn't copy pkgsource.txt


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
 
Old 07-08-2007, 03:33 AM   #2
mike sumner
Member
 
Registered: Nov 2006
Location: Lincolnshire, England
Distribution: Debian Sid/Squeeze
Posts: 51

Rep: Reputation: 15
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
 
Old 07-08-2007, 03:36 AM   #3
mike sumner
Member
 
Registered: Nov 2006
Location: Lincolnshire, England
Distribution: Debian Sid/Squeeze
Posts: 51

Rep: Reputation: 15
OOPS! double posted.
Mike

Last edited by mike sumner; 07-08-2007 at 04:16 AM.
 
Old 07-08-2007, 09:14 AM   #4
bhigham
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Remaster doesn't copy pkgsource.txt

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

Last edited by bhigham; 07-08-2007 at 03:35 PM.
 
Old 07-09-2007, 12:32 PM   #5
bhigham
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Update on Remaster doesn't copy pkgsource.txt

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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remaster for me please? darrelljon MEPIS 32 06-23-2007 10:29 AM
rPath remaster phantom_cyph Linux - General 3 05-19-2007 09:54 AM
How can read from file.txt C++ where can save this file(file.txt) to start reading sam_22 Programming 1 01-11-2007 06:11 PM
Remaster or not? rembot Linux - General 9 07-04-2006 09:43 PM
Convert pdf to html or txt or remaster the pdf? jago25_98 Linux - Software 1 12-13-2005 02:11 AM


All times are GMT -5. The time now is 02:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration