libsdl2-image-2.0-0 on Ubuntu 10.04.3 LTS - linux

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.

Related

Cannot upgrade libc6, "Already newest version"

I have recently installed Linux Mint on a new machine and I am trying to download virtual box.
The problem is it won't download because of this error:
Error: Dependency is not satisfiable: libc6 (>=2.27)
When I run:
sudo apt-get install libc6
It tells me
libc6 is already the newest version (2.23-0ubuntu10).
When I update the cache of my software sources I get the message that it could not download all repository indexes so I assume it might be related to that but I have no idea how to fix it.
Sometimes it happens when you try to run the wrong version (build) of the application in your system.
As an example, the current Virtualbox version is 6.1.22. And I download it for the Ubuntu 19.10 / 20.04 / 20.10 / 21.04 host because there is no separate download link available for Linux Mint distribution. But my Linux Mint distribution is 19.3 cinnamon and Mint 19.3 is based on Ubuntu 18.04 LTS. So, the Virtualbox version which is built for Ubuntu 20.04, 20.10, 21.04 is not going to work for the distribution which is using Ubuntu 18.04. This is the reason for getting ( Error: Dependency is not satisfiable: libc6 (>=2.29) ) error.
When I downloaded the Virtualbox which is particularly built for Ubuntu 18.04 everything worked fine :)
For more clarity watch this video https://www.youtube.com/watch?v=1K2zx32tBwA
OR, just download the VirtualBox from the Software Center. that will work fine too.
I couldn't solve the issue but I managed to download virtual box through the software manager.

Error while installinng libimobiledevice in ubuntu 14.04

After installing libimobiledevice in ubuntu 14.04, when I run command 'ideviceinfo' it is generating error
'Could not connect to lockdownd, error "code -5"'
I have other dependencies - build-essential
libudev-dev,
libimobiledevice6,
libimobiledevice-utils,
libusb-1.0-0-dev,
libimobiledevice-dev,
libzip-dev
Correctly installed with no error.
Can I get some advices about the error ?
You didn't mention how you acquired libimobiledevice - did you install it via apt-get or did you compile it from source?
Ubuntu 14.04 ships with a very old version of libimobiledevice, and there have been changes made to libimobiledevice to provide compatibility with newer versions of iOS which are probably not in Ubuntu 14.04.
We host a PPA which provides up-to-date builds of libimobiledevice; currently only for Ubuntu 16.04 though. You can find it at https://launchpad.net/~quamotion/+archive/ubuntu/ppa/+packages .
Let me know if you need help configuring the PPA and installing the latest libimobiledevice.

Ubuntu: install latest version of package

I'm working with Ubuntu 14.04 and I need to use stress-ng.
If I type: apt-cache policy stress-ng
I obtain:
stress-ng:
Installed: 0.03.15-1~ubuntu14.04.1
Candidate: 0.03.15-1~ubuntu14.04.1
Version table:
*** 0.03.15-1~ubuntu14.04.1 0
100 http://mirror.switch.ch/ftp/mirror/ubuntu/ trusty-backports/universe amd64 Packages
100 /var/lib/dpkg/status
So if I run apt-get install stress-ng, it downloads version 0.03.15.
Unfortunately, this version does not allow me to do some things which are present in the last one, 0.07.16, supported by Ubuntu 17.04.
How can I do to use this latest version on 14.04?
You can add the repositories of the newer release to sources.list,and use apt-pinning,this is an advanced feature to install packages from a newer version of Ubuntu.
Check out Pinning.
Pinning is a process that allows you to remain on a stable release of
Ubuntu (or any other debian system) while grabbing packages from a
more recent version.
Note however that the processes described below will only work if
things like libc6 versions match, so you should probably not do this
on an Ubuntu system. I strongly recommend you look at UbuntuBackports
before doing this.
Also you can just download the package and make install.
Hope this helps.

ROS indigo installation on Ubuntu 14.04.5 - packages too new?

I'm trying to install ROS indigo on Ubuntu 14.04.5 (fresh copy).
After having infinite issues with unmet dependencies and apt-get I tried to use aptitude instead. Trying to separately install the "unmet" dependencies I found that the issue was in packages being too new meaning that the version requested by ROS was older than the one that is installed.
Aptitude gives the ability to replace the newer packages with the older one that are requested..
Am I stupid or has someone encountered the same issues as I did?
No its not the problem, as i have myself reinstalled the ROS indigo in my ubuntu 14.04 LTS few weeks before. U must have missed to follow some step given in the tutorial completely as a result u cant install the ros perfectly. I also used to get similar problems at first but, as i again tried it, it was successfully installed. so try again once, from starting.

Ubuntu old upgrade 8.04 -> 12.04

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.

Resources