LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-11-2018, 10:52 PM   #1
anon297
Member
 
Registered: Feb 2018
Location: Seoul,South Korea
Distribution: Debian
Posts: 88

Rep: Reputation: Disabled
Can I use old packages if I'm using old ISO?


Dear my mentors!

I want to use specific old versions of the package, and through
searching, I found that 2013 version of Ubuntu iso use them.

I know I have to install something else, also, then Does Ubuntu install a newer version? even with old ISO?

If there are some ways to get old version package, How can I do that?

[EDIT 0] I need these packages and specific written version.
1. Binutils-2.12(<2.24)
2. GCC-4.1.2,G++ also(<4.8.3)
3. Glibc-2.2.5(<2.19)
 
Old 03-11-2018, 11:34 PM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,359
Blog Entries: 3

Rep: Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767
I suspect that the best way to have old versions of the packages in question would be to use the newest old ISO image that still has those versions. You can dig through the list of package versions available in the currently supported Ubuntu releases online:

https://packages.ubuntu.com/

Preferably choose one that is still kind of supported if you can:

http://releases.ubuntu.com/

Otherwise dig through the abandoned Ubuntu versions:

http://old-releases.ubuntu.com/releases/

However, the old-releases archive will give you an old, unsupported, dangerous version of Ubuntu. One that you must not connect to the net, but other than that you'll be able to update to the last version that was used when that old, unsupported, dangerous release of Ubuntu was still supported. A networkless virtual machine (VirtualBox or Qemu) should help with that.

The other way would be to try to port the old version of those packages in parallel to the ones you need to keep your system running. I don't think that would be worth the time or effort or mess.

Last edited by Turbocapitalist; 03-11-2018 at 11:35 PM.
 
Old 03-11-2018, 11:38 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

I don't recommend installing old pkg's for an old iso.

An old .iso means an outdated distribution that is no longer supported for one. And, two; there would be too many security vulnerabilities as well.

Your best bet is to perform a fresh installation of Ubuntu 16.04 LTS--
https://www.ubuntu.com/download/desktop

If you really need an old pkg you can do a Ubuntu package search.
I think the oldest pkg's your going to find are from the Trusty repo for Ubuntu 14.04.

https://packages.ubuntu.com/
 
Old 03-12-2018, 03:21 AM   #4
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
First thing to try is whether the old packages install without conflicts. It is quite normal to have multiple GCC's installed.

To install old packages, add the old repositories to your /etc/apt/sources.list. Do a apt-get update. While installing, specify the version.
Code:
apt-get install -t 2.2.5 libc6
In order to discover the right name and version for the package, do
Code:
apt-cache show libc6
(You have to search around a bit to discover that glibc is in the libc6. apt-cache search is your friend)

Alternatively you can track down and download the .deb files and install them with dpkg. But dpkg does not install the dependencies automatically. Apt-get -f install won't work if you do not have the correct repos installed, so you have to install them anyway.

There is a fair chance that installing old versions will work if your installation is not too old. Some packages cannot co-exist and require you remove newer versions. Usually that is a dead end, because you end up removes hundreds of dependencies.

I just don't know how to add repos to Ubuntu. I am a Debian person and maybe Ubuntu designed something more user friendly (=opaque, less transparant, automatic, less option)
 
1 members found this post helpful.
Old 03-12-2018, 03:26 AM   #5
anon297
Member
 
Registered: Feb 2018
Location: Seoul,South Korea
Distribution: Debian
Posts: 88

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jlinkels View Post
First thing to try is whether the old packages install without conflicts. It is quite normal to have multiple GCC's installed.
Awesome! Thanks for all resources and tips!
Now I have more things to study! Good!

Thanks again!
 
Old 03-12-2018, 05:19 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by whjeon View Post
Awesome! Thanks for all resources and tips!
Now I have more things to study! Good!

Thanks again!
Let us know how things go:-
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
adding packages to iso cod_liver_0il Slackware 3 04-10-2012 09:58 AM
How can I rip the packages from and ISO? abefroman Linux - Server 1 01-02-2009 11:32 AM
Need droplinegnome 2.18 packages/.iso Fortuner Linux - Desktop 1 09-23-2007 03:13 AM
adding packages from RH cd2 using an iso andy44 Linux - Newbie 4 01-17-2004 10:55 AM
Leaving out packages from ISO - OK? rendle Slackware 1 03-24-2003 11:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration