New answers tagged

3

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, ...


4

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-...


0

First check /etc/apt/sources.list.d# ls -l insgesamt 16 -rw-r--r-- 1 root root 142 Okt 12 14:12 jtaylor-keepass-jessie.list -rw-r--r-- 1 root root 332 Okt 12 14:07 sources.list -rw-r--r-- 1 root root 85 Okt 12 14:13 ubuntuzilla.list -rw-r--r-- 1 root root 78 Okt 8 09:13 ubuntuzilla.list.save Remove all other let only sources.list edit sources.list /...


1

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 ...


1

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....


0

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: /usr/share/bash-completion/completions/apt-cache /usr/share/bash-completion/completions/apt-get It is worth mentioning that these files are available only after ...


3

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 ...


1

Usually it's caused by an incomplete source.list (/etc/apt/sources.list). Check your source.list, especially the following entries (suppose ubuntu14.04): trusty-security trusty-updates trusty-backports trusty-proposed source.list example: deb http://cn.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse deb http://cn....


0

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>


1

The first example in the manpages answer you question: EXAMPLES Tracking Stable 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. ...


0

Use a=unstable (suite match) or n=sid (codename match) in your release-based pin configuration; a=sid does not match anything, see man apt_preferences.


0

There are several materials which I would like to solve problems in Debian Linux 10. Linux (by terminal): uname -a uname -mrs 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 ...


2

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:...


0

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/...


0

To install docker-ce you should have the 64-bit version of Ubuntu Cloud (ubuntu cloud image 18.04). OS requirements To install Docker Engine - Community, you need the 64-bit version of one of these Ubuntu versions: Disco 19.04 Cosmic 18.10 Bionic 18.04 (LTS) Xenial 16.04 (LTS) Docker Engine - Community is supported on x86_64 (...


0

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.


2

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 ...


0

this worked for me on buster: apt-get install default-mysql-server


2

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 ...


5

You need to update your indexes first: sudo apt-get update then 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 ...


0

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.


0

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. sudo -s cd /var/...


1

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. For example: # /etc/systemd/system/update.service [Unit] Description=Apt Update & Upgrade After=network-online.target Wants=network-online.target [Service] Type=oneshot ...


2

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:" Suite: oldstable $ curl -s -L https://deb.debian.org/debian/dists/...


0

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 ...


1

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


0

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> E.G: $ sudo debconf-show libssl1.1 libssl1.1/restart-services: libssl1.1/restart-failed: * libraries/restart-without-asking: false To change the setting echo '<package-and-setting-string&...


-2

try following in case nothing works: apt update --allow-unauthenticated


0

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: libgl1-amdgpu-mesa-dri:amd64 libwayland-amdgpu-server0:amd64 libgbm1-amdgpu:amd64 libwayland-amdgpu-egl1:...


4

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 ...


2

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.


3

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 ...


1

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 ...


1

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 ...


1

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 ...


2

According to the Freddy's comment, here is the answer : Install the needed packages to compile apt update apt install linux-headers-$(uname -r) git build-essential dkms -y Get the files cd /tmp git clone https://github.com/Mange/rtl8192eu-linux-driver.git cd rtl8192eu-linux-driver If you are like me on an Odroid HC2, you need to modify the Makefile (...


0

apt-get clean apt-get update Emptying the apt cache seems to have solved it for me too. Edit: Maybe I was too fast. After cleaning the cache the error was gone, but later it occurred again.


Top 50 recent answers are included