[SOLVED] how to add deb to source list

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
jibatron
Level 1
Level 1
Posts: 14
Joined: Sat Jan 07, 2017 6:51 pm
Location: Canada

[SOLVED] how to add deb to source list

Post by jibatron » Fri Jan 19, 2018 8:17 pm

hi everyone. i need to update python-openssl to version 16.2.0-1 and python-cryptography to version 1.7.1-2 in order to stop another program from crashing (KODI). So when ever i try to add "deb http://cz.archive.ubuntu.com/ubuntu zesty main" to synaptic in the "additional repositories" menu and reload the the main menu so i can search for said apps it gives me an error. can someone describe how to add that source so i can update or perhaps show me another way of updating? i tried to manually download the apps but after extracting them i typed ./compile and that didnt work either :( lol
Last edited by jibatron on Sat Jan 20, 2018 1:42 pm, edited 1 time in total.
Running Mint 18.3 cinnamon as a HTPC. Hardware: AMD 1100t CPU, Gigabyte 990xa-ud3 mobo, Sapphire 7870 gpu to an Onkyo audio receiver and then to Samsung 1080p tv. I need 1.5 DPI setting instead of double lol if anyone knows how... message me please!

jibatron
Level 1
Level 1
Posts: 14
Joined: Sat Jan 07, 2017 6:51 pm
Location: Canada

Re: how to add deb to source list

Post by jibatron » Fri Jan 19, 2018 9:31 pm

Solved!! well sorta. in a different way but solved. see: viewtopic.php?f=47&t=260201&p=1417681#p1417681 for answer
Running Mint 18.3 cinnamon as a HTPC. Hardware: AMD 1100t CPU, Gigabyte 990xa-ud3 mobo, Sapphire 7870 gpu to an Onkyo audio receiver and then to Samsung 1080p tv. I need 1.5 DPI setting instead of double lol if anyone knows how... message me please!

User avatar
phd21
Level 16
Level 16
Posts: 6564
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: how to add deb to source list

Post by phd21 » Sat Jan 20, 2018 12:02 am

Hi "jibatron",

I just read your post and the good replies to it. Here are my thoughts on this as well.

That does seem odd that Kodi would have issues because of these security packages, but I also found a post on this.
Memory leak or something? : kodi
https://www.reddit.com/r/kodi/comments/ ... something/

FYI-1: You cannot normally install or add a software repository for another operating system that is not the one you are using, nor should you try to force that. Linux Mint 18.x is based on Ubuntu 16.04 Xenial and Linux Mint 17.x is based on Ubuntu 14.04 Trusty, so trying to install for "Zesty" based on Ubuntu 17.04 is not a good idea.

FYI-2: With Python programming, you can usually use these commands to update to the current versions of python packages for the operating system you are using, and you can even specify versions.
For example:

Code: Select all

pip install cryptography

Code: Select all

pip install pyopenssl
If you do not have a problem running Kodi, then do not use these instructions.
reddit_reaper wrote:Ahh Linux and kodi, one of my love hate relationships. I bet you it's the bug with python cryptography. It happens on every ubuntu based linux distro before 17.04. Very easy fix though I'll post it in a sec

edit: here is this fix

Click the links below to download two easy to install Linux deb files. Double-click each to install them. Install cryptography first.
1.) Download link for "python-cryptography_1.7.1-2_amd64.deb"
http://launchpadlibrarian.net/299484105 ... _amd64.deb
phd21 wrote:I had to run the command below (sudo apt install -f) to resolve some dependency issues after installing the newer "python cryptography" which removed some other python packages which I was able to reinstall afterward?
my linux mint kde 18.2 responded with wrote: The following packages will be REMOVED:
kajongg python-ndg-httpsclient python-openssl python-service-identity python-twisted-core python-twisted-names python-twisted-web python-ubuntu-sso-client

Code: Select all

sudo apt install -f
2.) Download link for "python-openssl_16.2.0-1_all.deb"
http://launchpadlibrarian.net/292839640 ... -1_all.deb

OR open up a console terminal window and run these commands to download two easy to install Linux deb files.

Code: Select all

wget http://launchpadlibrarian.net/299484105/python-cryptography_1.7.1-2_amd64.deb

Code: Select all

