Tag Info

New answers tagged

0

The solution is to explicitly allow apt to downgrade packages: sudo su - sudo echo 'Package: * Pin: release o=Ubuntu Pin-Priority: 1001 ' >> /etc/apt/preferences.d/allow-downgrade apt-get update apt-get upgrade apt-get -f install apt-get update mv /etc/apt/preferences.d/allow-downgrade > /etc/apt/preferences.d/allow-downgrade_old sudo apt-get ...


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.


0

Just found the answer on ubuntuforums.com and it works (I had the same issue): rm -r /var/lib/apt/lists apt-get update wait until it finishes and everything should be back to normal. -Tasha


0

I'm not sure what the cause is, but leaving it plugged in to the internet and letting it install all of its automatic updates, then coming back to it the next day and trying to first install b43-fwcutter and then firmware-b43-installer worked. No clue why. But it did.


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

Make sure that the restricted and universe repositories are enabled. Hit Alt+F2, type software-properties-gtk and hit Enter. Under Ubuntu Software tab, enable all the repositories. The preferred way of installing krita is by enabling the following PPA: sudo add-apt-repository ppa:kubuntu-ppa/backports sudo apt-get update sudo apt-get install krita ...


-1

Instead of editing the conf file, try going to System settings in Ubuntu and select Network. Here you can configure the proxy setup for the entire system (see picture below). Please remember to delete your lines in the conf file first before you do this.


0

It turns out the issue was caused by grub-mkconfig crashing with the error message Generating grub configuration file ... ERROR: cannot determine partition label for rootfs /dev/sda9 (sda9 held my fs root). Apt crashed because when it tried to install new kernels it ran grub-mkconfig to add them to the boot menu. It wasn't actually a problem with apt but ...


1

The hint was in this part of the error message (I've added *s): dpkg: error processing /var/cache/apt/archives/linux-image-3.13.0-58-generic_3.13.0-58.97~precise1_amd64.deb (--unpack): failed in write on buffer copy for backend dpkg-deb during `./boot/vmlinuz-3.13.0-58-generic': **No space left on device** No apport report written because the error ...


0

I had a similar scenario in a fresh install of 14.04, with no files listed in dpkg --get-selections | grep hold, and no joy after sudo apt-get update. What did fix it for me was a simple sudo apt-get autoremove When I tried to reinstall the failing package it worked fine. Yay!


0

The "not enough space on boot" thing is an independent issue, which seems to be a constant problem for people who have disc encryption on. It seems to have been reported as a bug report for a year now but is still not fixed for some reason. You can fix it with dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ...


0

You can possibily delete every kernel but the one you are using (cf., uname -r). You can maybe leave another one to be sure, but you certainly do not need 10. I guess you have had some unconfigured packages the last time you ran apt-get/dpkg.


1

The latest version in Trusty is 1.9.1. To install 2.1.4 you need Vivid. To get version 2.4.6 you have to wait for Wily. To install packages from this PPA you need at least Lucid. Based on the output of apt-cache policy git you have installed version 2.4 6 I assume, either you don't use /usr/bin/git or the file was overwritten. To resolve the first ...


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.


0

Found this server for this key but unfortunately seems down. apt-key adv --keyserver hkp://subkeys.pgp.net --recv-keys D46F45428842CE5E At least try this: Try to import all missing GPG keys


-1

You could use remove instead of purge, and then upgrade the kernel, and enter this in the terminal: sudo apt-get -f remove linux-image-extra-3.19.0-22-generic and then delete sources.list file, and enter settings and update and hatch all of the chanoical list and close it again. and then reinstall the latest kernel, and enter this in the terminal: sudo ...


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

First make sure that you have installed the applications gksu and leafpad Launch a terminal window. Type (or copy/paste): sudo apt-get install gksu leafpad Press Enter and submit your password. Please note that the password will remain invisible, not even asterisks will show, which is normal. 2 . Then remove all sources that you have now: Launch a ...


2

Since as per your comment you want to list only the packages that are going to be removed: sudo apt-get --dry-run autoremove | grep -Po '^Remv \K[^ ]+' grep command breakdown: -P: Interprets the given pattern as a PCRE (Perl Compatible Regular Expression) pattern -o: Prints only the matched string instead of the whole line Regex breakdown: ^: ...


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

I found an answer here (for others that stumble upon this unanswered question) http://askubuntu.com/a/34668/432978 "The /etc/apt/apt.conf file is still read if it exists. The apt configuration provided by packages is installed as separate files in /etc/apt/apt.conf.d/ so that it can be added and updated independent of any local changes you make in the ...


1

Actually you only need to filter the output of your sudo apt-get autoremove --dry-run command. For instance you can do it with sudo apt-get autoremove --dry-run | head -n 5 | tail -n 1


0

If you want to go the graphical route you can load up the System Settings window and select Software & Updates. From there go to the Other Software tab and disable the http://repo.steampowered.com/steam/ repo. Also note: Ubuntu Software Center has a tendency to error out due to the failed repo update. I thought it was something I had done as the ...


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

From time to time I can watch that too, but for other repositories. The problem usually resolves itself. The files are easily broken. Maybe they are just re-created on the server and you got an unfavorable situation or any programmer or administrator made a mistake. All people make mistakes. In this case, no reason to be paranoid panda … ;)


