AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / user-85309

Rick T's questions

Martin Hope
Rick T
Asked: 2023-06-21 02:05:02 +0800 CST

Script para alternar entre redes no ubuntu usando nmcli

  • 7

Estou tentando alternar entre redes já preenchidas usando um arquivo bash usando nmcli , mas recebo dados sem sentido.

Mas entenda bobagens

1) 0
#? 0

Código abaixo.

#!/bin/bash

# Pre-populated UUID data for network connections
networks=(
    ["tr_5"]="127f3e9e-34dd-444e-aee4-7c2b35c7c307"
    ["VC_HotSpot_6"]="c498aa6a-24d4-4b51-92c7-9b8d84181fc1"
    ["Network_3"]="34567890-3456-3456-3456-345678901234"
)

# List available network connections
echo "Available network connections:"
nmcli connection show

# Prompt the user to choose a network
echo "Select the network to connect to:"
select network_name in "${!networks[@]}"; do
    if [[ -n $network_name ]]; then
        break
    fi
done

# Get the UUID of the selected network
network_uuid=${networks[$network_name]}

# Check if the network UUID exists
if [[ -z $network_uuid ]]; then
    echo "Network '$network_name' UUID not found. Exiting..."
    exit 1
fi

# Disconnect from the current network (if connected)
current_connection=$(nmcli connection show --active | awk 'NR>1{print $1}')
if [[ -n $current_connection ]]; then
    echo "Disconnecting from the current network..."
    nmcli connection down $current_connection
fi

# Connect to the chosen network
echo "Connecting to network '$network_name'..."
nmcli connection up uuid $network_uuid

# Display the connection status
echo "Connection status:"
nmcli connection show --active | grep -E "($network_name|$current_connection)"

echo "Network switch completed successfully!"

Eu corro o script ./network_switch.sh

Mas entenda bobagens

1) 0
#? 0
networking
  • 1 respostas
  • 61 Views
Martin Hope
Rick T
Asked: 2021-12-04 08:08:30 +0800 CST

driver intel_pstate não sendo carregado quando adicionado ao arquivo grub

  • 0

eu tenho um

Processor   Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
Memory  16305MB (2531MB used)
Machine Type    Laptop
Operating System    Ubuntu 20.04.3 LTS

No meu arquivo /etc/default/grub eu tenho a linha

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_pstate=enable"

Eu fiz um sudo update-grub após as alterações, mas quando faço um cpupower frequency-info ou um cpufreq-info --driver , ele diz que o driver usado é intel_cpufreq

rt@sys76:~$ cpufreq-info --driver
intel_cpufreq


rt@sys76:~$ cpupower frequency-info

analyzing CPU 0:
  driver: intel_cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 20.0 us
  hardware limits: 800 MHz - 3.40 GHz
  available cpufreq governors: conservative ondemand userspace powersave performance schedutil
  current policy: frequency should be within 1.70 GHz and 3.40 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 798 MHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes
rt@sys76:~$ 

Como posso obter o cpufreq-info --driver para usar o driver intel_pstate ?

drivers
  • 1 respostas
  • 1114 Views
Martin Hope
Rick T
Asked: 2021-04-03 04:24:59 +0800 CST

Adicionando software como uma das opções de digitação antecipada no Ubuntu 20.04

  • 1

Eu tenho o Kalzium instalado e gostaria que ele também aparecesse como uma opção quando eu fizer uma digitação antecipada no Ubuntu 20.04.

Exemplo: Quando faço uma digitação antecipada periodic, recebo estas opções: Aplicativos de software

Como posso obtê-lo para que o Kalzium também apareça como uma das opções?

menu
  • 1 respostas
  • 41 Views
Martin Hope
Rick T
Asked: 2021-03-29 01:16:18 +0800 CST

Atualizando/desatualizando para uma versão diferente do pacote plex

  • 1

Como posso atualizar / fazer downgrade para uma versão de pacote diferente do plex

