Tag Info

New answers tagged

1

The Linux way of installing applications prevent running of more than one process using the packaging tools such as apt-get install/upgrade/dist-upgrade and dpkg -i at the same time. For that when you are using one of these tools and try to use another tool at same time before the first process has completely closed then you'll have this problem. To test ...


1

This means that another process is running which is using apt's package lists. To avoid problems with concurrent access, only one process can hold the lock on these files at once. apt-get and dpkg will show these errors instead. Is Software Updater (or another Ubuntu package management tool) running in the GUI? If so, close it and try again. Or you can ...


1

You can use debconf-set-selections to preseed settings for such configuration scenes. First, on a system on which the package has been installed and configured, run: debconf-get-selections | grep x11-common This will tell you the selection identifiers (the name of the package, which you know, and the name and type of the question) you need in case you ...


0

Try running sudo apt-get install --reinstall python-openbabel. That file came from this package, and hopefully no errors will occur in reinstalling it.


1

Here is a lazy man's script to get the job done (considering only one instance of process is running): #!/bin/bash while [ -h /proc/"$(pgrep apt-get)"/exe ]; do sleep 10 done echo "DONE" Replace echo "DONE" with what you want to do next. You can run it as a cron job. Every process has a directory in /proc assigned with their PID, the full path to ...


0

I faced the same problem. Just type: $ sudo tuxcut in the terminal


1

This should be fixed by running sudo apt-get install -f


1

According to Ubuntu Community Help Wiki, try running: sudo apt-get -f install From the help page, This command does the same thing as Edit->Fix Broken Packages in Synaptic. Do this if you get complaints about packages with "unmet dependencies". Then if you still experience problems, run sudo apt-get check and report back.


0

Test this: Open a terminal. Run it: sudo -i update-rc.d -f slpd remove dpkg --configure -a apt-get -f install


0

For the half installed package error, --reinstall worked for me: sudo apt-get install --reinstall packagename


2

To remove Java, do this: sudo dpkg --purge --force-all jdk1.8.0-45 (it did not work for the question owner, alternative solution below) Execute sudo rm -ri /usr/java/ Open /var/lib/dpkg/info/ as root and delete any files with "jdk1.8.0-xx.xxxx" Once done deleted run sudo dpkg -r --force-all jdk1.8.0-45 This should have removed Java completely. ...


0

Open a terminal Download your deb again. eg: cd wget http://www.clshack.it/nopaste/gerix-wifi-cracker-ng-2.0-bt7.deb Download the package sudo apt-get install dpkg-dev Create a temporary folder mkdir ~/deb$$ Make a copy of the deb file cp gerix-wifi-cracker-ng-2.0-bt7.deb ~/deb$$ And use this commands: cd ~/deb$$ dpkg-deb -x ...


-1

To install software you need to use: cd directory sudo dpkg -i package_name.deb Make sure you are in the proper directory as well


-2

Apt manual claims that you can specify "exact dependency" with (=xx.yy) as well as <=, >=, but it does not work as documented. The way things seem to actually work is that Depends: version info has no functional value and is completely ignored. Without the version dependency, you cannot have a repo with multiple supported versions of the same package - ...


0

First, clear your system with: apt-get update apt-get -f install Then remove Wine: apt-get remove wine wine1.6 Then install only one package, depending on your system: either amd64 or i386 sudo apt-get install wine1.7 let me see your output of doing so in case of error.


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

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


0

For me, MySQL broke after I upgraded from 14.04 to 15.04 and after I switched from systemd back to Upstart. Interestingly, I could start mysql manually, but I could not get it to start via /etc/init.d/ (i.e., with sudo service mysql start). After reading over the Ubuntu Upstart script, it became clear that Ubuntu expects apparmor to be present in order to ...


0