6

Simply run sudo apt-get -f install without anything additionally things. # is only the opener for a comment To install packages, use sudo apt-get install package_name Replace package_name with the name of the package to install. In your case sudo apt-get install -f and if that not works sudo apt-get install libcanberra-gtk-module:i386 sudo ...


2

You should upgrade to 15.04 as soon as possible as 14.10 has reached its End of Life (EOL) yesterday (23rd July, 2015). Note that mongodb-dev is not available in 14.10, your best bet would be to download the .deb file from launchpad and the install it with : sudo dpkg -i package_name.deb Then you need to satisfy the dependency (libboost-dev) with : ...


1

I'll give you the answer just because you asked again after the installation of Ubuntu 15.04 The package mongodb-dev is not longer in the Ubuntu Standard Repositories. The latest release was 2.4.9-1ubuntu2 in Trusty.


0

You have a corrupted line in /etc/apt/sources.list or one of the *.list files under /etc/apt/sources.list.d/. Try this command to spot it: grep gpgv: /etc/apt/*.list /etc/apt/sources.list.d/*.list Remove the line and you'll be fine. Edit: Since you somehow lost the /usr/lib/apt/methods/gpgv file, a way to get back that file is by reinstalling apt: ...


0

I have the same issue on Ubuntu 14.04 LTS. Disabling the repos worked great using the sed command but you could also easily just edit the file itself using nano or your favourite editor sudo nano /etc/apt/sources.list.d/steam.list And just comment out everything you see with a # sign which essentially does the same thing as the sed command.


1

Update: Repo fixed, use the following commands to update your system: sudo sed -i -e "s/#deb/deb/" /etc/apt/sources.list.d/steam.list sudo apt-get update && sudo apt-get upgrade Original Answer: If you are experiencing this issue right now (around 2015-07-24), it's because someone at Valve has improperly configured their repo. You can verify this ...


0

Note: By default you can find a backup of this file inside /etc/apt dir called sources.list.save So you can use it to recover your lost one. sudo cp /etc/apt/sources.list.save /etc/apt/sources.list Else, if you don't have this file,you can visit this link:http://repogen.simplylinux.ch/ Enter your information and you'll get your customized sources.list ...


0

Simply remove the file sources.list sudo rm /etc/apt/sources.list or make a backup if you don't trust me. sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak After that Start Software & Updates via Unity Dash Click on the checkbox Canonical-supported free and open-source software (main) Enter your password Close the dialog and you will ...


1

Default sources.list file on 14.04: # deb http://be.archive.ubuntu.com:80/ubuntu/ trusty main restricted # deb http://be.archive.ubuntu.com:80/ubuntu/ trusty-updates main restricted # deb http://security.ubuntu.com/ubuntu trusty-security main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the ...


2

I struggled with the exact same problem but the broken kernel packages were version 3.13.0.57. Inspect the problem: Check the dpkg status of the packages: dpkg --status linux-image-3.19.0-22-generic dpkg --status linux-image-extra-3.19.0-22-generic If the output states that the packages are in bad state, i.e. half installed or not fully installed, this ...


0

Root cause The root problem seems to be that /boot/System.map-3.19.0-22-generic is missing, which prevents reconfiguration/removal of the packet. Suggested Solutions My initial suggestion was sudo apt-get install --reinstall linux-image-extra-3.19.0-22-generic As this apparently fails ("cannot configure half-installed"), I would suggest to do this a bit ...


1

If you do not want to impair your system, than download the deb files an install with sudo dpkg -i your_deb_file but even that is not without risk. Preparing yourself that you could get problems.


2

I'm moorkai. I received a few e-mails with complaints about the PPA not being usable, but I really didn't expect so much users will try to install Cinnamon from my PPA ... and fail due to my sloppiness. I guess I deserve the bashing from the commenters then. I am sincerely sorry for all the inconvenience caused. I had some issues with the Launchpad system ...


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.


2

Simply run sudo apt-get install software-properties-common And you'll have add-apt-repository The package is part of the Ubuntu standard repositories.


1

You can add manually repository sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E1DD270288B4E6030699E45FA1715D88E1DF1F24 sudo su -c "echo 'deb http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main' > /etc/apt/sources.list.d/git.list" sudo apt-get update sudo apt-get install git


-3

You can install anaconda package in ubuntu following this instruction.In that way along with python you will get other mostly used python packages as well. Or you can install the basic python following these instructions First install dependencies sudo apt-get install build-essential checkinstall sudo apt-get install libreadline-gplv2-dev libncursesw5-dev ...


4

You can write a shell script filename.sh. Type: user@system:~$ gedit filename.sh Input the following code: #!/bin/bash sudo add-apt-repository ppa:atareao/atareao ; sudo add-apt-repository ppa:peterlevi/ppa ; sudo apt-get update; sudo apt-get install my-weather-indicator unity-tweak-tool variety exit 0 Save the script. You can run the script by ...


4

This is what you want: sudo add-apt-repository ppa:atareao/atareao && sudo add-apt-repository ppa:peterlevi/ppa && sudo apt-get update && sudo apt-get install my-weather-indicator unity-tweak-tool variety Purpose of &&: let's say: command one && command two means execute the command two if and only if the ...



Top 50 recent answers are included