LINUX.ORG.RU

Сообщения Danger271

 

Автооткрытие exe файлов с помощью вайн

Форум — Desktop

Как сделать чтобы exe файлы по дефолту открывались вайном?

Перемещено hobbit из general

 

Danger271
()

Не коннектится по RDP

Форум — General

Делал все по видео https://www.youtube.com/watch?v=Moscv2moML8

Но получаю ошибку https://ibb.co/cxMx72K

 , , ,

Danger271
()

modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/5.18.0-kali5-amd64

Форум — General

Устанавливал анбокс

sudo snap install --devmode --beta anbox

когда запускаю snap info anbox вылезает ошибка

[ 2022-08-12 14:30:31] [session_manager.cpp:133@operator()] Failed to start as either binder or ashmem kernel drivers are not loaded

sudo modprobe ashmem_linux modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/5.18.0-kali5-amd64

если пытаюсь добавить убунтовский репо sudo add-apt-repository ppa:morphis/anbox-support, то пишето что gpg: no valid OpenPGP data found.

 , ,

Danger271
()

Failed to open URI.

Форум — General

Скачал Among Us через торрент, запускаю wine Among\ Us.exe -screen-fullscreen 0

при запуске открывается сайт и просит авторизовать приложение https://ibb.co/TRhjCLD

нажимаю кнопку авторизации и вылезает ошибка https://ibb.co/Tt7bxKm

 ,

Danger271
()

Ошибка с libssl-dev

Форум — General

Качаю пакет

http://ports.ubuntu.com/pool/main/o/openssl/libssl-dev_1.1.1f-1ubuntu2_arm64.deb

Ставлю пакет

sudo dpkg -i libssl-dev_1.1.1f-1ubuntu2_arm64.deb

ошибка

dpkg: warning: downgrading libssl-dev:arm64 from 3.0.2-0ubuntu1.6 to 1.1.1f-1ubuntu2
(Reading database ... 108982 files and directories currently installed.)
Preparing to unpack libssl-dev_1.1.1f-1ubuntu2_arm64.deb ...
Unpacking libssl-dev:arm64 (1.1.1f-1ubuntu2) over (3.0.2-0ubuntu1.6) ...
dpkg: dependency problems prevent configuration of libssl-dev:arm64:
 libssl-dev:arm64 depends on libssl1.1 (= 1.1.1f-1ubuntu2); however:
  Package libssl1.1 is not installed.

dpkg: error processing package libssl-dev:arm64 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libssl-dev:arm64

при попытке поставить libssl1.1

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libssl1.1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libssl1.1' has no installation candidate

помогите пж

 ,

Danger271
()

Приложения steam-а открываются в полный экран

Форум — General

https://ibb.co/KxSCShD

запускаю wine /home/kali/.steam/steam/steamapps/common/Among\ Us/Among\ Us.exe или просто через стим, но игра открывается в фулл экран. Как сделать так чтобы его можно было сворачивать менять размер окна и тд?

 ,

Danger271
()

E: Unable to correct problems, you have held broken packages.

