Akita Linux, Beta 16 ISO

For talk and support relating specifically to Puppy derivatives
Message
Author
mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#796 Post by mcewanw »

A bit more info on the problem I'm finding and the less-than-satisfactory workaround I'm using:

I've installed browser seamonkey-2.0.4-p4.pet from your Browser installer.

After running the program from an rxvt console I go to youtube.com and play a video. If I then stop the video and select a new youtube video to play, seamonkey crashes with a segmentation fault. If I then restart seamonkey, go back to youtube and try to play a video, seamonkey keeps crashing with the segmentation fault. However, if I go into seamonkey preferences (under Edit submenu) and clear only the Cache (under Privacy and security preferences), I can then play a youtube video again with no problem. Of course, if I then try to play another video, seamonkey crashes out again until I clear the cache again.

I normally use Seamonkey on my other Puppies (e.g. Slacko-5.3.3) and have no such problems. I will try this version of Seamonkey there (if it runs) and see if the same problem arises and report back.
github mcewanw

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#797 Post by mcewanw »

Okay, I installed the same seamonkey pet in Slacko-5.3.3. It installed just the same (main program part into /mnt/home) and ran fine, but... exactly the same problem with youtube video's causing segmentation error when run twice without clearing the cache...

Code: Select all

# seamonkey
/mnt/home/seamonkey/program/run-mozilla.sh: line 131: 16588 Segmentation fault      "$prog" ${1+"$@"}
So, solution is to use different Seamonkey version, or perhaps track down what is causing the problem.
github mcewanw

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#798 Post by mcewanw »

Okay... I moved the main seamonkey folder from /mnt/home/seamonkey/program to /usr/lib and the segmentation error vanished... So, just need to find out what is wrong with it being in /mnt/home/seamonkey/program normally. Perhaps something to do with that script /mnt/home/seamonkey/start ?

EDIT: Hmmm... still in Slacko-5.3.3 with that seamonkey version and put it back to normal such that the seamonkey symlink in /usr/link pointed via seamonkey-2.0.4 symlink to the main seamonkey files back in /mnt/home/seamonkey/program and it now all seems to work fine... sigh... no idea why. I will now return to the same issue on my Akita installation and try the same above steps to see if the segmentation fault is thus mysteriously fixed. I hate things that start working without any reasonable explanation as to why though...
github mcewanw

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#799 Post by mcewanw »

Unfortunately, the problem remains on my system when running Akita. I now have no idea why this same version of seamonkey is now working okay under slacko-5.3.3. If I find out, I'll report back...

EDIT: I have now uninstalled that seamonkey altogether from Slacko-5.3.3 and then reinstalled it fresh. But this time under Slacko the seamonkey segmentation error, when running youtube videos more than once, was no longer occurring at all. But... the problem remains running this seamonkey under Akita. Wish I knew why, but I don't...

EDIT NEWEST: The problem seems to have gone away by itself. That seamonkey now working fine in my Akita installation. I can only imagine that my pupsave is flaky (or more likely the underlying storage media) because the only thing I did was to install Opera and then install the seamonkey browser again. Big sigh. Hope the problem really has gone. Akita is nice and low on resources.
github mcewanw

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#800 Post by sc0ttman »

mcewanw wrote:Unfortunately, the problem remains on my system when running Akita. I now have no idea why this same version of seamonkey is now working okay under slacko-5.3.3. If I find out, I'll report back...

EDIT: I have now uninstalled that seamonkey altogether from Slacko-5.3.3 and then reinstalled it fresh. But this time under Slacko the seamonkey segmentation error, when running youtube videos more than once, was no longer occurring at all. But... the problem remains running this seamonkey under Akita. Wish I knew why, but I don't...

EDIT NEWEST: The problem seems to have gone away by itself. That seamonkey now working fine in my Akita installation. I can only imagine that my pupsave is flaky (or more likely the underlying storage media) because the only thing I did was to install Opera and then install the seamonkey browser again. Big sigh. Hope the problem really has gone. Akita is nice and low on resources.
Sorry for not seeing all this earlier... It might be that 'browserlibs.pet' (in the akita repo) that is helping solve the problem - files in that package are related to the latest Flash versions, and Opera requires them for Flash support.. When you installed Opera, did you also install browserlibs.pet? If so, browserlibs.pet might be the fix...
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#801 Post by sc0ttman »

Added to Akita repo, just click update in the Package Manager:

