Tag Info

New answers tagged

0

The OP solved the problem himself in the question: I solved by running: sudo apt-get remove --purge libreoffice-core libreoffice-common python3-uno libreoffice-* for some reason removing each package separately has failed but in the same command - it worked


1

Steps: sudo sh -c "echo 'deb http://archive.canonical.com/ubuntu/ trusty partner' >> /etc/apt/sources.list.d/canonical_partner.list" sudo apt-get update sudo apt-get install skype


0

Try creating the files NGINX is complaining about: sudo touch /var/log/nginx/error.log sudo touch /etc/nginx/nginx.conf Then try removing it: sudo apt-get install nginx-light Finally, install NGINX: sudo apt-get install nginx


0

You have installed it as source package, the goal is to use it as a library on your code. In order to check it, enter python in a terminal to open a shell and try to import it: import ipython If you get none errors, it means everything is alright. An example: >>> import os # This package exist and it's installed! >>> os <module ...


3

Try sudo apt-get install ipython. I think the pip command is for python itself (installing module, etc.) and not for installing a system program, just speculation,not sure of it. Maybe try python ipython Or python then import ipython or ipython


0

I violently force the upgrade, by editing my sources.list to only include the 13.10 update sources. Then just apt-get update, upgrade, dist-upgrade, autoremove, autoclean. Surprisingly, later the upgrade to trusty just worked with do-release-upgrade.


0

Which Ubuntu are you running? And why do you have to install it like that? Can't you just install with this? sudo apt-get install steam See Installing Steam on Ubuntu 12.04 On a sidenote, you may have to install the restricted repo in USC to be able to install Steam through it.


0

The output of sudo apt-get upgrade. Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: click : Depends: python3:any (>= 3.2~) Depends: python3 but it is not installable Depends: ...


0

Thanks for your response. The output for sudo apt-get install -f Removing click (0.4.21.1) ... Traceback (most recent call last): File "/usr/bin/click", line 31, in <module> from click import commands ImportError: No module named 'click' dpkg: error processing package click (--remove): subprocess installed ...


0

you may use code sudo apt-get install -f and respond if it updates program called "click" that you're getting error


3

dpkg is not appropriate in your case, prefer the dpkg-query command instead. With the dpkg-query you can select the type of fields you want (and optionally the separator): $ dpkg-query -W -f='${binary:Package}\t${Version}\t${Architecture}\t${binary:Summary}\n' grep grep 2.16-1 amd64 GNU grep, egrep and fgrep See the dpkg-query man page for more ...


0

I've just encountered this problem when trying to make my own custom Ubuntu 14.04 distribution in a fakechroot, and I came up with a solution which seems to work. In the (admittedly dated) Ubuntu Live CD Customization guide, there is a bug involving initctl mentioned. I used the same approach to prevent invoke-rc.d from running, which the configuration of ...


0

The problem was solved by: apt-get install memtest86+


1

It is because you may have deleted the user and now dpkg queries /etc/passwd to compare with the statoverride file, it checks that all entries of the statoverride file are in the passwd, and if they are not, issue a warning, which is what is happening. That is easily fixable if you reconfigure/reinstall the relevant package (in your case it was mediatomb, ...


1

For anyone who comes across this issue, use this resource http://www.khattam.info/solved-subprocess-pre-removal-script-returned-error-exit-status-2-error-2009-08-04.html#more-303 It fixed the problem for me. The packages: linux-image-2.3.0-54-virtual and linux-image were in the /var/lib/dpkg/status several times, there were doubles. Just use vim or nano, ...


0

Solved problem is I am updating python at location /usr/local/bin but actual installation is in /usr/bin/


0

the root cause of your apt problems is python-lockfile, try to reinstall it with the following command: sudo apt-get clean sudo apt-get update sudo apt-get install --reinstall python-minimal python-lockfile EDIT: You're running 13.10 (which reached its EOL), please update your repositories to install from old-releases.ubuntu.com, see How to install ...


0

I just ran into this. You need to mark the various deb (not deb-src) lines in your sources-list with [arch=amd64, arch=i386] for all except whichever site you added for the armhf packages, which would want to be marked with [arch=armhf]. That said, proceed with caution. I'm trying this on precise, and when I try installs, it wants to uninstall most of my ...


0

Actually you should have done this: sudo apt-get dist-upgrade -y sudo apt-get update


0

no need for the long process Braiam specified. sudo apt-get install --reinstall debconf should get you going.


0

What the Current State Is Lines starting with in in the output of dpkg -l mean that a package is set to be installed, but not actually (yet) installed. Assuming you're not installing the package right now, a command to uninstall it should set it to be uninstalled, preventing its installation and removing that line from the output of dpkg -l bash. How to ...


0

Its very simple as suggested by @Braiam. Just open the file crossplatformui.postrm with administrative privilege . Type in terminal gksudo gedit /var/lib/dpkg/info/crossplatformui.postrm Type your root password and enter. Find the line sudo killall -9 ztemtvcdromd .Now replace it with sudo killall -9 ztemtvcdromd || exit 0. ( In my case it is 9 ...


0

You need to remove the broken package in the archives directory then update and install firefox. sudo apt-get autoremove sudo apt-get update sudo apt-get install firefox


0

plz check this link,rename the postrm.d directory may solve the problem. Can't remove kernels "run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1"


0

I have used the following method to bypass the check . sudo mv /etc/kernel/postrm.d /etc/kernel/postrm.d.old [real action go here] sudo mv /etc/kernel/postrm.d.old /etc/kernel/postrm.d


0

It looks like you have dependency problems after installing mate. Try these commands and see if it helps: sudo apt-get -f install sudo apt-get --configure -a sudo apt-get update sudo apt-get upgrade sudo update-grub


0

This is happening because one package is trying to overwrite the file of other package. So first remove the conflicting package. To do this open terminal and type this command sudo apt-get purge grub-theme-ubuntu-mate* Once above command completed successfully execute this command sudo apt-get install -f


2

I found ! i install the offical liblcms2-2 trusty 14.04 version : sudo apt-get install liblcms2-2=2.5-0ubuntu4 after install of wine works ! more details : http://forum.ubuntu-fr.org/viewtopic.php?pid=18152341#p18152341


0

You could try deleting the .list file in the dpkg info directory: sudo rm /var/lib/dpkg/info/libwebkitgtk-3.0-0:amd64.list


0

Just had the same problem, check this tutorial. sudo touch /etc/init.d/mongodb sudo chmod 755 /etc/init.d/mongodb And retry: sudo apt-get install -y mongodb-org


0

I had a similar problem while trying to build a package: $ dpkg --build ./mypackagefolder/ dpkg-deb: error: parsing file './mypackagefolder//DEBIAN/control' near line 13 package 'mypackage': field name `Bone' must be followed by colon Turns out this happens if you have a line feed in the Description field of the DEBIAN/control file. The offending "field ...


1

This error message indicates that you have a non-default filesystem on /mnt that's in a problematic state. The base-files package provides the /mnt directory on the filesystem, so dpkg assumes it should be able to unpack that directory if necessary. You need to unmount /mnt on your system to upgrade base-files. See ...


0

I've sometimes experienced these issues when I forgot to update the package lists before installing. I don't know if you've already tried this, but make sure that you run the following command before installation: sudo apt-get update


1

Here's how to build version 1.3.20 from source. Go to the URL ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/GraphicsMagick-LATEST.tar.gz and download the file to your Downloads folder and when it asks for a username click cancel or just close the popup. Then open a terminal and execute the following commands one-by-one: sudo apt-get update sudo apt-get ...



Top 50 recent answers are included