Comments (5)
Let's make sure the relevant info from these functions is logged during install. Then we can more easily verify if they're working, and which systems have been tested.
from logoslinuxinstaller.
relevant logging output added in PR #40
from logoslinuxinstaller.
Ubuntu
I can confirm that get_os()
works correctly for Ubuntu by defining config.OS_NAME
as'ubuntu'
and config.OS_RELEASE
as '20.04'
. I don't know about debian, but I'd say it's safe to assume that all Ubuntu derivatives also at least have the OS_RELEASE
value right.
get_package_manager()
correctly sets config.SUPERUSER_COMMAND
and correctly identifies apt
as package manager. It looks like config.PACKAGE_MANAGER_COMMAND_QUERY
also works, except that it finds all packages that start with the intended package name, not just the package itself. E.g. for Ubuntu and binutils
:
$ dpkg -l | grep -E '^.i 'binutils
ii binutils 2.34-6ubuntu1.7 amd64 GNU assembler, linker and binary utilities
ii binutils-common:amd64 2.34-6ubuntu1.7 amd64 Common files for the GNU assembler, linker and binary utilities
ii binutils-x86-64-linux-gnu 2.34-6ubuntu1.7 amd64 GNU binary utilities, for x86-64-linux-gnu target
In this case binutils
is included in the results, so there's no problem. But it also matches binutils-common:amd64
and binutils-x86-64-linux-gnu
, which are maybe dependencies of binutils
, but they are still additional results that turn up. But still, it's maybe unlikely that a "false positive" will be found without also finding the intended package in the same search.
from logoslinuxinstaller.
From what I can tell, we can drop the following from Arch dependencies:
- curl
- gawk
- bc
- libxml2
Also, there is a duplicate of patch
in the current list.
Manjaro's dependencies should be able to drop:
- curl
- gawk
- bc
- libxml2
RHEL should be able to drop:
- libxml2
- curl
- bc
It looks like apt
is already set to be pretty bare, but we should probably add grep
, wget
, sed
to the requirements as these are used by the script. And we should probably have libfuse3/fuse3 as a requirement in that line. Originally this was optionally checked if a user was going the AppImage route, but since we aren't doing that, the only thing we could do is append it to the var if the user selects an AppImage, which might be the easiest, but then we'd need to be careful about overwriting that.
These can be dropped because they were used in the Bash script but are no longer thanks to built-in Python libraries.
Also, does anyone remember why we need samba
/samba-winbind
? Was this something specific to Logos 9?
Further, cabextract
(and samba?) should be able to be moved to config.L9PACKAGES
, or removed if #53 is pursued.
One question this brings up: since our default/recommended Wine is an AppImage, should wine be a package in config.PACKAGES
, as it is in Arch, or optional, as it is in Manjaro?
@jg00dman, is there any reason why wine-staging should definitely be a required package instead of the AppImage for SteamOS?
from logoslinuxinstaller.
Also, I think we will need to separate out the steamOS specific packages. I'm looking at things like qt5-virtualkeyboard and maybe some of the printing things or apparmor. Most of the libraries should be standard for just making sure we can call the proper libraries.
This will require a flag to switch these vars under the elif…pacman
of get_package_manager()
based on config.OS_NAME
.
from logoslinuxinstaller.
Related Issues (20)
- There are two different errors to install in Ubuntu 24.04 LXD HOT 3
- For Ubuntu, Install Wine Staging
- Create an upload log option
- Installer should exit if connection times out
- Status Messages
- Installer Hangs While Checking for an Existing Install HOT 4
- Installer Fails to Create the Log File on Initial Run HOT 1
- Installer Fails to Create Shortcut Due to Missing Verbum Icon
- Running the install action crashes kde on kubuntu HOT 4
- GUI doesn't update "Install" button to "Run" after installation.
- Logos Itself Throws Error When Updating HOT 7
- Arch on python version < 3.12, causing install script to error HOT 3
- SteamOS: `pacman` Hits Locked Database HOT 1
- Allow Setting a Target Install Directory
- Slow Non-Responsive UI HOT 6
- Add Switch To Testing Branch
- ToolTip Incorrect in GUI on an Uninitiated Install
- Incorporate unit testing HOT 1
- Endless loop when glob() encounters a symlink loop HOT 3
- Self-update might result in broken binary
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logoslinuxinstaller.