Tag Info

Hot answers tagged

6

use the --dry-run, -s, --simulate, --just-print, --recon, --no-act argument and it won't actually do anything, it'll just tell you what it would do: From the apt-get man page -s, --simulate, --just-print, --dry-run, --recon, --no-act No action; perform a simulation of events that would occur but do not actually change the system. ...


5

So, mate-core depends on mate-desktop-environment-core which in turn depends on mate-terminal. A depend cannot be broken easily. Nor apt-get nor aptitude supports a --without or --exclude option and "holding" the packages won't help: $ echo "mate-terminal hold" | sudo dpkg --set-selections $ sudo apt-get install mate-core [...] Some packages could not be ...


3

Pythons 2 and 3 live very happily next to each other on most Ubuntu installations. What you're describing (python3 mapping to a Python 2 binary) is not normal at all. python needs to be mapped through to Python 2 by default. There are various scripts that aren't Python 3 compliant (it's not backwards compatible) so if you break the mapping from python, you ...


2

Sounds a bit like a proxy problem. I once had a problem with maven that the proxy replaced a jar by a html page containing a virus warning. The html got saved as .jar but because it was broken nothing worked anymore. Anyway: it's safe to delete everything from the directory /var/lib/apt/lists/partial/ (and also from /var/cache/apt/archives/partial/). For ...


2

If you use aptitude or a graphical package manager (Synaptic, etc.), then you can unselect which packages should be installed as long as it doesn't cause a dependency issue. In the case of aptitude, before installing a package (in the graphical view), it will show you why a dependent package is being installed. In my case, I use KDE, and so don't have any ...


2

Another method Download main package which depend on the other. Extract the package, remove the unwanted dependencies, repack it. Now open the new package with gdebi package installer. It will install new dependencies for you.


2

It's a mess as you say this must be due to problems in your repository & PPA sources I suggets to clean the mess first : start with sudo apt-get install gksu sudo apt-get install gedit Then gksudo gedit /etc/apt/sources.list There, on the file that opens you replace all with proper sources.list generated there : http://repogen.simplylinux.ch/ (check ...


2

Neither of these suggestions may work for you, but here's what I would try first: Regarding the first issue, there's a hidden file in your home folder called .bashrc. Open a terminal and type ls -a which means "list files -all of them" and you should see the file. The contents of this file are executed every time you open your terminal, and I suspect that ...


1

You'll have to install the JDK manually if you want to pin the version. This is a pretty good guide for doing just that. https://www.digitalocean.com/community/tutorials/how-to-manually-install-oracle-java-on-a-debian-or-ubuntu-vps Keep in mind no updates, so you'll have to upgrade the java version yourself for security updates and such.


1

All of what you did is just right. But you miss to do one important thing. sudo ppa-purge ppa:ubuntu-toolchain-r/test sudo apt-add-repository --remove ppa:ubuntu-toolchain-r/test And manually removed the PPA file from /etc/apt/sources.list.d as well as the keyring. Now before doing sudo apt-get upgrade you should make sudo apt-get update ...


1

Indeed there is no specific answer. The answer would bw related to each package unique. The master guidlune to your choice is what you care about. Installing from Ubuntu main repositories ensure you security, stability but with some versions, since to ensure the policies put by ubuntu packaging system would take some time. So as a guidline, don't add third ...


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.


1

Start sbuild with double quotes for the repository: sbuild --extra-repository="deb http://ports.ubuntu.com/ubuntu-ports/ vivid main" Check if your user is in the group sbuild with groups If not, use this command: sudo usermod -a -G sbuild $USER


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


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


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

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

First you should know this is not a weired action, this is totally right and you some how asking for this action!! So why this happens? You want to install libgirepository-1.0-1:i386 , but you already have this libgirepository-1.0-1 64 bit version, so here the system is asking you to replace the 64bit with this 32bit. This replace has some consequences, ...



Only top voted, non community-wiki answers of a minimum length are eligible