Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [error-handling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
52 views

Adding error handling to simple backup script

I have created the following simple backup script for my Ubuntu machine: #!/bin/bash set -e echo "Mounting network share" sudo mkdir -p /var/backup sudo mount -t nfs 192.168.178.33:/...
Boris's user avatar
  • 121
0 votes
0 answers
16 views

Auto-delete asp .net project file (Ubuntu 22.04.4 LTS )

There are a few projects in storage. I shutdown the PC and re-start it next morning. All files of project folder are gone. There are show folders only (controller,view,Models,bin). There are no ...
NamanGajjar's user avatar
-3 votes
0 answers
24 views

apt update reports errors [duplicate]

I am getting these error messages on my system when I run apt update. Please help me I am new to this. Traceback (most recent call last): File "/usr/lib/cnf-update-db", line 32, in <...
Prince Editz's user avatar
0 votes
0 answers
25 views

AXIOS/Fetch - Error on Ubuntu

Axios or Fetch data from external API Error on Ubuntu 22.04, but if using local API or try on my Windows, it can work.
Muhammad Arizky's user avatar
0 votes
1 answer
43 views

What is the cause of postfix error 554 charset=<NULL>?

I'm setting up an Amazon virtual server with ubuntu 22.04 and virtualmin with postfix version 3.6.4. When sending a test email, the "charset=" is empty/null before the message body which ...
wayanr's user avatar
  • 1
0 votes
0 answers
59 views

I am receiving this error when installing Samba-common-bin

"Error while installing package: installed samba-common-bin package post-installation script subprocess returned error exit status 1"
Trevor's user avatar
  • 1
0 votes
0 answers
22 views

ubuntu system menu not showing some options

I want to connect to va wireless network, so I used my other computer to search up how to do so (searching on ubuntu displayed an error). Ubuntu said to click the system menu to see wifi, so I did, ...
SoloX's user avatar
  • 1
0 votes
0 answers
397 views

Installing Ubuntu in WSL failed with Error code: Wsl/Service/RegisterDistro/CreateVm/ConfigureNetworking/HNS/0x8007001f

Windows Version Microsoft Windows [Version: 10.0.22621.3374] WSL Version 2.1.5.0 Are you using WSL 1 or WSL 2? [X] WSL 2 [ ] WSL 1 Kernel Version 5.15.146.1-2 Distro Version None(Cannot install) ...
CY H's user avatar
  • 1
1 vote
0 answers
59 views

No dual display obtion on my Ubuntu 22.04.4

I am using a Lenovo Thinkbook 16 G6 (2024 version) laptop. I tried to install Ubuntu 22.04.4 (dual boot with Win11), but when I needed to use dual display, I found out that my Ubuntu has no dual ...
lenovo nerd's user avatar
1 vote
0 answers
305 views

Error while booting Ubuntu 22.04

/dev/nvme0n1p1: recovering journal /dev/nvme0n1p1: clean, 405263/18317312 files, 9003492/73241856 blocks [ 2.634096] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination [ 3.203295] iwlwifi 0000:00:...
Yasser Salem's user avatar
0 votes
0 answers
104 views

I'm getting errors from the command sudo apt update and need help in fixing my computer [duplicate]

i've been having errors updating stuff for a few months now on software updater and with the terminal using either sudo apt update or sudo apt-get update. ive tried quite a few tricks that have been ...
Solus Lupus's user avatar
0 votes
0 answers
22 views

Emergency Mode: Unable to logging in Ubuntu 20.04

I am in an emergency mode and tried with multiple commands to logging in into Ubuntu but unfortunately couldn't able to succeed to resolve the issue. I'm new to Ubuntu, what can I do to fix this (or ...
Pikaschu's user avatar
0 votes
0 answers
16 views

How to debug Freezing/WiFi Disconnects

Possible duplicate from a newbie. I am facing issues with my Ubuntu 22.0.4 Laptop. For some time now, my Laptop keeps randomly having problems. It keeps disconnecting the Wifi and Bluetooth, when I ...
Robert Reichel's user avatar
-5 votes
1 answer
49 views

How to get rid of error [closed]

I am using m2 macbook with UTM virtualization (ubuntu linux OS) i am installing hadoop But there's only one error ERROR: JAVA_HOME /usr/lib/jvm/java-11-openjak-amd64 does not exist.
Syed Safi Ullah's user avatar
0 votes
0 answers
111 views

unable to access location ssd

I have three different drives on my PC and when trying to open one of the SSD's it gives me this error message Unable to access location Error mounting /dev/sdc1 at /media/milly/Large: wrong fs type, ...
Milly Brown's user avatar
0 votes
1 answer
2k views

Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5847 (aptd)

I was trying to install git in my Ubuntu 22.04.3 LTS. After using "sudo apt update" command. I used "sudo apt upgrade -y" cmd. Then it displayed this message -> "Waiting ...
ubuntu_user's user avatar
0 votes
0 answers
96 views

How Does the Smart Control Parameter #173 from Ubuntu smarctl / gnome-disks for the Samsung MZ-7TY2560 reconcile with Linux HDSentinel Rating of 52%

From the Ubuntu version of HDSentinel, it reports health of 52% because of: # HDSentinel Hard Disk Sentinel for LINUX console 0.20.10851 (c) 2023 [email protected] Start with -r [reportfile] to ...
Stephen Elliott's user avatar
1 vote
1 answer
178 views

How to identify the input that caused a program to segfault?

I have scripts that run programs (that I did not author) and some are getting segfaults on a few inputs. I do these things in large batches that run for up to a week, and would like to know which ...
ForDummies's user avatar
0 votes
0 answers
148 views

Cubic Error: Unable to create customized disk file

I am trying to create a customized ISO file using cubic. The first time I used cubic I made a few small tweaks to the ISO file and tested the customized ISO file, and It worked. After the confirmation ...
Developer's user avatar
0 votes
0 answers
21 views

Ubunutu 6.2.0-36 stuck on boot

Yesterday I used normally the computer. However, today the ubuntu out of nowhere doesn’t boot. It’s stuck on this page: 1 The journal shows this error: 2 What can I do?
leonardo's user avatar
0 votes
1 answer
181 views

Cannot install while still directory is still in $PATH

While installing OH MY POSH, these two errors appear, although the second one is a bug(reported). I have added the/usr/local/bin directory in $PATH in ~/.zshrc and showing while echoed. I cannot ...
Sarangem's user avatar
0 votes
0 answers
1k views

Partitions 3 on /dev/sda have been written, but we have been unable to inform the kernel of the change

So i recently tried to install pheonix os along side Windows 10 and it basically destroyed my partitions for good. So i tried to install Ubuntu and just wipe my drive completely using gparted. I then ...
CodeBreaker's user avatar
0 votes
0 answers
266 views

Ubuntu 22.04.3 LTS : fingerprint reader not working

fprintd-enroll Using device /net/reactivated/Fprint/Device/0 failed to claim device: GDBus.Error:net.reactivated.Fprint.Error.Internal: Open failed with error: transfer timed out fprintd-verify Using ...
V R's user avatar
  • 11
0 votes
1 answer
153 views

Docker build can't reach the internet

when I run docker build -t test . it gives me error connection time out, how can I solve this issue, please? I am using Ubuntu 22.04.3 [connection time out][1]
newjenkinsuser's user avatar
1 vote
0 answers
50 views

sh: fsck/dev/sda10: not found [closed]

I got into a problem while trying to boot Ubuntu similar to that of the one in the question I've linked below, fsck error on boot: /dev/sda6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY But when I try ...
Leon Raj's user avatar
0 votes
0 answers
58 views

Invalid desktop entry file: '/usr/share/application/gzdoom.desktop' error when trying to run gzdoom

I'm using this website: https://github.com/jun-ro/Chromebook-VM to run Ubuntu in my browser, now I had to get gdebi to install deb files, but whenever I try to run gzdoom I get the error invalid ...
TheCheese2267's user avatar
0 votes
0 answers
173 views

input/output error during write on /dev/sda

I have been trying to install Ubuntu on my pc, the device currently does not have any OS. But I get the error "input/output error during write on /dev/sda"
Eliyno D.C Gaeb's user avatar
0 votes
1 answer
122 views

Ubuntu authentication error login screen auto blinking?

I am working on Ubuntu that is launched from an Oracle virtual machine. While logging in it is showing an authentication error.
user1704433's user avatar
-1 votes
1 answer
136 views

'timeshift: Command not found' following Timeshift removal

I removed TIMESHIFT on Ubuntu and I followed the instructions in Timeshift - GitHub's ReadMe but after a succesfull removal it gives me this error, how can I delete this script? Rsyncing /boot/efi ...
glawon's user avatar
  • 11
2 votes
0 answers
442 views

Ubuntu server 23.04 netplan cloud-init python error

I've tried to find a solution and an answer myself before but didn't succeed. I recently changed my wi-fi SSID and thus had to reflect that change in my ubuntu server configs. On the raspi 4 ...
verypacific's user avatar
0 votes
0 answers
2k views

xcrysden not opening

i just installed xcrysden in my Ubuntu which i am using on virtual machine, but whenevr i tried to open it , iam getting an error like-- ***********Pc:~$ xcrysden +------------------------------------...
Ramakrishna Kotha's user avatar
0 votes
0 answers
278 views

Why my Ubuntu 22.04 is taking very long time to run "dpkg --configure -a command"?

sudo dpkg --configure -a this is the command which i have used to unlock the dpkg file. following was the lock error: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to ...
Akanksha Nagargoje's user avatar
0 votes
0 answers
81 views

An error has occured, I uninstalled firefox then this message kept showing everytime i start my laptop?

An error (using Ubuntu 22.04.2 LTS) ("The cache has no package named'firefox:amd64'")
Aps's user avatar
  • 1
0 votes
0 answers
19 views

Error code on startup on a 2008 iMac

I recently acquired a very old iMac and thought I would repurpose it and install the latest version of Ubuntu. Everything worked except for the wifi card. This was fixed when I installed additional ...
Shane Smith's user avatar
0 votes
0 answers
25 views

E: No priority (or zero) specified for pin error in Ubuntu Studio when updating or installing packages [duplicate]

I'm encountering an error in Ubuntu Studio related to package management, specifically when trying to perform software updates or installations. The error message I'm receiving is "E: No priority ...
Menachem D's user avatar
0 votes
0 answers
40 views

Certain areas suddenly became unclickable in Ubuntu 23.04

Some areas on the top right under the battery indicator (especially for close, maximize, minimize) suddenly became unclickable when opening any app, but when opening File Explorer the area returned to ...
Peter's user avatar
  • 1
0 votes
0 answers
27 views

Ubuntu 20.04: Not opening, while booting shows this error message:

[error][1] I get this error while I try to boot my notebook, the software currently installed is ubuntu 20.04. [1]: https://i.sstatic.net/bp6Dp.jpg
Tech Zenith's user avatar
1 vote
0 answers
723 views

"sudo: unable to initialize PAM: Critical error - immediate abort" when try to run "sudo apt-get update" on Ubuntu 22.04

I am encountering an issue on my Ubuntu system when attempting to run the command sudo apt-get update. The terminal returns the following error message: sudo: unable to initialize PAM: Critical error -...
Mehrab Hossain's user avatar
0 votes
1 answer
112 views

error in spache2 000-default.conf file

I am trying to use apache2 for evil twin access point attack. When I started apache2 service, I got an error: This is my config file: This is my issue, saying that 000-default.config file has a ...
qwwert's user avatar
  • 1
0 votes
0 answers
712 views

[FAILED]Failed to start dbus.service - D-bus System message Bus

I don't know how it happened, but this is appearing on my screen when I try to boot Ubuntu from the GRUB menu. I have dual booted Windows 10 and Ubuntu. It was working just fine yesterday. Although ...
Manas Mishra's user avatar
3 votes
1 answer
9k views

how do i fix error fdisk:cannot open /dev/sdb: Input/output error

i am trying to create a partition but am unable due to error:
Eloise Goh's user avatar
0 votes
0 answers
1k views

How to resolve PCIe Bus Error in Ubuntu 20.04.6

I have installed Ubuntu 20.04.6 on my machine and I am getting lot of below errors: syslog Apr 10 09:34:30 gtx kernel: [ 219.714005] pcieport 0000:00:1d.3: AER: Corrected error received: 0000:00:...
S Andrew's user avatar
  • 494
-3 votes
1 answer
203 views

File or directory not found - FLUKA software installation

I am trying to install the FLUKA software from the binaries. The file for FLUKA and all its libraries were downloaded from the cern website in a .deb format. That provided me with a .deb file in the ...
Moiz khokhar's user avatar
0 votes
0 answers
36 views

I can't to do update

Recently I installed the ubuntu 22.04 but i treat problem with update.Especially as you can see in the next photo the minimum time is 10 hours.After 10 hours i see that didn't update and the time is ...
Dimitris Krokos's user avatar
0 votes
0 answers
466 views

System upgrade from 20.04. to 22.04. Problem executing scripts

E:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi', E:Sub-...
skniep's user avatar
  • 1
-1 votes
1 answer
1k views

E: Unable to locate package xgraph error on Ubuntu 20.04 in virtual machine [duplicate]

I am working on ns2 software and need to install xgraph When I put "sudo apt-get install xgraph" command it shows the below message Reading package lists... Done Building dependency tree ...
Pooja Harihar's user avatar
0 votes
0 answers
438 views

using java in UBUNTU

I have been trying to use this code in UBUNTU : wget https://snpeff.blob.core.windows.net/versions/snpEff_latest_core.z unzip snpEff_latest_core.zip java -Xmx8g -jar snpEff.jar GRCh37.75 data_1.vcf &...
Eliza Romanski's user avatar
1 vote
0 answers
676 views

How to enable pstore for kernel panics on Ubuntu 18.04?

What I have: Ubuntu 18.04 server with HWE 5.4.0-136 kernel systemd-237 (without systemd-pstore service). /sys/module/pstore/parameters/backend contains (null) pstore is automatically mounted to /...
user2743554's user avatar
0 votes
1 answer
429 views

Problem installing Ubuntu 22.10 in Oracle VirtualBox

I keep getting stuck at this black screen when trying to install Ubuntu 22.10 on VirtualBox. When I try to set it up I go through the code and all that, but it just stops at the below screen.
TechDude's user avatar
0 votes
2 answers
2k views

How to stop the bash script when a PIPED command meets an error?

I have some pipes in my bash script, notably mysqldump | mysql How do I get the script to stop if any of the piped processes return non-zero exit code? In my tests, if mysqldump fails, the script ...
Anton Duzenko's user avatar

1
2 3 4 5
12