All Questions
663
questions
1
vote
0
answers
1k
views
Checking for a new Ubuntu release There is no development version of an LTS available
We are upgrading OS version from 18.04 to 20.04 LTS .When we try to run do-release-upgrade -c , we are getting the following error :
Checking for a new Ubuntu release There is no development version ...
0
votes
0
answers
13
views
How to check if ppa:ondrej/php repository is added successfully? [duplicate]
I'm trying to install PHP 7.4 on Ubuntu 18.04. I've executed the following command:
sudo add-apt-repository ppa:ondrej/php
It looks finished successfully. After that I update the apt by:
apt update
...
0
votes
0
answers
834
views
How to fix broken apt in Ubuntu 18.04 without reinstalling from scratch [duplicate]
I have an old server running Ubuntu 18.04.6 LTS, and I suspect that someone tried to install or upgrade to the wrong Ubuntu 20.04 packages, resulting in a broken apt and a so-called "...
2
votes
1
answer
1k
views
Cannot do-release-upgrade on 18.04.6 [duplicate]
Trying to upgrade from 18.04. I'm getting a 401 unauthorized when trying to update && upgrade. I do not have UA nor have I ever. It seems to be trying to pull from ESM even without UA ...
5
votes
1
answer
27k
views
unable to install php8.1 on 18.04 [closed]
I have 18.04 on a virtual machine. i want to update to php8.1
I already have the PPA php repository on the machine:
sudo add-apt-repository ppa:ondrej/php
i can see that there is a file in:
# ls -l /...
-2
votes
1
answer
140
views
Try to install a package without any other action
I know it is not a preferred action, but for a distupgrade from bionic to focal (and later to jammy) I have to install a package from focal to bionic first. This is because I have an additional source ...
0
votes
0
answers
3k
views
Ubuntu 18.04 apt: command not found
I have a problem in my ubuntu, I did sudo apt update, it zupdated me but since then I can't use the apt command to download things from the repository I have a question if there is any option to ...
0
votes
1
answer
394
views
botched 18.04.6 do-release-upgrade [duplicate]
I ran do-release-upgrade on an Ubuntu 18.04.6 (LTS) machine.
It threw some python package related errors and I panicked and terminated the screen.
Now I'm left with this:
root@h2838745:~# apt upgrade
...
0
votes
1
answer
782
views
what is difference between bionic-updates and bionic in apt source? [duplicate]
Is bionic-updates more stable and secure than the regular bionic when managing apt source records?
Rencently,I upgrade my server from 16 to 18 using apt-get upgrade.But I do not know how to take care ...
1
vote
1
answer
160
views
Ubuntu 18.04, dozens of 403 errors
We have a Ubuntu 18.04 Server, and someone reported issues with cloning from git (I checked, was not able to clone my own repositories), and I wanted to run an apt update, and even there ran into tons ...
0
votes
1
answer
5k
views
Cannot add PPA deadsnakes to ubuntu 18.04 behind company proxy
When I try to add ppa repository to Ubuntu within my company network
sudo add-apt-repository ppa:deadsnakes/ppa
I get
Cannot add PPA: 'ppa:~deadsnakes/ubuntu/ppa'.
ERROR: '~deadsnakes' user or team ...
2
votes
1
answer
2k
views
Unmet dependencies: containerd : Breaks: docker.io
I have a Ubuntu 18.04.6 LTS machine that cannot be updated due to a dependency error, which I don't know how to solve.
It started after I did do-release-upgrade from 16.04.7.
apt update works fine, ...
0
votes
1
answer
512
views
MOTD: '444 updates can be applied immediately'. `apt list --upgradable` lists just 4!
I have a Ubuntu 18.04.6 LTS machine that says to me, after logging in:
444 updates can be applied immediately.
To see these additional updates run: apt list --upgradable
But when I use apt list --...
0
votes
0
answers
106
views
Correcting dependencies... failed. After upgrade ubuntu 16.04 to 18.04 [duplicate]
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
dh-python : Depends: ...
-1
votes
1
answer
2k
views
module 'collections' has no attribute 'Mapping' how to safely reinstall update-notifier-common?
When running app upgrade I get the following errors:
$ sudo sudo apt upgrade
[sudo] password for admin-federico-dostuni:
Hit:1 http://azure.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://...
0
votes
1
answer
677
views
Errors when running "sudo apt update" Ubuntu 18.04 Bionic with Hetzner
When I run
sudo apt -y update
I get
Hit:1 http://mirror.hetzner.de/ubuntu/packages bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:...
0
votes
1
answer
482
views
Ubuntu 18.04.6 LTS on Azure VM can't run apt upgrade: ModuleNotFoundError: No module named 'apt_pkg'
I got this error message when I try to update the software installed with APT:
$ sudo apt update && sudo apt upgrade
Hit:1 http://azure.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://...
1
vote
0
answers
2k
views
Ubuntu 18.04 Reboot issue overlayfs: missing 'lowerdir'
Upon rebooting my linux PC, I get this message a couple of times before getting stuck (the [XXXX] are random numbers):
aufs aufs_fill_super:912:mount[XXXX]: no arg
overlayfs: missing 'lowerdir'
...
0
votes
1
answer
455
views
Could not install LLVM11 in Dockerfile
Here Is my Dockerfile
FROM nvidia/cuda:10.2-devel-ubuntu18.04
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
ENV PATH /opt/conda/bin:$PATH
#ENV DEBIAN_FRONTEND noninteractive
ENV TZ=Asia/Shanghai
env http_proxy &...
1
vote
1
answer
2k
views
Problems on updating ubuntu 18.04
I just install ubuntu 18.04 in my laptop parallel with windows 10. When I tried to runsudo apt upgrade,error message. After I deleted all the upgraded files and upgrade again, it got stuck hereStuck ...
2
votes
2
answers
2k
views
Why does apt-get install recommended packages by default?
On Ubuntu 18.04 (or 20.04, etc) will install recommended packages along with apt-get install, I understand that depended packages should be installed, but why recommended? who decides the ...
-1
votes
1
answer
2k
views
SSL: CERTIFICATE_VERIFY_FAILED certificate verify failed (_ssl.c:852)
Dockerfile i have below for y-ppa-manager package installation.
FROM ubuntu:18.04
RUN add-apt-repository ppa:webupd8team/y-ppa-manager
RUN apt-get update -y
RUN apt-get install -y y-ppa-manager
But ...
1
vote
0
answers
1k
views
Trying to installing new package and harmful "apt --fix-broken install" message [duplicate]
I want to install new package on ubuntu18.04 and I think I installed incorrectly some Ubuntu 20 packages and when I want to install some packages like:
sudo apt-get install libgtest-dev
I got this ...
0
votes
0
answers
377
views
problem with zlib1g-dev and libncurses5-dev
I am really new to the Ubuntu world, and I am facing this problem with zlib1g-dev.
This is the version of my system:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: ...
2
votes
1
answer
4k
views
E: Conflicting values set for option Signed-By regarding source https://developer.download.nvidia.com/compute/cuda/repos/
Ubuntu 18.04
E: Conflicting values set for option Signed-By regarding source https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /: /usr/share/keyrings/cuda-archive-keyring.gpg ...
-1
votes
2
answers
506
views
apt-get update fails in fresh bionic ova image
Whenever i run apt commands , i get the following error. To note this is a VM in a datacenter
Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Connection failed [IP: 91.189.91.39 80]
Err:2 ...
0
votes
1
answer
2k
views
How do I reset openvswitch to stop using "other_config" settings I set?
I messed up my openvswitch, and even after remove/purge with apt, the "other_config" parameters still appear. I have been bouncing between a compiled version of ovs with dpdk I did myself ...
0
votes
1
answer
2k
views
Package installation & uninstallation with python2.7
I'm having problem with package installation and removal on ubuntu-18.04lts.
Firstly, I have problem with python -2.7
$ python
Traceback (most recent call last):
File "/usr/lib/python2.7/site....
0
votes
0
answers
1k
views
Ubuntu 18.04 sudo apt update error + internet connection problem
I'm trying to install Ubuntu 18.04 on my M1 via a virtual machine called UTM.
The problem is that there is "no wifi adaptor found" in my ubuntu, so I'm trying to run sudo apt update , but I ...
0
votes
0
answers
2k
views
Installing libsqlite3-0 and libsqlite3-dev from sources on Ubuntu 18.04
So I have Ubuntu 18.04 under which the newest version of sqlite3 (and libsqlite3-dev and libsqlite3-0) that can be installed with apt is 3.22.0. And I want to install v3.25.0 or higher because it ...
0
votes
1
answer
527
views
Issues installing bitwig 4.2.3 on ubuntu 18.04 [duplicate]
Currently trying to install bitwig 4.2.3 on ubuntu 18.04 and I am receiving this error:
(base) cocopalacelove@system76-pc:~/bitwig$ sudo apt install ./bitwig-studio-4.2.3.deb
Reading package lists... ...
1
vote
0
answers
930
views
Upgrade from 18.04 to 20.04 fails. The package 'postgresql-10-postgis-2.4'
I'm trying to upgrade 18.04 to 20.04 but the upgrade halts with error:
ERROR Dist-upgrade failed: 'The package 'postgresql-10-postgis-2.4' is marked for removal but it is in the removal blacklist.
...
0
votes
0
answers
338
views
How to update to the latest bionic beaver in chroot environment
I've inherited a load of source code from some contractors. This build works on Ubuntu 18.04.06. Trying to build on previous versions of Ubuntu do not work as package dependencies are missing and the ...
2
votes
1
answer
3k
views
How to install lua5.3 in Ubuntu 18.04?
I have started learning lua programming and have installed lua using below commands
sudo apt install lua5.3 liblua5.3-dev
but when I do $ lua
I get this warning
Command 'lua' not found, but can be ...
0
votes
0
answers
35
views
Errors installing mongodb on WSL Ubuntu 18.04 [duplicate]
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
Really struggling with finding a solution to my issue. I was ...
0
votes
0
answers
504
views
Unable to install microsoft -edge-dev on ubuntu 18.04
lubuntu@lubuntu:~$ sudo apt install microsoft-edge-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may ...
0
votes
0
answers
34
views
Ubuntu 18.04 unable to run a partial upgrade [duplicate]
I was trying to run a partial upgrade my Ubuntu 18.04.6 LTS. But I am getting the following error
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration ...
0
votes
0
answers
996
views
How does the 'do-release-upgrade' command work with the -c parameter/option?
About Ubuntu upgrade. After to read some tutorials
Through Virtual Box for Ubuntu Server 18.04 LTS with the lsb_release -a command appears
No LSB modules are available.
Distributor ID: Ubuntu
...
0
votes
0
answers
31
views
PPA error sudo apt-get update [duplicate]
I have an issue with the command
$ sudo apt-get update
, it gives following errors:
Get:1 file:/var/cudnn-local-repo-cross-sbsa-ubuntu1804-8.3.1.22 InRelease
Ign:1 file:/var/cudnn-local-repo-...
1
vote
1
answer
548
views
how to downgrade ubuntu kernel using bash script
How to downgrade ubuntu kernel using bash script
OS version
PRETTY_NAME="Ubuntu 18.04.6
Kernel version
5.4.0-107-generic
For example I would like to downgrade to 5.4.0-105-generic.
What is ...
1
vote
0
answers
136
views
How can I resolve multi-arch conflict (liborc-0.4-dev)?
When trying to install the package liborc-0.4-dev together with liborc-0.4-dev:arm64 on Ubuntu 18.04, I get a conflict:
The following packages have unmet dependencies:
liborc-0.4-dev : Conflicts: ...
12
votes
1
answer
11k
views
Should I add-apt-repository ppa:ondrej/apache2 when I add-apt-repository ppa:ondrej/php, as advised?
I am upgrading an Ubuntu 18.04 LTS server to PHP 7.4 because PHP 7.2 is no longer supported.
Other public questions have directed me to add sudo add-apt-repository ppa:ondrej/php, such as How to ...
0
votes
0
answers
13
views
installing an older version of package in ubuntu 18 [duplicate]
So in the global ubuntu APT repos, a package version can be deprecated quite often.
For example, yesterday I was able to install apt install docker.io=x.y.z, and today I am getting E: Version 'x.y.z' ...
1
vote
1
answer
11k
views
How can I install aria2c 1.36 on Ubuntu 18.04?
I've tried multiple combinations of apt and snap and
wget http://archive.ubuntu.com/ubuntu/pool/universe/a/aria2/aria2_1.36.0-1_amd64.deb
dpkg -i aria2_1.36.0-1_amd64.deb
But I always end up with ...
3
votes
1
answer
2k
views
Unable to install Libgfortran4 in a Docker File
I'm trying to install Libgfortran in Docker but I have this error when I build the file:
E: Unable to locate package libgfortran4
The command '/bin/sh -c apt-get update && apt-get install -y ...
0
votes
1
answer
87
views
Ubuntu 18.04 and 20.04 live USBs hard freeze after adding the universe repository
Booting an ASRock Z97 Extreme4 motherboard + Core i5 4690k Devil's Canyon CPU with a live USB of either Ubuntu 18.04 or Ubuntu 20.04 would hard freeze after adding the universe repository when the ...
0
votes
0
answers
4k
views
apt-get update not working apt-secure(8) manpage for repository creation
root@bgworker2:~# apt update
Err:1 http://in.archive.ubuntu.com/ubuntu focal InRelease
407 Proxy Authentication Required [IP: 103.111.180.34 8082]
Err:2 https://download.docker.com/linux/ubuntu ...
0
votes
0
answers
1k
views
Could not connect to localhost:9000
I am running Ubuntu 18.04 in Windows Subsystem for Linux. When I try to "sudo apt-get update" , I have the following error:
myuser@GA014291L:/mnt/c/Users/myuser$ sudo apt-get update
Err:1 ...
0
votes
0
answers
319
views
Access to us.archive.ubuntu.com has been blocked after testing uplift script
I was testing an uplift script that installs dependencies to uplift Bionic to use libvirt-7.9.0. This test cycle consisted of running apt install on a bunch of packages, checking the results, then apt ...
1
vote
1
answer
2k
views
Release upgrade from 18.04 LTS to 20.04 - takes too long (almost 6 hrs and still in progress), any pointers?
Folks,
I started a release upgrade via the software updater from 18.04 to 20.04. It went through the Preparing to upgrade → Setting new software channels → Getting new packages fine. And then its been ...