[QUASI SOLVED] PPM BUG

Post here if you are a new Porteus member and you're looking for some help.
willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

[QUASI SOLVED] PPM BUG

Post#1 by willard » 09 Sep 2012, 06:47

Re: porteus-XFCE-v1.2-i486.iso

Hi,
Porteus Package Manager freezes midway during initial Slackware 12.2 initialization procedure.

There has got to be a better way to recover from this error, than a complete power down/reboot?

Also, after a reboot, PPM reports:
! PPM is already running.
If it is not, then please remove:
/tmp/.ppmlock and restart

What is the correct method to remove the ppmlock file/directory?

Regards,
willard

SUMMARY:
HAD TO USE 'INSTALLPKG'
Last edited by willard on 22 Sep 2012, 02:29, edited 1 time in total.

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: PPM BUG

Post#2 by Hamza » 09 Sep 2012, 12:51

Code: Select all

su -c 'rm -Rf /tmp/.ppmlock'
Type your root password ("toor" by default) and press "Enter"
NjVFQzY2Rg==

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: PPM BUG

Post#3 by willard » 09 Sep 2012, 15:55

Hamza wrote:

Code: Select all

su -c 'rm -Rf /tmp/.ppmlock'
Type your root password ("toor" by default) and press "Enter"
Dear Hamza:
Functionality returned to PPM and Search Slacky does not freeze, like Search Slackware did.

I'm basically running a test to see if Porteus can download a Slackware 12.2 package, convert, install and launch the app. The TGZ package is converted to XZM and is observed in the source 'modules' directory. Q: What should be the correct target directory prior to clicking the 'install now' button?
Thanks for the reply.
willard

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: PPM BUG

Post#4 by Hamza » 09 Sep 2012, 21:12

What should be the correct target directory prior to clicking the 'install now' button?
I think that mean xzm module will activated (through activate command) and moved/copied to your modules directory to be automatically activated and available for you at next boot.
NjVFQzY2Rg==

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: PPM BUG

Post#5 by brokenman » 09 Sep 2012, 23:24

I'm basically running a test to see if Porteus can download a Slackware 12.2 package
Thats the basic aim of PPM. Let us know if it fails.

You can choose any directory you like as your source directory. When you first run PPM you are asked to choose a storage folder. This folder is where all resulting converted modules will land. They will not be activated automatically during boot. If you activate them using PPM then it will attempt to resolve all dependencies during activation.
How do i become super user?
Wear your underpants on the outside and put on a cape.

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: PPM BUG

Post#6 by willard » 10 Sep 2012, 02:32

brokenman wrote:
I'm basically running a test to see if Porteus can download a Slackware 12.2 package
Thats the basic aim of PPM. Let us know if it fails.

You can choose any directory you like as your source directory. When you first run PPM you are asked to choose a storage folder. This folder is where all resulting converted modules will land. They will not be activated automatically during boot. If you activate them using PPM then it will attempt to resolve all dependencies during activation.
Hi,
The 'test' package ended up in startup's 'Lost & Found' menu and will NOT launch. The only PPM error trapped was observed after exiting PPM:
link
Last edited by willard on 16 Sep 2012, 17:07, edited 1 time in total.

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: PPM BUG

Post#7 by Hamza » 11 Sep 2012, 13:54

Please post result of ls -l /opt/porteus-scripts
NjVFQzY2Rg==

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: PPM BUG

Post#8 by brokenman » 11 Sep 2012, 14:08

OK disregard the error in your image. PPM is obviously there as it runs. If the resulting package ends up in the 'lost & found' menu then it means the .desktop file in the package has no valid menu section. It would help if we knew what package you are testing. Find out the command to start it from a terminal by unpacking the package or module and looking into the bin folder. Run the executable and see what errors you get.
How do i become super user?
Wear your underpants on the outside and put on a cape.

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: PPM BUG

Post#9 by willard » 11 Sep 2012, 17:04

brokenman wrote: It would help if we knew what package you are testing. Find out the command to start it from a terminal by unpacking the package or module and looking into the bin folder. Run the executable and see what errors you get.
Dear brokenman:
Here is the Slackware 12.2 scientific/geda package in question:

link



Can you get Porteus to recognize it?
Regards,
willard

Posted after 8 minutes 18 seconds:
Hamza wrote:Please post result of ls -l /opt/porteus-scripts
Dear Hamza:

Porteus 1.2 dialog:
  • guest@porteus:~$ uname -r
    3.4.9-porteus
    guest@porteus:~$ ls -l /opt/porteus-scripts
    total 340
    -rwxr-xr-x 1 root root 2705 Oct 28 2011 act*
    -rwxr-xr-x 1 root root 3734 Jun 4 09:55 activate*
    -rwxr-xr-x 1 root root 542 Jun 4 17:09 add-loop-devices*
    -rwxr-xr-x 1 root root 1389 Jun 28 10:52 changes-time*
    -rwxr-xr-x 1 root root 1448 Oct 28 2011 chkbase*
    -rwxr-xr-x 1 root root 2194 Jun 16 21:58 clipsum*
    -rwxr-xr-x 1 root root 3251 Jun 4 09:56 deactivate*
    -rwxr-xr-x 1 root root 569 Oct 28 2011 deb2xzm*
    -rwxr-xr-x 1 root root 861 Feb 13 2012 dir2xzm*
    -rwxr-xr-x 1 root root 4358 May 7 22:16 get-koffice*
    -rwxr-xr-x 1 root root 8398 Jul 2 23:34 getkde4*
    -rwxr-xr-x 1 root root 26 Jul 2 23:42 keyboard-shortcuts*
    drwxr-xr-x 2 root root 149 Feb 19 2012 konqueror/
    -rwxr-xr-x 1 root root 35117 Jul 5 18:46 language-selection-tool*
    -rwxr-xr-x 1 root root 578 Nov 10 2011 lsxzm*
    -rwxr-xr-x 1 root root 13689 Jun 15 09:19 magic-folders*
    -rwxr-xr-x 1 root root 34837 Jun 15 09:38 make-changes*
    -rwxr-xr-x 1 root root 1189 Oct 28 2011 mkfileswap*
    -rwxr-xr-x 1 root root 5086 May 29 04:06 mloop*
    drwxr-xr-x 2 root root 164 Jun 28 11:15 pcmanfm/
    -rwxr-xr-x 1 root root 33523 Jul 13 10:59 pinstaller*
    -rwxr-xr-x 1 root root 14094 Apr 22 14:12 pns-tool*
    -rwxr-xr-x 1 root root 49547 Jun 5 16:10 porteus-package-manager*
    -rwxr-xr-x 1 root root 44512 Jul 5 19:57 porteus-settings-centre*
    -rwxr-xr-x 1 root root 6686 Jun 28 13:42 porteus-update*
    -rwxr-xr-x 1 root root 9911 Jun 27 20:30 power-saver*
    -rwxr-xr-x 1 root root 2509 Jun 15 08:57 psinfo*
    -rwxr-xr-x 1 root root 328 Jun 27 13:54 pxe-boot*
    -rwxr-xr-x 1 root root 457 Nov 10 2011 rpm2xzm*
    -rwxr-xr-x 1 root root 752 Nov 10 2011 save-changes*
    -rwxr-xr-x 1 root root 17613 Jun 15 09:42 save-session*
    -rwxr-xr-x 1 root root 975 Jun 27 13:24 system-desktop-icon*
    lrwxrwxrwx 1 root root 7 Jun 27 23:31 tgz2xzm -> txz2xzm*
    -rwxr-xr-x 1 root root 1243 Jan 17 2012 txz2xzm*
    -rwxr-xr-x 1 root root 1125 Apr 28 16:36 update-module*
    -rwxr-xr-x 1 root root 195 Apr 28 17:07 vesa-mode*
    -rwxr-xr-x 1 root root 987 Apr 28 16:17 xconf*
    drwxr-xr-x 2 root root 40 Jul 13 14:23 xorg/
    -rwxr-xr-x 1 root root 15921 Jun 21 22:51 xpns-tool*
    -rwxr-xr-x 1 root root 17289 Jun 29 22:03 xpsinfo*
    -rwxr-xr-x 1 root root 715 Jan 17 2012 xzm2dir*
    guest@porteus:~$
HTH
willard
Last edited by willard on 16 Sep 2012, 17:11, edited 1 time in total.

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: PPM BUG

Post#10 by Hamza » 11 Sep 2012, 17:35

It's strange.

Run this command and tell us if that ran correctly PPM.

Code: Select all

/opt/porteus-scripts/porteus-package-manager
Does this error is still happening ?
NjVFQzY2Rg==

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: PPM BUG

Post#11 by willard » 11 Sep 2012, 20:53

Hamza wrote:It's strange.

Run this command and tell us if that ran correctly PPM.

Code: Select all

/opt/porteus-scripts/porteus-package-manager
Does this error is still happening ?
Dear Hamza:
Perhaps, but the Slack package is missing these dependencies! PPM tries unsuccessfully to locate them, which leaves PPM HUNG and your patch cannot be verified??

Where can the dependencies be hiding?
Regards
willard
PS. During this experiment, the intermittant sound problem, now functions ok??

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: PPM BUG

Post#12 by Hamza » 11 Sep 2012, 21:20

Perhaps, this may helps you in resolving your missings module deps.

Code: Select all

slackyd -u && slackyd -g libgeda libstroke && installpkg /var/slackyd/lib[geda|stroke]*.txz
NjVFQzY2Rg==

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: PPM BUG

Post#13 by willard » 11 Sep 2012, 21:59

Hamza wrote:Perhaps, this may helps you in resolving your missings module deps.

Code: Select all

slackyd -u && slackyd -g libgeda libstroke && installpkg /var/slackyd/lib[geda|stroke]*.txz
Dear Hamza:

I will have to sneek-up on this problem! After reboot, Porteus' audio became non-functional/intermittant, where the sound card DEFAUTs to the blacklisted one??