- ati_fglrx-12.10-k2.6.25.16-akita, in Desktop, 50M - - - > ATI Catalyst Control Centre
- epsxe-1.6.0-x86-akita, in Fun, 721K - - - > PSX emulator
- freeciv-2.3.3-i486, in Fun, 7.4M - - - > strategy game
- freeciv_DEV-2.3.3-i486, in Fun, 9K
- freeciv_DOC-2.3.3-i486, in Fun, 7K
- freeciv_NLS-2.3.3-i486, in Fun, 5.8M
- gsopcast-0.4.0-i486-akita, in Multimedia, 27K - - - > watch online video streams (frontend, needs sopcast)
- lxdream-0.9.1-i386-akita, in Fun, 321K - - - > dreamcast emulator
- libpulse-0.4.1-i386-akita, in BuildingBlock, 131K
- nerolinux-4.0.0.0b-x86-akita, in Multimedia, 12M - - - > dvd/cd burning suite
- nerolinux_DOC-4.0.0.0b-x86-akita, in Multimeda, 3.3M
- nerolinux_NLS-4.0.0.0b-x86-akita, in Multimedia, 1.4M
- OOo4kids-1.2_en, in Document, 83M - - - > office suite for kids
- pcsxr-1.9.92-1-i386-akita, in Fun, 2.2M - - - > PSX emulator
- pSX-1.13-akita, in Fun, 569K - - - > PSX emulator
- skype-4.1.0.20-1-i386-akita, in Internet, 30M - - - > duh
- sopcast-3.0.1-i486-akita, in Multimedia, 335K - - - > view streams online
- vbam-svn451-1-i386-akita, in Fun, 616K
- wine-1.5.20-i486-akita, in System, 24M
- libasyncns-0.3-i386-akita, in BuildingBlock, 8K - - - > this and all below are needed by wine
- libgphoto2-2.5.0-i486_v2, in BuildingBlock, 6M
- libusb-1.0.9-i486_v2, in BuildingBlock, 74K
- mpg123-1.12.4, in BuildingBlock, 171K
- openldap-2.4.13-i486, in BuildingBlock, 1.8M
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

pkg 0.1

#802 Post by sc0ttman »

pkg 0.1
a command line package manager for Akita

Type 'pkg' in the terminal to run it.. it supports:

- list repo contents, names only or all info, search repo for whatever..
- auto download, install & setup the latest versions, with only `pkg --get PKGNAME`
- choose pkg ver to get, install pkg , uninstall pkg, get pkg deps, check pkg deps, check pkg contents,
- check install status, update repo, use multiple repos, choose which deps to get,
- which pkg owns file X, --force option, --ask option, and more..

Usage a few posts below...
Attachments
pkg.gz
not a real .gz, just rename, remove extension, and run it in a terminal
(24.16 KiB) Downloaded 309 times
Last edited by sc0ttman on Sat 09 Feb 2013, 21:04, edited 1 time in total.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

pkg 0.3

#803 Post by sc0ttman »

Pkg 0.3 - a fast, easy, command-line package manager

Here is an updated 'pkg', which will be in the next Akita.

I think it's the most useful, time-saving thingy I ever made..
It's working a treat for me..

This version, pkg 0.3, has the following added features and fixes:

- you can now build combined pkgs (that is, PKG+deps), use --pkg-build PKGNAME
- nice progress % indicator for all downloads
- improved error checking and console output
- fixes for --force --download, other fixes

Pkg has the following features that the Akita PetGet does not:

- works without X desktop loaded
- auto find latest pkg version.. Example: pkg -g freeciv <-- get the latest freeciv
- can force re-download/re-install/removal of a pkg
- can choose which deps, and even which version of each dep, to install
- use --ask to ask you before each step is completed
- can list contents of the given pkg
- find which pkg owns file X, Y or Z
- build packages - combine pkg+deps into one new pkg
- get pkg status (name, size, installed or not, which deps are found/missing)
- can complete unfinished dep insatllation, etc
- auto sort repo list to always make latest pkg versions the default to download
- more stuff....

Pkg is also ideal for integrating into other scripts, such as a browser-installer, QuickPet, etc ...

I also plan to:

- pet2sfs and sfs2pet conversion
- enable sfs pkg creation, installation, removal (using sfs_load)
- add support for src2pkg (so pkg has options to build from source and install)
Attachments
pkg-0.3.pet
cmd line pkg manager
(8.46 KiB) Downloaded 311 times
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

pkg 0.4

#804 Post by sc0ttman »

Pkg 0.4
cmd line pkg manager

