Simply extracting packages made for another distribution like a .deb
to /
can not be done universally in a safe way. It is possible they could overwrite files, cause conflicts / breakages. Care needs to be taken on a per package basis. In my opinion full automation of packaging is always a bad idea.
However Solus does sometimes repackage .deb
's to make an .eopkg
. It is usually only for closed source applications where only a .deb
package is provided. Like everything in the 3rd party section of the software center or vivaldi
which is in the repository proper https://dev.getsol.us/source/vivaldi-stable/browse/master/package.yml$5 This was not generated automatically and gets reviewed.
If a user wants to download random .deb
's and try their luck, they are far better off downloading the .deb
and extracting it to a user controlled directory such as their home directory, which the package manager will never touch and would not require any automation because they can just delete it, download the new version and extract it again to the same location.
You can of course do whatever you want on your system but it would be unsupported. Meaning if you break anything you are on your own fixing it. So I would not advise you share these scripts on the forums.