Tag Info

New answers tagged

0

Try apt-get --reinstall install mongodb This will pretend that mongodb isn't installed already and overwrite the old files. Afterwards you should be able to remove it like usual.


0

I faced a similar situation recently. And most of the answers I found online were not of much help. Basically, another option you have is to copy /var/lib/dpkg from another existing working installation. You can always install a fresh copy of your distribution in a virtual machine (like VirtualBox), and copy the directory from that clean copy. I would try ...


0

Open Terminal by pressing Crtl+Alt+T. Then execute these command in terminal one by one : sudo apt-get -f install sudo apt-get update sudo apt-get upgrade sudo dpkg-reconfigure -a sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E0F72778C4676186 sudo wget http://deb.playonlinux.com/playonlinux_trusty.list -O ...


4

Install dpkg-repack package: sudo apt-get install dpkg-repack http://manpages.ubuntu.com/dpkg-repack.1


0

That solution worked for me... Just sad to see that they prefer to create a wine pre-configured version when they could do a native version for linux. Anyway, i guess it's cause we have too many solutions to do what they do for free in linux world :P But, not all clients use linux. To be honest, just a few :| Cheers and thanks!


0

Try first: sudo rm /var/lib/dpkg/available sudo sudo touch /var/lib/dpkg/available sudo sh -c 'for i in /var/lib/apt/lists/*_Packages; do dpkg --merge-avail "$i"; done' Dangerous, if previous instruction does not solve the problem... sudo dpkg --configure -a sudo apt-get -f install sudo apt-get clean sudo apt-get update && sudo apt-get upgrade ...


0

OP posted the following solution as an edit to their question rather than as an answer: SOLUTION: i just log in to recovery mode, clean and repair dpkg and it got fixed


1

I found a away to fix it, by removing the diversion first: dpkg-divert --package ack-grep --local --remove --rename --divert /usr/bin/ack /usr/bin/ack-grep apt-get upgrade works fine after that.


1

From man dpkg --configure package...|-a|--pending Configure a package which has been unpacked but not yet config‐ ured. If -a or --pending is given instead of package, all unpacked but unconfigured packages are configured. Configuring consists of the following steps: 1. Unpack the conffiles, ...


0

It's a problem with apparmor - you can follow the below procedure to fix it: copy the status file for future sudo cp /var/lib/dpkg/status /var/lib/dpkg/status-old empty the status file sudo echo "" >/var/lib/dpkg/status populate the status file sudo apt-get update


2

From what I could find here and here you have to do the following steps: Kill apt-get and aptd process. Use killall -9 pid (where pid is the process id which you can find by running top). -9 is required to make sure the process is terminated. Then you need to try sudo dpkg-reconfigure -phigh -a and sudo dpkg --configure -a (optional) If all of the ...


1

Run sudo apt-get install -f and sudo dpkg --configure -a in a terminal. Restart/reboot may be necessary. If you received any errors after running both commands, post them as a comment in this answer.


0

Seems like no need to do all these purges and removals. All you need to do is to remove the server, and execute: rm /etc/mysql/ -R And then install the server. The idea was from the external link referenced from the answer at this thread: http://askubuntu.com/a/448249/109764


0

Workaround: sudo apt-get install libc6:i386 libgl1-mesa-dri-lts-utopic:i386 libgl1-mesa-glx-lts-utopic:i386


0

Your output indicates the below packages have unmet dependencies: fglrx-amdcccle xvba-va-driver Which means APT tried to install the above packages but failed half way, because some other required packages are not available in your system. Therefore we need to remove the above packages before doing anything else. Run in Terminal: sudo dpkg --purge ...


1

Thanks @Serg for answer my questions! Well,, I have resolved this, and this is easy to resolved. I post here for anyone has the same propblem! Here: $ sudo apt-get purge libpcap0.8-dev libpcap0.8:i386 libpcap-dev Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: ...


