New answers tagged

0

You can bypass some important safeguards by using the following option: --allow-unauthenticated But be a little cautious about using this option more widely...


0

apt-get install python3 this should do it. remember python3 takes input as string and used function to parse it to another format.


2

In General It is not recommended and therefore not possible to change the python version of your system (i.e. with apt-get update python), since many scripts rely on a specific version. You can brake your system and it may cause problems with future updates. Instead, you may want to have a look at virtual environments as answered here. If you are searching ...


0

Unfortunately they don't have any PPA available. Viber Support Team will sure on this: Download Viber (*.deb) file here. cd ~/Downloads/ sudo dpkg -i viber.deb Run Type Viber in dash. Click the launcher icon. For Gnome, go to Applications -> Internet -> Viber How to uninstall sudo apt-get remove viber


3

By default, the package with the highest version number is installed, regardless of which repository it comes from, unless its version number is lower than the currently installed version of the package (this can happen, for example, if you downloaded a higher version as a .deb package and installed it manually). In the very unlikely case that several ...


2

I'll address the three parts of your question: I think it's matter of opinion. As a user, I don't have any preferences for either of those. As a developer, I mainly use PPAs for the reasons below. The more obvious are that you use Canonical's resources instead of your own, and that includes the GPG key management, for your users. Remember that when one ...


2

It works with the following command: for i in $(cat ppas.list); do sudo add-apt-repository "$i"; done


8

Use -L1 to tell xargs to use only one input line per command: cat ppas.list | xargs -L1 sudo add-apt-repository


5

You could use a loop (and you'll probably want to add the -y option to the add-apt-repository command to avoid being prompted for a confirmation for each repository): while read x; do sudo add-apt-repository -y "$x" done <file


0

I tried the following command and it worked sudo dpkg-scanpackages . /dev/null | gzip -c9 > Packages.gz


0

For anyone facing this error after following mario's answer: Unable to find expected entry 'Packages' in Release file (Wrong sources.list entry or malformed file) do the following: dpkg-scanpackages debs /dev/null > Packages gzip -k Packages apt-ftparchive release . > Release gpg --default-key $KEYID -abs -o Release.gpg Release I put my *.deb ...


0

The answer appears to be to add a third party repository: sudo add-apt-repository fkrull/deadsnakes-python2.7 sudo apt-get update sudo apt-get install python2.7 python --version


1

As fkraiem says, it's because nobody packaged it for Debian. And in Debian, it seems a few people expressed in intent to package it, but never followed through. See Debian bug report 465821 for more information (it's been sitting around since 2008).


0

If you have a .deb file you can easily install it by right clicking on it and selecting Gdebi install. If you want to go through command line after going to directory of the package, type sudo dpkg -i PACKAGE_NAME this will install it with Gdebi which is similar to apt-get. (if you aren't sure about directory just right click on your file and select ...


0

For Python3.5 use the command alias python=python3.5 and for Python2.7 use alias python=python2.7



Top 50 recent answers are included