New answers tagged

0

Try this sudo chmod 644 /var/lib/apt/lists/lock sudo apt-get update


0

replacing /var/lib/dpkg/info/yd-tools.postinst with a exit 0 dummy did the trick


3

You can fix this by sudo apt install linux-generic That will install the correct kernel.


-1

I have try all the way above... but all failed! dpkg: unrecoverable fatal error, aborting: files list file for package 'ace-voip' is missing final newline E: Sub-process /usr/bin/dpkg returned an error code (2) Please help.


1

The error you got tells me the DEB you downloaded is most likely corrupt. However, you don't need to go through the whole driver choosing thing from AMD; you can just install the driver using apt-get. Run sudo apt-get install fglrx, reboot and you'll have the correct graphics driver.


0

I assume that you are trying to install Tribler on Ubuntu 16.04. There are some dependency issues which would prevent you from doing that. Instead you can try tribler_6.6.0-exp1_all.deb which can be downloaded from the following URL. https://jenkins.tribler.org/job/Build-Tribler_Ubuntu-64_next/


0

Upgrade to 16.04.1 and Python fixes itself :P


0

In my case, following these steps worked: Begin by completely uninstalling any Elasticsearch instances on your machine: apt remove --purge elasticsearch apt autoremove Then, open the /var/lib/dpkg/statoverride file in your editor and remove lines mentioning the elasticsearch user. It's not an ideal solution because it involves manually editing files ...


0