0

This is actually a bug. I have already reported this issue on Bugs Launchpad and you can follow it using these two bug-tracker links. bug 1424263 bug 1424265 You can fix it manually but it is to complicated. Ubuntu devs will fix it soon so I advise you just wait for updates.


0

You don't. You divert them instead. For convenience, what I do is use a helper package like config-package-dev. With config-package-dev, you give your configuration files some specific names, and the installation will automatically do the required diversion. For example, if your package is named foo-bar, then: Your debian/rules will have: %: dh $@ ...


2

I'm going to guess that is a command you copied from a website or something like that, because that dash in front of the i is not a hyphen (or minus), but an en-dash: $ od -c <<<"–" 0000000 342 200 223 \n 0000004 $ od -c <<<"-" 0000000 - \n 0000002 Use a proper - instead. And don't use dpkg unless you need to; the Software Centre ...


0

your /etc/environment is wrong, yours is: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/u‌​sr/local/games" JAVA_HOME = ":usr/lib/jvm/java-7-oracle while it should look like: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/u‌​sr/local/games" JAVA_HOME="/usr/lib/jvm/java-7-oracle"


0

I believe I've figured out what was going on: Because the dependencies for the custom package are not installed when dpkg -i is run, the package is registered with the package system and neither it nor its config files are installed at that time. When apt-get install -f is run, the dependencies are installed, and then the package itself is installed, and ...


0

try this commands. $sudo apt-get clean $sudo apt-get update $sudo apt-get -f install


3

The main reason of your problem is the fact that, as you said, you exited before completion from the android-studio package installation. So the installation has been unsuccessful. In your case, this can be checked using the following command: grep -A1 "Package: android-studio" /var/lib/dpkg/status And probably the output will be something like: Package: ...


1

apt-get install apache2* Should just be apt-get install apache2 Apt will suggest some extra packages to install at that point. Read through them and decide if want/need, but I usually only install sudo apt-get install apache2 apache2-utils


0

Apache2 is working in my system so try follow this: Please remove already you installed apache2 and php5. Now try to a fresh installation. You add source code to apt sources list. gedit /etc/apt/sources.list to add following codes: deb http://ppa.launchpad.net/ondrej/php5/ubuntu precise main deb-src http://ppa.launchpad.net/ondrej/php5/ubuntu ...


0

For those in Ubuntu 14.10 upgrading from MySQL to Maria DB, I would find this as one answer from Google searches. I would get stuck in 14.10 also with a similar libmysqlclient18:amd64 10.0.16+maria-1~utopic (Multi-Arch: no) is not co-installable with libmysqlclient18 which has multiple installed instances After following these suggestions to no avail, ...


2

The package you installed has unresolved dependencies. Run apt-get install -f to install them and configure the bcmwl-kernel-source package. This would be the most simple course of action, but unfortunately you need a working internet connection, so this is only possible, if you can establish a temporary wired internet connection through some way.


2

I suggest that you download the DKMS package* and all dependencies that you don't have on a computer with a working internet connection. Then, simply put it on a USB drive and plug it into your PC. Run sudo dpkg -i /path/to/file/dkms_2.2.0.3-1.1ubuntu5_all.deb and enjoy the WiFi. Alternatively, plug your Mac into an Ethernet port and download the ...


0

An answer provided to this same question at the Ubuntu Forums suggested using the LiveCD to chroot into the system and re-install Perl. However, using chroot to get into the system does not avoid the dependency of apt and dpkg on Perl. Currently, the only working solution I have found is to re-install Ubuntu and the desired packages.


0

Probably no one will read this answer, but i had a very similar issue to this. I solved it by downloading zip file from here wget http://download.cdn.viber.com/cdn/desktop/Linux/Viber.zip Then run this commands unzip Viber.zip cd Viber ~/Viber/Viber.sh Hopefully this will solve your issue.



Top 50 recent answers are included