Проблема с конфигами #16

Closed
opened 2 months ago by rodion.n · 3 comments
Collaborator

Если система устанавливалась с LiveCD то появляется проблема, при которой выводится help текст:

ubconfig --target system set [autoinstall] AUTOINSTALL['ubconfig set [desktop] AUTOLOGINUSER']='no' AUTOINSTALL['ubconfig set [keyboard] XKBLAYOUT']='us' AUTOINSTALL['ubconfig set [desktop] AUTOLOGINUSER']='no';nice ubinstall autoconfig
[Detaching after vfork from child process 31993]
Added ==> system ==> AUTOINSTALL[ubconfig set [desktop] AUTOLOGINUSER] ==> [/etc/ublinux/autoinstall] ==> /etc/ublinux/autoinstall
INFO:Execute the system configuration commands for [/etc/ublinux/autoinstall] of the AUTOINSTALL[ubconfig set [desktop] AUTOLOGINUSER] option.
Added ==> system ==> AUTOINSTALL[ubconfig set [keyboard] XKBLAYOUT] ==> [/etc/ublinux/autoinstall] ==> /etc/ublinux/autoinstall
INFO:Execute the system configuration commands for [/etc/ublinux/autoinstall] of the AUTOINSTALL[ubconfig set [keyboard] XKBLAYOUT] option.
Added ==> system ==> AUTOINSTALL[ubconfig set [desktop] AUTOLOGINUSER] ==> [/etc/ublinux/autoinstall] ==> /etc/ublinux/autoinstall
INFO:Execute the system configuration commands for [/etc/ublinux/autoinstall] of the AUTOINSTALL[ubconfig set [desktop] AUTOLOGINUSER] option.
################################################################
STARTING CONFIGURATION
################################################################
(01%) Unmounting parts
(02%) Search lebel parts
(12%) Mount file system
(12%) Make EFI directory: /mnt/dev/sdb/efi
(12%) Mount EFI directory device: /dev/sdb2 to path: /mnt/dev/sdb/efi
(13%) Make MEDIA directory: /mnt/dev/sdb/media
(13%) Mount MEDIA directory device: /dev/sdb3 to path: /mnt/dev/sdb/media
(13%) Make DATA directory: /mnt/dev/sdb/data
(13%) Mount DATA directory device: /dev/sdb3 to path: /mnt/dev/sdb/data
(13%) Make BOOT directory
(13%) Mount BOOT directory device: /dev/sdb3 to path: /mnt/dev/sdb/media
(91%) Finishing install
(91%) Configuring System Settings
Настройки системы после установки:
    AUTOINSTALL[user_name]=superadmin
    AUTOINSTALL[user_gecos]=Администратор
    AUTOINSTALL["ubconfig set [keyboard] XKBLAYOUT"]="us"
    AUTOINSTALL["ubconfig set [desktop] AUTOLOGINUSER"]="no"
Added ==> global ==> USERADD[superadmin] ==> [/etc/ublinux/users] ==> /mnt/dev/sdb/data/ublinux-data/ublinux.ini
Added ==> global ==> XKBLAYOUT ==> [/etc/ublinux/keyboard] ==> /mnt/dev/sdb/data/ublinux-data/ublinux.ini
Added ==> global ==> AUTOLOGINUSER ==> [/etc/ublinux/desktop] ==> /mnt/dev/sdb/data/ublinux-data/ublinux.ini
(91%) Detect EFI file other OS, restore EFI file
(99%) Unmounting parts
(100%) Configuration is complete!
################################################################
CONGRATULATIONS! EVERYTHING IS FINE!
CONFIGURATION IS COMPLETE!
[Thread 0x7fffdb7fe6c0 (LWP 31992) exited]
[Detaching after vfork from child process 32391]
WARNING:Unrecognized argument, skiped: -e
WARNING:Unrecognized argument, skiped: -a
WARNING:Unrecognized argument, skiped: -e
WARNING:Unrecognized argument, skiped: -a
WARNING:Unrecognized argument, skiped: --conarg
[Detaching after vfork from child process 32430]
WARNING:Unrecognized argument, skiped: -e
WARNING:Unrecognized argument, skiped: -a
WARNING:Unrecognized argument, skiped: -e
WARNING:Unrecognized argument, skiped: -a
WARNING:Unrecognized argument, skiped: --conarg
[Detaching after vfork from child process 32474]
ubconfig  version: 2.18
Configure UBLinux
Author: Dmitry Razumov asmeron@ublinux.ru

