Ubuntu old upgrade 8.04 -> 12.04 - linux

Moved to superuser.com
I have a computer running the old Ubuntu 8.04 LTS.
As well as 8.04, the next LTS version, 10.04 is also no longer supported.
There is no published path of direct upgrade from 8.04 -> 12.04.
There is published a path from 8.04 -> 10.04 and thence a path from 10.04 -> 12.04
If I try the standard normal upgrade instruction, I get an error with Python. Ubuntu 8.04 comes with Python 2.5. In this error message, "Precise" is the nickname of Ubuntu 12.04.
stewart#old-ubuntu-box:~$ sudo do-release-upgrade
Checking for a new ubuntu release
Done Upgrade tool signature
Done Upgrade tool
Done downloading
authenticate 'precise.tar.gz' against 'precise.tar.gz.gpg'
extracting 'precise.tar.gz'
/tmp/tmpwfCGnZ/DistUpgradeMain.py:102: Warning: 'with' will become a reserved keyword in Python 2.6
Traceback (most recent call last):
File "/tmp/tmpwfCGnZ/precise", line 3, in <module>
from DistUpgradeMain import main
File "/tmp/tmpwfCGnZ/DistUpgradeMain.py", line 102
with open(fname, "a"):
^
SyntaxError: invalid syntax
If I try to upgrade Python to 2.6 or 2.7, to support running of the upgrade, I find dependency problems because I'm still only on 8.04.
stewart#old-ubuntu-box:~$ sudo apt-get install python2.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
python2.6: Depends: python2.6-minimal (= 2.6.5-1ubuntu7~lts1) but it is not going to be installed
Depends: libc6 (>= 2.11) but 2.7-10ubuntu8.3 is to be installed
Depends: libdb4.8 but it is not installable
Depends: libreadline6 (>= 6.0) but it is not installable
Depends: libsqlite3-0 (>= 3.6.22) but 3.4.2-2 is to be installed
E: Broken packages
It's a circular catch-22. Ideally, I should be able to install the correct versions of these broken dependencies (libc6, etc), but chasing down how to do this for an unsupported release has been elusive.
Any suggestions how to escape / tackle this?
Update:
I've managed to upgrade Python using make install from instructions found here, however, the Python error upon do-release-upgrade is identical.

Hate to necro an old thread but I came across this issue firing up an old PC and beginning the upgrade path through to hopefully 18.04... I resolved this in my instance by downgrading the update-manager and update-manager-core packages from 1:0.87.33 to 1:0.87.24 (if I remember the versions correctly). Nothing else worked.

The Official upgrade notes manual for the said releases states:
To avoid damaging your running system, upgrading should only be done
from one release to the next release (e.g. Ubuntu 12.04 to Ubuntu
12.10) or from one LTS release to the next (e.g. Ubuntu 10.04 LTS to Ubuntu
12.04 LTS) If you wish to 'skip' a version, you can back up your data and do a fresh installation, or progressively upgrade to each
successive version.

My suggestion would be that, download the Ubuntu 12.04/14.04, take a back of the current system and wipe it clean, load the new one. If you follow this way, you wont have any problems with dependencies and other issues.
But if you still want to stick to this route, you would need to upgrade a lot of stuff, starting from libc, gtk, xorg, xserver, python, gcc, g++ and many more. It is time-taking and much more difficult to do.

Related

How do I Solve this problem in scyllaDB installation?

I am following this steps for installation
https://www.scylladb.com/download/?platform=ubuntu-20.04&version=scylla-4.3#open-source
Version :- Ubuntu 20.04
Scylla 4.3
Once I reach on below step I get this error,
$ sudo apt-get install -y scylla
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
scylla-tools-core : Depends: python-yaml but it is not installable
E: Unable to correct problems, you have held broken packages.
It would appear there is something broken or strange on your system setup, because the error indicates that the python-yaml can't be installed, but that's a valid package on Ubuntu 20.04 - see https://launchpad.net/ubuntu/focal/amd64/python-yaml
Perhaps when you added Scylla's package source you accidentally broke the system's default package sources? Try to install the python-yaml package manually, and see what happens.
Finally, please note that Scylla 4.3 is already old - Scylla 4.4 is already out for months, and 4.5 is in the last release-candidate stages, and when it's officially released, support for 4.3 will stop (Scylla only supports two major open-source releases at a time). So you should consider whether you really want Scylla 4.3 or try a newer version.

Upgrade .Net Core 1.0 to 2.0 Ubuntu 16.10

I'm trying to upgrade the .net core version from 1.0 to 2.0 but I'm getting some errors. I'm not good at Linux, so I don't understand well what's happening.
I run:
apt-get install dotnet-sdk-2.1.4
And I get this error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
dotnet-sdk-2.1.4 : Depends: dotnet-runtime-2.0.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
So, I try to install dotnet-runtime-2.0.5 and I get this
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
dotnet-runtime-2.0.5 : Depends: libicu55 but it is not installable
E: Unable to correct problems, you have held broken packages.
After this, I try to install libicu55 but I already have installed libicu57. I don't know what to do.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libicu55 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libicu55' has no installation candidate
betocastillo86#ubuntu-huellitas-prod:~$
Do you have any ideas?
So a clean install of Ubuntu 16.04 it was … there’s a catch though,
you can choose between LTS (Long Term Support) or not. I chose not to
since It’s a VM and I don’t mind newer updates, etc… Turns out that
was a bad idea with .NET Core installs! It would seem that once the
non LTS is installed you end up with 16.10 which has installed some
newer versions of required libraries, namely something called libicu
which is now on 57 instead of a required 55.
Source: https://shazwazza.com/post/installing-net-core-101-on-ubuntu-1610/
Try installing the libicu55 manually on your machine (it should run side by side with the newer version on your machine):
Download the file from here: http://packages.ubuntu.com/en/xenial/amd64/libicu55/download
Install it using: sudo dpkg –i libicu55_55.1-7_amd64.deb

