Welcome to CRUX bug tracking.
FS#434 - prt-get listlocked behaviour and error codes
|
Detailsafter a fresh install you don't have /var/lib/pkg/prt-get.locker, so prt-get returns an error code and that isn't good for other tools which are dependent of prt-get:
# prt-get listlocked Failed to open lock data file # echo $? 255 # prt-get lock gcc && prt-get unlock gcc # prt-get listlocked # echo $? 0 IMHO, prt-get should provide the lock data file via .footprint or post-install script: # touch /var/lib/pkg/prt-get.locker # prt-get listlocked # echo $? 0 |
This task depends upon

I agree, but wonder whether it would be best to do so in Pkgfile for now; I guess one could argue that make install should install a working version... not sure for now. Care to fix it in Pkgfile for now?