LINUX.ORG.RU

Сообщения knaurf

 

Не могу настроить plymouth

Делал всё по этой ссылке: https://habr.com/ru/sandbox/47221/ Установил сторонние темы из архивов, они появились, я выбрал нужную, сделал update-initramfs -u, всё прошло нормально. При запуске показываются обычные логи загрузки. По нажатии кнопок вниз/вверх показываются три квадрата, символизирующие загрузку, на сером фоне. Сначала я выбрал тему с автоматическим режимом, а потом с ручным. Эффект одинаков.

 ,

knaurf
()

Не могу установить ShapeCorners

Я тут уже всем надоел своей глупостью) Короче только что установил Debian12 и update-upgrade сделал, т. е. все пакеты последней версии. Делал по инструкции на странице https://github.com/khanhas/ShapeCorners

При выполнении команды

cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DQT5BUILD=ON

Получил данную выдачу:

-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Setting build type to 'Debug' as none was specified.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:113 (message):
  Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
  /usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
  CMakeLists.txt:33 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found KF5Config: /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.103.0") 
-- Found KF5ConfigWidgets: /usr/lib/x86_64-linux-gnu/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.103.0") 
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.103.0") 
-- Found KF5Crash: /usr/lib/x86_64-linux-gnu/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.103.0") 
-- Found KF5GlobalAccel: /usr/lib/x86_64-linux-gnu/cmake/KF5GlobalAccel/KF5GlobalAccelConfig.cmake (found version "5.103.0") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.21") 
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.103.0") 
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.103.0") 
-- Found KF5Service: /usr/lib/x86_64-linux-gnu/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.103.0") 
-- Found KF5Init: /usr/lib/x86_64-linux-gnu/cmake/KF5Init/KF5InitConfig.cmake (found version "5.103.0") 
-- Found KF5Notifications: /usr/lib/x86_64-linux-gnu/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.103.0") 
-- Found KF5WidgetsAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.103.0") 
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.103.0") 
-- Found KF5GuiAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5GuiAddons/KF5GuiAddonsConfig.cmake (found version "5.103.0") 
-- Found KF5: success (found suitable version "5.103.0", minimum required is "5.9.0") found components: Config ConfigWidgets CoreAddons Crash GlobalAccel I18n KIO Service Init Notifications Service WidgetsAddons WindowSystem GuiAddons 
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:113 (message):
  Your project should require at least CMake 3.16.0 to use FindXCB.cmake
Call Stack (most recent call first):
  /usr/share/ECM/find-modules/FindXCB.cmake:67 (ecm_find_package_version_check)
  CMakeLists.txt:51 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found XCB_XCB: /usr/lib/x86_64-linux-gnu/libxcb.so (found version "") 