Форум — General
E: Unable to correct problems, you have held broken packages.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'wine64-preloader' for glob 'wine*'
Note, selecting 'wine-devel-i386' for glob 'wine*'
Note, selecting 'wine-development' for glob 'wine*'
Note, selecting 'winexe-dbgsym' for glob 'wine*'
Note, selecting 'wine-stable-i386' for glob 'wine*'
Note, selecting 'wine' for glob 'wine*'
Note, selecting 'wine32-tools' for glob 'wine*'
Note, selecting 'wine32' for glob 'wine*'
Note, selecting 'wine64' for glob 'wine*'
Note, selecting 'winexe' for glob 'wine*'
Note, selecting 'wine-staging-i386' for glob 'wine*'
Note, selecting 'wine64-tools' for glob 'wine*'
Note, selecting 'wine32-development' for glob 'wine*'
Note, selecting 'wine-stable' for glob 'wine*'
Note, selecting 'winetricks' for glob 'wine*'
Note, selecting 'wine32-preloader:i386' for glob 'wine*'
Note, selecting 'wine1.6' for glob 'wine*'
Note, selecting 'wine1.8' for glob 'wine*'
Note, selecting 'wine1.9' for glob 'wine*'
Note, selecting 'wine2.0' for glob 'wine*'
Note, selecting 'wine-binfmt' for glob 'wine*'
Note, selecting 'wine32:i386' instead of 'wine32'
Note, selecting 'wine32-tools:i386' instead of 'wine32-tools'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine32-tools:i386 : Conflicts: wine64-tools but 7.0~repack-4 is to be installed
                     Conflicts: wine64-tools:i386
 wine64-tools : Conflicts: wine32-tools
                Conflicts: wine32-tools:i386 but 7.0~repack-4 is to be installed
E: Unable to correct problems, you have held broken packages.

 ,

Danger271
()

Перестал работать warp

Форум — General

Когда включаю варп, ломается днс

sudo nano /etc/resolv.conf

# This file was generated by cloudflare-warp.
nameserver 127.0.2.2
nameserver 127.0.2.3
nameserver fd01:db8:1111::2
nameserver fd01:db8:1111::3
This site can’t be reached www.google.com’s server IP address could not be found.
Try:

Checking the proxy, firewall, and DNS configuration
DNS_PROBE_FINISHED_BAD_CONFIG

 ,

Danger271
()

ReferenceError: Can't find variable: navigator

Форум — General

bun ilv4.js

1 | require('webcrypto-shim');
2 | var b64u = require('b64u-lite/bundle/b64u-lite');
3 | var str2buf = require('str2buf');
4 | 
5 | var isEdge = navigator.userAgent.indexOf('Edge') > -1;
                 ^
ReferenceError: Can't find variable: navigator
      at /home/ubuntu/ewsaaa/node_modules/isomorphic-webcrypto/src/browser.js:5:13
      at bun:wrap:1:16354
      at /home/ubuntu/ewsaaa/node_modules/isomorphic-webcrypto/src/main.browser.js:1:25
      at bun:wrap:1:16354
      at /home/ubuntu/ewsaaa/node_modules/tonweb/src/utils/Utils.js:12:23
      at bun:wrap:1:16354
      at /home/ubuntu/ewsaaa/node_modules/tonweb/src/utils/index.js:19:12
      at bun:wrap:1:16354
      at /home/ubuntu/ewsaaa/node_modules/tonweb/src/index.js:1:22
      at bun:wrap:1:16354
      at /home/ubuntu/ewsaaa/ilv4.js:2:0

 ,

Danger271
()

--use <STR>zsh: illegal hardware instruction bun --help

Форум — General

Поставил bun по инструкции с сайта, но пишет ошибку

curl https://bun.sh/install | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5046    0  5046    0     0  11066      0 --:--:-- --:--:-- --:--:-- 11065
######################################################################## 100.0%
bun was installed successfully to /home/kali/.bun/bin/bun
bash: line 113: 1830566 Illegal instruction     IS_BUN_AUTO_UPDATE="true" $exe completions > /dev/null 2>&1
Run 'bun --help' to get started

пытаюсь запустить

bun loop.js
zsh: illegal hardware instruction  bun loop.js

или

bun --help
            --use <STR>zsh: illegal hardware instruction  bun --help

 ,

Danger271
()

gpg: no valid OpenPGP data found.

Форум — General

sudo add-apt-repository ppa:thomas-schiex/blender

After several months, looking for someone to take the lead on Blender PPA's packaging, I'm happy to say I have found an excellent PPA replacement for you! Please use:

 https://launchpad.net/~savoury1/+archive/ubuntu/blender