Posso ver o que é atualizável digitando.

  1. pi@pistorage:~ $sudo apt list --upgradable
Listing... Done

plexmediaserver/public 1.22.1.4228-724c56e62 armhf [upgradable from: 1.22.0.4163-d8c4875dd]
N: There are **13 additional versions. Please use the '-a'** switch to see them.

Posso ver as versões digitando.

  1. pi@pistorage:~ $sudo apt list --upgradable -a
plexmediaserver/public 1.22.1.4228-724c56e62 armhf [upgradable from: 1.22.0.4163-d8c4875dd]
plexmediaserver/public,now 1.22.0.4163-d8c4875dd armhf [installed,upgradable to: 1.22.1.4228-724c56e62]
plexmediaserver/public 1.21.4.4079-1b7748a7b armhf
plexmediaserver/public 1.21.3.4046-3c1c83ba4 armhf
plexmediaserver/public 1.21.3.4021-5a0a3e4b2 armhf
plexmediaserver/public 1.21.3.4015-a4be9cb8b armhf
plexmediaserver/public 1.21.3.4014-58bd20c02 armhf
plexmediaserver/public 1.21.2.3943-a91458577 armhf
plexmediaserver/public 1.21.2.3939-3945797bd armhf
plexmediaserver/public 1.21.1.3876-3c3adfcb4 armhf
plexmediaserver/public 1.21.1.3842-b0c7a97d9 armhf
plexmediaserver/public 1.21.1.3830-6c22540d5 armhf
plexmediaserver/public 1.21.1.3795-ee64ab56f armhf
plexmediaserver/public 1.21.1.3766-7e23ef53c armhf

Como posso escolher a versão exata para instalar? (As atualizações do Plex tendem a quebrar as coisas durante as atualizações)

Eu sei que posso usarsudo apt --only-upgrade install plexmediaserver

https://www.cyberciti.biz/faq/ubuntu-upgrade-update-single-package-using-apt-get/

Só não sei como escolher exatamente o que eu quero.

apt
  • 1 respostas
  • 1353 Views
Martin Hope
Rick T
Asked: 2020-12-05 23:24:18 +0800 CST

Script para limpar buffers/cache ainda diz permissão negada

  • 1

Eu tenho um script chamado clearcache.sh para limpar meus buffers/cache, mas quando executo ele continua dizendo Permissão negada.

O que está no script: clearcache.sh

#!/bin/bash
sync && echo 1 | tee /proc/sys/vm/drop_caches

Direitos:
-rwxr-xr-x 1 rt rt 464 Dec  5 02:10 clearcache.sh

Imagem


Como eu executo para testar:

rt@sys76:~/clearcache$ ./clearcache.sh 
tee: /proc/sys/vm/drop_caches: Permission denied
1

Eu quero colocar isso em um trabalho chron, mas preciso superar esse problema de permissão:

Atualização: Aqui está o arquivo drop_caches e seus direitos de propriedade do root, qual é a maneira correta de executar isso a partir de um trabalho chron usando um script? PS: estou executando o Ubuntu 20.04

imagem2

scripts permissions bash
  • 1 respostas
  • 687 Views
Martin Hope
Rick T
Asked: 2020-10-01 05:44:52 +0800 CST

dpkg: erro ao processar o pacote linux-firmware (--configure) após a atualização do Ubuntu 18.04 para 20.04.1

  • 0

Atualizei de 18.04 para o Ubuntu 20.04.1, mas recebo um erro de firmware, como posso corrigir isso?

Eu tentei: sudo dpkg --configure -a

rt@sys76:~$ sudo dpkg --configure -a

