Better command line tools, and pkg manager suggestions
Start from what is already available..
foxpup , scottman is starting from zero something that yet exists...
but i would not stop you. I will keep away and just look.
The idea to load missing dependencies better than to list them is my goal too.
# gramps
/usr/bin/gramps: line 28: /usr/bin/python: No such file or directory
/usr/bin/gramps: line 28: exec: /usr/bin/python: cannot execute: No such file or directory
#
Gslapt is another tool , Josejp2424 comes back to it with Shiba Inu (32 and 64 bits) based on Slackware. But still missing libs to load manually.
┌─[root][01:42 AM][~]
└─[Shiba_Inu][$] gramps
Gdk, Gtk or Pango typelib not installed.
Install Gnome Introspection, and pygobject version 3.3.2 or later.
Install then instrospection data for Gdk, Gtk and Pango
but i would not stop you. I will keep away and just look.
The idea to load missing dependencies better than to list them is my goal too.
# gramps
/usr/bin/gramps: line 28: /usr/bin/python: No such file or directory
/usr/bin/gramps: line 28: exec: /usr/bin/python: cannot execute: No such file or directory
#
Gslapt is another tool , Josejp2424 comes back to it with Shiba Inu (32 and 64 bits) based on Slackware. But still missing libs to load manually.
┌─[root][01:42 AM][~]
└─[Shiba_Inu][$] gramps
Gdk, Gtk or Pango typelib not installed.
Install Gnome Introspection, and pygobject version 3.3.2 or later.
Install then instrospection data for Gdk, Gtk and Pango
- Attachments
-
- python.jpg
- using gslapt
- (72.44 KiB) Downloaded 749 times
-
- missing.png
- That is to be improved
- (10.97 KiB) Downloaded 719 times
Re: Start from what is already available..
No I'm not.. You don't understand this thread.Pelo wrote:scottman is starting from zero something that yet exists...
Obviously..Pelo wrote:but i would not stop you.
Yes please.Pelo wrote: I will keep away.
[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]
Thanks for testing mate..Keef wrote:Installed it to Slacko and just tried a few of the examples above. No harm was done to man or beast. Got no suggestions so far, but the important thing is it working pretty well.
I've been contemplating doing some petbuild scripts, but have done nothing about this yet.
The dep checking and getting routines - the find_deps() and get_deps() funcs - could (should?) be replaced
with something faster and more efficient (Pkg is a bit slower than PetGet to resolve deps)..
Luckily, changing the dependency handling in Pkg means basically replacing those two funcs
EDIT: While I'm here, the list_deps() func is also involved... And it needs to be fixed to exclude builtins
from the list of deps it returns (currently, builtins are listed as deps, then skipped by other funcs...
but they should be excluded by list_deps() to begin with.. unless -F option was given)..
This is one of the first changes I plan to do.. Should make dep resolution faster and more reliable.
(and will pave the way for the added feature of optionally adding/removing builtins too, if -F was given)..
And about build scripts ... Well, you are one of the more experienced and advanced compilers
on this forum (you helped me many times with compiling and with kernel stuff) .. So, maybe just one or two that can
act as examples of how to build particular pkgs (PETs that need a source patch, for example, or whatever takes ur fancy) ...
.. to show people how's it's done..
Just a thought, obvs...
[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]
Pkg 1.9.3
As above, fixes in dependency resolution..
Changelog for 1.9.3
Changelog for 1.9.3
Code: Select all
- fixed default settings in rc file:
# fix prevent correct dep search in first run
# updated, DEPSEARCH='list_all_pkg_names' by default
- fixes in dep resolution:
# much faster, less looping, checks fewer deps, more reliable:
# now filtering out installed pkgs all in one go, in find_deps() and list_deps()
# so `pkg --list-deps PKGNAME` now lists missing deps, not all deps.
# the same for `pkg --pkg-status PKGNAME` .. only lists missing deps
- Attachments
-
- pkg-1.9.3alpha-noarch.pet
- (136.63 KiB) Downloaded 330 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]
Pkg-1.9.4alpha
Changelog for 1.9.4
Code: Select all
1.9.4
- clean up in find_deps() and get_deps():
# replaced some code in find_deps() with a call to list_deps()
# cleaned up dep name validation, simpler, faster, less code in find_deps()
# small cleanup in get_deps()
# small cleanup in list_deps()
- fixes in /etc/bash_completion.d/pkg
# fixed context sensitive TAB auto-complete results for
--names-all(-na), --search-all(-sa), --names-exact-all(-nea)
# fixed: added missing entry for txz2* cmds
- Attachments
-
- pkg-1.9.4alpha-noarch.pet
- (136.27 KiB) Downloaded 348 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]
Pkg-1.9.5alpha
Changelog for 1.9.5
Code: Select all
1.9.5
- fixes for installing/uninstalling local pkgs outside $WORKDIR:
# see install_pkg(), uninstall_pkg(), list_dependants(), is_pkg_installed()
- fixes in is_installed_pkg() checks
- Attachments
-
- pkg-1.9.5alpha-noarch.pet
- (136.45 KiB) Downloaded 343 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]
Pkg 1.9.6
Changelog for 1.9.6
This mostly fixes the frontends:
- Pkgdialog (ncurses menu, works with or without X)
- Gpkgdialog (gtkdialog GUI, requires X, gtkdialog, Xdialog)
Gpkgdialog:
Note, these frontends are not meant to be the 'main' way of using Pkg - the command line is still the best way to use Pkg.
I removed some function testing stuff from Pkg, as those funcs won't change much, and I kept the tests if I need them..
I will keep testing it on Slacko for a bit, until I am sure it's pretty solid, then I can more easily make it work with other Pups..
This should, by then, be mostly a matter of adding new repo entries to ~/.pkg/sources-all, plus some small fixes..
Once Pkg is pretty reliable in a variety of recent Pups, I will get onto adding some of the more useful features I have planned.
Code: Select all
1.9.6
- updated Gpkgdialog to 0.2
# fixed: updated to work with latest Pkg:
- fixed pkg listings (available, installed, build scripts)
- added support for petbuild as well as buildpet
- fixes and updates for most functions
- cleaned up code, added comments
- updated Pkgdialog to 0.5
# fixed: skip first run Pkg message
- Cleanup: remove function testing stuff /usr/sbin/pkg
- Pkgdialog (ncurses menu, works with or without X)
- Gpkgdialog (gtkdialog GUI, requires X, gtkdialog, Xdialog)
Gpkgdialog:
Note, these frontends are not meant to be the 'main' way of using Pkg - the command line is still the best way to use Pkg.
I removed some function testing stuff from Pkg, as those funcs won't change much, and I kept the tests if I need them..
I will keep testing it on Slacko for a bit, until I am sure it's pretty solid, then I can more easily make it work with other Pups..
This should, by then, be mostly a matter of adding new repo entries to ~/.pkg/sources-all, plus some small fixes..
Once Pkg is pretty reliable in a variety of recent Pups, I will get onto adding some of the more useful features I have planned.
- Attachments
-
- pkg-1.9.6alpha-noarch.pet
- (136.43 KiB) Downloaded 353 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]
Pkg 1.9.7
Changelog
Code: Select all
1.9.7
- fixes in dir2pet(): make better use of existing pet.specs when creating PETs
- fixes in install_pkg(): include pkg size and deps in ~/.packages/user-installed-packages
- fixes in pkg_status(): show size and deps for alien and downloaded pkgs (if poss)
- Attachments
-
- pkg-1.9.7alpha-noarch.pet
- (136.59 KiB) Downloaded 342 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]
Pkg 1.9.8
Changelog for 1.9.8
Code: Select all
1.9.8
- fixes for update_pkg() and install_pkg()
# fixes search all repos for newer version of PKGNAME, and installing it
- fix pkg_repack(), add build number to created PET
# get build number from pkgs repo entry, increment it, add to end of pkg name
- fixes in get_pkg_name()
# make sure to search user installed pkgs first
# this fixes finding names of pkgs that were installed over builtins
# example: --pkg-update may install geany-1.28 (salix repo) over the builtin geany-1.27
- fixes for pkg_status()
# fixed getting info of user installed pkgs which overwrite builtin pkgs
- fixes in menu_entry_msg()
# nicer output, faster
- fixes in which_repo()
# better at finding the repo for pkgs with build numbers like '-1gv'
- Attachments
-
- pkg-1.9.8alpha-noarch.pet
- (136.62 KiB) Downloaded 352 times
Last edited by sc0ttman on Wed 04 Oct 2017, 00:33, 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]
- battleshooter
- Posts: 1378
- Joined: Wed 14 May 2008, 05:10
- Location: Australia
Oh this is looking pretty cool Scott, watching with interest
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=94580]LMMS 1.0.2[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94593]Ardour 3.5.389[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94629]Kdenlive 0.9.8[/url]
Thanks
I *think* it's getting fairly close to stable on my Slacko 6.9.x ...
Prob not at all on anything else yet..
I will test on Stretch, Xenial and Zesty pups soon .. I keep saying that, but I will ..
My Windows HD (with all my "important" stuff) died on me (again) so I'm sorting that first..
BTW.. If anyone cares,
I had a really good think about contrib repos, and decided that Git LFS is probably the
best way to go.. It allows storing large binary files in GitHub
Also, here's the main goals at this point:
- bug fixes until all funcs work as expected on Slacko (pretty much there I think)
- same as above on Ubuntu and Debian pups
- make compatible with Woofy (and update Woofy to 0.92 in the process)
- make compatible with Woof build process (so you can use pkg to easily add/remove pkgs during a woof build)
- add some super useful/cool features as listed below:
-F option .. will force (re)install/uninstall/etc, including builtins
pkg --rootfs /path/to/dir # choose a new root filesystem to install pkgs into (or something!)
pkg --repo2git /path/to/dir # create a contrib repo from a dir full of PETs
pkg --install my-app.sfs # register loaded SFS files with package manager like normal pkgs
pkg --extract PKGNAME # unpack a pkg, but do nowt else .. EDIT: Done, see next post
pkg --blacklist PKGNAME # exclude pkg from searches, dep list etc
pkg --rdep PKGNAME # list pkgs that depend on PKGNAME
pkg --cpan PKG # wrapper for CPAN (adds CPAN modules as installed pkgs to PetGet/Pkg)
pkg --pip PKG # wrapper for PIP (adds Python modules as installed pkgs to PetGet/Pkg)
and others ...
etc
EDIT: Any commands anyone can dream up that you'd like, let me know while this is
still in the suggestions thread
I *think* it's getting fairly close to stable on my Slacko 6.9.x ...
Prob not at all on anything else yet..
I will test on Stretch, Xenial and Zesty pups soon .. I keep saying that, but I will ..
My Windows HD (with all my "important" stuff) died on me (again) so I'm sorting that first..
BTW.. If anyone cares,
I had a really good think about contrib repos, and decided that Git LFS is probably the
best way to go.. It allows storing large binary files in GitHub
Also, here's the main goals at this point:
- bug fixes until all funcs work as expected on Slacko (pretty much there I think)
- same as above on Ubuntu and Debian pups
- make compatible with Woofy (and update Woofy to 0.92 in the process)
- make compatible with Woof build process (so you can use pkg to easily add/remove pkgs during a woof build)
- add some super useful/cool features as listed below:
-F option .. will force (re)install/uninstall/etc, including builtins
pkg --rootfs /path/to/dir # choose a new root filesystem to install pkgs into (or something!)
pkg --repo2git /path/to/dir # create a contrib repo from a dir full of PETs
pkg --install my-app.sfs # register loaded SFS files with package manager like normal pkgs
pkg --extract PKGNAME # unpack a pkg, but do nowt else .. EDIT: Done, see next post
pkg --blacklist PKGNAME # exclude pkg from searches, dep list etc
pkg --rdep PKGNAME # list pkgs that depend on PKGNAME
pkg --cpan PKG # wrapper for CPAN (adds CPAN modules as installed pkgs to PetGet/Pkg)
pkg --pip PKG # wrapper for PIP (adds Python modules as installed pkgs to PetGet/Pkg)
and others ...
etc
EDIT: Any commands anyone can dream up that you'd like, let me know while this is
still in the suggestions thread
Last edited by sc0ttman on Sun 08 Oct 2017, 17:19, 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]
Pkg 1.9.10
Changelog for 1.9.8 to 1.9.10
Code: Select all
1.9.10
- removed outdated changelog from top of /usr/sbin/pkg
- fixes various: list/return user installed pkgs before builtins and devx pkgs in various places
- fixed which_pkg(): dont falsely list 'busybox' as the pkg from which FILE came
- fixed get_pkg_ext(): added sfs, tbz, tar.bz2, tlz, tar.lzma extensions
- fixed install_pkg(): added support for extracting tbz/tar.bz2 and tlz/tar.lzma
- fixed install_pkg(): call /usr/sbin/sfs_loader as a CLI tool (no gui)
- fixed unpack_pkg(): dont exit, only return; now works when called in install_pkg()
- fixed unpack_pkg(): extract SFS files to current dir
- fixed pkg_contents(): fixed a typo that would prevent skipping the loop
- fixes in sources-all: added many more repos, using fastest mirrors first, better/safer fallback lists
1.9.9
- fixed: capitalise the N in the (y/N) tag .. so users know that N is default (any key)
- fixes: handling .tar.bz2 and .tbz packages.. in get_pkg_ext(), install_pkg()
- fixes: in ~/.pkg/sources-all for some puppy repos (puppy4,puppy5, etc)
- added: pkg --extract FILE (unpack pkg file into ./PKGNAME)
- added: updated help info (--help|-h) and TAB auto-completion
- added: /usr/sbin/exploderpm added to the PET package
- added: more repos to list of available repos in ~/.pkg/sources-all
- Attachments
-
- pkg-1.9.10alpha-noarch.pet
- (136.78 KiB) Downloaded 346 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]
scottman
I was using the latest Lupu when I downloaded 1.9.10, so thought I'd try in on that.
Altered pkgrc like so:
then ran pkg --update-sources
sources file:
Looks to be ok, but tried to install some packages. Here is what happened:
I think most of the ubuntu links are down now but the pet URLs are not working - there is an extra bit inserted eg:
/pet_packages-lucid/pet-packages-lcuid/
/pet_packages-lucid/pet-packages-lucid/
There are just empty text files getting downloaded, but are being registered as proper packages (try to install again, and it says they are already installed).
The output above is quite verbose as originally I had left the slacko stuff in REPOFALLBACKS. When I took that out, the output was very minimal (but obviously less useful for testing purposes).
I was using the latest Lupu when I downloaded 1.9.10, so thought I'd try in on that.
Altered pkgrc like so:
Code: Select all
WORKDIR=/root/pkg
REPONAME=lucid
EX=pet
REPOFILE=Packages-puppy-lucid-official
REPOURL1=http://distro.ibiblio.org/puppylinux/pet_packages-lucid/
REPOURL2=http://ftp.nluug.nl/os/Linux/distr/puppylinux/pet_packages-lucid/
sources file:
Code: Select all
lucid|pet|Packages-puppy-lucid-official|http://ftp.nluug.nl/os/Linux/distr/puppylinux/pet_packages-lucid/|http://distro.ibiblio.org/puppylinux/pet_packages-lucid/|||lucid-main lucid-universe lucid-multiverse noarch common dpup quirky wary53x wary51x akita puppy5 puppy4 puppy3 puppy2
wary53x|pet|Packages-puppy-wary5-official|http://ftp.nluug.nl/os/Linux/distr/puppylinux/pet_packages-wary5/|http://distro.ibiblio.org/puppylinux/pet_packages-wary5/|||common noarch quirky wary51x akita dpup puppy4 lucid puppy3 puppy2 slacko slacko14
puppy5|pet|Packages-puppy-5-official|http://ftp.nluug.nl/os/Linux/distr/puppylinux/pet_packages-5/|http://distro.ibiblio.org/puppylinux/pet_packages-5/|||puppy4 puppy3 puppy2 noarch common wary51x akita quirky wary53x dpup slacko lucid slacko14
puppy4|pet|Packages-puppy-4-official|http://ftp.nluug.nl/os/Linux/distr/puppylinux/pet_packages-4/|http://distro.ibiblio.org/puppylinux/pet_packages-4/|||puppy3 puppy2 noarch common wary51x akita quirky wary53x dpup slacko lucid slacko14
puppy3|pet|Packages-puppy-3-official|http://ftp.nluug.nl/os/Linux/distr/puppylinux/pet_packages-3/|http://distro.ibiblio.org/puppylinux/pet_packages-3/|||puppy4 puppy2 noarch common wary51x akita quirky wary53x dpup slacko lucid slacko14
puppy2|pet|Packages-puppy-2-official|http://ftp.nluug.nl/os/Linux/distr/puppylinux/pet_packages-2/|http://distro.ibiblio.org/puppylinux/pet_packages-2/|||puppy3 puppy4 noarch common wary51x akita quirky wary53x dpup slacko lucid slacko14
lucid-main|deb|Packages-ubuntu-lucid-main|http://mirror.anl.gov/pub/ubuntu/|http://ftp.filearena.net/pub/ubuntu/|http://mirrors.kernel.org/ubuntu/|http://archive.ubuntu.com/ubuntu/|noarch common upup lucid-multiverse lucid-universe lucid dpup wary53x quirky wary51x akita puppy5 puppy4 puppy3 puppy2
lucid-multiverse|deb|Packages-ubuntu-lucid-multiverse|http://mirror.anl.gov/pub/ubuntu/|http://ftp.filearena.net/pub/ubuntu/|http://mirrors.kernel.org/ubuntu/|http://archive.ubuntu.com/ubuntu/|noarch common upup lucid-main lucid-universe lucid dpup quirky wary53x wary51x akita puppy5 puppy4 puppy3 puppy2
lucid-universe|deb|Packages-ubuntu-lucid-universe|http://mirror.anl.gov/pub/ubuntu/|http://ftp.filearena.net/pub/ubuntu/|http://mirrors.kernel.org/ubuntu/|http://archive.ubuntu.com/ubuntu/|noarch common upup lucid-main lucid-multiverse lucid dpup quirky wary53x wary51x akita puppy5 puppy4 puppy3 puppy2
Looks to be ok, but tried to install some packages. Here is what happened:
Code: Select all
# pkg -g fbterm
Download from lucid-universe repo: fbterm_1.6-1_i386.deb:
Checking 'lucid-universe' repo mirrors...
URL: http://ftp.filearena.net/pub/ubuntu/pool/universe/f/fbterm/fbterm_1.6-1_i386.deb
Downloading fbterm_1.6-1_i386.deb. Please wait:
Success: Downloaded /root/pkg/fbterm_1.6-1_i386.deb.
Install package fbterm_1.6-1_i386:
cp: cannot create regular file `{CURDIR}/fbterm_1.6-1_i386/fbterm_1.6-1_i386.deb': No such file or directory
dpkg-deb: error: failed to read archive `fbterm_1.6-1_i386.deb': No such file or directory
rm: cannot remove `fbterm_1.6-1_i386.deb': No such file or directory
Error: fbterm_1.6-1_i386 may not have installed correctly.
Resolving dependencies
No missing dependencies.
# pkg -g nano
Download from lucid-main repo: nano_2.2.2-1_i386.deb:
Checking 'lucid-main' repo mirrors...
URL: http://ftp.filearena.net/pub/ubuntu/pool/main/n/nano/nano_2.2.2-1_i386.deb
Downloading nano_2.2.2-1_i386.deb. Please wait:
Success: Downloaded /root/pkg/nano_2.2.2-1_i386.deb.
Install package nano_2.2.2-1_i386:
cp: cannot create regular file `{CURDIR}/nano_2.2.2-1_i386/nano_2.2.2-1_i386.deb': No such file or directory
dpkg-deb: error: failed to read archive `nano_2.2.2-1_i386.deb': No such file or directory
rm: cannot remove `nano_2.2.2-1_i386.deb': No such file or directory
Error: nano_2.2.2-1_i386 may not have installed correctly.
Resolving dependencies
Dependencies to get: firefox
Download from lucid repo: Firefox-24-Lucid.pet:
Checking 'lucid' repo mirrors...
URL: http://ftp.nluug.nl/os/Linux/distr/puppylinux/pet_packages-lucid/pet-packages-lucid/Firefox-24-Lucid.pet
Downloading Firefox-24-Lucid.pet. Please wait:
Success: Downloaded /root/pkg/Firefox-24-Lucid.pet.
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Package 'Firefox-24-Lucid' not yet downloaded.
You could install one of the following packages with `pkg -i PKGNAME`:
Firefox-24-Lucid.pet
nano_2.2.2-1_i386.deb
# pkg -g beaver
Download from lucid repo: beaver-0.4.1-i386.pet:
Checking 'lucid' repo mirrors...
URL: http://ftp.nluug.nl/os/Linux/distr/puppylinux/pet_packages-lucid/pet-packages-lcuid/beaver-0.4.1-i386.pet
Downloading beaver-0.4.1-i386.pet. Please wait:
Success: Downloaded /root/pkg/beaver-0.4.1-i386.pet.
Install package beaver-0.4.1-i386:
Error: Unsupported compression type, or corrupted package.
# pkg -u nano
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
Uninstall the package nano_2.2.2-1_i386:
Success: nano_2.2.2-1_i386 uninstalled.
/pet_packages-lucid/pet-packages-lcuid/
/pet_packages-lucid/pet-packages-lucid/
There are just empty text files getting downloaded, but are being registered as proper packages (try to install again, and it says they are already installed).
The output above is quite verbose as originally I had left the slacko stuff in REPOFALLBACKS. When I took that out, the output was very minimal (but obviously less useful for testing purposes).
Hi Keef, thanks for testing ... Pkg must be frustratingly crap at the mo, I'm sure...
Problem 1 is a typo
Line 2703 is missing a $ sign, and needs to be changed from:
to
I will fix it so that if line 2703 fails (stuff not copied) Pkg will exit with error at that point.
Problem 2: I just learned the Packages-puppy-lucid-official repo file contains subdirs (field 7) ..
So, you can remove the "pet_packages-lucid/" bit from the Lucid URLs in ~/.pkg/sources-all .. Something like:
I also found the cause of "/pet-packages-lcuid" ... it's a typo in the repo file itself.. Beaver is literally the only package with that typo,, Good find!
Problem 3: You *shouldn't* need to manually change pkgrc .. just run
Then you should be good to go...
If the fixes above still don't work, the problem may be incorrect/outdated URLs or repo file names in sources-all (I added them blind)..
but if the debs download to /root/pkg, they should be fine..
Problem 4: I've no idea why Firefox would be a dep of nano .. Can't be right!!
Stranger still, the Lucid-main repo file (Packages-ubuntu-lucid-main) I just downloaded doesn't even have nano in it...
What a mess, eh?? ... better boot Lucid (or Lupu??? what's the difference?) and see!
Also I will update it so it checks archive integrity after download - so Pkg won't attempt an install if not a valid pkg/archive file..
Problem 1 is a typo
Line 2703 is missing a $ sign, and needs to be changed from:
Code: Select all
cp "${CURDIR}/${PKGNAME}.deb" "{CURDIR}/${PKGNAME}/${PKGNAME}.deb"
Code: Select all
cp "${CURDIR}/${PKGNAME}.deb" "${CURDIR}/${PKGNAME}/${PKGNAME}.deb"
Problem 2: I just learned the Packages-puppy-lucid-official repo file contains subdirs (field 7) ..
So, you can remove the "pet_packages-lucid/" bit from the Lucid URLs in ~/.pkg/sources-all .. Something like:
Code: Select all
lucid|pet|Packages-puppy-lucid-official|http://ftp.nluug.nl/os/Linux/distr/puppylinux/|http://distro.ibiblio.org/puppylinux/|||lucid-main lucid-universe lucid-multiverse noarch common dpup quirky wary53x wary51x akita puppy5 puppy4 puppy3 puppy2
Problem 3: You *shouldn't* need to manually change pkgrc .. just run
Code: Select all
pkg --update-sources
pkg --repo lucid
If the fixes above still don't work, the problem may be incorrect/outdated URLs or repo file names in sources-all (I added them blind)..
but if the debs download to /root/pkg, they should be fine..
Problem 4: I've no idea why Firefox would be a dep of nano .. Can't be right!!
Stranger still, the Lucid-main repo file (Packages-ubuntu-lucid-main) I just downloaded doesn't even have nano in it...
What a mess, eh?? ... better boot Lucid (or Lupu??? what's the difference?) and see!
Also I will update it so it checks archive integrity after download - so Pkg won't attempt an install if not a valid pkg/archive file..
[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]
Tried again on Stretch 7.0.0 with the line 2703 fix.
Downloads are ok but do get some warnings, eg:
Also note the missing dependency.
Also happened with FBReader:
Downloads are ok but do get some warnings, eg:
Code: Select all
# pkg -g treesheets
/usr/sbin/pkg: line 19: grep: Argument list too long
/usr/sbin/pkg: /usr/sbin/pkg: /usr/sbin/pkg: line 19: cut: Argument list too long
line 19: line 19: sed: Argument list too longgrep: Argument list too long
/usr/sbin/pkg: line 19: sed: Argument list too long
/usr/sbin/pkg: line 19: basename: Argument list too long
/usr/sbin/pkg: line 19: grep: Argument list too long
/usr/sbin/pkg: line 19: grep: Argument list too long
/usr/sbin/pkg: line 19: grep: Argument list too long
/usr/sbin/pkg: line 19: grep: Argument list too long
/usr/sbin/pkg: line 19: grep: Argument list too long
/usr/sbin/pkg: line 19: grep: Argument list too long
/usr/sbin/pkg: line 19: cut: Argument list too long
/usr/sbin/pkg: /usr/sbin/pkg: line 19: grep: Argument list too long/usr/sbin/pkg:
line 19: grep: Argument list too long
line 19: sed: Argument list too long
/usr/sbin/pkg: /usr/sbin/pkg: /usr/sbin/pkg: line 19: cut: Argument list too long
line 19: grep: Argument list too long
line 19: sed: Argument list too long
/usr/sbin/pkg: line 19: grep: Argument list too long
Install package treesheets_20161120~git7baabf39-1_i386:
Success: treesheets_20161120~git7baabf39-1_i386 installed.
Menu entry: [None] -> TreeSheets
Resolving dependencies
No missing dependencies.
# treesheets
treesheets: error while loading shared libraries: libwx_gtk2u_aui-3.0.so.0: cannot open shared object file: No such file or directory
#
Also happened with FBReader:
Code: Select all
...
Success: Downloaded /root/pkg/fbreader_0.12.10dfsg2-2+b1_i386.deb.
Install package fbreader_0.12.10dfsg2-2+b1_i386:
Success: fbreader_0.12.10dfsg2-2+b1_i386 installed.
Menu entry: Personal -> E-book reader
Resolving dependencies
No missing dependencies.
# fbreader
fbreader: error while loading shared libraries: libzltext.so.0.13: cannot open shared object file: No such file or directory
#
1.9.11
.. this won't fix all the errors posted above, but it's probably better...
Plus, now you can install/uninstall SFS files with the usual commands.
.. works best with SFS files created using dir2sfs or pkg --dir2sfs..
The following command should work OK with SFS 'packages':
(tested with torcs-1.3.7-i686_s700.sfs, qemu-2.4.1-i686_s700_6.9.11.sfs)
.. and you don't need to give the .sfs extension if the SFS file is in current dir or installed..
(but if you don't give the .sfs extension Pkg might get confused by SFS files with exact same names as repo PETs etc.. not sure yet)
Changelog for 1.9.11
Plus, now you can install/uninstall SFS files with the usual commands.
.. works best with SFS files created using dir2sfs or pkg --dir2sfs..
The following command should work OK with SFS 'packages':
(tested with torcs-1.3.7-i686_s700.sfs, qemu-2.4.1-i686_s700_6.9.11.sfs)
Code: Select all
pkg -i file.sfs # install
pkg -u file.sfs # uninstall
pkg -c file.sfs # list sfs contents
pkg -pi # is installed or not [returns true/false]
pkg -ps file.sfs # show pkg status
(but if you don't give the .sfs extension Pkg might get confused by SFS files with exact same names as repo PETs etc.. not sure yet)
Changelog for 1.9.11
Code: Select all
1.9.11
- added a fixed sfs_load called sfs_loadr, with fixes for the --cli option
- removed /usr/sbin/sfs_load_cli, outdated, not needed
- removed /usr/sbin/sfs_installer, outdated, not needed
- updated `pkg -i file.sfs` to install SFS like pkgs (uses sfs_loadr)
- updated `pkg -c file.sfs` lists SFS file contents too
- updated `pkg -u file.sfs` to uninstall SFS file (uses sfs_loadr)
- updated gpkgdialog to 0.3: cleaned up popup/tailbox output
- fixed check bad pkg URLs (404s), dont download
- fixed typo preventing .deb pkg install in install_pkg()
- fixed typo preventing parse correct pkg extension in pkg_unpack()
- fixes in get_pkg(), only install if pkg contents can be listed by pkg_contents()
- fixed a 'not getting deps properly' regression (I think)
- fixes in is_installed_pkg(), more accurate, fewer checks
- fixes in lucid repo stuff in ~/.pkg/sources-all
- cleanup download_pkg(), use download_progress script when called by gpkgdialog
- better error code handling and output .. Pkg fails a bit better/earlier
- Attachments
-
- pkg-1.9.11alpha-noarch.pet
- (141.14 KiB) Downloaded 385 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]
sc0ttman
I've found that pkg -go <package name> will download the named package without installing, but any dependencies get automatically installed, which may not be wanted.
On Lupu, is not working.
I tried altering pkgrc again, and the minimum changes needed are to REPONAME and REPOFILE.
'pkg --update-sources' and 'pkg --repo lucid' will then run ok, and the 'sources' file is updated.
Tried the sfs options on Slacko and had no problems.
I've found that pkg -go <package name> will download the named package without installing, but any dependencies get automatically installed, which may not be wanted.
On Lupu,
Code: Select all
pkg --update-sources
Code: Select all
# pkg --update-sources
Error: Repo files not found. Check /root/.packages
'pkg --update-sources' and 'pkg --repo lucid' will then run ok, and the 'sources' file is updated.
Tried the sfs options on Slacko and had no problems.
Hi Keef,
Were you running as root when `--updates-sources` didn't work?
Can you please give the the output of this in Lupu:
.. it should list all the available repo files.. I wouldn't ask but they are not all on ibiblio..
Also, I'm guessing that if by default ~/.pkg/pkgrc had details for noarch (not slack14.2),
when it was installed, then that `--update-sources` problem would go away.. So I'll do that.
Thanks for the feedback
Were you running as root when `--updates-sources` didn't work?
Can you please give the the output of this in Lupu:
Code: Select all
pkg -rfl
Also, I'm guessing that if by default ~/.pkg/pkgrc had details for noarch (not slack14.2),
when it was installed, then that `--update-sources` problem would go away.. So I'll do that.
Thanks for the feedback
Last edited by sc0ttman on Wed 11 Oct 2017, 14:41, 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]
1.9.12
Changelog for 1.9.12
Code: Select all
1.9.12
- fixes in searches using pkg aliases
- fixes in is_local_pkg(), more reliable
- fixes in pkg_contents(), better at looking for WORKDIR/PKGNAME when not in WORKDIR
- fixes in pkg_contents(), removed error from output when pkgname comes from stdin (`pkg opts | pkg --contents -`)
- fixes in deb2pet(), now works better, cleaned up, uses the pkg_unpack() func
- fixed `pkg -go pkgname`: dont install pkgs, just download them
- fixed `pkg -PS pkgname`: lists deps sorted by missing/installed, more detailed than `pkg -ps pkgname`
- fixed `pkg --deps-check PKGNAME`: runs ldd on PKGNAME (must be an installed pkg) and prints msg about missing libs
- fixed TAB completion for --all-pkgs option
- fixes in RC files: use noarch repo on first run. See /etc/pkg/* and in ~/.pkg/*
- added new URLs for Trusty, Lucid and Precise repos: http://old-releases.ubuntu.com/ubuntu/
- added `pkg -pkg-entry PKGNAME`: list repo entry of pkg, each field on new line
- updated --list-deps,--list-installed:
# --list-deps default behaviour is still to "list all deps of pkg (not inc builtins)"
# --list-installed default behaviour is still to "list all installed pkgs (not inc builtins)"
# but they now support the env vars: HIDE_USER_PKGS, HIDE_BUILTINS [true or false] ..
# Pkg users can use these in combination to show all, only missing, already builtin, etc
# EG:
HIDE_USER_PKGS=true HIDE_BUILTINS=true pkg -le PKGNAME # list only deps not yet installed:
HIDE_USER_PKGS=true HIDE_BUILTINS=false pkg -le PKGNAME # list only the deps of PKGNAME that are already built in
HIDE_USER_PKGS=false HIDE_BUILTINS=false pkg -le PKGNAME # list all deps of PKGNAME (as listed in its repo, inc builtins)
HIDE_USER_PKGS=false HIDE_BUILTINS=false pkg -li PKGNAME # list all installed pkgs, inc builtins
...etc
- added `pkg -LE pkgname`: lists all deps, including builtins
- added `pkg -LI pkgname`: lists all installed pkgs, including builtins
- added the new capitalised options to help info [--help|-h|-H]
- added "NO_INSTALL" env var: replaces DEPINSTALL, GETINSTALL.. used by --get-only, --deps-download, others
- Attachments
-
- pkg-1.9.12alpha-noarch.pet
- (141.91 KiB) Downloaded 372 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]