Rob Savoury is doing an excellent job. If you are using Focal or a newer version of Ubuntu it's time for you to type:

 sudo apt install ppa-purge
 sudo ppa-purge ppa:thomas-schiex/blender
 sudo add-apt-repository ppa:savoury1/blender
 sudo apt update
 sudo apt install blender

If you are using a pre-Focal system, please read Rob's page at

 https://launchpad.net/~savoury1/+archive/ubuntu/blender

carefully as extra PPAs need to be activated in these cases.

Rob also provides a bleeding-edge version of Blender, so if you like blood, you can add one extra line:

 sudo apt install blender-git

This is now the end of my PPA. This was a revival of Irie Shinsuke's PPA: Blender 2.9x was compiled with all bells and whistles (OpenImageDenoise, OptiX, Embree, OpenShadingLanguage, OpenCollada, Open+NanoVDB, OpenSubDiv, jemalloc & CUDA/OptiX 10.2/11.1 precompiled kernels that support NVIDIA GPUs from GT7xx, aka Kepler, to RTX30xx or Ampère). It was adapted to Ubuntu (python, ffmpeg, ilmbase, openEXR, eigen3, glew, lzo,... packages are used directly). Throught it, blender has been downloaded more than 260,000 times (see https://tinyurl.com/ppa-blender).

If you find or found this PPA useful, you can still offer me a coffee or a beer at

  http://goo.gl/jz21zY

but you'd better offer one to Rob instead!

Yes, in the more than 4 years of existence, 80 persons/companies did it: US$(5+10+5+5+5+5+10+5+10+10+5+10+10+10+4.5+4.43+4.53+5+2+10+10+5+10+5+15+5+5+50)+€(50.79+3.64+13.37+10+5+4.48+5+3+20+15+15+5+100+10+3.20+5+5+2.5+10+5+5+5+10+5.55+10+5+5+5+4.8+5+11.27+5+3+10+3+3+1+10+1+5+50+5+5+10+2+10+10+2.90+5+29.01+5+8+11.91+5). I enjoyed the drinks! (updated March 20, 2021).

Time lacking, I have decided to stop providing a bleeding "blender-edge" version. It required a lot of work because of the weekly updates and it was downloaded only by few people (6,500 downloads vs. 260,000 for "blender"). Sorry geeks!

For CUDA to work, add the blender user(s) to the 'video' group through:

  sudo adduser <user> video

It may also be useful to install the nvidia-modprobe package (which is not a dependency because it depends on your hardware).

If you have issues with numpy, I advise installing a suitable version with pip.

If you want to maintain this Blender PPA, please contact me, I will be happy to pass the blender stick to the next runner...
 More info: https://launchpad.net/~thomas-schiex/+archive/ubuntu/blender
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: WARNING: "--secret-keyring" is an obsolete option - it has no effect
gpg: keybox '/tmp/tmps372ijvp/pubring.gpg' created
gpg: /tmp/tmps372ijvp/trustdb.gpg: trustdb created
gpg: key 7281E3E842A98114: public key "Launchpad PPA for Thomas Schiex" imported
gpg: Total number processed: 1
gpg:               imported: 1
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
gpg: no valid OpenPGP data found.

 ,

Danger271
()

разблюрить заблюренное

Форум — General

https://github.com/Y-Vladimir/SmartDeblur нашел такой проект, который восстанавливает фото из несфокусированного вида, но если заблюрить через какую-нибудь программу то SmartDeblur не поможет. Есть ли другие проекты которые могут хотя бы частично вернуть фото?

 ,

Danger271
()

TypeError: float() argument must be a string or a real number, not 'NoneType'

Форум — General


Count = os.environ.get("123,213")
Count = "{:,.2f}".format(float(Count))

Count = "{:,.2f}".format(float(Count))
TypeError: float() argument must be a string or a real number, not 'NoneType'

 , ,

Danger271
()

ModuleNotFoundError: No module named 'bson.codec_options'