wget http://launchpadlibrarian.net/292839640/python-openssl_16.2.0-1_all.deb
These files can be double-clicked to install, or you can use the console terminal commands below.

Code: Select all

sudo dpkg -i python-cryptography_1.7.1-2_amd64.deb

Code: Select all

sudo apt install -f

Code: Select all

sudo dpkg -i python-openssl_16.2.0-1_all.deb

Hope this helps ...
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

jibatron
Level 1
Level 1
Posts: 14
Joined: Sat Jan 07, 2017 6:51 pm
Location: Canada

Re: how to add deb to source list

Post by jibatron » Sat Jan 20, 2018 11:09 am

Thanks for info phd21! It was a strange problem for sure but it has seemed to be fixed so I’m happy. Hopefully other ppl running kodi with mint and having issues can see the great clear instructions u provided. I did find a lot of other instructions on how to update but they wouldn’t work, probably due to my lack of knowledge lol. But these are clear and simple. I do have a question tho. Does the command “pip” work by default on Linux Mint 18.3? I think I tried it on an older version and it didn’t?
Running Mint 18.3 cinnamon as a HTPC. Hardware: AMD 1100t CPU, Gigabyte 990xa-ud3 mobo, Sapphire 7870 gpu to an Onkyo audio receiver and then to Samsung 1080p tv. I need 1.5 DPI setting instead of double lol if anyone knows how... message me please!

User avatar
phd21
Level 16
Level 16
Posts: 6564
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: how to add deb to source list

Post by phd21 » Sat Jan 20, 2018 12:36 pm

Hi

You are welcome...

I never seem to have a problem installing the excellent Kodi Home Theater multimedia server player, but my ancient underpowered computer does not have the resources (power) to run it effectively or efficiently. I use UMS or PS3 Media server to stream multimedia, but Kodi, Plex, etc... can do much more than just stream your multimedia files.

To use the Python PIP (recursive acronym for “Pip Installs Packages” or “Pip Installs Python“), you first have to install it. Anyone can install the Python PIP packages from the "Synaptic Package Manager (SPM)" or from the console terminal command prompt. There are 2 versions of Python, Python 2.x and Python 3.x, and a lot of software is (and was) developed using either one. Newer software is obviously using Python 3.x.
How To Install PIP to Manage Python Packages in Linux
https://www.tecmint.com/install-pip-in-linux/

FYI: This is how I usually install Kodi. It could be that you are trying to run a newer version of Kodi than you are supposed to for the version of Linux Mint you are using.
Kodi (xbmc) for Linux
http://kodi.wiki/view/Linux

"Kodi media center, formerly known as XBMC Media Center, is an award-winning free and open source cross-platform media player feels very natural to use from the couch and is the ideal solution for your home theater."
http://www.noobslab.com/2016/02/kodi-16 ... eased.html

To install this using the PPA method, open a console terminal, type in, or copy & paste, each line below one by one: Click "Select All" above command, right click the highlighted command, select Copy (or Ctrl+Insert), click in the console terminal window, and right click paste (or Shift+Insert), repeat for each command.

Code: Select all

sudo add-apt-repository ppa:team-xbmc/ppa

Code: Select all

sudo apt-get update

Code: Select all

sudo apt-get install kodi
[/color]

Hope this helps ...
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

jibatron
Level 1
Level 1
Posts: 14
Joined: Sat Jan 07, 2017 6:51 pm
Location: Canada

Re: [SOLVED] how to add deb to source list

Post by jibatron » Sat Jan 20, 2018 1:44 pm

Awesome! Thanks for clearing that up! Have a great day!
Running Mint 18.3 cinnamon as a HTPC. Hardware: AMD 1100t CPU, Gigabyte 990xa-ud3 mobo, Sapphire 7870 gpu to an Onkyo audio receiver and then to Samsung 1080p tv. I need 1.5 DPI setting instead of double lol if anyone knows how... message me please!

User avatar
phd21
Level 16
Level 16
Posts: 6564
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: [SOLVED] how to add deb to source list

Post by phd21 » Sat Jan 20, 2018 2:02 pm

Hi "jibatron",

You are welcome ...

You have a great day and night as well...
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

Post Reply

Return to “Newbie Questions”