python3-yaml needs dependency python3-yaml - linux

I am trying to install lutris on SteamOS using Debian, to do so I require python3-yaml; which is becoming a nightmare to install. I found the debian file for python3-yaml online and have checked that I have installed all the dependencies required however I always end up with a strange error stating that the dependency "python3-yaml" is not satisfiable and I am unsure if this is a glitch in the software I am using or if python3-yaml actually needs python3-yaml to be installed.
I have attempted using normal yaml however that has not contributed anything towards my situation.
Could someone suggest a method for me to use to install python3-yaml and give me a few steps for doing it, thank you kindly.

To resolve this
dpkg -i python3-yaml.deb
apt-get install -f

Related

Installing software package developed for AMD64 when my PC has ARM64 architecture

I'm somewhat of a linux noob, but I'm trying to use a microcomputer with aarch64 Architecture. I am trying to download software using wget and a Public Cert Key for software developed for x64/AMD64. When I try to run
sudo apt-get install <package>
I get:
E: Unable to locate package <package>
I am assuming it is because it was developed for AMD64. From everything I've found, I think I need a cross compiler to translate the binary from AMD to ARM,but nothing I've found has helped me get any closer to actually installing my desired package. Can anyone give me an ELI5 version or point me in the direction of how to educate myself better on system architectures?
You may have better luck using update command:
sudo apt-get update
to upgrade packages lists
sudo apt-get search <generic name of package>
and then
sudo apt-get install <package name found in search>
The generic name I mean "apache" instead of "apache-php-modlib"

Trouble met when installing PCL on Ubuntu 18.04

I have trouble in installing PCL 1.9 on my Ubuntu 18.04. Could anybody please help? Really thanks.
I already tried as many tutorials on the Internet. However they both won't work.
When trying to add ppa source and use apt/apt-get to install libpcl-all, it seems that the source doesn't work for ubuntu18.
When I was trying to build the PCL myself, on Ubuntu 18.04, it has lots of dependencies problems. Many tutorials say that using apt to install the dependencies, however some libraries are not available in apt.
There are some people suggesting to use apt install libpcl-dev. Although there is no errors in installation, when I tried to compile an example code, it still doesn't work.
Using pcl-trunk might be your best choice.
git clone https://github.com/PointCloudLibrary/pcl pcl-trunk
cd pcl-trunk && mkdir build && cd build
cmake ..
make
sudo make install

PhpStorm Installation issue on Ubuntu 14.04

I am back here again with one more issue that I am having installing PhpStorm on my Ubuntu 14.04. To do so I followed the following steps:
Step 1. sudo apt-get purge openjdk* which gave me a long list mostly saying Package is not installed, so not removed. A few examples:
Package 'openjdk-7-dbg' is not installed, so not removed
Package 'openjdk-7-doc' is not installed, so not removed
...
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Step 2: sudo add-apt-repository ppa:webupd8team/java which ended up saying this:
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:
oracle-java7-set-default : Depends: oracle-java7-installer but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Step 3: Despite those error messages popped up I went ahead and ran sudo apt-get update which executed OK.
Step 4: Tried to run sudo apt-get install oracle-java7-installer which again popped up a lot of negative remarks!
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:
oracle-java7-installer : Depends: java-common (>= 0.24) but it is not installable
Recommends: gsfonts-x11 but it is not installable
E: Unable to correct problems, you have held broken packages.
So I did not go further with rest of the following commands:
sudo apt-get install oracle-java7-set-default
wget http://download-cf.jetbrains.com/webide/PhpStorm-7.1.3.tar.gz
tar -xvf PhpStorm-7.1.3.tar.gz
cd PhpStorm-133.982/bin
./phpstorm.sh
I have no idea what is going wrong! Somebody please help this absolute newbie to install it.
On another note, if PhpStorm fails to install somehow on my PC, please suggest me a good software which runs on Ubuntu with an inbuilt SASS compiler so that I do not have to run a command every time from terminal? And it would be even better if that software I can get for free! PhpStorm is only a 30-day trial.
EDIT
Strange, I'm using PhpStarm on Ubuntu 14.04 and ant works fine. IntelliJ IDEs are really great.
I have these Java from the same repo you are using.
java-common-0.51
java-wrappers-0.1.27
oracle-java7-installer-7u80+7u60arm-0~webupd8~1
Let's try to purge all the Java packages from you system and then install the Oracle Java again.
Use dpkg -l | grep java to discover all the installed java-related packages.
Then, use apt-get purge on all of them.
Skip the javascipt packages of course.
Then, try to install oracle-java7-installer again. I hope it will be installed correctly.
To install Phpstorm in Ubuntu just follow these steps
1.Run sudo apt install snapd
2.Then sudo snap install phpstorm --classic
3.Then type phpstorm in shell and press enter to launch Phpstorm
Read more about these here

Debian wheezy - lost gnome during install

Upgraded dist, no problem, although lost xbmc, found documentation saying to include additional source for xbmc as install wasn't working.
installed xbmc not realising it's completely replaced/up/down graded dist.
Needless to say I've lost gnome and samba config has been modified. i can fix after i get desktop back, packages are still there but no longer referenced.
when i try an apt-get install gnome i get a lot of message about Dependants and how they're not going to be installed.
any help appreciated.
Try sudo aptitude install gnome-desktop-environment, review solution and do not accept it until you're happy with what's going to be installed/removed.

How to make Debian package install dependencies?

I want to make a simple Debian package to install a simple tool that depends on Qt4 libs.
In control file I have defined that it depends on Qt4 libs however, by the time I'm testing the package it says that the dependency could not be met.
Question:
How can I make Debian trigger apt to install the dependencies as well?
Can't find that the documentation however I know that apt-get does that.
If you want to avoid creating a local APT repository, you can do:
dpkg -i mypackage.deb
apt-get install --fix-missing
If you do want to create a local repository, you can use reprepro for this.
If you install it via dpkg it won't work because dkpg doesn't know where to find additional dependencies. You could do it via apt-get if you build your own repo, but it's kind of time-consuming the first time (it's not difficult, just something "new" the first time that needs some time to be learnt).
On the other hand, and the solution you are probably looking for is gdebi (you may need to install it: apt-get install gdebi-core). It's a tool that checks the dependencies for a package and calls apt-get to fetch and install them, and then calls dpkg to install your package.
Per #textshell in this answer:
starting with apt 1.1 (available in Xenial (16.04), stretch) apt install also allows local files:
sudo apt install ./foo-1.2.3.deb
So much simpler and cleaner.
See the release
announcment
This will also install dependencies, just like a normal apt install or apt-get install.
If you're creating the Debian package, you specify its dependencies in the debian/ directory control files; I believe debian/control takes Depends: directives for that purpose.
I don't know the details too clearly, myself, but there are instructions at http://www.debian.org/doc/manuals/maint-guide/ ; in particular, http://www.debian.org/doc/manuals/maint-guide/dreq.en.html#control seems to be the right place to start looking.
One way would be to create a local package repository on your computer and add it to /etc/apt/sources.list. Then you could install the package from your local repository with apt-get and have the dependencies resolved automatically.
There's probably an easier way to do it, but I don't know what that would be.

Resources