Tag Info

Hot answers tagged

3

first of all, if you don't care about version, you can install the package founded in the official Ubuntu repos: sudo apt-get install wkhtmltopdf But if you want to install your specific version above(0.12.2) you should resolve the package dependencies. first try to run the command: sudo apt-get install -f If this solves it then ok else you have to ...


3

The package php5 depends on having either apache2 or cgi installed. The two main options to satisfy this dependency is either libapache2-mod-php5 or php5-cgi. If you remove one, the system will install the other, otherwise php5 would have an unmet dependency. You can see the dependencies at php5 in the Ubuntu packages database.


2

You need the development packages, they should be available in 14.04 from the trusty main repository. Try running: sudo apt-get install libgtk2.0-dev


2

This question is quite old, but I just ran into this and had a different issue: looks like my partition UUIDs changed around, so I had to run sudo update-grub This prompted me to select partitions to install GRUB, and it updated the GRUB installs on the selected partitions (I guess detecting the appropriate UUIDs in the process). Following that sudo dpkg ...


2

An installation via package manager doesn't place files in /usr/local. I assume, you have placed the files in that location. Therefore the package manager can't remove them. To be sure, check the output of apt-file list libopencv-dev libopencv-dev is a meta package. List all files which will be installed during the installation of libopencv-dev: ...


1

Nevermind, just didn't know what dpkg-divert was doing. It made a backup (initctl.distrib) so sudo rm /sbin/initctl && sudo mv /sbin/initctl.distrib /sbin/initctl fixed it.


1

If you wanna upgrade to a New kernel Version you can install it manually through the "linux-image-lts..." packages vor through "apt-get dist-upgrade" These failures offen happen in full luks encrypted Volumens cause /boot is mich too small in these Setups. Perhaps a "apt-get autoremove" helps too...


1

wajig remove linux-headers-3.13.0-57-generic worked for me. I rebooted and was on 3.13.0-57-generic kernel. Be careful though! Backup your data.


1

If you run sudo apt-get update sudo apt-get install -f this should be resolved. But you need to be connected to internet.


1

I think util-linux init script in /etc/init.d is missing LSB information As a temporary workaround you can locate that script and add something like at top #!/bin/sh -e ### BEGIN INIT INFO # Provides: # Required-Start: # Required-Stop: # Default-Start: # Default-Stop: # Short-Description: ### END INIT INFO But it's not a complete ...


1

Indeed you have many solutions: Copy all .deb files from /var/cache/apt/archives to the new pc to the directory /var/cache/apt/archives, or just copy the .deb of vlc dependencies only instead of copying all those debs. you can know the dependencies of vlc by command apt-cache rdepends vlc. Now once you have those debs in the /var/cache/apt/archives of ...


1

Add this software source to /etc/apt/sources.list deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse Run this command for installing dependencies: sudo apt-get -y install libgnomeprint2.2-0:i386 libgnomeprintui2.2-0:i386 libbonobo2-0:i386 libbonoboui2-0:i386 libgconf2-4:i386 libgnome-desktop-2-17:i386 ...


1

I know it is a couple months late but for dpkg I was able to get everything running again by finding the appropriate dpkg file for me that was the file from here: https://launchpad.net/ubuntu/trusty/+package/dpkg I chose the appropriate .deb file for me (my computer runs on amd64) I clicked to download it, then clicked save file (The software-center won't ...


1

It seems udev is not installed all the way or has an error in the package. Using sudo dpkg --configure -a should attempt to fix the problem. If that should not work, find the udev package in /var/cache/apt/archives/udev... and use that .deb in dpkg -i --force-all /var/cache/apt/archives/udev... that will for the install of udev and should solve the ...


1

Just removed the file which was giving error. sudo rm /var/lib/dpkg/info/jre1.8.0-51.postrm That is no problem, because I want to remove the package anyway.


1

What you're trying to accomplish in Debian is different than in Fedora. Save your deb files where ever you like then use dpkg to install them. dpkg -i /path/file.deb Once installed apt-get install -f should fix any dependancey issues. Don't forget to use sudo on these commands if not root.


1

The package install rule of the Makefile is creating the Debian package using xz compression. Now, this kind of compression is supported by versions of dpkg equal or higher than 1.15.6. So, in order to solve your problem, you should update dpkg to a newer version. Or install gdebi, and install with that application. I download the package and install ...


1

Try this: sudo apt-get -f install This should install any missing dependencies in your system. If you are trying to install a package, you can also try adding --fix-missing to your installation command.


1

That repository is not updated. You can install Oracle java 8u51 by a script now. Run in terminal sudo apt-get install git git clone https://github.com/hanipouspilot/oracle-java8.git cd oracle-java8 sudo chmode +x javains sudo ./javains I hope they will update the ppa soon, and I will not have to maintain java installation for good.


1

Basically, dpkg-query shows you what is installed on your system, or even packages which has been installed on your system and then been removed at some point. Interestingly enough, if a package uses a dependency of another package, dpkg may list them as installed even though one of them was never fully installed on the system. But apt is used to download ...


1

system by default reserve 5% memory for superuser . so you can use that memory by reducing 5% to 2% . let up suppose you have 100GB hard disk then system will keep 5GB memory for superuser reserved. it will not use all 5% memory so you can reduce it by 2%. tune2fs -m 2 /dev/sda1 if you are going to create partition and you want to assign less memory to ...


1

The config files should be listed in /var/lib/dpkg/info/<package>.conffiles. For example, with the dpkg package: $ cat /var/lib/dpkg/info/dpkg.conffiles /etc/alternatives/README /etc/cron.daily/dpkg /etc/dpkg/dpkg.cfg /etc/logrotate.d/dpkg If there aren't too many files, you can use xargs and du: $ xargs -a /var/lib/dpkg/info/dpkg.conffiles du -c ...


1

It seems that the first error is a missing module: ImportError: No module named 'ConfigParser' Try to install python-configparser with: sudo apt-get install python-configparser If it does not work with apt-get try to download the deb package and install it manually with: sudo dpkg -i python-configparser_3.3.0r2-2_all.deb As a third option (thanks ...



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