Форум — General

При запуске скрипта

Traceback (most recent call last):
  File "/home/kali/Desktop/Telegram-Airdrop-Bot-main/bot.py", line 2, in <module>
    import pymongo
  File "/usr/local/lib/python3.10/dist-packages/pymongo/__init__.py", line 72, in <module>
    from pymongo.collection import ReturnDocument  # noqa: F401
  File "/usr/local/lib/python3.10/dist-packages/pymongo/collection.py", line 33, in <module>
    from bson.codec_options import CodecOptions
ModuleNotFoundError: No module named 'bson.codec_options'

 , ,

Danger271
()

не устанавливается node-telegram-bot-api

Форум — General

sudo npm install node-telegram-bot-api

Ошибка - https://pastebin.com/1JAm9mNv

Походу что-то с gcc, только что делать

 , , ,

Danger271
()

ERROR: Service 'bot_service' failed to build : Build failed

Форум — General

https://github.com/trizin/Telegram-Airdrop-Bot#env-file

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

sudo docker-compose up -d

Building bot_service
Sending build context to Docker daemon  36.15MB
Step 1/9 : FROM python:3.7-alpine
3.7-alpine: Pulling from library/python
Get "https://registry-1.docker.io/v2/library/python/manifests/sha256:15a87472d90bb24c1f40b80c964f5d4c952b6a678293d4f81f2bd2fdf13a2c3d": net/http: TLS handshake timeout
ERROR: Service 'bot_service' failed to build : Build failed

 , ,

Danger271
()

dpkg: warning: files list file for package 'mariadb-server'

Форум — General

Пытаюсь докер но не ставится и предлагает выполнить sudo apt –fix-broken install

Но выходит ошибка


dpkg: warning: files list file for package 'mariadb-server' missing; assuming package has no files currently installed

 ,

Danger271
()

ERROR: compose.cli.main.main:

Форум — General

Поставил докер, но он что-то не работает

docker-compose –verbose up -d

ERROR: compose.cli.main.main: Can’t find a suitable configuration file in this directory or any parent. Are you in the right directory?

    Supported filenames: docker-compose.yml, docker-compose.yaml

 , ,

Danger271
()

mysql.connector.errors.ProgrammingError: 1698 (28000): Access denied for user 'root'@'localhost'

Форум — General

Когда ввожу команду mysql -u root -p, а затем ввожу пароль, то появляется ошибка:

mysql -u root -p
Enter password: 
ERROR 1698 (28000): Access denied for user 'root'@'localhost'

MariaDB [(none)]> SELECT user, host FROM mysql.user;
+-------------+-----------+
| User        | Host      |
+-------------+-----------+
| mariadb.sys | localhost |
| mysql       | localhost |
| root        | localhost |
+-------------+-----------+
3 rows in set (0.001 sec)

MariaDB [(none)]> SELECT USER(), CURRENT_USER();
+----------------+----------------+
| USER()         | CURRENT_USER() |
+----------------+----------------+
| root@localhost | root@localhost |
+----------------+----------------+
1 row in set (0.000 sec)

MariaDB [(none)]> SHOW VARIABLES LIKE 'skip_networking';
+-----------------+-------+
| Variable_name   | Value |
+-----------------+-------+
| skip_networking | OFF   |
+-----------------+-------+
1 row in set (0.001 sec)

 , ,

Danger271
()

Failed to build pyscreeze pymsgbox

Форум — General

pip install -r requirements.txt https://pastebin.com/8Yy2YxHQ - requirements.txt https://pastebin.com/DS7HQvt4 - полный лог ошибки

Пытаюсь установить пакеты, но появляется ошибка

 note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pymsgbox
Failed to build pyscreeze pymsgbox                                                           
ERROR: Could not build wheels for pyscreeze, pymsgbox, which is required to install pyproject.toml-based projects

 , ,

Danger271
()

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