on Ubuntu 14.04 (correct architecture 32 bit) $ dpkg -i wkhtmltox-0.12.2.1_linux-trusty-i386.deb dpkg: dependency problems prevent configuration of wkhtmltox: wkhtmltox depends on xfonts-base; however: Package xfonts-base is not installed. wkhtmltox depends on xfonts-75dpi; however: Package xfonts-75dpi is not installed. using apt-get -f install ...


0

Try this, should solve your problem: sudo apt-get remove keyboard-configuration sudo apt-get install keyboard-configuration sudo apt-get update sudo apt-get upgrade


0

Easily just delete that file error sudo rm -rf /var/lib/dpkg/updates/0006 then run again sudo dpkg --configure -a


0

Test this: Open a terminal.Press Ctrl+Alt+T Run it: sudo -i apt-get clean apt-get autoremove UNUSCONF=$(dpkg -l|grep "^rc"|awk '{print $2}') apt-get remove --purge $UNUSCONF NEWKERNEL=$(uname -r|sed 's/-*[a-z]//g'|sed 's/-386//g') ADDKERNEL="linux-(image|headers|ubuntu-modules|restricted-modules)" ...


0

for those who tried all the above but are still struggling (like I was)! The problem might only be the server you use for your ubuntu update (it was in my case). The server I was using did not had the right definition of libqtwebkit4:i386 To solve that: -> open system settings -> software & Updates -> Ubuntu Software tab -> download from (other and ...


0

I've solved using synaptic. I've reinstalled the package gnome-session-bin and the system is running ok


0

It was impossible to solve this circular dependency. I had to reinstall the operating system to solve the problem.


-1

Did you solve this? I also have same problem with Ubuntu server 14.04 latest plexmediaserver update using apt-get.


0

If AVG is already installed just run this command in a terminal emulator (Ctrl+Alt+T): sudo apt-get remove --purge avg2013flx


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

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


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


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


0

You may have figured this out already, but hopefully it may help someone else running into the same problem. My 14.10-15.04 upgrade stuck at where the process tried to start mysqld with some obscure message about root admin password. I proceeded to see what mysqld process is running, and found that its process id is completely different than the one the ...


0

I used sudo apt-get autoremove and it removed a bunch of old kernel-headers packages. Good to go after that.


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


0

likwwise-open has been rebranded, and removed from official repositories. It is now known as BeyondTrust PowerBroker Identity Services, Open Edition . check this. Now to solve your problem remove the likewise-open package sudo apt-get remove likewise-open And then install the PowerBroker Download the PowerBroker Identity Services, Open Edition ...


0

In 2012, Debian released the document Machine-readable debian/copyright which will make licenses readable in the future. Currently, not all packages use this format. The command grep -h '^License:' /usr/share/doc/*/copyright | sort -i | uniq -ic | sort -n still returns a lot of garbage. For a better output you probably need a tool which parses each file ...


0

Just do this If you are on Ubuntu naren@kadmin-KCPL190: sudo su Then you will now be a root user and can do anything root@kadmin-KCPL190:# dpkg -i libmotif*i386.deb will work Be careful. If you set a password for root user then it asks you the same for landing to root.Else it will just make you superuser.


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


0

Firstly the solution for removing plex error i followed this instruction http://www.ihaveapc.com/2011/10/fix-annoying-the-package-needs-to-be-reinstalled-but-i-cant-find-an-archive-for-it-error-in-linux-mint-ubuntu/ sudo rm -f /etc/init.d/plexmediaserver && sudo dpkg --purge --force-all plexmediaserver sudo apt-get purge plexmediaserver sudo rm ...


0

Make sure that you're in the same directory as the .deb file and that you're using the right file name for the dpkg command.


0

Same problem here with an older version of Atom, install an older version of the library from here and it works and there are no conflicts. sudo dpkg -i ~/Downloads/<your_library> sudo dpkg -i ~/Downloads/Brackets* If the dependence is corrected later, then you can remove this library with: sudo apt-get remove libgcrypt11


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



Top 50 recent answers are included