Author Topic: Help with genbasedir on x86_64 [FIXED]  (Read 750 times)

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Help with genbasedir on x86_64 [FIXED]
« on: September 12, 2011, 06:43:04 AM »
On Test 3 x86-64, I managed to install Kori's pkgutils and had been able to build a few. I've even installed the RPMs using rpm -Uvh but I'd like to try and use Synaptic.

My problem is genbasedir is not generating the package archives.

if I use the command
Code: [Select]
[archie@arevalo 2011]$ cd /home/archie/Temporary/src/apt/pclinuxos/2011/
[archie@arevalo 2011]$ genbasedir --flat --bz2only --progress /home/archie/Temporary/src/apt/pclinuxos/2011/

I get an
Code: [Select]
error: no components found
If I add x86_64 at the end of the genbasedir command
Code: [Select]
[archie@arevalo 2011]$ genbasedir --flat --bz2only --progress /home/archie/Temporary/src/apt/pclinuxos/2011/ x86_64
I get an
Code: [Select]
Components: x86_64
Processing pkglists... [done]
Processing srclists... [done]
Updating component releases... x86_64 [done]
Creating global release file... [done]
Appending MD5Sum... x86_64 [done]
All your base are belong to us!!!

and have two files release and release.x86_64. So what am I doing wrong?
« Last Edit: September 12, 2011, 06:35:53 PM by Archie »
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Help with genbasedir on x86_64
« Reply #1 on: September 12, 2011, 07:09:12 AM »
Have you tried running synaptic with those 2?     

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: Help with genbasedir on x86_64
« Reply #2 on: September 12, 2011, 04:49:50 PM »
I already tried running Synaptic with my local /src/apt/pclinuxos/2011/ and get an error:

Code: [Select]
Could not download all repository indexes
...

file:/home/archie/Temporary/src/apt/pclinuxos/2011/base/pkglist.x86_64: File not found
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Help with genbasedir on x86_64
« Reply #3 on: September 12, 2011, 04:54:16 PM »
 ??? Yet you generated it? Hmm...... got nothing at the moment. Sorry.     

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: Help with genbasedir on x86_64
« Reply #4 on: September 12, 2011, 04:57:00 PM »
Could it be the /usr/bin/genbasedir script? Or one of the option I was using?

rpm -Uvh works fine. It would be good to test install on Synaptic.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Sproggy

  • Hero Member
  • *****
  • Posts: 1484
Re: Help with genbasedir on x86_64
« Reply #5 on: September 12, 2011, 05:06:57 PM »
why you using tmp folder to store them????

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: Help with genbasedir on x86_64
« Reply #6 on: September 12, 2011, 06:14:18 PM »
why you using tmp folder to store them????

Did you mean ~/Temporary/src ?? I've had this setup even before and it worked just fine. I have absolutely no problem with the build. It is only when generating a local repo package list that I am lost.

I'm gonna have a careful look at the genbasedir command. Maybe I can come up with a solution.

EDIT:

I took a peek at our official repository (ibiblio) and noted that there are only three files on /base. I already have two of them - release and release.x86_64. I only needed to figure out how the pkglist.x86_64.bz2 is created.
« Last Edit: September 12, 2011, 06:18:24 PM by Archie »
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: Help with genbasedir on x86_64
« Reply #7 on: September 12, 2011, 06:35:34 PM »
Well, what do you know?? It is of my own stupidity that I've overlooked a symlink to my RPMS folder. I created the link as x86_64 when it should really be RPMS.x86_64. There's nothing wrong with the genbasedir command. It was the non-existent (or erroneous) folder name that was preventing me from generating the pkglist.x86_64.bz2.

I good to go ... ;)
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42