-- Found XCB_RENDER: /usr/lib/x86_64-linux-gnu/libxcb-render.so (found version "") 
-- Found XCB_SHAPE: /usr/lib/x86_64-linux-gnu/libxcb-shape.so (found version "") 
-- Found XCB_XFIXES: /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so (found version "") 
-- Could NOT find XCB_SHM (missing: XCB_SHM_LIBRARY XCB_SHM_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_ATOM (missing: XCB_ATOM_LIBRARY XCB_ATOM_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_AUX (missing: XCB_AUX_LIBRARY XCB_AUX_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_COMPOSITE (missing: XCB_COMPOSITE_LIBRARY XCB_COMPOSITE_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_CURSOR (missing: XCB_CURSOR_LIBRARY XCB_CURSOR_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_DAMAGE (missing: XCB_DAMAGE_LIBRARY XCB_DAMAGE_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_DPMS (missing: XCB_DPMS_LIBRARY XCB_DPMS_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_DRI2 (missing: XCB_DRI2_LIBRARY XCB_DRI2_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_DRI3 (missing: XCB_DRI3_LIBRARY XCB_DRI3_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_EVENT (missing: XCB_EVENT_LIBRARY XCB_EVENT_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_EWMH (missing: XCB_EWMH_LIBRARY XCB_EWMH_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_GLX (missing: XCB_GLX_LIBRARY XCB_GLX_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_ICCCM (missing: XCB_ICCCM_LIBRARY XCB_ICCCM_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_IMAGE (missing: XCB_IMAGE_LIBRARY XCB_IMAGE_INCLUDE_DIR XCB_SHM_FOUND) (found version "")
-- Could NOT find XCB_KEYSYMS (missing: XCB_KEYSYMS_LIBRARY XCB_KEYSYMS_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_PRESENT (missing: XCB_PRESENT_LIBRARY XCB_PRESENT_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_RANDR (missing: XCB_RANDR_LIBRARY XCB_RANDR_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_RECORD (missing: XCB_RECORD_LIBRARY XCB_RECORD_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_RENDERUTIL (missing: XCB_RENDERUTIL_LIBRARY XCB_RENDERUTIL_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_RES (missing: XCB_RES_LIBRARY XCB_RES_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_SCREENSAVER (missing: XCB_SCREENSAVER_LIBRARY XCB_SCREENSAVER_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_SYNC (missing: XCB_SYNC_LIBRARY XCB_SYNC_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_UTIL (missing: XCB_UTIL_LIBRARY XCB_UTIL_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XF86DRI (missing: XCB_XF86DRI_LIBRARY XCB_XF86DRI_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XINERAMA (missing: XCB_XINERAMA_LIBRARY XCB_XINERAMA_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XINPUT (missing: XCB_XINPUT_LIBRARY XCB_XINPUT_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XKB (missing: XCB_XKB_LIBRARY XCB_XKB_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XTEST (missing: XCB_XTEST_LIBRARY XCB_XTEST_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XV (missing: XCB_XV_LIBRARY XCB_XV_INCLUDE_DIR XCB_SHM_FOUND) (found version "")
-- Could NOT find XCB_XVMC (missing: XCB_XVMC_LIBRARY XCB_XVMC_INCLUDE_DIR XCB_XV_FOUND) (found version "")
-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-render.so;/usr/lib/x86_64-linux-gnu/libxcb-shape.so;/usr/lib/x86_64-linux-gnu/libxcb-xfixes.so   
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    QT5BUILD


-- Build files have been written to: /home/administrator/ShapeCorners/build

По всей видимости, произошли ошибки. Далее, соответственно после ввода команды

make && sudo make install

Получил данную выдачу с ошибками:

[ 25%] Automatic MOC for target kwin4_effect_shapecorners
AutoMoc warning
---------------
"SRC:/shapecorners.cpp"
includes the moc file "shapecorners.moc", but does not contain a Q_OBJECT, Q_GADGET, Q_NAMESPACE, Q_NAMESPACE_EXPORT, K_PLUGIN_FACTORY, K_PLUGIN_CLASS, K_PLUGIN_FACTORY_WITH_JSON or K_PLUGIN_CLASS_WITH_JSON macro.


AutoMoc subprocess error
------------------------
The moc process failed to compile
  "SRC:/shapecorners.cpp"
into
  "SRC:/build/kwin4_effect_shapecorners_autogen/include/shapecorners.moc"
included by
  "SRC:/shapecorners.cpp"

Command
-------
/usr/lib/qt5/bin/moc -DKCOREADDONS_LIB -DKGUIADDONS_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkwin4_effect_shapecorners_EXPORTS -I/root/ShapeCorners/build -I/root/ShapeCorners -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtXml -I/usr/include/KF5/KConfig -I/usr/include/KF5/KConfigCore -I/usr/include/KF5 -I/usr/include/KF5/KCoreAddons -I/usr/include/KF5/KConfigWidgets -I/usr/include/KF5/KWidgetsAddons -I/usr/include/KF5/KConfigGui -I/usr/include/KF5/KCodecs -I/usr/include/KF5/KAuthWidgets -I/usr/include/KF5/KAuthCore -I/usr/include/KF5/KAuth -I/usr/include/KF5/KGuiAddons -I/usr/include/KF5/KWindowSystem -I/usr/include -I/usr/include/c++/12 -I/usr/include/x86_64-linux-gnu/c++/12 -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-linux-gnu/12/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu --include /root/ShapeCorners/build/kwin4_effect_shapecorners_autogen/moc_predefs.h --output-dep-file -o /root/ShapeCorners/build/kwin4_effect_shapecorners_autogen/include/shapecorners.moc /root/ShapeCorners/shapecorners.cpp

Output
------
/root/ShapeCorners/shapecorners.cpp:32: Parse error at "FILE"

make[2]: *** [CMakeFiles/kwin4_effect_shapecorners_autogen.dir/build.make:71: CMakeFiles/kwin4_effect_shapecorners_autogen] Ошибка 1
make[1]: *** [CMakeFiles/Makefile2:704: CMakeFiles/kwin4_effect_shapecorners_autogen.dir/all] Ошибка 2
make: *** [Makefile:146: all] Ошибка 2

Погуглив узнал, что, якобы пакеты make или типа того устарели, но они новые. Также хочу уточнить насчет команды

kwin_x11 --replace &

т. к. я сижу на Wayland. Мб перейти на x11?

 , , ,

knaurf
()

Как установить DDE на Debian? Через apt не получилось

Команда sudo add-apt-repository ppa:leaeasy:dde врнула ошибку nothing to repeat at position 2.

 ,

knaurf
()

Проблемы с обновлением Parrot

Кажется, что месяц нет нормальных обновлений на ОС. По 100 мб только для браузера приходят. Пошёл в update, а там помимо мусора (да, я неуверенный пользователь Linux) написано, что ссылки на Ubuntu и Debian10 не работают. Что делать?

Get:1 https://brave-browser-apt-release.s3.brave.com stable InRelease [7 547 B]                                                                
Hit:2 https://deb.opera.com/opera-stable stable InRelease                                                                                                             
Get:3 http://download.opensuse.org/repositories/home:/stevenpusser/Debian_10  InRelease [1 547 B]                                                     
Ign:4 http://packages.osrfoundation.org/gazebo/ubuntu-stable ara InRelease                                                                        
Hit:5 https://deb.parrot.sh/parrot parrot InRelease                
Err:6 http://packages.osrfoundation.org/gazebo/ubuntu-stable ara Release
  404  Not Found [IP: 52.52.171.73 80]
Hit:7 https://deb.parrot.sh/direct/parrot parrot-security InRelease
Hit:8 https://deb.parrot.sh/parrot parrot-backports InRelease
Err:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A8580BDC82D3DC6C
Err:3 http://download.opensuse.org/repositories/home:/stevenpusser/Debian_10  InRelease
  The following signatures were invalid: EXPKEYSIG 0FAD31CA8719FCE4 home:stevenpusser OBS Project <home:stevenpusser@build.opensuse.org>
Reading package lists... Done
E: The repository 'http://packages.osrfoundation.org/gazebo/ubuntu-stable ara Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://brave-browser-apt-release.s3.brave.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A8580BDC82D3DC6C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.opensuse.org/repositories/home:/stevenpusser/Debian_10  InRelease: The following signatures were invalid: EXPKEYSIG 0FAD31CA8719FCE4 home:stevenpusser OBS Project <home:stevenpusser@build.opensuse.org>

 , ,

knaurf
()

Ошибка в genimage.list не обновляется Parrot OS

Код ошибки из обновления

sudo apt upgrade
[sudo] password for user11: 

apt upgrade is unsafe on rolling release distributions.

using apt full-upgrade instead

use apt upgrade --force to override



Hit:1 https://deb.parrot.sh/parrot rolling InRelease
Hit:2 https://deb.parrot.sh/parrot rolling-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
38 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  fonts-quicksand r8168-dkms
The following packages will be upgraded:
  codium curl desktop-base distro-info-data element-desktop firefox-esr
  gdal-data ghostscript gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0
  libayatana-indicator3-7 libcurl3-gnutls libcurl4 libgdal28 libgmp10 libgs9
  libgs9-common libjavascriptcoregtk-4.0-18 libnss3 libseccomp2 libudisks2-0
  libwebkit2gtk-4.0-37 maia-icon-theme parrot-drivers parrot-themes
  publicsuffix tasksel tasksel-data telegram-desktop udisks2 vim-common
  vim-tiny wget win10-icon-theme xserver-common xserver-xorg-core
  xserver-xorg-legacy xxd
38 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/344 MB of archives.
After this operation, 19.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
dpkg: unrecoverable fatal error, aborting:
 loading files list file for package 'genisoimage': cannot open /var/lib/dpkg/in
fo/genisoimage.list (Input/output error)
Scanning application launchers
Removing duplicate launchers or broken launchers
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (2)

Но с другой операционной системы файл открывается. Содержимое:

/.
/usr
/usr/bin
/usr/bin/devdump
/usr/bin/dirsplit
/usr/bin/genisoimage
/usr/bin/geteltorito
/usr/bin/isodump
/usr/bin/isoinfo
/usr/bin/isovfy
/usr/bin/mkzftree
/usr/share
/usr/share/doc
/usr/share/doc/genisoimage
/usr/share/doc/genisoimage/README.geteltorito
/usr/share/doc/genisoimage/changelog.Debian.gz
/usr/share/doc/genisoimage/changelog.gz
/usr/share/doc/genisoimage/copyright
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/dirsplit.1.gz
/usr/share/man/man1/genisoimage.1.gz
/usr/share/man/man1/geteltorito.1.gz
/usr/share/man/man1/isoinfo.1.gz
/usr/share/man/man1/mkzftree.1.gz
/usr/share/man/man5
/usr/share/man/man5/genisoimagerc.5.gz
/usr/bin/mkisofs
/usr/share/man/man1/devdump.1.gz
/usr/share/man/man1/isodump.1.gz
/usr/share/man/man1/isovfy.1.gz
/usr/share/man/man1/mkisofs.1.gz

 , , ,

knaurf
()

Отсутствует центр приложений Parrot

Установил версию 4.10, нет центра, после обновления не появился. Как установить? Пытался установить пакет «software-center», но в «sources.list» его нет.

 , , ,

knaurf
()

Не работанет Tor (с логами)

$torbrowser-launcher
Программа запуска Tor Browser
Написана Micah Lee и распространяется по лицензии MIT
версия 0.3.3
https://github.com/micahflee/torbrowser-launcher
Traceback (most recent call last):
File "/usr/bin/torbrowser-launcher", line 30, in <module>
torbrowser_launcher.main()
File "/usr/lib/python3/dist-packages/torbrowser_launcher/__init__.py", line 78, in main
common = Common(tor_browser_launcher_version)
File "/usr/lib/python3/dist-packages/torbrowser_launcher/common.py", line 65, in __init__
self.load_settings()
File "/usr/lib/python3/dist-packages/torbrowser_launcher/common.py", line 370, in load_settings
settings = json.load(open(self.paths["settings_file"]))
File "/usr/lib/python3.9/json/__init__.py", line 293, in load
return loads(fp.read(),
			 File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
			 return _default_decoder.decode(s)
			 File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
			 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
			 File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
			 raise JSONDecodeError("Expecting value", s, err.value) from None
			 json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
tor
Feb 20 07:58:31.300 [notice] Tor 0.4.5.5-rc running on Linux with Libevent 2.1.12-stable, OpenSSL 1.1.1i, Zlib 1.2.11, Liblzma 5.2.5, Libzstd 1.4.8 and Glibc 2.31 as libc.
Feb 20 07:58:31.300 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Feb 20 07:58:31.300 [notice] Read configuration file "/etc/tor/torrc".
Feb 20 07:58:31.308 [notice] Opening Socks listener on 127.0.0.1:9050
Feb 20 07:58:31.308 [warn] Could not bind to 127.0.0.1:9050: Address already in use. Is Tor already running?
Feb 20 07:58:31.308 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
Feb 20 07:58:31.308 [err] Reading config failed--see warnings above.

Переустановил, удалил зависимости, проблема не исчезла.

 ,

knaurf
()

Не запускается TOR в Parrot OS

Не напускается предустановленный torbrowser launcher/torbrowser (на панели задач появляется окно и сразу закрывается). Пробовал переустановить, удалить. Переустановил успешно, не запускается, при удалении не находит файл.

 ,

knaurf
()

Не могу установить программы в Parrot OS

Скачал deb пакет дискорда с оф сайта, запустился Package Installer, нажал «Install», окно просто закрылось. Пытался запустиить Tor (при первом запуске программа скачивает установочные пакеты и просто закрывается). Как через терминал устанавливать - запутался.

 

knaurf
()

RSS подписка на новые темы