dpkg: error processing package linux-firmware (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-firmware; however:
  Package linux-firmware is not configured yet.

dpkg: error processing package linux-image-generic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-firmware
 linux-image-generic

Eu também tentei sudo apt-get install -f

rt@sys76:~$ sudo apt-get install -f


dpkg: error processing package linux-firmware (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-firmware; however:
  Package linux-firmware is not configured yet.

dpkg: error processing package linux-image-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 linux-firmware
 linux-image-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

Eu também tentei sudo apt-get install -y linux-firmware

rt@sys76:~$ sudo apt-get install -y linux-firmware

    2 not fully installed or removed.
    Need to get 0 B/98.9 MB of archives.
    After this operation, 0 B of additional disk space will be used.
    dpkg: error processing package linux-firmware (--configure):
     package is in a very bad inconsistent state; you should
     reinstall it before attempting configuration
    No apport report written because the error message indicates its a followup error from a previous failure.
                              dpkg: dependency problems prevent configuration of linux-image-generic:
     linux-image-generic depends on linux-firmware; however:
      Package linux-firmware is not configured yet.
    
    dpkg: error processing package linux-image-generic (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     linux-firmware
     linux-image-generic
    E: Sub-process /usr/bin/dpkg returned an error code (1)

Também tentei: sudo apt --fix-broken install

rt@sys76:~$ sudo apt --fix-broken install

Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
Need to get 0 B/98.9 MB of archives.
After this operation, 0 B of additional disk space will be used.
dpkg: error processing package linux-firmware (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
No apport report written because the error message indicates its a followup erro
r from a previous failure.
                          dpkg: dependency problems prevent configuration of lin
ux-image-generic:
 linux-image-generic depends on linux-firmware; however:
  Package linux-firmware is not configured yet.

dpkg: error processing package linux-image-generic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-firmware
 linux-image-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

Também tentei: sudo apt-get dist-upgrade

rt@sys76:~$ sudo apt-get dist-upgrade

Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/98.9 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package linux-firmware (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
No apport report written because the error message indicates its a followup error from a previous failure.
                          dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-firmware; however:
  Package linux-firmware is not configured yet.

dpkg: error processing package linux-image-generic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-firmware
 linux-image-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

Algumas informações:

rt@sys76:~$ uname -a
Linux sys76 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
rt@sys76:~$




rt@sys76:~$ ls -lh /lib/modules
total 236K
drwxr-xr-x 2 root root 4.0K Jan 23  2018 4.10.0-42-generic
drwxr-xr-x 2 root root 4.0K Jun 29 10:36 4.15.0-101-generic
drwxr-xr-x 2 root root 4.0K Jul  2 00:22 4.15.0-106-generic
drwxr-xr-x 2 root root 4.0K Jul 13 23:18 4.15.0-108-generic
drwxr-xr-x 2 root root 4.0K Jul 23 03:40 4.15.0-109-generic
drwxr-xr-x 2 root root 4.0K Sep  2 12:10 4.15.0-111-generic
drwxr-xr-x 2 root root 4.0K Sep  8 09:50 4.15.0-112-generic
drwxr-xr-x 2 root root 4.0K Sep 21 16:47 4.15.0-115-generic
drwxr-xr-x 2 root root 4.0K Sep 30 09:32 4.15.0-117-generic
drwxr-xr-x 5 root root 4.0K Sep 21 10:27 4.15.0-118-generic
drwxr-xr-x 2 root root 4.0K Jun 11  2018 4.15.0-20-generic
drwxr-xr-x 2 root root 4.0K Jul  2  2018 4.15.0-22-generic
drwxr-xr-x 2 root root 4.0K Jul 21  2018 4.15.0-23-generic
drwxr-xr-x 2 root root 4.0K Aug  7  2018 4.15.0-24-generic
drwxr-xr-x 3 root root 4.0K Sep  5  2018 4.15.0-29-generic
drwxr-xr-x 2 root root 4.0K Aug 24  2018 4.15.0-30-generic
drwxr-xr-x 2 root root 4.0K Sep 10  2018 4.15.0-32-generic
drwxr-xr-x 3 root root 4.0K Oct  2  2018 4.15.0-33-generic
drwxr-xr-x 3 root root 4.0K Oct 23  2018 4.15.0-34-generic
drwxr-xr-x 3 root root 4.0K Nov 14  2018 4.15.0-36-generic
drwxr-xr-x 3 root root 4.0K Dec 21  2018 4.15.0-38-generic
drwxr-xr-x 2 root root 4.0K Dec 20  2018 4.15.0-39-generic
drwxr-xr-x 2 root root 4.0K Jan 29  2019 4.15.0-42-generic
drwxr-xr-x 3 root root 4.0K Jan 31  2019 4.15.0-43-generic
drwxr-xr-x 3 root root 4.0K Mar  6  2019 4.15.0-44-generic
drwxr-xr-x 3 root root 4.0K Apr  4  2019 4.15.0-45-generic
drwxr-xr-x 2 root root 4.0K Apr 25  2019 4.15.0-46-generic
drwxr-xr-x 3 root root 4.0K May 15  2019 4.15.0-47-generic
drwxr-xr-x 3 root root 4.0K Jun  4  2019 4.15.0-48-generic
drwxr-xr-x 3 root root 4.0K May 20 11:30 4.15.0-50-generic
drwxr-xr-x 2 root root 4.0K Jun 28  2019 4.15.0-51-generic
drwxr-xr-x 2 root root 4.0K Jul 25  2019 4.15.0-52-generic
drwxr-xr-x 2 root root 4.0K Aug 14  2019 4.15.0-54-generic
drwxr-xr-x 2 root root 4.0K Sep  3  2019 4.15.0-55-generic
drwxr-xr-x 2 root root 4.0K Sep 10  2019 4.15.0-58-generic
drwxr-xr-x 2 root root 4.0K Sep 18  2019 4.15.0-60-generic
drwxr-xr-x 2 root root 4.0K Oct  1  2019 4.15.0-62-generic
drwxr-xr-x 2 root root 4.0K Oct 22  2019 4.15.0-64-generic
drwxr-xr-x 2 root root 4.0K Nov 13  2019 4.15.0-65-generic
drwxr-xr-x 2 root root 4.0K Nov 15  2019 4.15.0-66-generic
drwxr-xr-x 2 root root 4.0K Dec  2  2019 4.15.0-69-generic
drwxr-xr-x 2 root root 4.0K Jan  7  2020 4.15.0-70-generic
drwxr-xr-x 2 root root 4.0K Jan 28  2020 4.15.0-72-generic
drwxr-xr-x 2 root root 4.0K Feb 17  2020 4.15.0-74-generic
drwxr-xr-x 2 root root 4.0K Mar 17  2020 4.15.0-76-generic
drwxr-xr-x 2 root root 4.0K Apr  7 07:49 4.15.0-88-generic
drwxr-xr-x 5 root root 4.0K Mar 16  2020 4.15.0-91-generic
drwxr-xr-x 2 root root 4.0K May 20 04:37 4.15.0-96-generic
drwxr-xr-x 2 root root 4.0K Jun 10 14:52 4.15.0-99-generic
drwxr-xr-x 3 root root 4.0K Mar  7  2018 4.4.111-0404111-generic
drwxr-xr-x 3 root root 4.0K Mar 13  2018 4.4.119-0404119-generic
drwxr-xr-x 3 root root 4.0K Mar 20  2018 4.4.120-0404120-generic
drwxr-xr-x 3 root root 4.0K Mar 27  2018 4.4.121-0404121-generic
drwxr-xr-x 3 root root 4.0K Apr  2  2018 4.4.122-0404122-generic
drwxr-xr-x 6 root root 4.0K Apr 27  2018 4.4.126-0404126-generic
drwxr-xr-x 6 root root 4.0K Apr 27  2018 4.4.127-0404127-generic
drwxr-xr-x 3 root root 4.0K Apr 18  2018 4.4.128-0404128-generic
drwxr-xr-x 3 root root 4.0K Apr 26  2018 4.8.17-040817-generic
drwxr-xr-x 5 root root 4.0K Sep 30 07:44 5.4.0-48-generic


rt@sys76:~$ sudo dpkg -C  
The following packages are in a mess due to serious problems during
installation.  They must be reinstalled for them (and any packages
that depend on them) to function properly:
 linux-firmware       Firmware for Linux kernel drivers

The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 linux-image-generic  Generic Linux kernel image
upgrade 20.04
  • 1 respostas
  • 7228 Views
Martin Hope
Rick T
Asked: 2020-08-11 16:26:02 +0800 CST

Como atualizar do Ubuntu 18.04.x ​​LTS para 20.04.1 LTS usando iso baixado

  • 3

Onde posso encontrar instruções sobre como atualizar do Ubuntu 18.04.x ​​LTS para 20.04.1 LTS usando a iso baixada?

Minha conexão com a internet é muito lenta (dial-up), então preciso atualizar usando o iso.

Não sei por que essa não é uma opção de escolha, pois eles recomendam atualizar de um LTS para outro LTS.1 (ou estou perdendo alguma coisa).

upgrade 18.04 20.04
  • 1 respostas
  • 1115 Views
Martin Hope
Rick T
Asked: 2020-07-14 18:37:20 +0800 CST

Sistema de pacote quebrado usando o Ubuntu 18.04 após executar o atualizador de software

  • 0

Sistema de pacote quebrado usando o Ubuntu 18.04 após executar o atualizador de software

Eu executei o atualizador de software do gui e este erro apareceu, eu não tenho nenhum ppa ou repositório ativado

Como posso consertar isso?

erro

eu também corri

sudo apt --fix-broken install

useoh@s12s72:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libllvm10 libllvm10:i386 linux-gcp-5.3-tools-5.3.0-1026 linux-gcp-5.3-tools-5.3.0-1029
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  linux-image-4.15.0-111-generic
Suggested packages:
  fdutils linux-doc-4.15.0 | linux-source-4.15.0 linux-headers-4.15.0-111-generic
The following NEW packages will be installed:
  linux-image-4.15.0-111-generic
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
2 not fully installed or removed.
Need to get 0 B/8,008 kB of archives.
After this operation, 8,411 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 972697 files and directories currently installed.)
Preparing to unpack .../linux-image-4.15.0-111-generic_4.15.0-111.112_amd64.deb ...
Unpacking linux-image-4.15.0-111-generic (4.15.0-111.112) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: <decompress> subprocess returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.15.0-111-generic_4.15.0-111.112_amd64.deb (--unpack):
 dpkg-deb --fsys-tarfile subprocess returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-4.15.0-111-generic_4.15.0-111.112_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
package-management apt update-manager 18.04
  • 1 respostas
  • 2959 Views
Martin Hope
Rick T
Asked: 2020-06-12 02:13:00 +0800 CST

nut e nut-monitor não se conectam a tripp-lite ups usando o Ubuntu 18.04

  • 1

Eu tenho um ups tripp-lite AVR700U, mas o nut e o nut-monitor não o veem. Alguém tem uma boa escrita que funciona? Tudo o que encontro tem vários anos e não funciona com a minha configuração? Estou tentando desativar o som de bipe de falta de energia. Estou usando o desktop Ubuntu 18.04 64 bits

ups 18.04
  • 1 respostas
  • 1801 Views
Martin Hope
Rick T
Asked: 2018-10-19 18:22:13 +0800 CST

Usando o comando 'at' para gravação de vídeo cronometrada no dia seguinte e faça isso apenas uma vez

  • 1

Estou tentando 1) start and stream video to vlce 2) record the same video stream to a file that starts at 05:45 am the next daytudo funciona, menos o horário de início, em vez de começar às 05h45 do dia seguinte, começa imediatamente. O que eu perdi?

bash -c "streamlink --stdout https://www.youtube.com/watch?v=XOacA3RYrXk 720p | tee /tmp/water_vid/water_video-$(date +"%H:%M_%m-%d-%Y").mkv | vlc -" | at 05:45 am
command-line bash cron 18.04
  • 2 respostas
  • 42 Views
Martin Hope
Rick T
Asked: 2018-09-03 05:03:21 +0800 CST

Impedindo a atualização do LTS para outra versão do Ubuntu

  • 4

Tenho vários computadores e pessoas no Ubuntu 18.04 LTS 64bit e gostaria de ficar nessa versão. Costumava haver uma opção que dizia LTS version updates only(ou algo parecido) agora diz always ask, default upgradeou smart upgrade. Alguém sabe o que essas opções realmente fazem. Não quero que as pessoas atualizem acidentalmente para 18.10 quando tudo o que desejam fazer é atualizar e instalar correções de software / segurança.

insira a descrição da imagem aqui

upgrade lts 18.04
  • 2 respostas
  • 1316 Views
Martin Hope
Rick T
Asked: 2018-04-29 11:37:52 +0800 CST

Como faço para habilitar e desabilitar as extensões do GNOME na linha de comando?

  • 16

Como posso ativar/desativar as extensões do GNOME na linha de comando?

Fiz um gif animado do que estou tentando fazer no terminal para explicar melhor. Não estou tentando habilitar ou desabilitar apenas uma extensão .

insira a descrição da imagem aqui

Eu olhei, gnome-tweaks -hmas não tem a opção que eu estou procurando.

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -t, --test            Enable test and debug code
  -l, --load            Load all tweaks
  -p [/, /usr], --prefix=[/, /usr]
                        Installation prefix (for gsettings schema, themes,
                        etc)
  -v, --verbose         Print the names of settings modified
  -d, --debug           Enable debug output
gnome command-line gnome-shell gnome-shell-extension
  • 2 respostas
  • 24593 Views
Martin Hope
Rick T
Asked: 2018-01-13 14:20:35 +0800 CST

Nautilus e nemo não exibem diretórios no diretório Home desde a nova atualização para 16.04 para Spectre, vulnerabilidade Meltdown

  • 0

Desde a nova atualização do kernel para corrigir a vulnerabilidade Spectre e Meltdown da Intel, o Nautilus e o nemo não exibem diretórios na unidade Home. Não consigo nem fazer a lspartir do terminal, ele apenas fica lá.

55@ftg:~$ uname -a
Linux sys76 4.13.0-26-generic #29~16.04.2-Ubuntu SMP Tue Jan 9 22:00:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


55@ftg:~$  lsb_release -a
LSB Version:    core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:    16.04
Codename:   xenial

GNOME nautilus 3.14.3
nemo 2.8.6

Eu até desliguei várias opções no Nautilus ... veja a imagem abaixo E vários programas demoram cerca de 30 segundos para abrir em vez de 2 segundos como obturador, gedit etcc ..

insira a descrição da imagem aqui

16.04
  • 1 respostas
  • 123 Views
Martin Hope
Rick T
Asked: 2017-12-14 07:57:29 +0800 CST

Desclassificado do libreoffice 5.4.x para voltar ao 5.1.x agora não consigo executar nenhum programa do libreoffice

  • 1

Fiz downgrade do libreoffice 5.4.x para voltar para 5.1.x nos repositórios agora não consigo executar nenhum programa do libreoffice. Como posso consertar isso?

O que fiz para deletar o libreoffice 5.4.x

sudo apt-get install ppa-purge && sudo ppa-purge ppa:libreoffice/ppa
sudo apt-get remove --purge libreoffice*
sudo apt-get autoremove
sudo apt-get clean
I then rebooted the machine

Em seguida, para reinstalar o 5.1.x, executei o comando.

sudo apt-get install libreoffice-common libreoffice

Quando clico no ícone, a tela do flash é exibida, mas nenhum dos aplicativos do libreoffice é iniciado.

Quando tento iniciar o gravador do terminal usando o comandolibreoffice --writer

Eu recebo esta mensagem de erro

 ~$ libreoffice --writer
terminate called after throwing an instance of 'std::runtime_error'
  what():  IconThemeInfo::FileNameToThemeId() called with invalid filename.


Fatal exception: Signal 6
Stack:
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x394e0)[0x7f996c2004e0]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x39873)[0x7f996c200873]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x399a8)[0x7f996c2009a8]
/lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7f996be324b0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f996be32428]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f996be3402a]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x16d)[0x7f9964e9484d]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d6b6)[0x7f9964e926b6]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d701)[0x7f9964e92701]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d919)[0x7f9964e92919]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN3vcl13IconThemeInfo17FileNameToThemeIdERKN3rtl8OUStringE+0x13c)[0x7f996ebb340c]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN3vcl13IconThemeInfoC2ERKN3rtl8OUStringE+0x70)[0x7f996ebb3690]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN3vcl16IconThemeScanner18AddIconThemeByPathERKN3rtl8OUStringE+0x5b)[0x7f996ebb427b]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN3vcl16IconThemeScanner26ScanDirectoryForIconThemesERKN3rtl8OUStringE+0x13b)[0x7f996ebb446b]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN3vcl16IconThemeScanner6CreateERKN3rtl8OUStringE+0x63)[0x7f996ebb4553]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2790fdc)[0x7f996ebaefdc]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN13StyleSettingsC1Ev+0x46)[0x7f996ebaf496]
/usr/lib/libreoffice/program/libmergedlo.so(+0x27914f6)[0x7f996ebaf4f6]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11AllSettingsC1Ev+0x46)[0x7f996ebaf676]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application12InitSettingsEP10ImplSVData+0x1e)[0x7f996ebb5fde]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application11GetSettingsEv+0x2d)[0x7f996ebb608d]
/usr/lib/libreoffice/program/libvclplug_gtklo.so(+0x3b502)[0x7f995807f502]
/usr/lib/libreoffice/program/libmergedlo.so(_Z7InitVCLv+0x292)[0x7f996ebbadc2]
/usr/lib/libreoffice/program/libmergedlo.so(+0x279d9f6)[0x7f996ebbb9f6]
/usr/lib/libreoffice/program/libmergedlo.so(_Z6SVMainv+0x22)[0x7f996ebbbb02]
/usr/lib/libreoffice/program/libmergedlo.so(soffice_main+0xa2)[0x7f996dcb3212]
/usr/lib/libreoffice/program/soffice.bin[0x4006eb]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f996be1d830]
/usr/lib/libreoffice/program/soffice.bin[0x400729]
lp@jt-laptop:~$




