@bellard: I confirm this one is better.
New version of packages manager (tazpkg) testing needed
(128 posts) (12 voices)-
Posted 9 years ago #
-
@Aleksej,
Last week end I installed tazpkg-759 and tazpanel-426 for tests
This evening, I recharged with TazPanel the packages list and I see 11 new packages on mirror (tazpanel426_1.png).
1. Is it normal there are 2 tazpanel (426 and 427) and 2 tazpkg (759 and 761) packages?Then I've checked for upgrades; tazpanel and tazpkg don't appear in the list.
2. ???Then I've done a search packages for
tazp
. I can see tazpanel-427 and tazpkg-761 (and no tazpanel-426 and tazpkg-759 anymore) and see that these packages are not installed of course on my system (tazpanel426_3.png).
3. Why TazPanel didn't propose to me to install them after checking for upgrades?Posted 9 years ago # -
Hi Ceel,
Thank you for your reports!
1. Confirmed.
Really,/var/lib/tazpkg/packages.list
containes doubled lines fortazpkg
andtazpanel
:
grep 'tazpkg\|tazpanel' /var/lib/packages.list tazpanel-426 tazpanel-427 tazpanel-theme-sandfive-1.0 tazpkg-759 tazpkg-761 tazpkg-desc-ru-150109
I say more: not only these two packages, but some packages also. Here the full list:
cairo-1.14.0 cairo-1.14.2 slitaz-base-files-265 slitaz-base-files-5.6.5 slitaz-boot-scripts-398 slitaz-boot-scripts-5.7.1 tazpanel-426 tazpanel-427 tazpkg-759 tazpkg-761
And it is a bug. Not in the TazPanel or TazPkg, but somewhere in the Cooker site. I'll try to recharge lists on the Cooker site, let's see if it helps.
2. Maybe it not listed because of non-standard sitiation with previous bug.
3. I know it, sorry.
When I optimized search for speed it was difficult to show all sort of packages (not installed, installed, installed and blocked). So, really it shows generic package icon for all packages regardless of whether package is installed or not. I plan to fix this bug ASAP.
___
PS. Seems, Recharge page (on the first picture) kinda ugly. I'll fix it next to search packages bug.
___
PPS. Lists fixed (I re-maked lists, it not helps; then removed redundant packages by hands and re-maked lists). Let's wait when these lists appeared on the SliTaz mirrors.Posted 9 years ago # -
Hi Ceel,
Search fixed in the TazPkg-763. Download and install it right now from http://cook.slitaz.org/cooker.cgi?pkg=tazpkg
Hg changeset: http://hg.slitaz.org/tazpkg/rev/5a6155d9197a
Waiting for a new reports from you, and
Have a nice day! ;)Posted 9 years ago # -
Hello Aleksej,
This is what I saw in TazPanel-428... and some questions.
After checking for updates, the [Toggle all] button has no effect (thanks for [(Un)block] button!); well, need to select packages one by one...
Setting > Summary: in the System time window > Set date field, TazPanel doesn't display the current month but January; don't forget to change it when you want to adjust the clock!
Why TazPanel asks for a username? Does it mean that I could give rights to users to access to TazPanel?
I remember I can change the password in TazPanel:
(not cool to display it ;-)
root@slitaz:/home/sda7# tazpanel passwd
Changing password for TazPanel
New password: cool
Password changed successfully
But the password of... who?
TazPanel doesn't let me specify a user:sda7@slitaz:~$ tazpanel --help
Usage: tazpanel [start|stop|passwd|app]And after I changed successfully the password, I cannot open TazPanel otherwise than with
root/root password
Did I miss something?
What I would like to do (think to this for SliTaz 6.0 ;-) is to allow some users to use TazPanel or better, only a part of TazPanel: network configuration or/and setting-summary or/and packages manager or/and...
Okay, I stop smoking.Posted 9 years ago # -
@Ceel
Tazpanel uses browser's password prompt.
You can launch it without password by terminal command as regular user:
$ tazweb root:root@tazpanel:82
where second bold "root" is default root password.Or by Applications -> SystemTools -> Package Manager (if root pass exists in file). If password not found in ~/.config/slitaz/subox.conf file this menuitem launches nothing to save root password.
Posted 9 years ago # -
Hi Ceel,
Button [Toggle] works in the packages upgrade page. I've checked it just now.
Only thing, you need to wait for page is completely loaded to use [Toggle] button.
I changed a bit tazpanel.js (from tazpanel package) and it works without waiting. But it is useless until packages list is not completed — now, my upgrade list contains 561 packages %) — when I click repeatedly [Toggle] button while page generated, it causes to completely mess :DWhy TazPanel asks for user name and password.
TazPanel is a web application. Web browser shows it. And here used Basic access authentication, so it always asks both for user name and password.
But you can open TazPanel as user (not root). I tried right now with my tux user, and I enter TazPanel successfully. Then I opened TazPanel Terminal and enter command
whoami
, and it shows that I'mtux
. At first sight — only difference is TazPanel not shows "Install" in the TazPanel's menu. TazPkg Recharge tells me that I need to be root, etc. etc...But the password of... who?
From beginning, TazPanel allow to enter only root. So, after changing password you can enter TazPanel with user "root" and that password (seems you should restart tazpanel service manually! (or just reboot system)). I can't say more, I not investigated TazPanel working under user rights.
Posted 9 years ago # -
Hi Aleksej,
Button [Toggle] works in the packages upgrade page.
I recharged an old package, check for upgrade, click on [Toggle] and... yes it works... ??
But you can open TazPanel as user (not root). I tried right now
I can't believe it! It works too! And yesterday it didn't.
Sure, it's better I stop smoking.Yesterday I forgot this:
# tazpkg list cat
displays 2 identical lists side by side where categories are mixed with ????# tazpkg list cat Packages categories ================================================================================ admin admin base-system base-system cli-mono cli-mono comm comm database database development development doc doc editors editors electronics electronics embedded embedded fonts fonts games games gnome gnome gnu-r gnu-r gnustep gnustep graphics graphics hamradio hamradio haskell haskell httpd httpd java java kernel kernel libdevel libdevel libs libs lisp lisp localization localization mail mail math math meta meta misc misc multimedia multimedia network network news news non-free non-free ocaml ocaml office office oldlibs oldlibs otherosfs otherosfs perl perl php php ruby ruby security security shells shells sound sound system-tools system-tools tex tex text text utilities utilities vcs vcs video video web web x-window x-window xfce xfce ================================================================================ 52 categories
I suppose the command should display something similar than TazPanel does when clicking on All categories in the right pane.
By the way, 6 Categories (database, editors, gnome, libdevel, libs, localization) are missing in the right pane and categories are in a strange order.Posted 9 years ago # -
Something I don't understand with TazPkg / TazPanel:
I test rolling on 2 different partitions: sda3 and sda7 (full install).
I'm quite sure yesterday I've recharge the packages list on 2.-
sda3
- Recharge list:
Mirrored packages diff tazlito-5.2.8 tazusb-4.2.7 2 new packages on the mirror.
- [Check upgrades] -> no package to update...
-
look at My Packages:
tazlito = 5.2.7 tazusb = 4.2.6
- Recharge list:
-
sda7
- notification "There is 1 upgradeable package"
- My packages: tazlito and tazusb are 5.2.7 and 4.2.6
-
Recharge list:
Mirrored packages diff clearlooks-colors-2.22 perltidy-20140711 tazlito-5.2.8 tazpkg-763 tazusb-4.2.7 5 new packages on the mirror.
- look at My Packages: tazpkg = 763 (blocked)
- [Check upgrades] -> only gtk+-2.24.24 !!!
???
Well, the 2 pakages list are now the same; tazpkg is unblocked on sda7; same conditions for the 2 installations. I'll test it again in the next days and let you know.
Proposal for tazpkg and tazpanel in the future: have an option to display the date of the package list.
Posted 9 years ago # -
sda3
-
Problems with 2 versions of same package again?
Something is wrong with cookiso at build server:
http://cook.slitaz.org/cookiso.cgi?distro=rolling-core-4in1Unable to find tazlito-5.2.7 in the repository.
Path : /home/slitaz/packages
Download packages from mirror (YAfter this we can see 2versions at the bottom of http://cook.slitaz.org/ page
And what is here:
mirror1.slitaz.org/iso/rolling/.slitaz-rolling.iso.6IT4wu 2015-Apr-05 02:00:30 17.2M
slitaz-rolling.iso 2015-Mar-31 10:52:16 42.0MSo, this happens only with packages from ISO
and only if this packages updated a day before cookiso.Posted 9 years ago # -
@az_ua
http://cook.slitaz.org/cooker.cgi?pkg=tazlito -> Removing old: tazlito-5.2.7.tazpkg Done
But I find tazlito-527 and tazlito-528 @ http://cook.slitaz.org/packages/
I manually deleted tazlito-527
I'm rebuilding pkgdbase, flavors,sync mirror,rebuild rolling isos,pushing them to mirror.Posted 9 years ago # -
Hi,
-
Something is wrong with the notification for new/ugradable packages:
After boot no notification (the icon disappear after a few seconds)
- TazPanel > Packages > Recharge list > no diff on mirror
- [Check upgrades] => 3 packages (syslinux & syslinux-extra = new build, tazlito = new version)
- [Toggle all] and [Install]At next boot/reboot > notification There are 3 upgreadable packages ...
The notification won't disappear until you'll have not checking for upgrades a new time. -
Another point, but I don't know if it's a bug or a problem in one of my installations:
I use 2 full installations (rolling), one on sda3 and the other one on sda7. I installed xombrero on sda3 and used
tazpkg link xombrero /mnt
to install it on sda7.
This has worked perfectly a few days, and today xombrero doesn't appear anymore neither in the Application launch bar nor in the Internet category of the Applications menu (on sda7). And yet:
- fslink is present in /var/lib/tazpkg (and sda3 is mounted in /mnt)
- and I can see the shortcut to xombrero and to libbsd in /var/lib/tazpkg/installed on sda7.If I try to re-install xombrero:
root@slitaz:/home/sda7/# tazpkg link xombrero /mnt
Package "xombrero" is already installed.
root@slitaz:/home/sda7/#No
--forced
option exists withtazpkg link
?
What will atazpkg -r xombrero
remove? xombrero shortcut on sda7 or xombrero package on sda3?
How to remove a linked package? Do I have just to remove its shortcut in /var/lib/tazpkg/installed?
I know where to remove the link in TazPanel; is it possible to do it with tazpkg?
Posted 9 years ago # -
Something is wrong with the notification for new/ugradable packages:
-
Hi all,
Execuse my, I've had a really few time to development these days.
What's new in the TazPanel and its parts?
- Fixed "January" in the Date settings.
- "tazpkg list cat" leaved infixed for English yet (for other languages there is translated categories in the second column).
- Problem with TazPkg lists and upgrades is not touched yet, so I have one question to Pascal. A bit later.
- Enhanced "user" mode for TazPanel (Pascal, thank you), also now you can see small indicator to know current user/root mode of TazPanel. Hover indicator for more info. Click indicator for log out / log in as root or other user. And later second question to Pascal.
___
Pascal, here are my questions.
- Is Cookutils on the cook.slitaz.org Rolling wok — the same as on the Hg repo? Does it not contain your supplements that are not yet reflected in the Hg? Can I learn Cookutils sources in the Hg to search answer to the TazPkg's lists doubling bug?
- As TazPanel is now works well for plain user, and he can log in to TazPanel as root / other user in case of need, at any time — can we find a way to run TazPanel without authentication by default, with login and permissions of current user?
___
Richard, really strange why old packages not removed, any ideas?
___Ceel, linking is easy.
tazpkg -lf leafpad Installed files by "leafpad" ================================================ /usr/bin/leafpad /usr/share/applications/leafpad.desktop /usr/share/icons/hicolor/48x48/apps/leafpad.png ================================================ 3 files
Now make three symlinks (corresponding to the number of files) — and package in linked:
ln -s /var/lib/tazpkg/fslink/usr/bin/leafpad /usr/bin/leafpad ln -s /var/lib/tazpkg/fslink/usr/share/applications/leafpad.desktop /usr/share/applications/leafpad.desktop ln -s /var/lib/tazpkg/fslink/usr/share/icons/hicolor/48x48/apps/leafpad.png /usr/share/icons/hicolor/48x48/apps/leafpad.png
Also, folder
/var/lib/tazpkg/installed/leafpad
is linked in above manner. And, optionally, unresolved dependencies are symlinked too.And you ask, what will
tazpkg -r
do? It will remove symlinks. Try to make sure.Note one side effect. Will there be an linked package listed in the
/var/lib/tazpkg/installed.{info|md5}
?
So, is linked package considered as installed? And can you remove uninstalled package? There a wide field to enhance conception and realization…Posted 9 years ago # -
Hi Aleksej:
Before anything thank you for your work to improve Slitaz. I am proving Tazpkg and Tazpanel, in their respective versions 769 and 439.
Tazpanel only show me the listing of my installed packages (in green color) and also those blocked (in red color); but it doesn't show the rest of packages; although I chooses: "all packages" and the category "all".
The behavior is only correct when I choose:
"all packages" and the category "extras", where it shows me in green a couple of packages that I have installed (opera and flashplugin) and the rest of available packages of this category to install in blue color...Posted 9 years ago # -
@Aleksej
1. In tank, the rolling wok (i.e. the cooking wok) uses hg cookutils AFAIK.
2. Something like http://hg.slitaz.org/tazpanel/rev/adedebded23a ?
(and related tazinst, tazpkg & tazlito commits)Posted 9 years ago #
Reply »
You must log in to post.