Currently requires: BASH, wget, tgz2pet , pet2tgz..
Hoping to remove these deps by using own funcs and busybox, if possible. Help appreciated.

Changelog for 0.4:

Added support install/remove/status for alien pet packages (local files, pkgs not in the repo, etc)

- pkg now allows the installation of any local .pet, like petget
- pkg just needs a valid pet file, that actually exists
- you can use any of the following:

Code: Select all

pkg -i /path/to/file.pet
pkg -i file.pet
pkg -i ./file.pet
pkg -i ../repo/file.pet
etc
NOTE: if the pet file is local, you need to give the path and .pet extension, as shown above.

Updated help info:

Code: Select all

Usage: pkg [OPTION(S)]

The 2 options below can be used together and must precede all other options:

  --ask|-s                              ask before fetching & installing pkgs/deps (give as 1st option)
  --force                               force downloading, installing and uninstalling, no matter what

The following can be used with --ask and --force, but cannot be used with each other:

  --get|-g PKGNAME                      find, download and install the latest matching package and deps
  --download|-d PKGNAME                 download the package from the akita repo, if found
  --install|-i PKGNAME                  install a local pet package
  --deps|-e PKGNAME                     install the dependencies of the matching package
  --uninstall|-u PKGNAME                uninstall a pet package

The following options cannot be used with any others:

  --all|-a                              list all packages available in the repo
  --find|-f [SEARCH]                    find package info in the repo, including category, deps, etc..
  --names|-n [PKGNAME]                  find a package in the repo, lists the package names only
  --list-downloaded|-ld [PKGNAME]       list downloaded packages, pkg name is an optional filter
  --list-installed|-li [PKGNAME]        list all installed packages, pkg name is an optional filter
  --contents|-c [PKGNAME]               list the contents of a downloaded package
  --which|-w FILENAME                   give a filename, find out which pkg it comes from
  --pkg-status|-ps PKGNAME              print the status of a pkg (name, size, deps, installed or not)
  --pkg-installed|-pi PKGNAME           return true if the package is installed, false if not
  --pkg-build|-pb PKGNAME               build a package containing PKGNAME + dependencies
  --remove|-r PKGNAME                   delete a downloaded package
  --empty|-t                            delete ALL downloaded packages
  --repo|-o akita|wary                  set the repo to use, 'akita' or 'wary'. The default is 'akita'
  --update-repo|-uo                     the latest Akita repo packages to the pkg list
  --version|-v                          show the version of this script
  --help|-h                             show this help information

Examples (note, you don't need to give the .pet extension):

  pkg -n SEARCH                         list all pkg names in repo matching SEARCH
  pkg -s -g filezilla                   ask to download latest filezilla and ask to get all deps
  pkg -s -t                             ask to delete all downloaded packages
  pkg -s -e PKGNAME                     install all deps of PKGNAME, ask each time
  pkg -s -d qupzilla-1.2.0              ask to download qupzilla-1.2.0
  pkg -g filezilla                      download latest filezilla and all deps without asking
  pkg -t                                delete all downloaded packages without asking!
  pkg -e PKGNAME                        install all deps of PKGNAME, dont ask anything
  pkg -d qupzilla-1.3.1                 download qupzilla-1.3.1 without asking

  To install local .pet packages, that are not in any repo, give the full path and filename:

  pkg -i file.pet                       install the given pet package.. include the .pet extension!
  pkg -i /path/to/file.pet
Attachments
pkg-0.4.pet
can now install any local pet files
(8.89 KiB) Downloaded 319 times
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

pkg 0.5

#805 Post by sc0ttman »

Pkg 0.5 - a command line pkg manager

Changelog:

- added sfs2pet(), use `pkg --sfs2pet /path/to/file.pet`
- fixes for local packages,
- fixed `pkg [--ask|--force] -i|-u LOCALPKG`
- fixed: `pkg --find BLAH` is now not case sensitive
Attachments
pkg-0.5.pet
(9.29 KiB) Downloaded 309 times
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

pkg 0.6

#806 Post by sc0ttman »

Pkg 0.6 - a command line pkg manager

Changelog:

- fixed pkg uninstall: replace removed files with original files from /initrd/pup_ro2/, if needed..
Attachments
pkg-0.6.pet
correct removal of files (works like petget)
(9.63 KiB) Downloaded 307 times
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

pkg 0.7

#807 Post by sc0ttman »

Pkg 0.7 - a command line pkg manager

Changelog:

- fixes for --uninstall: hide dirname errors
- added TAB auto complete for all options and package names :)
- just start typin any option or package name and hit TAB to auto complete it
- the script '/etc/bash_completion.d/pkg' is added to the .pet package below
Attachments
pkg-0.7.pet
(10.15 KiB) Downloaded 292 times
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#808 Post by technosaurus »