I had a similar problem, try this: sudo su rm /var/lib/dpkg/info/* From here: https://answers.launchpad.net/ubuntu-webcatalog/+question/303251


0

You probably want to stop the mysql service before purging it. You can see running services with: sudo service --status-all Then, you can stop the mysql service running sudo service mysql stop The service is now stopped, try again sudo apt-get purge mysql-server Once done, you can try to re-install the mysql-server: sudo apt-get update sudo apt-...


0

Ok I just needed to do this. Thanks @sarowar for the command. Steps to script doing this for all installed packages: export IFS=' ' for i in $(dpkg -l |egrep '^[a-z]i.*' |awk '{print $2" install"}') ; do echo $i|dpkg --set-selections ; done unset IFS


2

This is very old, but I had a similar problem upgrading to 16.04, so I figured I'd post my solution here in case anyone else suffers from this. The problem is that the delllctservice and delllctservicecontent scripts are missing LSB headers, which tell the system in what order to start them. Somehow during the upgrade this messes up the boot order, which ...


0

With only 3MB free, none of the elegant solutions above were effective. Deleting files in /boot was required first. I removed the oldest kernel files and proceeded with sudo apt-get -f install.


0

I had the same problem. I DO NOT have Apache, and nothing else was blocking my port 80. I could NOT install nginx with sudo apt-get install nginx nor with sudo apt-get install nginx-common nginx-full After one week I stumbled over this little blog: https://etc.banana.fish/?p=75 In this blog, the solution is: Install nginx-common: sudo apt-get ...


0

Try to: Run again $ apt-get remove --purge plymouth-theme-ubuntu-text $ whereis plymouth-theme-ubuntu-text Manually remove everything you find related to it Reinstall plymouth-theme-ubuntu-text Let me know if it works for you, it worked for me in a different case


0

In 16.04, the following command will set the timezone to UTC: sudo timedatectl set-timezone Etc/UTC Found from here: https://www.server-world.info/en/note?os=Ubuntu_16.04&p=timezone


2

There are two entries on line 38 of your /etc/default/grub.cfg that end up being merged into one variable: GRUB_FONT="/boot/grub/unicode.pf2"GRUB_GFXPAYLOAD_LINUX=None You need to add a line break after the 2nd quotation mark (") before GRUB_GFXPAYLOAD_LINUX, or, since the resulting entry would be an exact duplicate of line 39, you can just delete that ...


0

I got a same "half-installed package" problem with a package kibana. I got the following error: dpkg: error processing kibana (--configure): package kibana is not ready for configuration cannot configure (current status 'half-installed') Errors were encountered while processing: kibana E: Sub-process /usr/bin/dpkg returned an error code (1) If anyone is ...


-1

Try these commands i hope they might helpful sudo apt-get update sudo apt-get autoclean sudo apt-get clean sudo apt-get autoremove //Just in case you know the package sudo dpkg --remove -force --force-remove-reinstreq package name


1

It says "7 not fully installed or removed". sudo apt -f install should do the trick.


-1

This seems to be a bug where the removal script for the linux-image doesn't realise it's supposed to be removing it and instead tried to recreate the vmlinux files. Hopefully the bug will be fixed soon.


-1

Follow this answer. I had the same problem and after delete lilo helps me Apt errors since upgrade to 12.04


-1

Try to add the following repository to system: sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list' wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | sudo apt-key add - I had the same issue and it was helped me.


0

It will be resolved by the below command sudo dpkg -l | grep -i mysql


0

Remove broken locks Be sure any process is still running associated with these locks: sudo lsof /var/lib/dpkg/lock sudo lsof /var/lib/apt/lists/lock sudo lsof /var/cache/apt/archives/lock If all of these commands output is empty, you can proceed. Remove any locks you find in these locations: sudo rm /var/lib/apt/lists/lock sudo rm /var/cache/apt/...


-3

I have tried many solutions but this worked for me Solution. I am posting this so that it may be helpful to others Create an empty folder so that we can install java 1.8 sudo mkdir /opt/java && cd /opt/java Now lets download java-1.8 version wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; ...


0

You might note that that particular version is smaller than all other releases by several megabytes so I suspect a faulty archive at the developer's end. BytecoinWallet-1.0.11.amd64.deb is 539.9kb BytecoinWallet-1.0.10.amd64.deb is 3.2MB Here is a screenshot of the SourceForge download page to show this: Good news is that the slightly older version ...


0

You're trying to install libcurl4-gnutls-dev, yes? It depends on libcurl3-gnutls (= 7.43.0-1ubuntu2), but that version is not available in the software repositories that you have enabled, or its been superseded by a software repository that's offering the newer 7.43.0-1ubuntu2.1 version. Trying disabling all of your extra software repositories, reload in ...


2

You have libcurl3-gnutls 7.43.0-1ubuntu2.1 from wily-updates installed but your available libcurl4-gnutls-dev is the version at wily's release, ie. 7.43.0-1ubuntu2. So make sure in your sources that wily-security & wily-updates are enabled. If not then enable, update sources & all will be well. If they are already enabled then find a better mirror....


1

I had this same problem. Here's how I fixed it: First, I executed this shell command in order to add [arch=amd64] back into the Chrome Remote Desktop repository file: sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/etc/apt/sources.list.d/chrome-remote-desktop.list" Then I did the same to the Chrome Remote Desktop cron file: sudo sed -i -e 's/deb ...


-1

dpkg: dependency problems prevent configuration of mendeleydesktop: mendeleydesktop depends on python. Check if python is still installed like here: Do we have to install Python or It is already installed in Ubuntu 14.04LTS?


0

Appending to Aizuddin Zali's grep command: after running the command dpkg -l | grep softmake* , i noted that the package name was softmaker-freeoffice-2016 Then, ran command, sudo apt-get remove softmaker-freeoffice-2016 . That's all.


0

deb packages have some hooks defined, where scripts can be executed while the package is installed, uninstalled etc. It seems that in your case one such script fails, so the whole installation fails: /usr/lib/ruby/vendor_ruby/bundler/resolver.rb:194:in `block in initialize': undefined method `add_root_vertex' for Molinillo::DependencyGraph:[]:...


1

This is a known bug and is being worked on , add your self to the affected users list on this page https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1581679


0

starting with apt 1.1 (available in xenial(16.04), stretch) apt install also allows local files: apt install foo-1.2.3.deb So much simpler and cleaner. See here for the release announcment https://mvogt.wordpress.com/2015/11/30/apt-1-1-released/


2

You want the ones that have 'generic' NOT 'low latency' in the name and the ones that have 'amd64' NOT 'arm64' AND the one that ends with 'all'. That should give you 3 in total: linux-headers-4.7.0-040700rc6-generic_4.7.0-040700rc6.201607040332_amd64.deb linux-headers-4.7.0-040700rc6_4.7.0-040700rc6.201607040332_all.deb linux-image-4.7.0-040700rc6-...


0

Looks like grub is not properly configured. Take a look at this https://francisfisher.me.uk/problem/2013/grub-probe-error-not-a-directory-grub-1-99-in-ubuntu-linux-12-04/ try fixing grub and it should pass.


0

I completely crashed ubuntu 14.04 to a terminal only, removing meta-city. Everything was re-installed with sudo apt-get install --reinstall ubuntu-desktop hope this helps!


1

What you have! It has removed these Remove: milou:amd64 (4:5.6.4-0ubuntu1~ubuntu16.04~ppa1), kde-baseapps-bin:amd64 (4:15.12.3-0ubuntu1), libqgsttools-p1:amd64 (5.5.1-4ubuntu2), default-jdk:amd64 (2:1.8-56ubuntu2), libkf5kdelibs4support5:amd64 (5.22.0-0ubuntu1~ubuntu16.04~ppa1), default-jre:amd64 (2:1.8-56ubuntu2), dolphin:amd64 (4:15.12.3-0ubuntu1), ...


1

You need to add the following entry in /etc/apt/sources.list or a new file in /etc/apt/sources.list.d/: deb http://deb.torproject.org/torproject.org trusty main deb-src http://deb.torproject.org/torproject.org trusty main Then add the gpg key used to sign the packages by running the following commands at your command prompt: gpg --keyserver keys.gnupg....


0

I solved with the following: Find the deb that is causing the problems: sudo find /var/cache -name "kde-config-telepathy-accounts*" In my case the package was at /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb Install it with --force-overwrite: sudo dpkg -i --force-overwrite /var/cache/apt/archives/kde-config-...


1

Ok, so I think I solved the problem. I found out that with apt-cache showpkg python I can view all the different python versions available. I picked the latest one and installed it using: sudo apt-get install python=2.7.5-5ubuntu3 It gave me a warning it couldn't delete some "old directories": dpkg: warning: unable to delete old directory '/usr/local/...


0

I had to manually remove the google sources from the file /etc/apt/sources.list.d after which I uninstalled google chrome $ sudo apt-get purge chromium-browser Downloaded google chrome again from their website and everything was back to normal.


1

This is a bug in dpkg which has been reported here: Bug #1597466


1

Here you go: No difference between the contents, only that 10periodic will be parsed earlier than 20auto-upgrades due to the ascending parsing behavior of apt. If same directive is mentioned in two different files (or more), the the earlier one(s) will be overridden by the last one. No. APT::Periodic::AutocleanInterval takes an integer value and sets the ...


4

dpkg -V or dpkg --verify checks the integrity of packages(s) by comparing the metadata stored in it's database and the file paths. You can select the output format using --verify-format option but it currently only supports rpm format. In rpm format only the paths that failed any check are shown. Take an example of failed check: ??5?????? c /etc/lightdm/...


2

I only know two ways to do this one is : sudo apt-get install -f and the other is to download everything manually via a browser and putting packages inside of /var/cache/apt/archives (the folder where downloaded packages reside) and call the install again. You can check the integrity of packages just in case corruption is the reason of dependency been ...


2

From the dpkg manpage: -V, --verify [package-name...] Verifies the integrity of package-name or all packages if omitted, by comparing information from the files installed by a package with the files metadata information stored in the dpkg database (since dpkg 1.17.2). The origin of the files metadata ...


0

Workaround for dependency issues on Ubuntu 12.04 64bit Official Chrome support for Ubuntu version 12.04 has ended, but this doesn't mean that you have to abandon Chrome just yet. What follows is a quick tutorial on how to install the latest Chrome release (as of 2016-06-28) on Ubuntu 12.04 64-bit. Warning: This is a very hackish solution that might stop ...



Top 50 recent answers are included