New answers tagged

0

I ran into the same problem and could not find a solution specifically for cudo-miner. However, after a bit of hit and trial, the following steps worked for me without any further trouble. Use the installation command from cudo miner website to start the installation. Answer the questions and move forward with the installation. It will finish the execution ...


0

I have fixed my issue(s) by following the answer provided here: https://askubuntu.com/a/142808/1117022 Hopefully it helps someone else who is stuck on same issue.


0

This guidance is helpful: How to delete broken packages in ubuntu sudo dpkg --remove --force-remove-reinstreq mariadb-server mariadb-server-10.3 mariadb-client-10.3 sudo apt-get update sudo reboot sudo apt-get upgrade sudo apt install mariadb-server


0

This solved my issue: Trying to overwrite ... which is different from other instances of package Thank you https://askubuntu.com/users/94914/karel


0

Try running this command. Step 1: $ sudo apt-get update --fix-missing Step 2: $ sudo apt-get install -f if this don't help try this: Step 1: $ sudo apt-get update Step 2: $ sudo apt --fix-broken install


0

The package libavcodec58 is in an inconsistent state, I think it failed initial installation and ended up half-installed. Reinstall that package and it should clear up the errors: sudo apt install --reinstall libavcodec58


0

Question linked in comment by @user535733 had the answer; I'll try to generalize the procedure here. First, install the package interactively and feed the values you need; Second, run this: root@myhost:~# PACKAGE_NAME=libvpb1 root@myhost:~# debconf-get-selections | grep "^${PACKAGE_NAME}[[:blank:]]" libvpb1 libvpb1/countrycode string 55 root@...


1

Once you install your deb file, do this: dpkg -L <packagename> You will see that it lists all the content of your package. This means that the system knows which files were installed by a package and therefore knows what to remove. This information is found in the following location: /var/lib/dpkg/info For each package there exists a file named ...


3

"How does it know which files to remove?" is exactly the same question as "How does it know which files to install?" You gave apt/dpkg that information in the package structure. Files created at runtime must be removed by a prerm script in order to meet the Debian standard of idempotence: apt install foo followed by apt remove foo must ...


0

Great news everyone! I was stuck on the solutions on the internet, until I completed the package. sudo apt remove libsdl2-dev:amd64 Don't worry, I immediately reinstalled it using sudo apt install libsdl2-dev:amd64. I also realized I had some extra packages so I did sudo apt autoremove. So yeah, I hope I answered your problem idf you have a similar one. (...


1

Error with `apt upgrade` help sudo dpkg --configure -a, followed by: sudo apt --fix-broken install


0

I have similar error and the problem was the code version of ubuntu. Please check your sources.list files. All should have the same code version. Run this command to get the version: lsb_release -c Te outputs should be something like: Codename: focal You will see your code instead of focal Next use this command to see all your deb entries: find /etc/...


0

I faced this same issue, and the fix was to make the current directory executable to all... chmod a+x .


8

I also encountered this same issue after following an online article to install nvidia drivers - following is the error I got and how I fixed it libnvidia-gl-450-server: Depends: libnvidia-common-450-server but it is not installed Depends: libgcc1 (>= 1:4.2) but 1:8.4.0-1ubuntu1~18.04 is installed libnvidia-gl-450-server:i386: Depends: libnvidia-common-...


1

You have multiple problems. Just read your output, and it will tell you everything you need. You have obsolete PPAs. Remove them. You have a mangled script. Your output says: /usr/sbin/grub-mkconfig: 13: /etc/default/grub: After: not found The /usr/sbin/grub-mkconfig file is provided by the grub-common package. Simply re-install it: sudo apt install --...


1

Actually I found an answer on Error: subprocess installed post-removal script returned error exit status 1 - Ubuntu Forums The steps that worked for me are pasted below The problem appears to be in the post installation script of GRUB: /etc/kernel/postrm.d/zz-update-grub I don't have the problem but I've done what follows. The only difference is that my ...


0

I faced same error due to problem in my upgrade from ubuntu 18.04 to Ubuntu 20.04. What I did is get MariaDB instead also make sure when you do purge MySQL and if asked to remove databases in the directory, click on "No". It would not delete the databases so you will have your old databases and no data loss. I used these commands: sudo apt-get ...


0

I just did this myself. You need to manually download and install the dependencies. wget http://ftp.br.debian.org/debian/pool/main/n/network-manager/libnm-util2_1.6.2-3+deb9u2_amd64.deb http://ftp.br.debian.org/debian/pool/main/n/network-manager/libnm-glib4_1.6.2-3+deb9u2_amd64.deb then sudo apt install ./libnm-util2_1.6.2-3+deb9u2_amd64.deb ./libnm-glib4_1....


1

apt list --installed | sed s/Listing...// | awk -F "/" '{print $1}' > $(date +aptlist-%m.%d.%Y-%H.%M.%S.txt) Creates the file which lists all of the installed packages. xargs -a ThatFileCratedAbove.txt sudo apt-get install Will install them from the list ....I would test the file first with apt-get -s install to simulate installation, just to ...


0

You could add this ppa to get the qt4 dependencies... This worked well for me, THX! Here is my "unattended one-line command" for installing Dukto (tested on Ubuntu 20.04/20.10rc) using that ppa, wget for download the .deb file and gdebi for the missing dependencies (available on the previous ppa): sudo add-apt-repository -y ppa:rock-core/qt4 &&...


3

Yes and No. It'll depend what is inside the package, and what if any dependencies it has & requires. There are many packages which have NO impact on anything else, but most will have impact. It'll depend on the package. In your example google-chrome-stable, on my system it reports guiverc@d960-ubu2:/de2900/lubuntu_64$ apt-cache depends google-chrome-...