I'm being kinda lazy by not just looking at the code, but how did you implement the tab completion?
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#809 Post by sc0ttman »

technosaurus wrote:I'm being kinda lazy by not just looking at the code, but how did you implement the tab completion?
I know, it's awesome...

http://stackoverflow.com/a/427608,

http://www.debian-administration.org/ar ... ion_part_2

BTW, I hope you do look at the code, I am hoping to remove most external deps, and use only my own funcs and busybox where possible, help would be appreciated...

Also I am sure theres domething dumb in there...
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

pkg 0.8

#810 Post by sc0ttman »

Pkg 0.8 cmd line pkg manager

NOTE: to get TAB completion working you must first run this command in your terminal window or console, before you run pkg:

Code: Select all

. /etc/bash_completion.d/pkg
Adding the above code to '/usr/sbin/pkg' itself does not work.. :/ any ideas??
Changelog for 0.8:
- added functions for deb2pet, dir2pet, dir2sfs, dir2tgz, pet2sfs, pet2tgz, sfs2pet, tgz2pet, txz2pet
- this removes any dependencies on the above scripts, they're now included in pkg
- also updated help info (pkg -h) and other fixes
- You can access any above conversion funcs with:

pkg --dir2pet /path/to/dir/
pkg --pet2sfs /path/to/file.pet
pkg --txz2pet /path/to/file.tar.xz
pkg --deb2pet /path/to/file.deb

or, if the package is 'downloaded' (already in the workdir):

pkg --dir2pet mydir
pkg --pet2sfs freeciv-2.3.3-i486.pet
pkg --txz2pet mytxzpkgname.tar.xz
pkg --deb2pet adebname.deb

and more... type `pkg` or `pkg -h` and hit ENTER in a terminal to see all options..

Limitations: any file to be converted gets copied to $WORKDIR before anything else happens... The converted files will end up in $WORKDIR, which is either ~/pkg/ or /mnt/home/pkg/, depends whether /mnt/home is available.. Your original files will be untouched, but you might end up overwriting your .tar.gz files in ~/pkg/, if you do file.pet->file.tar.gz, then file.pet->file.sfs, etc..
Attachments
pkg-0.8.pet
(13.42 KiB) Downloaded 308 times
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

Pkg 0.9

#811 Post by sc0ttman »

Pkg 0.9 - cmd line pkg manager

..bugfix release... this one hasn't failed me yet.. at all..
..but I'm sure it will at some point..

- Changelog:

#100213, ver 0.9,
- fixed --install, major fix
- fixed --get-deps: major fix for deps matched immediately
- fixed find_deps(): major fix
- fixed pkg --ask --uninstall: now implemented
- fixed pkg --uninstall output
- fixed pkg --download output
- fixed creation of entries in alien packages..
- added `pkg --install-all`: install all downloaded packages, works with --ask
- added `pkg ---update-all`: uninstall all installed pkgs, works with --ask
Attachments
pkg-0.9.pet
(13.89 KiB) Downloaded 481 times
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

Pkg 0.9.1

#812 Post by sc0ttman »

Pkg 0.9.1 - cmd line pkg manager

Bugfix release. Even if no one wants it ;)

*Currently* this cannot work on a woof based system.
It also therefore, does not work with ubuntu/debian repos with subdirs (/pool/c/cmus/PGKNAME)...
But that will change in the future..

Another current limitation is that only the repo currently in use will be searched for anything... I need to make it search all available repos at various points...