Usage:  ubconfig [OPTIONS...] <COMMAND> <SECTION> <PARAMETER1>=<value> '<PARAMETER2>=<value>' "<PARAMETERn>=<value>"

Commands:
  get		Get configuration option
  set		Set configuration option
  remove	Remove option of a configuration
  create	Create configuration file from template
  update	Update configuration to new version

Meta Commands:
  help          Show this help

Options for command <get>:
  -r, --raw	   Show only values, without name variables
  -s, --source=<SOURCE>
   		   Configuration as source
    *glo | global  Configuration file as source: ublinux.ini
     sys | system  Configuration file as source: /etc/ublinux/*
     def | default Configuration file as source: /usr/lib/ublinux/default
     <file>        Configuration file as source, global ublinux.ini format: <file.ini>
  -d, --default    Before loading the source, additionally include the default 
		   settings file /usr/lib/ublinux/default
  -c, --compare    Compare configuration, system and global configuration files
  If the <SECTION> is specified:
    [] | [*]	   Select all sections
  If the <PARAMETER> is specified:
    /  | '*'       Select all variables in the section

Options for command <set>:
  -t, --target	   Configuration as target
    *		   Without the specified option, are used *global *system
    *glo | global  Only configuration file as target: ublinux.ini
    *sys | system  Only configuration file as target: /etc/ublinux/*
     <file>        Configuration file as target, global ublinux.ini format: <file.ini>
  -n, --noexecute  Do not execute parameter commands for "system configuration"
  You can use the following operators to set parameter values:
     +=		   Add a value to the end of parameters
     ++=	   Add the value to the parameter list, separated by comma (,) and change dubles (;) (,) (sapace) to comma (,)
     -=		   Remove the first specified value from the parameter
     --=	   Remove all occurrences of the specified value from the parameter list and change dubles (;) (,) (sapace) to comma (,)
  If the <SECTION> is specified:
    [] | [*]	   Select the '/etc/ublinux/config' section
  If the <PARAMETER> is the first specified character:
    +		   An intelligent insertion parameter that indicates adding a line to the end of the file if it is not already in the file
    |		   An intelligent insertion parameter that indicates adding string to end of file in any case
    -		   An intelligent insertion parameter that indicates removing all string with expression (see sed). Symbols .* matches all strings in file

Options for command <remove>:
  -t, --target
    *		   Without the specified option, are used *global *system
    *glo | global  Only configuration file as target: ublinux.ini
    *sys | system  Only configuration file as target: /etc/ublinux/*
     <file>        Configuration file as target, global ublinux.ini format: <file.ini>
  -n, --noexecute  Do not execute parameter commands for "system configuration"
  If the <SECTION> is specified:
    [] | [*]	   Select all sections
  If the <PARAMETER> is specified:
    /  | '*'       Delete all variables in the section
    // | '**'	   Delete all variables and comments in the section   

Options for command <create>:
  -t, --target
     <file>        Configuration file as target or path, global ublinux.ini format: <file.ini>

Options for command <update>:
  -t, --target
    *		   Without the specified option, are used *global *system
    *glo | global  Only configuration file as target: ublinux.ini
    *sys | system  Only configuration file as target: /etc/ublinux/*
     <file>        Configuration file as target, global ublinux.ini format: <file.ini>

Options:
      --nocolor	   Disable color
  -q, --quiet	   Quiet mode
  -h, --help	   Show this help
  -h, --help=<SECTION>
	    	   Show help by section
  -V, --version	   Show package version

Known sections:
  [config]	/etc/ublinux/config
  [system]	/etc/ublinux/system
  [users]	/etc/ublinux/users
  [boot]	/etc/ublinux/boot
  [save] 	/etc/ublinux/save
  [network] 	/etc/ublinux/network
  [security] 	/etc/ublinux/security
  [kiosk]	/etc/ublinux/kiosk
  [desktop]	/etc/ublinux/desktop
  [video]	/etc/ublinux/video
  [theme]	/etc/ublinux/theme
  [steam]	/etc/ublinux/steam
  [clock]	/etc/ublinux/clock
  [locale]	/etc/ublinux/locale
  [keyboard]	/etc/ublinux/keyboard
  [ubm]		/etc/ublinux/ubm
  [nfs-server]	/etc/ublinux/nfs-server
  [nfs-common]	/etc/ublinux/nfs-common
  [proxy]	/etc/ublinux/proxy

Examples:
ubconfig get [system] HOSTNAME
ubconfig get [clock] ZONE HWCLOCK_SYNC
ubconfig get [boot] GRUB_PASSWORD[*]
ubconfig get / DOMAIN
ubconfig --raw get / DOMAIN
ubconfig get /
ubconfig --source default get [] ZONE
ubconfig --source global get /
ubconfig --source system get /
ubconfig --compare get [config]
ubconfig --default --source system get [users] DEFAULTPASSWD
ubconfig set [system] HOSTNAME=myhost
ubconfig set [boot] GRUB_CMDLINE_LINUX+=" nomodeset"
ubconfig set [boot] GRUB_CMDLINE_LINUX-="nomodeset"
ubconfig set [network] DOMAIN=domain.ru NETWORK[all]="+ipv4.dns 192.168.1.1"
ubconfig --target system set [clock] ZONE="Asia/Omsk" HWCLOCK_SYNC=localtime
ubconfig set [/etc/myconfig] '+FILTER_STR'
ubconfig set [/etc/myconfig] '|NOFILTER_STR'
ubconfig set [/etc/myconfig] '-DEL_STR'
ubconfig remove network DOMAIN
ubconfig remove network DOMAIN[] NETWORK[]
ubconfig remove network DOMAIN[*]

Конфигурационный файл на LiveCD невыводит ничего

0 ✓ superadmin@ublinux:~$ sudo ubconfig --source system get /
[sudo] пароль для superadmin: 
(null)
0 ✓ superadmin@ublinux:~$ sudo ubconfig --source global get /
(null)

Конфиг установленной системы следующий:

0 ✓ superadmin@ublinux-install:~$ ubconfig --source system get /
GRUB_BOOT_SILENT="splash loglevel=3"
VERSION=2.90
FIRSTSTART=yes
SYSTEMBOOT_STATEMODE=changes
AUTOLOGINUSER=no
DISPLAYMANAGER=lightdm
DESKTOP=xfce
XKBLAYOUT=us
IPV6=no
NTPSERVERS=dhcp
NSSWITCHAVAHI=yes
NSSWITCHWINBIND=yes
HOSTNAME=ublinux-install
MACHINEID=hardware
SERVICES_ENABLE=dbus-broker,NetworkManager,sshd,swapspace,systemd-timesyncd,cups,cockpit.socket,avahi-daemon,avahi-dnsconfd,smb,nmb,winbind,bluetooth
FIRSTSTART=yes
USERADD[superadmin]="Администратор:1000:x:x:x:"

0 ✓ superadmin@ublinux-install:~$ sudo ubconfig --source global get /
VERSION=2.90
HOSTNAME=ublinux-install
MACHINEID=hardware
SERVICES_ENABLE=dbus-broker,NetworkManager,sshd,swapspace,systemd-timesyncd,cups,cockpit.socket,avahi-daemon,avahi-dnsconfd,smb,nmb,winbind,bluetooth
FIRSTSTART=yes
USERADD[superadmin]="Администратор:1000:x:x:x:"
GRUB_BOOT_SILENT="splash loglevel=3"
IPV6=no
NTPSERVERS=dhcp
NSSWITCHAVAHI=yes
NSSWITCHWINBIND=yes
AUTOLOGINUSER=no
XKBLAYOUT=us


Если система устанавливалась с LiveCD то появляется проблема, при которой выводится help текст: ``` ubconfig --target system set [autoinstall] AUTOINSTALL['ubconfig set [desktop] AUTOLOGINUSER']='no' AUTOINSTALL['ubconfig set [keyboard] XKBLAYOUT']='us' AUTOINSTALL['ubconfig set [desktop] AUTOLOGINUSER']='no';nice ubinstall autoconfig [Detaching after vfork from child process 31993] Added ==> system ==> AUTOINSTALL[ubconfig set [desktop] AUTOLOGINUSER] ==> [/etc/ublinux/autoinstall] ==> /etc/ublinux/autoinstall INFO:Execute the system configuration commands for [/etc/ublinux/autoinstall] of the AUTOINSTALL[ubconfig set [desktop] AUTOLOGINUSER] option. Added ==> system ==> AUTOINSTALL[ubconfig set [keyboard] XKBLAYOUT] ==> [/etc/ublinux/autoinstall] ==> /etc/ublinux/autoinstall INFO:Execute the system configuration commands for [/etc/ublinux/autoinstall] of the AUTOINSTALL[ubconfig set [keyboard] XKBLAYOUT] option. Added ==> system ==> AUTOINSTALL[ubconfig set [desktop] AUTOLOGINUSER] ==> [/etc/ublinux/autoinstall] ==> /etc/ublinux/autoinstall INFO:Execute the system configuration commands for [/etc/ublinux/autoinstall] of the AUTOINSTALL[ubconfig set [desktop] AUTOLOGINUSER] option. ################################################################ STARTING CONFIGURATION ################################################################ (01%) Unmounting parts (02%) Search lebel parts (12%) Mount file system (12%) Make EFI directory: /mnt/dev/sdb/efi (12%) Mount EFI directory device: /dev/sdb2 to path: /mnt/dev/sdb/efi (13%) Make MEDIA directory: /mnt/dev/sdb/media (13%) Mount MEDIA directory device: /dev/sdb3 to path: /mnt/dev/sdb/media (13%) Make DATA directory: /mnt/dev/sdb/data (13%) Mount DATA directory device: /dev/sdb3 to path: /mnt/dev/sdb/data (13%) Make BOOT directory (13%) Mount BOOT directory device: /dev/sdb3 to path: /mnt/dev/sdb/media (91%) Finishing install (91%) Configuring System Settings Настройки системы после установки: AUTOINSTALL[user_name]=superadmin AUTOINSTALL[user_gecos]=Администратор AUTOINSTALL["ubconfig set [keyboard] XKBLAYOUT"]="us" AUTOINSTALL["ubconfig set [desktop] AUTOLOGINUSER"]="no" Added ==> global ==> USERADD[superadmin] ==> [/etc/ublinux/users] ==> /mnt/dev/sdb/data/ublinux-data/ublinux.ini Added ==> global ==> XKBLAYOUT ==> [/etc/ublinux/keyboard] ==> /mnt/dev/sdb/data/ublinux-data/ublinux.ini Added ==> global ==> AUTOLOGINUSER ==> [/etc/ublinux/desktop] ==> /mnt/dev/sdb/data/ublinux-data/ublinux.ini (91%) Detect EFI file other OS, restore EFI file (99%) Unmounting parts (100%) Configuration is complete! ################################################################ CONGRATULATIONS! EVERYTHING IS FINE! CONFIGURATION IS COMPLETE! [Thread 0x7fffdb7fe6c0 (LWP 31992) exited] [Detaching after vfork from child process 32391] WARNING:Unrecognized argument, skiped: -e WARNING:Unrecognized argument, skiped: -a WARNING:Unrecognized argument, skiped: -e WARNING:Unrecognized argument, skiped: -a WARNING:Unrecognized argument, skiped: --conarg [Detaching after vfork from child process 32430] WARNING:Unrecognized argument, skiped: -e WARNING:Unrecognized argument, skiped: -a WARNING:Unrecognized argument, skiped: -e WARNING:Unrecognized argument, skiped: -a WARNING:Unrecognized argument, skiped: --conarg [Detaching after vfork from child process 32474] ubconfig version: 2.18 Configure UBLinux Author: Dmitry Razumov asmeron@ublinux.ru Usage: ubconfig [OPTIONS...] <COMMAND> <SECTION> <PARAMETER1>=<value> '<PARAMETER2>=<value>' "<PARAMETERn>=<value>" Commands: get Get configuration option set Set configuration option remove Remove option of a configuration create Create configuration file from template update Update configuration to new version Meta Commands: help Show this help Options for command <get>: -r, --raw Show only values, without name variables -s, --source=<SOURCE> Configuration as source *glo | global Configuration file as source: ublinux.ini sys | system Configuration file as source: /etc/ublinux/* def | default Configuration file as source: /usr/lib/ublinux/default <file> Configuration file as source, global ublinux.ini format: <file.ini> -d, --default Before loading the source, additionally include the default settings file /usr/lib/ublinux/default -c, --compare Compare configuration, system and global configuration files If the <SECTION> is specified: [] | [*] Select all sections If the <PARAMETER> is specified: / | '*' Select all variables in the section Options for command <set>: -t, --target Configuration as target * Without the specified option, are used *global *system *glo | global Only configuration file as target: ublinux.ini *sys | system Only configuration file as target: /etc/ublinux/* <file> Configuration file as target, global ublinux.ini format: <file.ini> -n, --noexecute Do not execute parameter commands for "system configuration" You can use the following operators to set parameter values: += Add a value to the end of parameters ++= Add the value to the parameter list, separated by comma (,) and change dubles (;) (,) (sapace) to comma (,) -= Remove the first specified value from the parameter --= Remove all occurrences of the specified value from the parameter list and change dubles (;) (,) (sapace) to comma (,) If the <SECTION> is specified: [] | [*] Select the '/etc/ublinux/config' section If the <PARAMETER> is the first specified character: + An intelligent insertion parameter that indicates adding a line to the end of the file if it is not already in the file | An intelligent insertion parameter that indicates adding string to end of file in any case - An intelligent insertion parameter that indicates removing all string with expression (see sed). Symbols .* matches all strings in file Options for command <remove>: -t, --target * Without the specified option, are used *global *system *glo | global Only configuration file as target: ublinux.ini *sys | system Only configuration file as target: /etc/ublinux/* <file> Configuration file as target, global ublinux.ini format: <file.ini> -n, --noexecute Do not execute parameter commands for "system configuration" If the <SECTION> is specified: [] | [*] Select all sections If the <PARAMETER> is specified: / | '*' Delete all variables in the section // | '**' Delete all variables and comments in the section Options for command <create>: -t, --target <file> Configuration file as target or path, global ublinux.ini format: <file.ini> Options for command <update>: -t, --target * Without the specified option, are used *global *system *glo | global Only configuration file as target: ublinux.ini *sys | system Only configuration file as target: /etc/ublinux/* <file> Configuration file as target, global ublinux.ini format: <file.ini> Options: --nocolor Disable color -q, --quiet Quiet mode -h, --help Show this help -h, --help=<SECTION> Show help by section -V, --version Show package version Known sections: [config] /etc/ublinux/config [system] /etc/ublinux/system [users] /etc/ublinux/users [boot] /etc/ublinux/boot [save] /etc/ublinux/save [network] /etc/ublinux/network [security] /etc/ublinux/security [kiosk] /etc/ublinux/kiosk [desktop] /etc/ublinux/desktop [video] /etc/ublinux/video [theme] /etc/ublinux/theme [steam] /etc/ublinux/steam [clock] /etc/ublinux/clock [locale] /etc/ublinux/locale [keyboard] /etc/ublinux/keyboard [ubm] /etc/ublinux/ubm [nfs-server] /etc/ublinux/nfs-server [nfs-common] /etc/ublinux/nfs-common [proxy] /etc/ublinux/proxy Examples: ubconfig get [system] HOSTNAME ubconfig get [clock] ZONE HWCLOCK_SYNC ubconfig get [boot] GRUB_PASSWORD[*] ubconfig get / DOMAIN ubconfig --raw get / DOMAIN ubconfig get / ubconfig --source default get [] ZONE ubconfig --source global get / ubconfig --source system get / ubconfig --compare get [config] ubconfig --default --source system get [users] DEFAULTPASSWD ubconfig set [system] HOSTNAME=myhost ubconfig set [boot] GRUB_CMDLINE_LINUX+=" nomodeset" ubconfig set [boot] GRUB_CMDLINE_LINUX-="nomodeset" ubconfig set [network] DOMAIN=domain.ru NETWORK[all]="+ipv4.dns 192.168.1.1" ubconfig --target system set [clock] ZONE="Asia/Omsk" HWCLOCK_SYNC=localtime ubconfig set [/etc/myconfig] '+FILTER_STR' ubconfig set [/etc/myconfig] '|NOFILTER_STR' ubconfig set [/etc/myconfig] '-DEL_STR' ubconfig remove network DOMAIN ubconfig remove network DOMAIN[] NETWORK[] ubconfig remove network DOMAIN[*] ``` Конфигурационный файл на LiveCD невыводит ничего ``` 0 ✓ superadmin@ublinux:~$ sudo ubconfig --source system get / [sudo] пароль для superadmin: (null) 0 ✓ superadmin@ublinux:~$ sudo ubconfig --source global get / (null) ``` Конфиг установленной системы следующий: ``` 0 ✓ superadmin@ublinux-install:~$ ubconfig --source system get / GRUB_BOOT_SILENT="splash loglevel=3" VERSION=2.90 FIRSTSTART=yes SYSTEMBOOT_STATEMODE=changes AUTOLOGINUSER=no DISPLAYMANAGER=lightdm DESKTOP=xfce XKBLAYOUT=us IPV6=no NTPSERVERS=dhcp NSSWITCHAVAHI=yes NSSWITCHWINBIND=yes HOSTNAME=ublinux-install MACHINEID=hardware SERVICES_ENABLE=dbus-broker,NetworkManager,sshd,swapspace,systemd-timesyncd,cups,cockpit.socket,avahi-daemon,avahi-dnsconfd,smb,nmb,winbind,bluetooth FIRSTSTART=yes USERADD[superadmin]="Администратор:1000:x:x:x:" 0 ✓ superadmin@ublinux-install:~$ sudo ubconfig --source global get / VERSION=2.90 HOSTNAME=ublinux-install MACHINEID=hardware SERVICES_ENABLE=dbus-broker,NetworkManager,sshd,swapspace,systemd-timesyncd,cups,cockpit.socket,avahi-daemon,avahi-dnsconfd,smb,nmb,winbind,bluetooth FIRSTSTART=yes USERADD[superadmin]="Администратор:1000:x:x:x:" GRUB_BOOT_SILENT="splash loglevel=3" IPV6=no NTPSERVERS=dhcp NSSWITCHAVAHI=yes NSSWITCHWINBIND=yes AUTOLOGINUSER=no XKBLAYOUT=us ```
rodion.n added the ошибка label 2 months ago
asmeron was assigned by rodion.n 2 months ago
rodion.n self-assigned this 2 months ago
Owner

Алгоритм тестировать, загрузка с ISO:

  1. Загружаемся с ISO
  2. Подключаем репозиторий [community-testing]
  3. Обновляем пакеты
pacman -Sy glibc libublsettings libublsettings-gtk3 libublsettingsui-gtk3 timezonemap ubboot ubconfig ubinstall ubinstall-gtk ublinux-init
  1. Запускаем
  • ГУЙ:
ubinstall-gtk -d
  • Консольный пример запуска:
ubinstall install --install_type fast --device /dev/sda --packages='ubm-001-linux66' --ubconfig="[system] HOSTNAME=myhost;[boot] GRUB_DEFAULT='Sandbox_in_RAM_with_save_user_profile_on_HDD';[boot] GRUB_SUPERUSERS=superadmin;[boot] GRUB_PASSWORD[superadmin]='ublinux';[boot] GRUB_BOOT_SILENT='splash loglevel=3';[boot] KERNEL_BOOT=linux66"
Алгоритм тестировать, загрузка с ISO: 1. Загружаемся с ISO 2. Подключаем репозиторий `[community-testing]` 3. Обновляем пакеты ``` pacman -Sy glibc libublsettings libublsettings-gtk3 libublsettingsui-gtk3 timezonemap ubboot ubconfig ubinstall ubinstall-gtk ublinux-init ``` 4. Запускаем - ГУЙ: ``` ubinstall-gtk -d ``` - Консольный пример запуска: ``` ubinstall install --install_type fast --device /dev/sda --packages='ubm-001-linux66' --ubconfig="[system] HOSTNAME=myhost;[boot] GRUB_DEFAULT='Sandbox_in_RAM_with_save_user_profile_on_HDD';[boot] GRUB_SUPERUSERS=superadmin;[boot] GRUB_PASSWORD[superadmin]='ublinux';[boot] GRUB_BOOT_SILENT='splash loglevel=3';[boot] KERNEL_BOOT=linux66" ```
Owner

Если ошибка не повторятся, то закрывай

Если ошибка не повторятся, то закрывай
Poster
Collaborator

Сделал такой скрипт на обновление загрузчика до тестового. Проблемы описанной тут больше не наблюдается.

# Подключаем репозиторий тестовый
sudo ubconfig set [update] REPOSITORY=only REPOSITORY[community-testing]=/etc/pacman.d/mirrorlist REPOSITORY[community]=/etc/pacman.d/mirrorlist REPOSITORY[extra]=/etc/pacman.d/mirrorlist REPOSITORY[modules]=/etc/pacman.d/mirrorlist REPOSITORY[core]=/etc/pacman.d/mirrorlist REPOSITORY[multilib]=/etc/pacman.d/mirrorlist 
upac -Scc
upac -Syy

# Обновляем необходимые для новой установки пакеты
upac -S freerdp glibc timezonemap ubboot ubconfig ublinux-init ubinstall libublsettings libublsettings-gtk3 libublsettingsui-gtk3 ubinstall-gtk ubinstall-tui ubinstall-legacy

# Вернуться в штатное состояние
sudo ubconfig --target system set [update] REPOSITORY=disable
upac -Scc
upac -Syy

Закрываю

Сделал такой скрипт на обновление загрузчика до тестового. Проблемы описанной тут больше не наблюдается. ``` # Подключаем репозиторий тестовый sudo ubconfig set [update] REPOSITORY=only REPOSITORY[community-testing]=/etc/pacman.d/mirrorlist REPOSITORY[community]=/etc/pacman.d/mirrorlist REPOSITORY[extra]=/etc/pacman.d/mirrorlist REPOSITORY[modules]=/etc/pacman.d/mirrorlist REPOSITORY[core]=/etc/pacman.d/mirrorlist REPOSITORY[multilib]=/etc/pacman.d/mirrorlist upac -Scc upac -Syy # Обновляем необходимые для новой установки пакеты upac -S freerdp glibc timezonemap ubboot ubconfig ublinux-init ubinstall libublsettings libublsettings-gtk3 libublsettingsui-gtk3 ubinstall-gtk ubinstall-tui ubinstall-legacy # Вернуться в штатное состояние sudo ubconfig --target system set [update] REPOSITORY=disable upac -Scc upac -Syy ``` Закрываю
rodion.n closed this issue 1 month ago
Sign in to join this conversation.
No Milestone
No project
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: Applications/ubinstall#16
Loading…
There is no content yet.