Author Topic: using pkgutils  (Read 1080 times)

sandman

  • Guest
using pkgutils
« on: October 21, 2009, 05:52:52 PM »
This might be a dumb question, but can you check the initial instructions? I downloaded pkgutils and logged off/on. When I go to my home dir and type mkrepo I don't get prompted for root password (and no, I wasn't root at the time).

What I got was a prompt of 'going to do x [Y/n]' and neither answer made a difference - same prompt on next line. Only way out was to quit the terminal...

If I tried to run this as root I got an advisory to run as usr...

I'm running 2009.2 up to date as of last night....

I just built the dir/file structure for packaging by hand and it worked fine, so I'm not stuck. (I later exploded an srpm into it with no probs)

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
using pkgutils
« Reply #1 on: October 21, 2009, 05:58:46 PM »
Are you using KDE4? There's a separate pkgutils for KDE4. Search "pkgutils" in Synaptic, and you'll see it.


sandman

  • Guest
using pkgutils
« Reply #2 on: October 21, 2009, 06:07:57 PM »
1. I'll check but think yes. 2. That's what i just did and I got one entry... 0.1.2-3pclos2009

Hang with me here for a minute or two until we get this sorted...

sandman

  • Guest
using pkgutils
« Reply #3 on: October 21, 2009, 06:11:24 PM »
Hmmm... it's new and  shiny since last night but looks like KDE3.5.10

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
using pkgutils
« Reply #4 on: October 21, 2009, 06:16:14 PM »
Okay. You may find some helpful info in this thread.

As kde3.5 is no longer to be developed after this month, changing to kde4 would be a good idea.


sandman

  • Guest
using pkgutils
« Reply #5 on: October 21, 2009, 06:23:22 PM »
Ah, two good bits of info there at a glance. Will take time to digest. You're obviously on top of your game, lad! Thanks.  As I say, I can do this the 'hard' way (as can anyone who reads the packaging tutorial), so it's not a show-stopper.  I'll post up my findings, to save the next guy pestering you - IF they search the forum first  ;D

Update: It might be an idea if members with <100 posts automatically got a board rank of 'Crash Test Dummy' and an avatar to match, automatically. It'd give the admins/mods/experienced time to take some prozac before reading  ;D
« Last Edit: October 21, 2009, 06:30:38 PM by sandman »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
using pkgutils
« Reply #6 on: October 21, 2009, 08:42:57 PM »
Glad to help. :)

Prozac? Huh. Not strong enough. ;) ;D


Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
using pkgutils
« Reply #7 on: October 21, 2009, 09:55:47 PM »
sandman:  I'll test anything you got, live-usb is a wonderful thing.  Still downloading something or other Neal want's me to test.  1 hr 24 minutes to go.  Sheesh.  He better have done a good job on it.

Neal, you might consider splitting this thread.  Fun as it is conversing with you two, it is a bit off topic at the moment don't you think?
« Last Edit: October 21, 2009, 09:57:46 PM by Joble »
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
using pkgutils
« Reply #8 on: October 21, 2009, 10:13:45 PM »
Joble,
You know more about splitting a thread than I do. I've never done it. Ever. However, we can take the discussion of my projects elsewhere.

Edit:
Topic split.
« Last Edit: October 21, 2009, 10:37:26 PM by Neal »

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
using pkgutils
« Reply #9 on: October 21, 2009, 10:22:44 PM »
..back on the thread topic...  
(..its been here since April and I just read the first post!)


mkrepo can be run with the options to add most of the the info suggested in the first post...  instead of manually adding the distribution, vendor, (dist)suffix, and packager information, it can be run as follows to add them all in one step:

Code: [Select]
mkrepo -a -d PCLinuxOS -v PCLinuxOS -s pclos -p <your PCLOS user name>
..note that you do not need to put the year at the end of the suffix; as it will be done automatically when the rpm/srpm is built (It doesn't matter if you do though, as when tex rebuilds it, it be then have whatever distribution, vendor, and distsuffix that he has in his .rpmmacro file  ;)).