Your patch does have the green light at this point, but could you tell me the directory, where the download ended up? I would like to view the TXT files:

  • Password:
    root@porteus:/home/guest# slackyd -u && slackyd -g libgeda libstroke && installpkg /var/slackyd/lib[geda|stroke]*.txz

    Repository: slackware [ftp.nluug.nl]
    `- Downloading FILELIST.TXT [100 % @ 131.8 KB/s]
    `- Downloading CHECKSUMS.md5 [100 % @ 49.5 KB/s]
    `- Downloading PACKAGES.TXT [100 % @ 122.2 KB/s]
    `- Downloading MANIFEST.bz2 [100 % @ 145.9 KB/s]
    >> Uncompressing MANIFEST.bz2: done.
    `- Downloading patches PACKAGES.TXT [100 % @ 24.6 KB/s]
    `- Downloading patches MANIFEST.bz2 [100 % @ 146.4 KB/s]
    >> Uncompressing patches MANIFEST.bz2: done.
    `- Downloading extra PACKAGES.TXT [100 % @ 24.7 KB/s]
    `- Downloading extra MANIFEST.bz2 [100 % @ 104.0 KB/s]
    >> Uncompressing extra MANIFEST.bz2: done.
    Repository: slacky [darkstar.ist.utl.pt]
    `- Downloading FILELIST.TXT [100 % @ 34.2 KB/s]
    `- Downloading PACKAGES.TXT [100 % @ 25.5 KB/s]
    `- Downloading CHECKSUMS.md5 [100 % @ 22.8 KB/s]
    `- Downloading MANIFEST.bz2 [100 % @ 18.6 KB/s]
    >> Uncompressing MANIFEST.bz2: done.


    Searching libgeda: nothing found.

    bash: stroke]*.txz: command not found
    root@porteus:/home/guest#


THX!
willard

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: PPM BUG

Post#14 by Hamza » 12 Sep 2012, 16:27

You may try this one.

Code: Select all

slackyd -u && slackyd -g libgeda && slackyd -g libstroke && installpkg /var/slackyd/libgeda*.txz && installpkg /var/slackyd/libgeda*.txz
I will have to sneek-up on this problem! After reboot, Porteus' audio became non-functional/intermittant, where the sound card DEFAUTs to the blacklisted one??

Please respect forum's rules

fanthom wrote: 10. One thread - one topic. In case of having a few issues with Porteus or modules, please start a new thread for each issue.
NjVFQzY2Rg==

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: PPM BUG

Post#15 by willard » 13 Sep 2012, 00:43

[quote="Hamza"]You may try this one.

Code: Select all

slackyd -u && slackyd -g libgeda && slackyd -g libstroke && installpkg /var/slackyd/libgeda*.txz && installpkg /var/slackyd/libgeda*.txz
Dear Hamza:
Slackyd HUNG, so I had to add the '-f'orce switch:
  • guest@porteus:~$ slackyd -f -u && slackyd -g libgeda && slackyd -g libstroke && installpkg /var/slackyd/libgeda*.txz && installpkg /var/slackyd/libgeda*.txz

    Repository: slackware [ftp.nluug.nl]
    `- Downloading FILELIST.TXT [100 % @ 114.3 KB/s]
    `- Downloading CHECKSUMS.md5 [100 % @ 140.3 KB/s]
    `- Downloading PACKAGES.TXT [100 % @ 112.5 KB/s]
    `- Downloading MANIFEST.bz2 [100 % @ 151.2 KB/s]
    >> Uncompressing MANIFEST.bz2: done.
    `- Downloading patches PACKAGES.TXT [100 % @ 23.3 KB/s]
    `- Downloading patches MANIFEST.bz2 [100 % @ 147.2 KB/s]
    >> Uncompressing patches MANIFEST.bz2: done.
    `- Downloading extra PACKAGES.TXT [100 % @ 26.8 KB/s]
    `- Downloading extra MANIFEST.bz2 [100 % @ 111.8 KB/s]
    >> Uncompressing extra MANIFEST.bz2: done.

    Warning: cannot save used mirror.
    /var/slackyd/slackware/mirror.slackyd: Permission denied

    Repository: slacky [darkstar.ist.utl.pt]
    `- Downloading FILELIST.TXT [/var/slackyd/slacky/FILELIST.TXT: No such file or directory]


    Warning: missing file `/var/slackyd/slacky/CHECKSUMS.md5'
    Warning: missing file `/var/slackyd/slacky/PACKAGES.TXT'
    Warning: missing file `/var/slackyd/slacky/MANIFEST'
    Try to update packages list.

    Searching libgeda: nothing found.


    Warning: missing file `/var/slackyd/slacky/CHECKSUMS.md5'
    Warning: missing file `/var/slackyd/slacky/PACKAGES.TXT'
    Warning: missing file `/var/slackyd/slacky/MANIFEST'
    Try to update packages list.

    Searching libstroke: nothing found.

    bash: installpkg: command not found
    guest@porteus:~$
MAKES NO SENSE!

Post Reply