Changelog, #110213, ver 0.9.1:
- fixed auto enable of TAB completion, also updated stuff in /etc..
- fixed --force --uninstall-all,..
- fixed --force --install-all,..
- added --deps-all.. check all installed pkgs and install any missing deps
- added --list-repos.. now search for and list available repos
- fixes for missing repos.. default to akita
- fixed find files and dirs outside WORKDIR..
- added new repos, can use if found..
- added net_check() for downloads, repo updates + convert..
- fixed pkg -n.. faster..
- download pkg fixes in pet2sfs(), deb2pet(),pet2tgz() ..
- each repo sets the pkg exension ($EX)..
- convert a new (woof) format repofile to the old pre-woof format (wont work with ubuntu/debian/other-subdir-using-repo... yet...
- the --deb2* and --pet2* options can now take any file or valid PKGNAME (pkg found in repo)
- fixes in terminal output, and more...

Examples:

pkg -r noarch <-- set to noarch repo
pkg -g pupradio <-- install the latest pupradio

pkg -ps pupradio <-- check the status of pupradio

pkg -a -ua <--- will ask to uninstall each installed package individually

pkg -ea <-- download ALL missing deps of ALL pkgs

pkg -lr <-- list available repos
pkg -r wary51x <-- set to wary5OLD repo

pkg --pet2sfs skype_static-2.1.0.81 <-- download and convert skype

Example1, shows time taken (43 secs) to complete the above command:

Code: Select all

# time pkg --pet2sfs skype_static-2.1.0.81
Download the package: skype_static-2.1.0.81?  (y/n):
Downloading to /root/pkg/skype_static-2.1.0.81.pet. Please wait: 100%
Please wait... building SFS file..
Created '/root/pkg/skype_static-2.1.0.81.sfs' ( 27 MB )

real    0m42.902s
user    0m4.032s
sys     0m0.576s
and then I have a skype SFS, didn't have to do anything :)

Example2: lets download tixati and deps, combine into 1 pkg, and convert to an sfs:

Code: Select all

# time pkg --force --get tixati
Installing tixati..
Download the package: tixati-1.91?  (y/n):
Downloading to /root/pkg/tixati-1.91.pet. Please wait: 100%
Install the package: tixati-1.91?  (y/n):
Package 'tixati-1.91' installed.
Download the missing dependencies?  (y/n):
Downloading dependencies: dbus-glib..
Download the package: dbus-glib-0.82-akita?  (y/n):
Downloading to /root/pkg/dbus-glib-0.82-akita.pet. Please wait: 100%
Install the package: dbus-glib-0.82-akita?  (y/n):
Package 'dbus-glib-0.82-akita' installed.

real    0m24.433s
user    0m1.276s
sys     0m0.520s

Code: Select all

# time pkg --pkg-combine tixati-1.91
Combining tixati-1.91.pet and its dependencies..
Fetching dependencies...
Adding dependencies: dbus-glib..
Creating .pet package..
Package 'tixati-1.91-full' (md5: 2bf0ac109450e3b06182321234eb83af) created in: /root/pkg/
Install with the command:  'pkg -i tixati-1.91-full'

real    0m3.933s
user    0m3.656s
sys     0m0.248s

Code: Select all

# time pkg --pet2sfs tixati-1.91-full
Please wait... building SFS file..
Created '/root/pkg/tixati-1.91-full.sfs' ( 15 MB )

real    0m8.988s
user    0m8.721s
sys     0m0.208s
... that took 3 commands and just under 40 seconds (mostly download time!)... Without the --force option, anything already downloaded is not downloaded again.


To get this working on newer Puppy versions, you'd need to:

- support searching of woof format repo files... then..
- if woof format found in $REPOFILE, get pkg info as usual, inc subdir..
- update the download() func to support repos with pkgs in subdirs.. then..
- update the install() func to extract .deb, .tgz, .txz, .pkg.tar.gz, etc..
- and thats it i think..
Attachments
pkg-0.9.1.pet
(16.15 KiB) Downloaded 464 times
Last edited by sc0ttman on Tue 12 Feb 2013, 14:48, edited 9 times in total.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

bark_bark_bark
Posts: 1885
Joined: Tue 05 Jun 2012, 12:17
Location: Wisconsin USA

#813 Post by bark_bark_bark »

Hello sc0ttman,

I am building a PC from scratch. When I get it done, I am right away installing Akita because the hardware in it will be old enough to run it.

EDIT: Also, Akita is my favorite Pup. That is another reason why I will be using it.
....

partsman
Posts: 363
Joined: Wed 06 Jun 2012, 19:00
Location: OHIO,USA

akita 13

#814 Post by partsman »

hello scottman running akita 13 on old p3 desktop working great for my daughter ! 384mb ram with 128mb nvidia gf5 video card glx gears is showing 10,000 fps ! she is enjoying games on it ! i love it as well !
just wish i could run it on a newer pc ! Iam gonna try playin around with switching kernels in about a week or so when i get a little free time !
keep up the work i will post back with results of the kernel swith !
thanks again ! lovin akita !

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#815 Post by sc0ttman »

Thanks guys glad you like it... I might finally have a go at compiling a new kernel one day, I'm sure it's not that hard... As long as I completely copy someone elses settings who knows what they're doing... Would make sens to compile the kernel that wary 51x used I guess...
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

Post Reply