Tag Info

Hot answers tagged

3

The removal is failing because the pre-removal script can't be executed with success due to the failure of the cd command (such directory doesn't exist anymore); comment this line in /var/lib/dpkg/info/spotify-client.prerm by putting a # at the start: cd /opt/spotify/spotify-client && ./unregister.sh so that it becomes like this one: # cd ...


2

This will purge the broken package and conf sudo apt-get purge prey


2

For any configuration file for which apt has posed a question, apt will keep a backup based on the action you took. If you chose to replace the current file with the package file, the original will be saved with the extension dpkg-old. If you chose to keep the current file, the new one from the package will be kept with the extension dpkg-dist. ...


2

python3:any (>= 3.3.2-2~) is not a virtual package, it's a substitution string created by the ${python3:Depends} pattern and filled by dh_python3 when called from dh_gencontrol when the package was built. Take a look at the debian/control file of the apturl source package: Package: apturl-common Architecture: any Depends: ${python3:Depends}, ...


2

By default, the package manager refuses to overwrite files that also appear in other installed packages (whether the file is actually there or not), which is a sane decision to not inadvertently corrupt packages. In your case, this means, that the packages are incompatible. I can see that one seems to come from a PPA, so you should write to the maintainer of ...


2

I had the same issue with few applications, with skype being one of them, these depend on external packages or library files that need to be installed manually. To fix the issue i used : sudo dpkg -i skype.deb And then after being prompted for the external libraries like you have in your output, i typed in: sudo apt-get install -f This downloaded the ...


2

To get that you need to check the man page of dpkg-query. From man dpkg-query : The first three columns of the output show the desired action, the package status, and errors, in that order. Desired action: u = Unknown i = Install h = Hold r = Remove p = Purge Package ...


2

Quoted from https://linuxprograms.wordpress.com/2010/05/11/status-dpkg-list/ Status of every package is represented by three characters xxx The first character signifies the desired state u: Unknown (an unknown state) i: Install (marked for installation) r: Remove (marked for removal) p: Purge (marked for purging) h: Hold The second character signifies ...


2

Check the logs while starting mysql: In one terminal: tail -f /var/log/mysql/error.log In another one: sudo service mysql start (maybe you first need to stop the service with sudo service mysql stop). If there are errors, you need to fix them. In my case I had following errors: [ERROR] mysqld: unknown variable 'table_cache=256' [ERROR] Aborting ...


1

There is an extra s in your /etc/default/grub. Remove the s and save the file. After that run this: sudo dpkg --purge linux-image-3.13.0-32-generic sudo apt-get update sudo apt-get -f install


1

Fixed it by: sudo dpkg -P unity-scope-gdrive sudo dpkg -P account-plugin-google sudo dpkg -P account-plugin-facebook sudo apt-get install -f


1

The package is trying to overwrite files which are maintained by a different package. The dpkg error indicates that the insight package is trying to overwrite a file managed by gdbserver. You can't have two packages managing the same file in the packaging system's mind, so it errors. I would suggest that you investigate the PPA and reach out to the PPA ...


1

Using the information above, I used the following uname -r Lets call whatever the output of the above command PUMPKIN Then I typed: dpkg --list | grep linux-image I looked through the output of this list and noted the linux-image-PUMPKIN Anything else that was NOT my linux-image-PUMPKIN, could be removed by completing the command as it applies to ...


1

It seems that dpkg doesn't show explicitly any information about installation dates of packages. So, for a single run I would use something like the following one-liner: cat /var/log/apt/history.log |perl -lne 'next unless /^Start-Date: ([^ ]+)/ && $1 ge "2015-04-26" .. 1; next unless /^(Install|Purge|Remove): (.*)$/; $c = $1; $s = $2; $s =~ ...


1

I took the source code of this response and slightly expanded. The added value is that you also get purged and removed packages and the output can be filtered with grep. List installed packages: ./installed_packages.pl '2015-04-28' /var/log/apt/history.log | grep Installed: or this for purged or removed: ./installed_packages.pl '2015-04-28' ...


1

this means there is some problems in your configuration scripts since the DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";}; doesn't exist so you have to create it. Try this command to create it: sudo sh -c "echo 'DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};' >> /etc/apt/apt.conf.d/70debconf" To do ...


1

libgcrypt11 is a requirement for that package. Unfortunately it doesn't exist in Vivid and was dropped. It was replaced by a more updated libgcrypt - libgcrypt20. Inform the upstream where you got the .deb from that they should test against libgcrypt20 and if it still works they need to specify that as the dependency instead of libgcrypt11. If it won't ...


1

You could always re-install Spotify, then use the proper method to remove it. That way, you will have all the needed files on the system again.


1

Ok so after much help from @kos and google I have managed to get it sorted. The steps that seemed to work were as follows. sudo apt-get remove --purge mysql-server mysql-client mysql-common sudo apt-get autoremove sudo apt-get autoclean Then I ran taksel And ticked the lamp option. For some reason this angle worked. Though I cannot tell you why.



Only top voted, non community-wiki answers of a minimum length are eligible