dCore Import Debian Packages to Mountable SCE extensions > dCore X86

sce-import: user not informed about non existent packages in .lst files

(1/3) > >>

jls:
 :'(

Jason W:
The problem I see with this is that the dependency list files we use on the server to add needed dependencies needs to be able to have entries that may not exist in the dCore being used.  For example, if a package in wheezy needs libgcc-4.7 but in trusty needs libgcc-4.8 we add both to the dep list and though one does not exist  it does not need to fail.  And this is the same logic that is used on the .lst files.

I will try to think of a way we can check for non existent or misspelled entries in .lst files, but I don't want to slow things down with an extra check.

Rich:
Hi Jason W
I'm not running dCore and know nothing about it so I might be off base here.

--- Quote ---I will try to think of a way we can check for non existent or misspelled entries in .lst files, but I don't want to slow things down with an extra check.
--- End quote ---
Based on that reply I'm presuming this is not a common problem. Maybe it could be a maintenance option for when things go
wrong just like the Apps utility has dependency check, md5 check, update check, etc.

Jason W:
Yeah, I have seen things like this as up to the user to make sure they are using valid package names in their list files.  But, nevertheless, knowing a misspelled or non existing entry is there can be helpful.

The only thing I can see is to add an optional function or utility that will check the .lst file itself for it's contents as existing packages or meta packages.  Can be used as a function of sce-import and only in the case of using .lst files.  A "The below packages do not exist, do you wish to proceed?" type of dialog can then be used.

Jason W:
I have made a new utility called sce-pkgcheck that tells whether a package is from the main, security, extra, or prebuilt repos.  Or as a meta package in our own dependency list file on the server, or if it does not exist.  This can be used to check for package existance.  Sce-import already has a lot of command line switches, but I may consider factoring this into sce-import during use of list files when a switch is used. 

Navigation

[0] Message Index

[#] Next page

Go to full version