I'm trying to install according to the instructions.
Error when trying to install:
# sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
containerd.io : Depends: libseccomp2 (>= 2.5.0) but 2.4.3-1ubuntu3.18.04.3 is to be installed
E: Unable to correct problems, you have held broken packages.
OS:
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
# apt-get upgrade && apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Docker repo:
# cat /etc/apt/sources.list.d/docker.list
deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu bionic stable
I tried to find information on how to update libseccomp2 for Ubuntu 18.04 but didn't find anything. Has anyone encountered such a problem?
I encountered the same issue and built it from source.
Uncomment the deb-src lines from /etc/apt/sources.list, then:
mkdir foo && cd foo
sudo apt-get update
sudo apt build-dep libseccomp2
apt-get source --compile libseccomp2
sudo dpkg -i libseccomp2_*.deb
It runs a lot of tests after the build which is time consuming. To skip those you add this before the apt-get source step:
export DEB_BUILD_OPTIONS=nocheck
After that, I was able to install Docker.
Related
i am running Feren Os a branch of Ubuntu and I have a new problem while installing Winehq
the system is up to date and all packages upgrade except for one .
$ sudo apt list --upgradable
Listing... Done
vkd3d-compiler/hirsute 1.2~hirsute-1 i386 [upgradable from: 1.2~focal-1]
N: There is 1 additional version. Please use the '-a' switch to see it
system info
wine Problem
$ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
winehq-stable : Depends: wine-stable (= 6.0.2~hirsute-1)
E: Unable to correct problems, you have held broken packages.
I have tried
$ sudo dpkg --force depends -P wine-stable
dpkg: warning: ignoring request to remove wine-stable which isn't installed
$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
You have mixed Feren Os based on Ubuntu Focal with Ubuntu Hirsute leading to the unmet dependencies error.
To fix this problem, you need to remove hirsute from /etc/apt/sources.list and the files under /etc/apt/sources.list.d/ dir.
To install winehq see the documentation and use the focal codename.
If you have an issue with vkd3d, it can be installed from Cybermax PPA..
Synaptic -> removed all wine repositories
sudo dpkg --add-architecture i386
sudo apt update
Removing previous WineHQ repository:
sudo apt-add-repository -r 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
Adding other repositories:
wget -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key -O Release.key -O- | sudo apt-key add -
sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./'
sudo apt-get update
But!
The final suggested step with wine-stable:
sudo apt install --install-recommends **winehq-devel**
.. This worked for me on kali after having trouble installing wine
I am using LMDE 4 Debbie and I am trying to install Terraform on my laptop
I am following steps defined in https://learn.hashicorp.com/tutorials/terraform/install-cli
And when I run sudo apt updated I am getting the following error
Err:5 https://apt.releases.hashicorp.com debbie Release
404 Not Found [IP: 2a04:4e42:25::561 443]
and also when I try to install it says not found
$ sudo apt install terraform
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package terraform
debbie is likely the return of lsb_release -cs, and you need to replace that with a valid Debian distribution to subscribe to an existing apt repo. LMDE 4 is based on buster, so you can use the command:
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com buster main"
instead of the return of lsb_release -cs for the distro. That should fix your issue.
I'm currently trying to install some fonts on Debian Stretch
g#i-3-nstance:~$ sudo apt-get install ttf-mscorefonts-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
ttf-mscorefonts-installer : Depends: update-notifier-common (>= 0.119ubuntu2) but it is not installable
E: Unable to correct problems, you have held broken packages.
g#i-3-nstance:~$
...but it seems this package has been removed.
https://github.com/plone/ansible-playbook/issues/98
https://github.com/jnv/ansible-role-unattended-upgrades/issues/6#issuecomment-93569818
Is there a work-around?
Update: I did a manual install based on this: https://askubuntu.com/a/861476
sudo apt-get install cabextract libmspack0
wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
sudo dpkg -i ttf-mscorefonts-installer_3.6_all.deb
The ttf-mscorefonts-installer package that apt-get tries to install is from Ubuntu repository, not from Debian repository (note that it depends on update-notifier-common >= 0.119ubuntu2).
You probably have mixed Debian and Ubuntu repositories in /etc/apt/sources.list.
I'm trying to install git for several hours but whatever I do I get this error:
sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
git : Depends: liberror-perl but it is not installable
E: Unable to correct problems, you have held broken packages.
I've read answers here and I've tried the following without success:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -f
I've tried solution from here:
https://superuser.com/questions/899311/apt-get-error-when-installing-git
I removed everything in /var/lib/apt/lists/* and ran sudo apt-get update
I also tried to install liberror-perl and then the folllowing error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package liberror-perl 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 'liberror-perl' has no installation candidate
How could fix this issue with packages? Thanks.
Updated: Now I tried to install another package and I got the same error:
Package 'devscripts' has no installation candidate
Have you tried following the directions in this link?
https://tecadmin.net/install-git-on-ubuntu/
$ sudo add-apt-repository ppa:git-core/ppa
$ sudo apt-get update
$ sudo apt-get install git
I want install a 32bit application,but i can not install lib32stdc++6
here is:
sudo apt-get install lib32stdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
lib32stdc++6 : Depends: gcc-4.8-base (= 4.8.2-19ubuntu1) but 4.8.4-2ubuntu1~14.04 is to be installed
E: Unable to correct problems, you have held broken packages.
finally,i found this
https://askubuntu.com/questions/223237/unable-to-correct-problems-you-have-held-broken-packages
and i use aptitude to force install this
sudo aptitude -f install lib32stdc++6
run this command ,and choose 'n',then it will give you another choice,then choose 'Y'.
done and success