adduser is an architecture-independent package; that’s what “all” means. It is identical across all architectures (usually because it contains interpreted scripts of one kind or another, or data).
Architecture-independent packages are included in all architecture-specific repositories, which is why you see the package in both amd64 and i386. In addition, ...
I found the answer (for apt-get not in general for samba install) in this thread to apt-get.
The debconf-set-selections command helped me set answer before installation start.
If you want to answer "yes", you can use the following commands:
echo "samba-common samba-common/workgroup string WORKGROUP" | sudo debconf-set-selections
echo "samba-common samba-...
I ran into a similar problem while trying to update a Rancher installation:
sudo /usr/bin/apt-get dist-upgrade
E: Failed to fetch https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/amd64/containerd.io_1.2.10-2_amd64.deb Writing more data than expected (19836216 > 19836188)
I got the same error when I tried
sudo apt install containerd.io
It looks like the problem is caused by a chicken-and-egg problem between perl and debconf. Debconf is an optional feature allowing packages to get configuration questions at the start rather than in the middle of the installation: it's not vital, so that's the one to move away.
On a Debian 9 or 10 system, its invocation is configured from /etc/apt/apt.conf....
How I solved it
I had auto completion problems trying to autocomplete wget with apt-get install wg[TAB][TAB] and I managed to solve it by removing the --no-generate parameter from the flies below:
It is worth mentioning that these files are available only after ...
In the comments, you said you use Debian 8.2. Are you aware that as Debian 10 was released in July 2019, Debian 8 transitioned from being the oldstable distribution to oldoldstable?
You should check your /etc/apt/sources.list file and any files in /etc/apt/sources.list.d/ directory if it exists. If you are not using release codenames (like jessie for ...
Usually it's caused by an incomplete source.list (/etc/apt/sources.list).
Check your source.list, especially the following entries (suppose ubuntu14.04):
deb http://cn.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
According to apt manual, you can do it either by executing one of the following commands:
sudo apt-get install <package-name>=<package-version-number> OR
sudo apt-get -t=<target release> install <package-name>
The first example in the manpages answer you question:
The following APT preferences file will cause APT to assign a priority higher than the default (500) to all package versions belonging to a stable distribution and a prohibitively low priority to package versions belonging to other Debian distributions.
There are several materials which I would like to solve problems in Debian Linux 10.
Linux (by terminal):
You should download suitable version of the git (here)
Try this command by terminal:
sudo dpkg -i git_2.20.1-2_amd64.deb
If you faced the issues dependence problems (more):
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt ...
W: The repository 'https://mirrors.evowise.com/mariadb/repo/10.1/ubuntu serena Release' does not have a Release file.
Remove the repository with serena codename (Mint 18.01), the repository doesn't support the serena codname.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:...
This is the relevant line in your error messages:
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://turkey.archive.parrotsec.org/parrot rolling InRelease' doesn't support architecture 'i386'
Since you have a 64-bit architecture
Linux parrot 5.2.0-2parrot1-amd64 #1 SMP Debian 5.2.9-2parrot1 (2019-08-25) x86_64 GNU/...
To install docker-ce you should have the 64-bit version of Ubuntu Cloud (ubuntu cloud image 18.04).
To install Docker Engine - Community, you need the 64-bit version of one of these Ubuntu versions:
Bionic 18.04 (LTS)
Xenial 16.04 (LTS)
Docker Engine - Community is supported on x86_64 (...
The Ubuntu 18.04 package for the Docker container runtime is docker.io. You would run apt-get install docker.io to install it from the default Ubuntu repositories.
The docker-ce package comes from Docker, not from Ubuntu. You would have to configure their repository to get that package.
The tool you are looking for to complete your task is apt-mark.
Use the following command to mark a manually installed [Package] to prevent apt from updating it.
apt-mark hold [Package]
The command marks the package as held. A held package cannot be installed, upgraded, removed, or purged.
You can "unhold" a package with apt-mark unhold [Package] if you ...
The reason autoremove isn’t removing as much as you expect is that the packages which were installed automatically satisfy weak dependencies of other packages you already had installed. In your case, dpkg-dev is already installed, itself as an automatic dependency; because it recommends the virtual c-compiler package, any package providing c-compiler will be ...
You need to update your indexes first:
sudo apt-get update
sudo apt-get install nmap
The libxslt1.1 package has been updated, the repository now contains version 1.1.29-2.1+deb9u1, and the version listed in your index (1.1.29-2.1) is no longer available.
See the last line in the output you quote:
E: Unable to fetch some archives, maybe run apt-get ...
You can try apt-get install debconf=1.5.56+deb8u1, but if multiple packages were upgraded beyond jessie, you might have a hard time restoring a pure jessie system, because downgrading is not supported in general. You can force a mass-downgrade by setting the priority of the jessie repo to more than 1000, though.
I am a little late to the party but I just had this issue, and this solved it for me:
I tried to uninstall one of the packages and that seemed to make things worse. So I tried reinstalling but was blocked by this issue in the original post, so after much hunting I discovered this related to an issue I caused by removing one of the packages.
It looks like this script is running before your network is up.
I would advise using a systemd service which will run at boot, this way to can require it runs once your network is up.
Description=Apt Update & Upgrade
I think this cannot be done.
The identifier in the output of apt list is derived from the Suite metadata information in the Release or InRelease file of the repository and cannot be overwritten locally.
$ curl -s -L https://deb.debian.org/debian/dists/stretch/Release | grep "^Suite:"
$ curl -s -L https://deb.debian.org/debian/dists/...
The problem come from the linux-image-generic-hwe-18.04 package
It's this one which bring the mess.
Solution: remove it and install linux-image-generic instead:
sudo apt install linux-image-4.18.0-20-generic
sudo apt remove linux-image-generic-hwe-18.04
Same thing to be done with linux-headers* packages if needed.
If you want to set the kernel to a ...
The pip command wants the Python package name, not the Ubuntu package name.
Try the command python3.6 -m pip install PyQt5
You should be able to see available related packages with python3.6 -m pip search pyqt
I think the existing answers may be a bit old. The following worked for me recently.
To see the settings for a package
sudo debconf-show <package-name>
$ sudo debconf-show libssl1.1
* libraries/restart-without-asking: false
To change the setting
I solved this problem by:
step 1: sudo dpkg --configure -a
step 2: sudo dpkg -P error-packages(the error packages you can see from step 1)
in my case, they are
dependency problems - leaving unconfigured
Errors were encountered while processing:
Yes, it’s a combination of shell + APT “magic” (see the spec here).
Bash supports a command-not-found handler: if it can’t find a command, and there’s a shell function named command_not_found_handle, it calls that. Typically, a package named command-not-found (in Debian derivatives) or PackageKit-command-not-found (in Fedora and related distributions; it’s ...
I found an solution to the problem via this answer in this question: "apt-get dist-upgrade" reports error "depmod: ERROR: Bad version passed uname" and various warnings :
You need to delete everything, that is not in the form uname -r reports from under /var/lib/initramfs-tools.
Because apt is passing off info to the back end package database and packages can be marked as "selected for install" etc. This database lists only the package name, which is usually only part of the file name. The ./x_something.deb is a filename reference, not a package name, and the ./ part of it is a relative path reference.
A better real example ...
Comment your deb cdrom: lines and comment / remove the lines
deb http://deb.debian.org/debian/ buster/updates main
deb-src http://deb.debian.org/debian/ buster/updates main
and replace them with
deb http://deb.debian.org/debian-security/ buster/updates main
deb-src http://deb.debian.org/debian-security/ buster/updates main
I don't know if these ...
The man page (man add-apt-repository) says that it manages repositories not only under the directory /etc/apt/sources.list.d/ but also in the file /etc/apt/sources.list.
If you can't find a reference to your unwanted repository under /etc/apt/sources.list.d you should also check the file /etc/apt/sources.list.
As mentioned already the documentation also ...
According to the man page you can use the same command with the -r option to remove the repository:
sudo add-apt-repository -r "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
I didn't fully understand in which case a new repository file is added to the /etc/apt/sources.list.d directory, but if it's not there, then it must have been added to ...
According to the Freddy's comment, here is the answer :
Install the needed packages to compile
apt install linux-headers-$(uname -r) git build-essential dkms -y
Get the files
git clone https://github.com/Mange/rtl8192eu-linux-driver.git
If you are like me on an Odroid HC2, you need to modify the Makefile (...