New answers tagged

0

Apt tells you that your problem is that your proxy doesn't accept the connection (connect (111: Connection refused)). The IP your proxy has (169.254.91.100) is probably not correct unless you are on a really special setup because it is actually not a normal RFC1918 private address, but a link-local one. Can you post the wget command that works?


0

i need help with this please kodi wont install sudo apt-get install kodi Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: fonts-roboto fonts-roboto-hinted kodi-data libcec-platform1v5 libfstrcmp0 libhdhomerun2 libjs-iscroll Use 'sudo ...


0

I believe the package you are looking for is libfam-dev and not libfam0-dev You can install libfam-dev by typing the following in your terminal: sudo apt-get install libfam-dev


1

I encountered this issue when I tried upgrading 15.10 to 16.04 and I fixed using below steps. Boot in command line by pressing E when highlight the first entry to edit it. Cursor to the end of the linux line. Remove quiet splash vt.handoff=7 and add single. Press Ctrl+X to boot. Run screen (in order to get more than one prompt). Press Ctrl+A and then C to ...


2

The Backports repository is set to not be installed from in a default instance of Ubuntu (the priority of 500 is higher than 100, which is shown in your output; this has also been the standard for some time now). To make all the dependencies install from the trusty-backports repository, we have to do one of two things to make apt know what we want it to do (...


1

There should be no trusty-security or trusty-updates entry for the extras repository. If you go to http://extras.ubuntu.com/ubuntu/dists/ in your web browser, you will see that trusty-security and trusty-updates are not listed. Run the following commands to fix the issue: sudo sed -i 's|deb http://extras.ubuntu.com/ubuntu trusty-security|#deb http://...


1

OP solved the problem: ...I found the problem. I was using the wrong python since I had installed anaconda. Removing anaconda make the system works An alternative way without uninstalling Anaconda, reset python link to default (pointing to python2 from repository) $ ls -l /usr/bin/python lrwxrwxrwx 1 root root 9 Dec 10 2015 /usr/bin/python -> ...


1

This worked! I'm now the happy user of 16.04. sudo lsof /var/lib/dpkg/lock sudo kill -TERM <PID> sudo dpkg --configure -a


-1

It's pretty obvious that your user is not in the sudo group. You didn't provide any additional information like, are you the only user of that computer? If you are not, then ask/use a sudo account to add your account to the sudo group. However, it's also possible that there are no sudo users on your system at all (pretty rare). If you have accidentally ...


-1

As indicated in the other answers, you need to be in the sudoers group. If you are, the sudo password is the same as your login password.


0

I am guessing your account doesn't possess superuser privileges. You cannot recover password from terminal by any command. If you need to do perform any administrative tasks, you should consider contacting your IT support for the root access. Also, you might want to edit the description of your question to make it look more professional.


1

Something is wrong with your package management. Please try apt-get -f install If this does nothing try dpkg -i /var/cache/apt/packages/openssh-server*.deb Post error messages and content of your /etc/apt/sources.list and sources.list.d/*.list files.


1

The problem appears to be the universe and multiverse xenial-security repos are corrupt. I was able to fix the problem by editing /etc/apt/sources/list and commenting out these lines: #deb http://ports.ubuntu.com/ubuntu-ports xenial-security universe #deb-src http://ports.ubuntu.com/ubuntu-ports xenial-security universe #deb http://ports.ubuntu.com/ubuntu-...


0

Do apt-get update; apt-get install ssh


0

Turns out this is actually the expected behavior, since the version number of Xournal is now 4.8 instead of 0.4.8 (due to some sort of clerical error, I guess?), as pointed out here. This is also why 0.4.8 was "upgraded" to 4.7.


1

No. Automatic update is not supported by umake. You need to reinstall software when a new version becomes available (unless the software package itself has built in update functionality). Umake simply downloads the latest version available from the official websites and doesn't give you much option in terms of versioning (besides sometimes having a stable ...


2

Use chdist. This command allows you to run apt-get and apt-cache as usual, but for a different release of Ubuntu (or Debian or in fact any other Debian-derived distribution). It also provides a wrapper around grep-dctrl which easily allows you to search and report on metadata fields.


0

Instead of add-apt-repository which you need python-software-properties package for, try the built in apt-add-repository. Works in Precise, Trusy and Xenial right out of the box. See manpage for details. Note both commands look the same, but look at the order of the apt. The built in one starts with apt, where as the other one starts with add.


6

First of all, never edit /etc/sudoers manually, always use visudo. Your problem was a syntax error in the file /etc/sudoers.d/90-cloudimg-ubuntu but it is now a malformed /etc/sudoers. So, to fix it (now that you have removed any changes you may have made), run pkexec visudo and make the file look like this: # # This file MUST be edited with the 'visudo' ...


0

Hello have toy try changing software sources download location to "Main server? then reboot and try to update your system I see a lot of people having upgrading from 14.04 to 16.04 including my self I had to do a clean install and all is good now...


0

Use dpkg -C or dpkg --audit to check for broken packages.


1

Found the answer here. You need to use the --system-site-packages option when creating your virtualenv if you want this to work. So in my example the correct way to do it would be virtualenv --system-site-packages -p python3 ./test Thanks for helping guys!


4

The mistake is that you used instructions on how to install java on Debian. Not Ubuntu. As root, go to this folder: /etc/apt/sources.list.d Locate this file: webupd8team-java.list and delete it. Execute sudo apt-get update for the system to remove any reference to that update server. Execute add-apt-repository ppa:webupd8team/java to add the correct ppa ...


1

Your file /etc/apt/sources.list.d/canonical_partner.list has the same repository configured twice. You can either edit file and remove the duplicated line(2nd line of the file) or remove this reference for being used in graphical mode by removing/unchecking them. Editing the file for removing duplicated repositories Open terminal: ctrl+alt+t Write sudo ...


0

There's no team-viewer package in Ubuntu repositories, you need to download the .deb file from their website and run these commands: cd ~/Downloads sudo dpkg -i teamviewer_i386.deb And then if installation fails because of a dependency issue: sudo apt-get update sudo apt-get install -f sudo dpkg -i teamviewer_i386.deb


0

I've solved the same problem just by using python 2.7 instead of python 3.4: sudo rm python sudo ln -s python2.7 python sudo apt-get update sudo apt-get upgrade sudo rm python sudo ln -s python3.4 python


3

Check the contents of /etc/apt/sources.list.d/canonical-partners.list if they as well exist in /etc/apt/sources.list. If yes remove either the double lines in /etc/apt/sources.list or your remove that canonical-partner.list file. Second might be an easier solution. sudo rm /etc/apt/sources.list.d/canonical_partner.list


1

Do a sudo apt-get update to update the software sources list. It's just a refresh of software names and available versions. No software changes with this commnad. Do a sudo apt-get upgrade to update all your software, to the newest version available. Do a sudo apt-get dist-upgrade to upgrade (entire) Ubuntu from one sub-version to the next sub-version ...


4

Yes, running sudo apt-get update will not change or update anything. The only thing apt-get update does is refresh the local "cache" with the list of available software / packages. It won't update any packages, and it won't upgrade or change your Ubuntu version. Note that apt-get upgrade is different - that does actually update things.


1

Yes, using apt-get update/upgrade will maintain whatever release you have installed. However, 12.04 is EOL in less than a year.


0

EDIT: Well! this solution will 100% fix it (I hope) ... Because I tried to use your 'sources.list' copy and I got the same problem... After that I tried to revert the default 'sources.list' using the below method and it 100% worked (Tested!) :) Well, as your network settings are fine and you're able to ping everything well. Let's restore the default '...


2

"N.B." (Nota Bene) is a Latin form, in English you can read it as "Note well". In this case, the sources.list file contains just a heads up for the users about the repository(ies). And the given note is self-explanatory i think as the Universe repository contains mostly the community contributions.


3

From https://en.wikipedia.org/wiki/Nota_bene, N.B. in short means "pay attention" or "take notice". Therefore, the comment is telling you you should take note the software in that repository is not supported by Ubuntu.


1

The first command will install the package samba and all its dependencies. The second command will install samba and bunch of other packages and also their dependencies. The second command is useful when you are extending the functionality of samba and need extra packages to be present to do so. Note that, most of these packages comes as recommended or ...


1

To install OBS on Ubuntu 15.10, simply run these two commands in a terminal: sudo add-apt-repository ppa:obsproject/obs-studio sudo apt-get update && sudo apt-get install obs-studio It should automatically resolve and install the right dependencies.


0

Thanks AstronomyGeek ! However, some typos in the script: mv ./compiler-rt-3.7.1.src ./compiler-rt mv ./compiler-rt ./llvm-3.7.1/projects/' and unnecessary to have ../llvm-3.7.1/configure –help


0

Try to ping 'google.com' ... and if it failed to ping then do the following: Edit /etc/resolv.conf and add NOTICE: You can use any text editor, for example 'vi /etc/resolv.conf' nameserver 8.8.8.8 nameserver 8.8.4.4 At the end of /etc/resolv.conf - or at the top if it was empty file. It should work now, please tell me what happened in the comments :) ...


-1

There are a number of options you can set using the -O command-line switch that allow you to redirect the cache, index, and installation root directories. With that, you do not need to have superuser privs (but the packages will be installed in a non-standard place and may not find their resources).


0

In Ubuntu 16.04, just do sudo apt-get install texlive-full. I think you need to compile and configure texlive-full for Ubuntu 14.04 if not found in apt-get.


0

You can open the Software Properties utility with sudo software-properties-gtk, go to "other software" tab and un-select the source related to the ppa you mentioned (transmissionbt)


0

I would consider using virtual environments instead of installing python versions via apt-get. Using virtual environments, see here, are a good practice for developing with python. They let you isolate your python environment from the system installed python versions. In addition you don't have to get sudo access while installing any library (via pip ...


2

That's because apt-get does not have any option like curl or wget. Perhaps you wanted to install/upgrade the packages, if so then: sudo apt-get install wget sudo apt-get install curl The package name goes as argument to apt-get's option e.g. install, remove etc.


0

Try this: Open a terminal,Press Ctrl+Alt+T Run it: exec sudo -i apt-get update apt-get dist-upgrade apt-get -f install apt-get -m install apt-get install --reinstall apt do-release-upgrade


2

Looks like you built or installed a custom Python in your home directory (~/Desktop/my-android-toolchain). Probably this custom Python installation shadows the system Python. You can check which executable is getting run using the command which python It should report something like /usr/bin/python. This is the system's Python installation that is ...


0

I solved this as follows: delete the offending file (in the OP case /var/lib/dpkg/info/thunderbird-gnome-support.list reinstall the offending package using apt-get install --reinstall thunderbird-gnome-support This recreated the deleted file list for me as well. Of course, this can be cumbersome if a lot of files are corrupt, but in my case it was only ...


0

I can point you to the package for x86_64 arch. http://launchpadlibrarian.net/139606892/netperf_2.6.0-2_amd64.deb These packages have amd64 in the name.


1

Take a turn, you are in the wrong direction! The correct way is move on with newer release. But for side packages like this one, you can always install builds from older releases. If APT didn't raise any unmet dependencies. Tested on VBox with Ubuntu 16.04. Add needed repository and update package list echo "deb http://archive.ubuntu.com/ubuntu wily ...


7

1. On-line I prefer use of http://packages.ubuntu.com/ as muru's answer 2. Off-line, Manual Otherwise looking for an off-line solution then you should be MR. APT and start downloading them from http://archive.ubuntu.com/ubuntu/dists/. p=$(pwd); for c in main universe multiverse restricted; do for u in "" -security -updates; do for a in binary-amd64 ...


4

For just upgrading a single package, do: sudo apt-get install <package_name> For example: sudo apt-get install dos2unix One caveat is that this will of course install the package if not installed already, to only upgrade a package (and not install the package if not installed): sudo apt-get install --only-upgrade <package_name> For ...


0

On terminal type: sudo apt-get install --reinstall python3.4 That will fix your problem, if this does not help install it using: dpkg -i {The full name of python 3.4 package deb file}



Top 50 recent answers are included