I'm using:
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:    16.04
Codename:   xenial
16.04
  • 2 respostas
  • 442 Views

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Existe um comando para listar todos os usuários? Também para adicionar, excluir, modificar usuários, no terminal?

    • 9 respostas
  • Marko Smith

    Como excluir um diretório não vazio no Terminal?

    • 4 respostas
  • Marko Smith

    Como descompactar um arquivo zip do Terminal?

    • 9 respostas
  • Marko Smith

    Como instalo um arquivo .deb por meio da linha de comando?

    • 11 respostas
  • Marko Smith

    Como instalo um arquivo .tar.gz (ou .tar.bz2)?

    • 14 respostas
  • Marko Smith

    Como listar todos os pacotes instalados

    • 24 respostas
  • Martin Hope
    Flimm Como posso usar o docker sem sudo? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    led-Zepp Como faço para salvar a saída do terminal em um arquivo? 2014-02-15 11:49:07 +0800 CST
  • Martin Hope
    ubuntu-nerd Como descompactar um arquivo zip do Terminal? 2011-12-11 20:37:54 +0800 CST
  • Martin Hope
    TheXed Como instalo um arquivo .deb por meio da linha de comando? 2011-05-07 09:40:28 +0800 CST
  • Martin Hope
    Ivan Como listar todos os pacotes instalados 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    David Barry Como determino o tamanho total de um diretório (pasta) na linha de comando? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher "Os seguintes pacotes foram retidos:" Por que e como resolvo isso? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford Como os PPAs podem ser removidos? 2010-07-30 01:09:42 +0800 CST

Hot tag

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve