(EasyVoid 240308/ QV 240403)
In PKGget, there in 2 packages vlc ;
vlc-gtk-2.8-noarch in pet-noarch-official that does not install
vlc-3.0.20_4 in void-current
PKGget installs vlc-3 but the user vlc is not created and vlc refuse to run as root
Moderator: BarryK
(EasyVoid 240308/ QV 240403)
In PKGget, there in 2 packages vlc ;
vlc-gtk-2.8-noarch in pet-noarch-official that does not install
vlc-3.0.20_4 in void-current
PKGget installs vlc-3 but the user vlc is not created and vlc refuse to run as root
Thanks for reporting that.
I have edited /usr/local/petget/installpreview.sh, inserted at line 259:
Code: Select all
grep -q '^NoDisplay=true' ${aDT}
if [ $? -ne 0 ];then
#20240405 vlc.desktop has "Exec=/usr/bin/vlc --started-from-file %U"
#somewhere else knocks off that %U, but also need to get rid of /usr/bin/...
sed -i -e 's|^Exec=/usr/bin/|Exec=|' ${aDT}
EXEC="$(grep '^Exec=' ${aDT} | cut -f 2 -d '=' | cut -f 1 -d ' ' | head -n 1)"
grep -q '/' <<<${EXEC}
if [ $? -ne 0 ];then
...you would need to uninstall vlc then reinstall.
Another problem is that Qt menu text is too small, so I have uncommented this in /etc/profile.d/qt5, and bumped 1.1 to 1.2:
Code: Select all
export QT_SCALE_FACTOR=1.2
...that requires a reboot to take effect.
Caramel wrote: Fri Apr 05, 2024 5:14 pm(EasyVoid 240308/ QV 240403)
In PKGget, there in 2 packages vlc ;
vlc-gtk-2.8-noarch in pet-noarch-official that does not install
vlc-3.0.20_4 in void-current
PKGget installs vlc-3 but the user vlc is not created and vlc refuse to run as root
The installation of vlc is fixed but not that of vlc-gtk
(New test in EasyVoid)
The total installed size will be: 0KB
It seems that the size of the package chosen in PKGget is not added to the total size of the dependencies in the script /usr/local/petget/installpreview.sh (The package is not considered as a dependency of itself)
vlc-gtk has no dependency so the size displayed is nothing. It's probably the cause of the installation failure
EDIT: vlc-gtk is in repository pet-noarch-official and the search of dependencies is in void-current
EDIT: the search of dependencies takes place in current-repo-triad that is void-current when vlc-gtk is the package to install
EDIT : in installpreview.sh, line 107 the variable DB_FILE is defined as "current-repo-triad" that is equal to "void-current" by default, so line 114 the test always passes and the search of dependencies takes place in void-current even if the package to install is in a pet repository
Caramel wrote: Sat Apr 13, 2024 3:23 pmEDIT : in installpreview.sh, line 107 the variable DB_FILE is defined as "current-repo-triad" that is equal to "void-current" by default, so line 114 the test always passes and the search of dependencies takes place in void-current even if the package to install is in a pet repository
That's intentional.
I want the PETs to not have any other PETs as dependencies.
I have removed vlc-gtk from the PET repo.
BarryK wrote: Sun Apr 14, 2024 2:59 amCaramel wrote: Sat Apr 13, 2024 3:23 pmEDIT : in installpreview.sh, line 107 the variable DB_FILE is defined as "current-repo-triad" that is equal to "void-current" by default, so line 114 the test always passes and the search of dependencies takes place in void-current even if the package to install is in a pet repository
That's intentional.
I want the PETs to not have any other PETs as dependencies.I have removed vlc-gtk from the PET repo.
The problem still exists for not yet installed packages of pet-noarch. If you find such package in PKGget with the Go button (in search in all repositories) when the current repo is void-current, you can not install it
(For example search cursor in all repos when the current repo is void-current, The attempt to install cursor-themes will fail)
To install a package from pet-noarch, the current repo must be pet-noarch
Maybe a solution would be to add the package to vPKGS if vPKGS is an empty list (After line 107 of /usr/local/petget/installpreview.sh)
EDIT Another tiny bug:
In the configuration window of PKGget it is possible to add the repository oe-kirkstone-official but it is impossible to download packages from this repository in PKGget
The only choice is local download.
(The code in /usr/ocal/petget/downloadpkgs.sh is only for the case Packages-pet-* (line 113), the case Packages-oe-* is not considered)