Tag Info

New answers tagged

0

It says using the flag -f. That's an option. But you can also use this: sudo apt-get update && sudo apt-get dist-upgrade


0

I was having the same issue. Not a long-term solution by any means - but one that suited me - was to remove the old host names attached to my localhost in /etc/hosts/ as these are no longer used. The message is no longer served.


1

Could not resist expanding a bit, completely based on heemayl's concept, to make a script with two options: Only output the (total) size of an installed package (but without its dependencies, since dependencies are practically always shared, so which package should have it on its "account"?) an example: $ check_size gimp 6644.1K or: ...


2

You can try this bash script: #!/bin/bash all_files=( $(dpkg -L "$1") ) for file in "${all_files[@]}"; do [ -f "$file" ] && du -h "$file" done Pass the name of the package as first argument e.g. bash script.sh nano. dpkg -L package will list all the files installed by package, we have saved the list as an array. It will include the parent ...


0

This link will work only for 64bit when it comes to 32bit we are still facing the problem. Will post the remedy soon.


0

I haven't actually done this myself, but I'm guessing no, it won't. To see why I'm guessing this, run locate libstdc++.


0

Try installing the fglrx, fglrx-core gives you "Minimal video driver for the AMD graphics accelerators", while the fglrx would give you a more "complete" installation. like: sudo apt-get update sudo apt-get install fglrx or (includes the catalyst center) sudo apt-get update sudo apt-get install fglrx fglrx-amdcccle fglrx-dev


0

You don't need to "rebind" those applications; if your libraries are properly installed (even in /usr/local), the applications should be able to find them. What you need is to build and install a fake package that pretends to provide those libraries, in order to satisfy the dependencies from the package manager's perspective. Take a look at the ...


0

Pinning won't work for you since it will prevent from upgrading kernels altogether. Look into /etc/apt/apt.conf.d/01autoremove and /etc/apt/apt.conf.d/01autoremove-kernels. These files contain lists of packages which should be purged automatically. The second file is maintained by the script /etc/kernel/postinst.d/apt-auto-removal To solve your problem, ...


0

The official gearman documentation suggests gearman-job-server: Debain/Ubuntu Package If you are running Debian/sid, run apt-get install gearman-job-server. This package may be slightly out of date due to the time it takes to propagate to the repositories.


0

You need to install the same version of codeblocks-contrib and codeblocks-wxcontrib-dev. This would resolve your issue cleanly, because it looks like the package maintainers decided to move a file from one package to another in between the two versions, which created the conflict you're currently facing.


0

Try to remove/purge the faulty packages: sudo dpkg -P /var/cache/apt/archives/libsdl2_2.0.3+z4~20140315-8621-1ppa1trusty1_i386.deb /var/cache/apt/archives/libsdl2-image_2.0.0+z1~20131109-434-1ppa1trusty2_i386.deb Then fix the broken dependencies so that if they were needed they'll be reinstalled: sudo apt-get install -f Then retry.


0

Try the following commands: sudo apt-get check sudo apt-get clean The first one (check) might do nothing, but the second one (clean) should delete all downloaded and cached packages including the two faulty packages above. No worries, this does not affect the installed programs but does just empty the cache of apt-get. You will not notice it except that ...


0

Remove the Network Installer version with with conf files sudo dpkg --purge cuda-repo-ubuntu1404 without conf files sudo dpkg --remove cuda-repo-ubuntu1404 Install the Local Package Installer version with sudo dpkg --install cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb


1

The release notes suggest to remove the nvidia-opencl-icd-* package and then try the upgrade again. See, http://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#axzz3VF4pSfRr under known issues.


0

Before installing ubuntu-device-flash you should ensure you have the universe archive enabled. From the Ubuntu help: Additional software repositories such as Universe and Multiverse can be enabled by uncommenting the corresponding apt lines (i.e. delete the '#' at the beginning of the line). For Universe, uncomment those lines: deb ...


1

apt-cache show <packagename> does what you want. You might have overseen it. The following command highlights it: apt-cache show scons | grep --color -E "Description|$"