2

In short, yes. Pretty much every method of installation in Linux (except for maybe appimages and snaps) is bound to have dependency problems. However, the point of using apt to install .deb files is that it can still find dependencies. You can still have dependency problems with .deb files and apt, but they are not as common as installing them with dpkg -i ...


0

50unattended-upgrades.ucftmp appeared for me when (ironically) unattended upgrades opened a whiptail session to ask me what to do about updating my edited 50unattended-upgrades file. The solution was to rm the file and (as apt will prompt) to run sudo dpkg --configure -a so I could properly answer the prompts. So, to answer the original question of what is a ...


0

Thank you @bac0n. I have solved with: test.sh #!/bin/bash -e chmod a+x ./WineHQ-enable-CAP_NET_RAW.exp sudo ./WineHQ-enable-CAP_NET_RAW.exp WineHQ-enable-CAP_NET_RAW.exp #!/usr/bin/expect -f set timeout -1 spawn dpkg-reconfigure --frontend=readline wine-stable-amd64 wine-stable wine-stable-i386 expect "Allow ordinary users to run applications in Wine ...


0

I don't see an official Uuntu package for 18.04 on arm64 kit.Looks like you are out of luck as it's only available for Fedora or ALT Linux.Not supported in this forum


0

So I fixed it. In short, the key parts were Identify the failing pre-remove and insert exit 0 to skip it. Reinstall all libappstream packages. In detail (not all of these may be required, but this is what I did): As written in "EDIT 2" above, I inserted exit 0 in the beginning of the pre-remove script: /var/lib/dpkg/info/pritunl-client-gtk.prerm ...


0

Oh so many ppa's. for the first make a backup of your important data. In /etc/apt/sources.list.d/docker-ce.list:deb https://download.docker.com/linux/ubuntu focal stable add [arch=amd64] deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable then remove the disruptive packages. sudo dpkg -P pritunl-client-gtk Only if this work. sudo apt ...


2

It's a chain of dependencies: emacsen-common is a dependency of dictionaries-common dictionaries-common is a dependency of aspell aspell is an indirect dependency of libwebkit2gtk And a lot of things depend on libwebkit2gtk. emacsen-common is part of the default install of Ubuntu, so it's not something you have to remove as part of your Great Emacs Purge ...


3

Aptitude is amazing !!! It has solved many such issues. Try using it: sudo aptitude install <package-name>. or You may even try sudo aptitude dist-upgrade. FYI - This requires aptitude to be installed. If you don't have it run sudo apt-get install aptitude. Good luck 👍


2

I tried the solution of @TrailRider and didn't work for me. I solve it doing the following: Delete the updates with: cd /var/lib/dpkg/updates sudo rm * Tried to update and upgrade: sudo apt update sudo apt upgrade I couldn't, it says that - E: Could not get lock /var/lib/dpkg/lock, this means that some program is updating the system or installing a new ...


1

Try the below and see if that works. sudo apt purge lxd lxd-client sudo do-release upgrade


0

@A.B 's comment fixed my issue, bumping to an answer: sudo touch /etc/init.d/postfix; sudo apt-get purge postfix


1

The tr archive server for ubuntu is throwing the error Change the http://tr.archive.ubuntu.com/ubuntu in /etc/apt/sources.list to http://archive.ubuntu.com/ubuntu. Do an apt-get update and then try to install apt install nasm Hope this helps.


0

This is not really a answer to your question, but I had similar problem with mysql-server after upgrade of my Ubuntu server (18.04 -> 20.04). 2020-10-03T16:07:22.635008Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.21-0ubuntu0.20.04.4) (Ubuntu). 2020-10-03T16:07:23.415771Z 0 [Warning] [MY-011068] [Server] The syntax '...


0

Apt was not the issue here. I was able to find the issue using an application called FileLight. I had to run it with sudo so that it could access all of my root partition. This showed that Docker was taking up almost 8 Gigabytes with images and containers.


1

After some digging around with different solutions I came to one that helped me. I restored the sources.list file using solution provided in this answer I restored the status file using these commands found here: mv /var/lib/dpkg/status /var/lib/dpkg/status.old ls -l /var/backups/dpkg.status* cp /var/backups/dpkg.status.0 /var/lib/dpkg/status I had ...


1

Firstly try, sudo dpkg --configure -a If that didn't work use aptitude instead of apt-get sudo aptitude install package_name_here It will suggest dependencies solutions. Try them. If everything else fails, you need to manually edit dpkg status file sudo gedit /var/lib/dpkg/status Then look for the problematic package name. Remove those packages and save ...


1

Uninstall and remove Mongo packages. $ sudo apt-get purge mongodb-org* Check if related directories removed $ sudo rm -r /var/log/mongodb $ sudo rm -r /var/lib/mongodb Recheck for autoremove any remaining mongo packages $ sudo apt-get autoremove Configure your directory $ sudo dpkg --configure -a Force install anything required $ sudo apt-get install -f ...


1

You have suspicious binaries in the /etc/grub.d/ subdirectory, especially the grubcfg_proxy. This file is a part of the grub-customizer package. So you have to try to call GRUB Customizer to fix the issue by its own. And then resume package upgrade.


0

This may not work in your situation, but I ran into the same thing and I was able to solve it by setting the packages in the repository to have a higher installation priority than the currently-installed packages: cat << EOF > /etc/apt/preferences.d/99tmp Package: * Pin: origin "" Pin-Priority: 1001 EOF ^^ note that I was using a local ...


Top 50 recent answers are included