Kurento : Error installing custom module

I am trying to install my custom module debian file in one of my ubuntu machine but I an getting following error:
Unpacking mycustom-filter (1.2.0~rc1) ...
dpkg: dependency problems prevent configuration of mycustom-filter:
mycustom-filter depends on libgstreamer-plugins-base1.5-0 (>= 1.8.1.1~20160608155102.55.g7b19cfd.trusty); however:
Version of libgstreamer-plugins-base1.5-0:amd64 on system is 1.8.0~20160530103212.387.g21728a3.trusty.
mycustom-filter depends on libgstreamer1.5-0 (>= 1.8.1.1~20160706093049.167.g0d8d50e.trusty); however:
Version of libgstreamer1.5-0:amd64 on system is 1.8.0~20160530103131.368.g0fb3a08.trusty.
I see that there is a problem with the trusty version:
mycustom-filter depends on libgstreamer-plugins-base1.5-0 (>= 1.8.1.1~20160608155102.55.g7b19cfd.trusty);
mycustom-filter depends on libgstreamer1.5-0 (>= 1.8.1.1~20160706093049.167.g0d8d50e.trusty);
I tried uninstalling libgstreamer-plugins-base1.5-0 and libgstreamer1.5-0 but that messed up KMS installation.
now even after trying autoclean clean apt-get update --fix-missing I'm unable to install libgstreamer1.5-0 (>= 1.8.1.1~20160706093049.167.g0d8d50e.trusty)
it is always installing 1.8.0~20160530103131.368.g0fb3a08.trusty
can any one guide me how to install the required libgstreamer-plugins-base1.5-0 and libgstreamer1.5-0 libraries.
Edit 1:
Facing the same issue for dev version of kurento
libgstreamer1.5-dev : Depends: libgstreamer1.5-0 (= 1.8.0~20160530103131.368.g0fb3a08.trusty) but 1.8.1.1~20160608134755.164.gb2c1df3.trusty is to be installed
You can use this repository in your sources.list, instead of the previous one your were using.
deb http://ubuntu.kurento.org/6.5.0 trusty kms6
There is a transitory problem on kurento repository that is being fixed right now. I'll edit this answer when is done.
As #igracia says, you can use 6.5.0 release repository to get the correct packages versions while the repository is broken.
Edit
It should be fixed now. Sorry for the trouble

How to install 32-bit libraries of android studio properly to a 64-bit machine?

I have been trying to install Android Studio properly to my Ubuntu 16.04 64-bit machine, but I can not solve this very problem. Android studio requires us to install some 32 bit files to 64 bit computers. But when I try to install, I cannot solve the problem.
I have given so many inputs to the terminal and couldn't trace them all. However, I'm sure that I wrote lots of commands on installing lib32stdc++6 and other packages that has been suggested on the internet but every time I got the error message:
[ E: Unable to correct problems, you have held broken packages. The following packages have unmet dependencies: X depends Y but it won't be installed ]
Edit: input & output example:
***#***:~$ sudo apt-get install lib32stdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
lib32stdc++6 : Depends: gcc-5-base (= 5.3.1-13ubuntu6) but 5.3.1-14ubuntu2 is to be installed
Depends: lib32gcc1 (>= 1:4.2) but it is not going to be installed
Depends: libc6-i386 (>= 2.18) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
(Posted on behalf of the OP):
I solved the problem. I'll write a brief info about the solution process in case anyone else faces with a similar situation. First of all I realised that this problem was all about the incompatibility of 32 bit libraries with 16.04. So that, I changed the "download from" section from the System Settings - Software&Updates.
Select Netherlands instead of your country's repo, that'll be convenient (mine was Turkey before). Then simply update your repos by typing sudo apt-get update to terminal. Lastly, install the required libraries for 16.04 by typing sudo apt-get install lib32stdc++6. After all, install Android Studio from the very beginning. I did all those and now Android Studio runs properly.

libsdl2-image-2.0-0 on Ubuntu 10.04.3 LTS

I am trying to install libsdl2-image-2.0-0 on Ubuntu 10.04.3 LTS and I am getting this error: "Error: Dependency is not satisfiable: libc6 (>= 2.14)"
I have "upgraded" to the latest version of Linux already and it wasn't my cup of tea. I ended up reinstalling Ubuntu 10.04.3 LTS.
All of that said, how can I get SDL 2.0 to work on this version of Linux? Thanks!
SDL2 is really new in the repository. Even in the newest release of Ubuntu, we got SDL2, SDL2-image but not SDL2-ttf.
So you got two choice :
1 - You need to compile the entire library yourself.
2 - Update your distribution, but your will still need to compile sdl2-ttf, because it's not in the official repository at the moment.

Resources