1

It appears that OpenOffice and LibreOffice are packaged in a way, that prohibits a clean coexistence. I suggest that you settle for wither of the two and remove the other.


0

Thanks @mchid first, for trying to help. However in this case I have to remove openoffice clean, and sadly it's broken therefore there is no way to purge it in a normal way. How to make this work? Fix the broken package first. So: Step 1. check if any packages broken. sudo dpkg -l | grep openoffice # check if any packages remained, and what are they ...


-1

Use this... sudo dpkg --configure -a


0

You try to install a package for Ubuntu 11.04 in Ubuntu 14.10. That's a bad idea. You could try prozilla - 2.0.4~raringbuild1-0tahutek1 (https://launchpad.net/~tahutek-team/+archive/ubuntu/prozilla/+packages), maybe this works. Alternatively, you can of course force the installation, what is also not a very good idea. sudo dpkg -i --force-overwrite ...


0

Check the AptOnCD tool. It can backup and restore all of your installed packages.


0

You can recover these files using testdisk: Run testdisk Select No Log Select the disk where Ubuntu is installed Select the partition table (usually Intel or GPT) Select Analyse Select Quick Search Highlight the root partition (usually Linux) Press p key Navigate to /var/cache/apt/archives Highlight the first entry (the entry that has . as name) Press c ...


1

Assuming you are running regular ubuntu and not ubuntu-gnome, run the following commands to fix the problem: sudo apt-get update sudo apt-get purge openoffice* libreoffice* python3-uno sudo apt-get install libreoffice-java-common libreoffice-sdbc-hsqldb libreoffice-core python3-uno libreoffice-math libreoffice-impress libreoffice-writer ...


1

I know nothing about Dart, yet I downloaded the deb and looked inside it. The files you're looking for are located at /usr/lib/dart/bin/. You're getting "command not found" because that directory is not in $PATH. You should be able to run them by providing the full path: /usr/lib/dart/bin/dart2js Or you may want to add /usr/lib/dart/bin to $PATH.


0

...dont forget about `build-dep` In addition to those answers above -- I have to admit I am surprised that nobody have mentioned this approach which, is what I have always used as a "silver bullet" at any time I encountered apt-get conflicts or unresolved packages (or even if the system is being stubborn....ha!). sudo apt-get remove --purge [package] sudo ...


0

I guess the repos have the same packages but with different versions? I think you need APT Pinning for that, to tell apt which repo you prefer to install from. ppa:elementary-os/testing ppa:elementary-os/daily This might be your problem. You need to give these repos prio's.


0

Try the following, in the shown order sudo apt-get autoclean && apt-get clean sudo aptitude update && sudo aptitude -y upgrade sudo aptitude install <package>


0

Try sudo dpkg --purge --force-all leap


0

Good Luck! sudo dpkg --configure -a sudo apt-get -f install sudo dpkg --configure -a sudo apt-get update


0

Unfortunately this is due to a bug in the latest updates to Ubuntu 14.04 and 12.04: apt-get fails to install fglrx or fglrx-updates in 14.04.2 and 12.04.5 To fix it: Remove the hardware enablement stack Ubuntu 14.04 (tested and confirmed working): sudo apt-get install --install-recommends xserver-xorg libgl1-mesa-glx libegl1-mesa-drivers Ubuntu 12.04 ...


0

Something similar could be https://launchpad.net/. After you register on Launchpad, you can make your own repo, which can be easily added to any Ubuntu with apt-add-repository command. A lot of interesing projects are running on private ppa repos, sometimes they provide the only solution to keep up-to-date older systems or abandoned softwares. Ofcourse, ...


0

You might as well download from someone else's computer and do it but still, here is the answer: When Installing Ubuntu, it uses the DVD to load Ubuntu and same for the packages. When Installing you get an option to update from the internet, do not select that. Remember your PASSWORD Install as usual and after installation reboot but without removing the ...


0

Try to rename your current smb.conf smb.conf.bak, then retry installation. After that, I would recommend to diff the new smb.conf against the smb.conf.bak to keep previous settings. sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.bak


0

Just temporarily go to terminal to install synaptic package manager My understanding is that it is the precursor to software centre and is basically less glitchy sudo apt-get install synaptic once that's installed, open it and go to software centre > right click > reinstall or whatever it says also try reinstalling skype through there - it should tell you ...


-4

apt-get -f autoremove is what you are looking for.


2

A simple solution would be to make a script that checks first and then launches. For example: #!/usr/bin/env bash ## Do a test run of the apt-get command, printing the relevant details sudo apt-get -s install "$@" | perl -ne '$a=1 if /Reading state information/; if($a==1 && /:$/ || /^\s/){print}' read -p "Do you want to continue? [YN] " ...


5

apt-get install new-package will ask for confirmation only if it also installs dependencies of the given package. If just the single package you specified is going to be installed without any additional stuff, it stays quiet as you already "confirmed" you want to have that one by typing it. But if there are some dependency packages, you might change your ...


0

If you would like to get the versions of some installed packages, you can pipe commands like this: dpkg --get-selections | awk '/php/{print $1}' | xargs dpkg-query --show $1 your output would look like the following: libapache2-mod-php5 5.3.2-1ubuntu4.29 php5-cli 5.3.2-1ubuntu4.29 php5-common 5.3.2-1ubuntu4.29 php5-gd 5.3.2-1ubuntu4.29 ...


0

For Debian check: Debian New Maintainers' Guide Debian Packaging Tutorial For Ubuntu: UbuntuDevelopment -> Packaging From that ↑↑ page: All Ubuntu developers should be familiar with the Debian New Maintainer Guide; though be aware that there are many differences (technical, social and procedural) between Ubuntu and Debian of which they must ...


0

One of the reason might be you've just remove some important package, which has dependencies on many other packages. It happened with me too, in my case, I knew package that I just removed, re-installing it worked for me. So you've removed a package on which lot of packages were dependent. It's like when you install a package-A, which has dependency on ...


0

i'm getting the same thing whenever i install something with apt. to keep those packages you need to tell apt that you still want them by attempting to install them again, eg: $ sudo apt-get install aisleriot ant ant-optional etc do not do apt-get autoremove as apt suggests, otherwise you will have no gui and will have to reinstall everything from the ...


0

This my script : apt-get purge qt5-default -y apt-get purge qt5-qmake -y apt-get purge qtbase5-dev-tools -y apt-get purge qttools5-dev-tools -y apt-get install qt5-default -y apt-get install qt5-qmake -y apt-get install qtbase5-dev-tools -y apt-get install qttools5-dev-tools -y


3

If you want an up-to-date list of the available packages, first update the apt cache: sudo apt-get update Then in a Terminal, you can run: apt-cache dump But this will print a lot of informations about each package version, repository and dependencies; so the output might be tweaked a bit based on need: for example if you just want a list of names in ...


0

From: https://help.ubuntu.com/community/Skype sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"


0

Ok, got it. The deb package build gets its version number not from the version field in the control file, but from the changelog entry.


1

I got the same error in 14.04. Re-installation of wine-staging-i386 package fixed the problem: sudo apt-get install --reinstall wine-staging-i386


0

Don't make it too much complex. Just download skype from its official website. Click here to download and choose your distribution (for you, its Ubuntu 12.04 (multiarch) ). A debian file will be downloaded and your just a double-click away from installing skype. Enjoy!


2

No. The creator of XAMPP only supplies a command line installer. It is a 3rd party software so if they do not offer a debian installer you will not be able to install it from Ubuntu Software Center. The better option would be to install our native LAMP. It is superior to XAMPP and tailor made for Ubuntu. If you want to install the task for this the easiest ...


0

I don't think this package is packaged for Ubuntu. Instead of doing sudo apt-get install python-future (which does not work, of course) you can easily do: $ sudo pip install future which will install the package system wide, having the same effect.



Top 50 recent answers are included