Tag Info

New answers tagged

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 ...


0

I went back over my asked questions on this site and realised I never posted the commands I ended up using: export DEBIAN_FRONTEND=noninteractive # stop annoying prompts dpkg -s "$@" > /dev/null 2>&1 || apt-get -qq -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install "$@"


0

This should not be a problem sudo apt-get remove llvm-3.4 llvm sudo apt-get autoremove


0

Simply remove the folder sudo rm -r /usr/lib/jvm/java-8-oracle/jdk1.8.0_45 Still more you can not break. ;) Now purge it again sudo apt-get purge java-oracle8-installer After that, install it again via the outdated PPA or the script in @Pilot6 answer.


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

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.


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 ...


0

I added the dependency "python3-systemd" and continued getting the error, however on restarting, the dpkg code fixed and it's good to go. Way to go me! :D


0

In desperation, I looked at what I had installed - I found Ubuntu Tweak so ran through the clean routines there. It worked where nothing I could find here did, so problem is solved. Thank you to those who tried to help.


0

Your /boot partition is full, apt-get tries to finish the installation of a new kernel from a previous upgrade but always fails due to lack of space, note the line 3 not fully installed or removed. I'd suggest to uninstall older versions of linux-image, but since that doesn't seem to be an option, try expanding your boot partition first.


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 ...


0

To solve your problem, don't use deb files, if the packages can be installed via package manager and don't use debian repositories for no reason. I assume, you have downloaded the deb from here or a similar side or you have added the line deb http://ftp.debian.org/debian/ wheezy-proposed-updates main to your sources.list. Remove this repository and start ...


0

What's the running-kernel? You need to pay attention to this: run-parts: executing /etc/kernel/prerm.d/dkms 3.16.0-34-generic /boot/vmlinuz-3.16.0-34-generic dkms: removing: bcmwl 6.30.223.248+bdcom (3.16.0-34-generic) (x86_64) -------- Uninstall Beginning -------- Module: bcmwl Version: 6.30.223.248+bdcom Kernel: 3.16.0-34-generic (x86_64) ...


0

This is safe to run for unity. Although, you should always carefully review the list of packages to uninstall before you agree to make the changes as you may have some other application that uses one of these as a dependency and it may get uninstalled automatically as a result. For example, this will most likely uninstall gnome-shell. Run the following ...


0

Give Ubuntu-Tweak a try. It removes old kernels well for me.


0

Try reinstalling that kernel then remove it. Reinstall: sudo apt-get install --reinstall linux-image-3.16.0-34-generic linux-headers-3.16.0-34-generic linux-image-extra-3.16.0-34-generic Remove: sudo apt-get remove linux-image-3.16.0-34-generic linux-headers-3.16.0-34-generic linux-image-extra-3.16.0-34-generic


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.


0

Run those commands: sudo dpkg --configure -a sudo apt-get install -f Then now try to purge apache sudo apt-get purge apache2 apache2-data apache2-utils


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 ...


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 ...


0

I guess you are trying to install the libjpeg8 package but you already have another (probably old?) version of libjpeg8 installed. So you can either try removing the already installed version and re-install the newer one or make dpkg forcefully overwrite the confronting files by: sudo dpkg -i --force-overwrite ...


0

You might be affected by a reported bug in debconf. If you read the comments there one user was able to fix this by running: sudo dpkg-reconfigure debconf See if the same works for you.


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 ...


0

Clean your os from all mysql install and add ppa from there https://launchpad.net/~ondrej/+archive/ubuntu/mysql-5.6


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

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


0

This is a bug reported at launchpad. The error shown will be either: files list file for package '*' is missing final newline Or: files list file for package '*' contains an empty filename Where * start is a random but steady "per install" package name. Solution: Donwload the .deb sudo apt-get download fonts-tlwg-kinnari Run this code sudo dpkg ...


0

This can happen if you try to run updates while the system is already doing it. My Lubuntu install checks for updates each morning around 8 am - I didn't explicitly ask for it to do this, so I assume it is a default - and I've seen this message if I try to do similar things while it's running.


0

(Not enough rep to add as comment) Have you checked /etc/apt/sources.list to see that there arent't any old sources still hanging around?


0

So it looks like the files in debian/ should be as architecture agnostic and standard as possible. This means taking care of architecture-specific steps at build time and making 'standard' files (binaries, libraries) available for the extra files in /debian.


0

The Complete Solution of the problem is I installed python 3.4.3 from python.org as a tar file after extraction I symlink to python, where it was already available in ubuntu 14.04 as python3. Actually some packages on ubuntu 14.04 were dependent on python 2.7 so the symlink to python 3.4.3 was causing all problems. How to solve it .. `Just re symlink ...


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.


0

I managed to find a solution to the problem. Nevertheless I decided to post it as an answer if someone with the same problem struggles. The cause of the problem: I checked the dpkg status of the packages: dpkg --status linux-image-3.13.0.57-generic dpkg --status linux-image-extra-3.13.0-57-generic The output clearly stated that the packages were in bad ...


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

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.


0

cd to /var/cache/sublime-text bzip2 and untar sublime_text_3_build_3083_x64.tar.bz2 Re-run apt-get install Run SublimeText: /usr/bin/subl


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: ...


0

I guess there is something wrong happening when dpkg package management tool calls tar program (which uses bzip2 program in this case) to unpack the files. You could try clearing out the local repository of retrieved package files and then do an update and upgrade. So run: sudo apt-get clean sudo apt-get update sudo apt-get upgrade


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 ...


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 ...


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.


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 ...


0

Apparently you downloaded or installed the install command of exercism.io into /usr/local/bin. Move it to another location that is not in your $PATH, or remove it if you don't need it anymore.


0

Enter the following commands into the terminal: sudo apt-get update sudo apt-get autoclean sudo apt-get clean sudo apt-get autoremove Then enter: sudo apt-get install tcl8.5 libx11-dev libxss-dev libxext-dev libxft-dev tk8.5.11-1 Now try installing tcl8.5-dev and tk8.5-dev again: sudo apt-get install tcl8.5-dev tk8.5-dev



Top 50 recent answers are included