pktools replacement (was: Package managers)

Old stuff that should not bother anyone anymore
User avatar
gapan
Salix Wizard
Posts: 5531
Joined: 6. Jun 2009, 17:40

Re: pktools replacement (was: Package managers)

Post by gapan » 11. Jun 2009, 18:59

Code: Select all

Directory var/log/setup/tmp/ has no read permssions
No idea what that dir is for though.

I still don't think that we should keep the original tools in the package. I don't think anyone is ever going to use them, nobody will really know they are there unless they look in the package contents. I guess that if someone wants to use the original pkgtools, he will just get the package from slackware. But since you insist on keeping them, no problem.
Image
Image

User avatar
gapan
Salix Wizard
Posts: 5531
Joined: 6. Jun 2009, 17:40

Re: pktools replacement (was: Package managers)

Post by gapan » 11. Jun 2009, 21:52

Found a problem. Installing txz packages the entry in /var/log/packages has a txz extension.
Image
Image

User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: pktools replacement (was: Package managers)

Post by thenktor » 11. Jun 2009, 22:51

gapan wrote:Found a problem. Installing txz packages the entry in /var/log/packages has a txz extension.
I've sent a bug report to the developer.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)

User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: pktools replacement (was: Package managers)

Post by thenktor » 11. Jun 2009, 22:57

gapan wrote:

Code: Select all

Directory var/log/setup/tmp/ has no read permssions
No idea what that dir is for though.
Taken from the original SlackBuild:
chmod 700 $startdir/pkg/var/log/setup/tmp

No idea what's this for.
gapan wrote:I still don't think that we should keep the original tools in the package. I don't think anyone is ever going to use them, nobody will really know they are there unless they look in the package contents. I guess that if someone wants to use the original pkgtools, he will just get the package from slackware. But since you insist on keeping them, no problem.
I don't insist on it, but I think it's no problem to have them. The spkg preload thing is untested and it can't be bad to have a working fallback solution.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)

User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: pktools replacement (was: Package managers)

Post by thenktor » 13. Jun 2009, 12:52

gapan wrote:Found a problem. Installing txz packages the entry in /var/log/packages has a txz extension.
Patched version uploaded. But you have to use slack-upgradepkg to reinstall packages that have the txz extension in /var/log/packages.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)

User avatar
gapan
Salix Wizard
Posts: 5531
Joined: 6. Jun 2009, 17:40

Re: pktools replacement (was: Package managers)

Post by gapan » 15. Jun 2009, 07:21

I think spkg-pkgtools should be tgz instead of txz.
Image
Image

Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: pktools replacement (was: Package managers)

Post by Shador » 15. Jun 2009, 21:52

thenktor wrote:
gapan wrote:
Code:
Directory var/log/setup/tmp/ has no read permssions

No idea what that dir is for though.

Taken from the original SlackBuild:
chmod 700 $startdir/pkg/var/log/setup/tmp

No idea what's this for.
Afaik it's used during install time. The installer stores there all?/?some temporary files and sg2conf puts its there too. :)
Image

User avatar
gapan
Salix Wizard
Posts: 5531
Joined: 6. Jun 2009, 17:40

Re: pktools replacement (was: Package managers)

Post by gapan » 16. Jun 2009, 14:08

thenktor, you were absolutely right about keeping a copy of the original pkgtools inside the package. Just found a case where spkg won't work. :D
If two different versions of a package are installed, spkg can't remove either one of them, even if specifying the full path in /var/log/packages, slack-removepkg will remove the 1st one and then the 2nd one if it is run again, and whichever you choose if you specify the full path! ;)
Image
Image

User avatar
JRD
Salix Warrior
Posts: 949
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: pktools replacement (was: Package managers)

Post by JRD » 16. Jun 2009, 14:51

OK. Maybe this could be reported back to spkg developer, or maybe another patch ?
Image

User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: pktools replacement (was: Package managers)

Post by thenktor » 16. Jun 2009, 15:15

JRD wrote:OK. Maybe this could be reported back to spkg developer, or maybe another patch ?
I've sent the bug report.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)

Locked